Created attachment 51758 [details]
How to reproduce:
cd /sys/kernel/debug/vgaswitcheroo/; echo ON >switch; echo DDIS >switch
Hit Ctrl+Alt+Backspace to restart X-Server
Switch to discrete GPU
System freezes, but can be restarted with Ctrl+Alt+Esc
Notebook: HP Pavilion dv7 6104eg
Kernel: latest git kernel (commit d5767c53535ac79758084773418e0ad186aba4a2), Linux hp 3.1.0-rc8-custom #1 SMP Wed Sep 28 21:23:06 CEST 2011 x86_64 x86_64 x86_64 GNU/Linux
Distribution: Ubuntu 11.04 64bit
Module Size Used by
vboxnetadp 13340 0
vboxnetflt 28297 0
vboxdrv 252684 2 vboxnetadp,vboxnetflt
radeon 1016473 0
iwlagn 311183 0
ttm 72079 1 radeon
r8169 55918 0
If you need any additional information, please tell me!
Created attachment 51759 [details]
output of 'dmesg' before switch
Created attachment 51760 [details]
Output of 'lspci -vvnn'
Created attachment 51761 [details]
Created attachment 51762 [details]
Created attachment 51763 [details]
Created attachment 51776 [details]
You have a mux-less system which means the radeon card is not actually connected to any physical displays as such there is no way for you to switch to the radeon card with vgaswitcheroo. In order to support mux-less systems the xserver needs support for decoupling display and rendering and the drm needs support for sharing buffers between drivers. This is a large amount of work and probably won't happen in the short term.
(In reply to comment #7)
> You have a mux-less system which means the radeon card is not actually
> connected to any physical displays as such there is no way for you to switch to
> the radeon card with vgaswitcheroo. In order to support mux-less systems the
> xserver needs support for decoupling display and rendering and the drm needs
> support for sharing buffers between drivers. This is a large amount of work
> and probably won't happen in the short term.
I have a BIOS Option "Switchable Graphics Mode":
Fixed Mode - Graphics adapter switch is based on AC/DC transition or user selectable options under OS
Dynamic Mode - Seamlessy switch to internal or external graphics adapter based on application needs
If I select "Fixed Mode" the BIOS still enables the Intel graphics even on AC power and vga_switcheroo doesn't work. Does this setting make any difference in principle?
According to http://linux-hybrid-graphics.blogspot.com/2011/08/bios-update-has-been-released-for-amd.html vgaswitcheroo should work when using the "Fixed Mode" BIOS setting, but I still get the same error.
*** This bug has been marked as a duplicate of bug 37528 ***