Created attachment 115551 [details] 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.
Created attachment 115559 [details] [review] possible fix Does the attached patch help?
Hi Alex, thank you for your efforts. Sorry for my lack of response. Unfortunately, the issue isn't completely solved by your patch. I feel that the overall experience improved, but there are again two annoying situation where the system clearly doesn't work as expected: 1) While powering off, I see the message "A stop job is running for manage sound card state", which loops until a SIGKILL is automatically sent to alsactl. 2) After the login, if I query "alsamixer" and select the HDMI sound card, both Alsamixer and LxTerminal stop working. Thank you!
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/130.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.