[Bug 90321] New: dpm method conflicts with snd_hda_intel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 5 11:55:29 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90321

            Bug ID: 90321
           Summary: dpm method conflicts with snd_hda_intel
           Product: xorg
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: juliux.pigface at gmail.com
        QA Contact: xorg-team at lists.x.org

Created attachment 115551
  --> https://bugs.freedesktop.org/attachment.cgi?id=115551&action=edit
journalctl from Fedora 22

I opened this in order to link a downstream bug on Fedora 22.
The report could be found here:
https://bugzilla.redhat.com/show_bug.cgi?id=1218364

Description of problem:
I've been encountering this issue randomly during latest years. I'm not sure
what component exactly fails, but maybe I quite understood the problem.

The kernel (maybe  because of radeon's power method 'dpm') seems to disable the
discrete card nor the hdmi audio without informing the audio driver.

Then, alsa keeps trying to use one of the disabled things without success and
the system becomes easily stuck. For example, I can't poweroff/reboot the
system fast and I have to issue the "REISUB' sequence in order to reboot my
computer.

If I pass 'nomodeset' paramether, Fedora works fine, but the laptop overheats.

The notebook is a HP Pavilion Dv6-3152sl, with (sigh...) two Amd video-cards:

# lspci -k |grep -iA 6 vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RS880M [Mobility Radeon HD 4225/4250]
    DeviceName: 256
    Subsystem: Hewlett-Packard Company Device 1440
    Kernel modules: radeon
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]
    Subsystem: Hewlett-Packard Company Mobility Radeon HD 5650
    Kernel modules: radeon
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio
[Radeon HD 5000 Series]
    Subsystem: Hewlett-Packard Company Device 1440
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel


Version-Release number of selected component (if applicable):
kernel-4.0.1-300.fc22.x86_64
xorg-x11-server-Xorg-1.17.1-10.fc22.x86_64
xorg-x11-drv-ati-7.5.0-3.fc22.x86_64
alsa-plugins-pulseaudio-1.0.29-1.fc22.x86_64
alsa-lib-1.0.29-1.fc22.x86_64

How reproducible:
Randomly (always since yesterday)

Steps to Reproduce:
1. Boot the system using the radeon driver.
2. Try to open 'alsamixer' (or poweroff) via lxterminal.


Actual results:
1. 'alsamixer': lxterminal stucks forever
2. 'poweroff': the whole process takes an enormous amount of time.

Expected results:
1. kernel and graphic driver should enable the functionality required by alsa.
The user should also be able to turn completely off the discrete card without
affecting the audio.

Additional info:
For me, the Holy Grail was the possibility to turn off the discrete card via
vgaswitcheroo and tune down the integrated one with 'profile' method
(2011/2012). Unfortunately, I haven't been able to reach this while running the
latest versions of Fedora.

After struggling for two days, I think I've finally found a workaround.
First of all, I read the output of:

$ cat /proc/asound/cards

The second entry was something related to HDMI audio. I blacklisted it:

# echo 'options snd-hda-intel enable=1,0' > /etc/modprobe.d/hdmiaudio.conf

radeon is now running with 'dpm' method, but the audio is working flawlessly
and the system doesn't freeze anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20150505/f2efd4cc/attachment-0001.html>


More information about the xorg-driver-ati mailing list