|Summary:||vga_switcheroo doesn't work with AMD Radeon HD 6770M|
|Component:||DRM/Radeon||Assignee:||Default DRI bug account <dri-devel>|
|Status:||RESOLVED DUPLICATE||QA Contact:|
|i915 platform:||i915 features:|
Description mlambda 2011-09-29 09:12:25 UTC
Created attachment 51758 [details] Kernel config How to reproduce: cd /sys/kernel/debug/vgaswitcheroo/; echo ON >switch; echo DDIS >switch Hit Ctrl+Alt+Backspace to restart X-Server Expected Result: Switch to discrete GPU Actual Result: 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 lsmod: 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!
Comment 1 mlambda 2011-09-29 09:13:33 UTC
Created attachment 51759 [details] output of 'dmesg' before switch
Comment 2 mlambda 2011-09-29 09:14:10 UTC
Created attachment 51760 [details] Output of 'lspci -vvnn'
Comment 7 Alex Deucher 2011-09-29 11:52:30 UTC
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.
Comment 8 mlambda 2011-09-29 13:05:42 UTC
(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?
Comment 9 mlambda 2011-09-29 13:41:47 UTC
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.