Skip to contentSkip to conversation

New: vga_switcheroo doesn't work with AMD Radeon HD 6770M

Bug 41340 [email protected] 1 participant 17 messages Sep 29, 2011 – Oct 5, 2011

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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!

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #1 from [email protected] 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #2 from [email protected] 2011-09-29 09:14:10 PDT --- Created an attachment (id=51760)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51760)
Output of 'lspci -vvnn'

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #3 from [email protected] 2011-09-29 09:15:02 PDT --- Created an attachment (id=51761)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51761)
/var/log/syslog

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #4 from [email protected] 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #5 from [email protected] 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51758|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51759|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51760|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51761|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51762|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #51763|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #6 from [email protected] 2011-09-29 11:09:03 PDT --- Created an attachment (id=51776)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51776)
/proc/cpuinfo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #7 from Alex Deucher <[email protected]> 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #8 from [email protected] 2011-09-29 13:05:42 PDT --- (In reply to comment #7)

Quoted 6 lines

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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

--- Comment #9 from [email protected] 2011-09-29 13:41:47 PDT --- 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 41340] vga_switcheroo doesn't work with AMD Radeon HD 6770M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=41340

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #10 from Alex Deucher <[email protected]> 2011-10-05 06:32:57 PDT ---

*** This bug has been marked as a duplicate of bug 37528 ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.