Switching to integrated card with vgaswitcheroo makes the kernel to hang, until pulseaudio is killed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Unknown
|
Medium
|
|||
pulseaudio (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have a dual-GPU notebook, with a Intel Ironlake integrated GPU and a AMD 5650m dedicated GPU (muxed system). The AMD gpu is also connected to an HDMI port that implies an audio card (I'm running radeon module with radeon.audio=1).
If I switch to the integrated card after that the UI is up and pulseaudio is loaded, as soon as I exit from lightdm (both to reload X or to shutdown the PC) the kernel hangs (both in 12.10, 13.04 and 13.10):
[ 489.177732] hda-intel 0000:01:00.1: Disabling via VGA-switcheroo
[ 489.297129] hda-intel 0000:01:00.1: Cannot lock devices!
[ 489.297139] radeon: switched off
[ 489.300356] [drm] Disabling audio support
[ 489.319552] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000015e418 and cpu addr 0xffffc90009df0418
[ 489.973886] ACPI: \_SB_.PCI0: ACPI_NOTIFY_
[ 489.973903] _handle_
[ 678.992375] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 678.992453] [drm:atom_
[ 683.996303] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 683.996377] [drm:atom_
[ 683.996453] [drm:atom_
[ 689.000275] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 689.000349] [drm:atom_
[ 694.004285] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 694.004363] [drm:atom_
[ 699.008330] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 699.008414] [drm:atom_
[ 699.514458] init: tty1 main process (2460) killed by QUIT signal
[ 699.514489] init: tty1 main process ended, respawning
[ 704.012405] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 704.012492] [drm:atom_
[ 709.016515] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 709.016596] [drm:atom_
At the contrary, if once lightdm starts I go to tty1 → sudo service lighdm stop → sudo killall pulseaudio → echo OFF| sudo tee /sys/kernel/
Everything works well instead.
So it seems that pulseaudio should disable the powered-off card on switch (or is this something that the kernel should do?).
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Unknown |
I've a Mobility Radeon HD 5650 muxed with an intel card. If I boot with radeon.audio=1 and I switch the radeon card off when pulseaudio is running, then the kernel hangs as soon as I close X:
[ 489.177732] hda-intel 0000:01:00.1: Disabling via VGA-switcheroo BUS_CHECK event: unsupported hotplug_ event_root: Bus check notify on \_SB_.PCI0 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing C3DC (len 871, WS 0, PS 0) @ 0xC439 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28 execute_ table_locked] *ERROR* atombios stuck executing CD0C (len 62, WS 0, PS 0) @ 0xCD28
[ 489.297129] hda-intel 0000:01:00.1: Cannot lock devices!
[ 489.297139] radeon: switched off
[ 489.300356] [drm] Disabling audio support
[ 489.319552] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000015e418 and cpu addr 0xffffc90009df0418
[ 489.973886] ACPI: \_SB_.PCI0: ACPI_NOTIFY_
[ 489.973903] _handle_
[ 678.992375] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 678.992453] [drm:atom_
[ 683.996303] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 683.996377] [drm:atom_
[ 683.996453] [drm:atom_
[ 689.000275] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 689.000349] [drm:atom_
[ 694.004285] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 694.004363] [drm:atom_
[ 699.008330] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 699.008414] [drm:atom_
[ 699.514458] init: tty1 main process (2460) killed by QUIT signal
[ 699.514489] init: tty1 main process ended, respawning
[ 704.012405] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 704.012492] [drm:atom_
[ 709.016515] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 5secs aborting
[ 709.016596] [drm:atom_
These errors doesn't happen instead if I close X and kill pulseaudio before switching cards.
Not sure if this is a pulseaudio issue or a kernel one (that should notify pulseaudio about the unplugged HDMI audio card).