https://bugs.freedesktop.org/show_bug.cgi?id=41340
Summary: vga_switcheroo doesn't work with AMD Radeon HD 6770M Product: DRI Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: critical Priority: high Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: mlambda@gmail.com
Created an attachment (id=51758) --> (https://bugs.freedesktop.org/attachment.cgi?id=51758) 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!
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #1 from mlambda@gmail.com 2011-09-29 09:13:33 PDT --- Created an attachment (id=51759) --> (https://bugs.freedesktop.org/attachment.cgi?id=51759) output of 'dmesg' before switch
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #2 from mlambda@gmail.com 2011-09-29 09:14:10 PDT --- Created an attachment (id=51760) --> (https://bugs.freedesktop.org/attachment.cgi?id=51760) Output of 'lspci -vvnn'
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #3 from mlambda@gmail.com 2011-09-29 09:15:02 PDT --- Created an attachment (id=51761) --> (https://bugs.freedesktop.org/attachment.cgi?id=51761) /var/log/syslog
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #4 from mlambda@gmail.com 2011-09-29 09:15:44 PDT --- Created an attachment (id=51762) --> (https://bugs.freedesktop.org/attachment.cgi?id=51762) /var/log/Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #5 from mlambda@gmail.com 2011-09-29 09:16:18 PDT --- Created an attachment (id=51763) --> (https://bugs.freedesktop.org/attachment.cgi?id=51763) /var/log/Xorg.1.log
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51758|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51759|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51760|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51761|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51762|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
mlambda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51763|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #6 from mlambda@gmail.com 2011-09-29 11:09:03 PDT --- Created an attachment (id=51776) --> (https://bugs.freedesktop.org/attachment.cgi?id=51776) /proc/cpuinfo
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #7 from Alex Deucher agd5f@yahoo.com 2011-09-29 11:52:30 PDT --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #8 from mlambda@gmail.com 2011-09-29 13:05:42 PDT --- (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?
https://bugs.freedesktop.org/show_bug.cgi?id=41340
--- Comment #9 from mlambda@gmail.com 2011-09-29 13:41:47 PDT --- According to http://linux-hybrid-graphics.blogspot.com/2011/08/bios-update-has-been-relea... vgaswitcheroo should work when using the "Fixed Mode" BIOS setting, but I still get the same error.
https://bugs.freedesktop.org/show_bug.cgi?id=41340
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #10 from Alex Deucher agd5f@yahoo.com 2011-10-05 06:32:57 PDT ---
*** This bug has been marked as a duplicate of bug 37528 ***
dri-devel@lists.freedesktop.org