Hello all! I'm having some difficulty with setting up my monitors as I would like them, I'll try to provide as much info as I can to diagnose the problem.
What I want is my Laptop screen(LVDS) to be on the right, and my CRT to be on the left, here is what my xorg.conf looks like:
[ryan@fedoratop X11]$ cat xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "0-LVDS"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1366x768"
Option "TargetRefresh" "60"
Option "Position" "1024 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Monitor"
Identifier "0-CRT1"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1024x768"
Option "TargetRefresh" "85"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "Monitor-LVDS" "0-LVDS"
Option "Monitor-CRT1" "0-CRT1"
BusID "PCI:0:1:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 2966 2966
Depth 24
EndSubSection
EndSection
That works! I get what I want: The CRT on the left, and my Laptop screen on the right. Perfect! Or so it would seem...
The problem occurs in three scenarios:
1) If I have PCmanFM (I am using the LXDE spin) the wallpaper is screwed up. On the CRT it shows up fine, but on the laptop screen it shows the wallpaper on the left hand side of the screen... but on the right it is black. How many pixels, you might ask? Well, I measured it with tape, and it is exactly 1024 pixels. This isn't a big deal, I can use compiz or nitrogen to draw the wallpaper. Moving on...
2) When I click "logout" button, the screen in the background shifts, by 1024 pixels, so all windows that were full screen on the laptop screen now show only on the left part of the screen. The logout dialog is still displayed properly, so this isn't a dealbreaker.
3) Finally, when the CRT is disconnected and disabled, everything works as usual. That is, until the computer is put into suspend and then woken up - this is the dealbreaker - the entire screen is shifted to the left by - you guessed it! - 1024 pixels. The mouse cannot go to the right side of the screen, it pushes against that 1024 pixel boundry like it was the edge of the screen. When I go into a tty, I am able to kill lxdm-binary, which terminates the X server. When it returns, everything is fine.
Note: #3 only happens when the CRT is disabled. If it is disconnected but still enabled, resuming from suspend works as normal. The other two happen regardless of whether the CRT is enabled.
As a workaround I have "moved" the CRT to be beneath the laptop screen, and the only issue I have is that the laptop monitor switches to 1024x768 when I go into a TTY and back. Any ideas? Is this just a bug in the catalyst drivers? I've experienced this on multiple distros, so I know it isn't just a fedora problem, but I'd appreciate the help! Thanks.
---------- Post added at 06:35 PM ---------- Previous post was at 06:25 PM ----------
I'm going to tentatively mark this thread as solved, I changed the values for position to "0 0" for the LVDS and "-1024 0" for the CRT. It seems to work. If anyone can shed some light on why my resolution would change when switching from a TTY I'd be grateful, since it's still doing that.