Skip to contentSkip to conversation

New: Return to tty after leaving X problematic if using multiple cards since 2.6.32

Bug 36256 [email protected] 1 participant 3 messages Apr 15, 2011 – May 1, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: Return to tty after leaving X problematic if using
multiple cards since 2.6.32
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=45653)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45653)
Dmesg output

This bug affects me on every kernel from 2.6.38 to 2.6.32 inclusive. It is NOT present in 2.6.31. I have two video cards, my primary card is an r128 and my secondary card is a radeon. I have X setup to *only use the radeon*. Everything works perfectly before I startx, but once I start X and then leave it, every console on the primary r128 driven monitor is unusable. It does not seem to matter how I leave X. Logging out via xfce, "sudo killall X", Ctrl+Alt+Bksp, Ctrl+Alt+F1, all of these prevent me from using VTs on the primary monitor. When I say that these VTs are unusable, I mean that no text on them is ever shown to update. I can still technically use them by silently typing commands but I cannot see myself type.

Now there are four different scenarios I've tried and they suggest that this bug is not caused by KMS:

1. No framebuffer on primary r128, modeset=0 on secondary radeon:

The consoles stay on the primary monitor and once I start X and kill X, all these consoles are unusable.

2. No framebuffer on primary r128, modeset=1 on secondary radeon making it /dev/fb0:

As soon as the radeon module gets loaded, the framebuffer on my secondary video card steals all the consoles so that they show up on the secondary monitor. Starting X and killing X is then OK for me because the focus returns to consoles that are on the same video card. Even though this "works" it means my r128 card that I like to use for consoles is just idling this is obviously not the optimal solution.

3. Uvesafb on primary r128 making it /dev/fb0, modeset=0 on secondary radeon:

The framebuffer consoles appear on the primary monitor and once I start X and kill X, all these consoles are unusable.

4. Uvesafb on primary r128 making it /dev/fb0, modeset=1 on secondary radeon making it /dev/fb1:

I can now freely move ttys between the two framebuffers using the "con2fb" tool. If I start X and then kill X, I can switch between these consoles with Alt+Fn and all the ones on /dev/fb1 work while all the ones on /dev/fb0 fail to update.

I hope I'm explaining this well. Attached is my dmesg. Tell me if you need anything else.

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 36256] Return to tty after leaving X problematic if using multiple cards since 2.6.32

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

--- Comment #1 from Connor Behan <[email protected]> 2011-04-16 06:42:01 PDT --- I can make the consoles work if I delete /dev/vga_arbiter before starting X. This explains why 2.6.32 was the first kernel where I had this problem. Can you go back to making vga_arb a module so people can solve this properly?

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 36256] Return to tty after leaving X problematic if using multiple cards since 2.6.32

In reply to [email protected]

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

Connor Behan <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME
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.