PDA

View Full Version : ati dual screen seperate resolution + NIGHTmares!


coloured
March 30th, 2009, 01:32 AM
this may not be exactly related to jaunty, but I am using jaunty so I will post it here.
I have an ati 2600 card in my laptop
the res of my laptop is 1280x800
the external lcd has a res of 1280x1024
I have the ATI fglrx driver installed from the repos
I have the display stretched over both screens
the res on the laptop is good 1280x800
but the res on the external lcd is b*orked I guess it is also trying to run at 1280x800
how can I change the res of the external lcd independently? this used to work in hardy and intrepid when I used envyng to get the driver and used catalyst to set big desktop
here is my xorg.conf
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "Default Screen" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "off"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
Option "OverlayOnCRTC2" "1"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Virtual 2560 1024
EndSubSection
EndSection

I have tried everything under the sun, rebooted over 40 times already (i know this because sda5 has had to be checked already)
If i go into catalyst control under multi display> display configuration is greyed out
here is the output of xrandr:
Screen 0: minimum 320 x 200, current 2560 x 800, maximum 2560 x 1024
LCD connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 60.0*+
1280x768 60.0
1280x720 60.0
1024x768 60.0
800x600 60.0
720x480 60.0
640x480 60.0
640x432 60.0
640x400 60.0
512x384 60.0
400x300 60.0
320x240 60.0
320x200 60.0
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
CRT1 connected 1280x800+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0 + 75.0 60.0
1280x960 60.0
1280x800 60.0*
1152x864 75.0 75.0 60.0 60.0
1280x768 59.9
1280x720 60.0
1024x768 75.0 75.0 70.1 60.0
800x600 72.2 72.2 75.0 70.0 60.3
720x480 60.0
640x480 75.0 72.8 72.8 75.0 60.0
640x432 60.0
640x400 75.1 59.9
640x350 70.1
512x384 60.0 74.9
400x300 75.0 60.7
320x240 75.6 60.0
320x200 75.5 60.1
TV disconnected (normal left inverted right x axis y axis)
COMPONENT_VIDEO disconnected (normal left inverted right x axis y axis)


Please help me with this it is excruciatingly painful
cheers
Jurgen

coloured
March 30th, 2009, 08:37 AM
well I finally figured out how to get seperate resolutions while having the desktop stretched across both screens.... after a lot of d*king around with xorg.conf and a bizillion reboots into recovery mode to overwrite the b*orked xorg.conf file.

I will post the fix tomorrow for anyone who is having the same problem

*** 1 question remains ***
with my previous setup when I maximized an application window, firefox or terminal or gedit etc... it would only fill the screen the app is on, since I have fixed the problem within jaunty when I hit maximize it fills both screens.

Anyone got any helpful hints as to what I should do to resolve this? its very annoying

cheers

dkscudder
March 30th, 2009, 05:48 PM
I look forward to seeing your fix. This has been giving me fits as well.

coloured
March 30th, 2009, 07:25 PM
Unfortunately I dont have the time to work through exactly what fixed the problem this morning... But I will post my xorg.conf file along with the links I used to fix this problem. Again I am still having problems with maximizing windows (they will not maximize to cover only the screen they are on, but rather fill the entire virtual screen)

below is the link I used to resolve this issue.
http://ubuntuforums.org/showthread.php?t=592016
this one is also handy
http://www.linuxine.com/2008/06/how-to-enable-dual-monitors-with-ati-diplay-card-in-linux.html

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons" "true"
#EndSection
###5 button mouse forward / bk in fire fox

Section "Monitor"
Identifier "DELL 2407WFP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "DELL 2407WFP"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1280x800" "1024x768" "800x600" "720x400" "640x480"
Virtual 2560 1024
EndSubSection
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Option "ButtonMapping" "1 2 3 6 7 4 5"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Extensions"
Option "Composite" "1"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "fglrx"
Option "DesktopSetup" "horizontal"
Option "OverlayOnCRTC2" "1"
BusID "PCI:1:0:0"
##THIS IS FOR MY SETUP --- YOU MAY NOT NEED THIS LINE
EndSection


I apologize that I can't show an exact fix.... I have some important work due in 8 hours.
After that I will revisit this.