Permalänk
Medlem

Xorg duel monitor

Har lite problem med Duel Monitor på mitt ATI Radeon 9600 graffa kort.

Jag har fått igång duel monitor under Xorg men problemet är att jag har en LCD skärm med 1280x1024 upplösning och en CRT skärm med 1024x 768 som max upplösning. Istället för att dela upp så jag har 1280x1024 på höger sida och 1024x 768 på vänster sida så kör den båda skärmarna i en upplösning 2304x1024. Så för tillfället så ser det ut så här:

Vilket leder till att ifall jag ska se en film på min mindre monitor så skär den bort 30% av bilden när jag kör på fullscreen. Den tror att fullscreen = 1280x1024 men min skärm visar bara 1024x768.

Någon som har ett bra förslag om hur detta skall lösas?

Btw, går det att använda en external monitor som en workspace i linux?

Permalänk
Medlem

Kan vi få se på din xorg.conf?
Är skärmarna olika stora?

Visa signatur

Plan9 fan. In glenda we trust.

Permalänk
Medlem

Du kör troligen med Xinerama eller liknande. Skulle jag gissa på. Finns flera exempel på hur man kan göra med två skärmar i detta forum det är bara att söka.

Visa signatur
Permalänk
Medlem

Som jag skrev så är ena skärmen 1280x1024 och den andra skärmen är 1024x768, så svar ja det är olika upplösningar.

Som ni ser nedanför så kör jag med driver ati och inte fglrx. Tyvärr så har jag haft stora problem med att få igång fglrx. Jag får igång det men det krashar ca 30 sec efter gdm har startat upp.

xorg.conf

# /etc/X11/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 /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/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 "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "se" 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" "true" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Device" Identifier "ATI Technologies, Inc. RV350 AS [Radeon 9600]" Driver "ati" BusID "PCI:1:0:0" # Option "MergedFB" "True" # Option "CRT2HSync" "31.5 - 60.0" # Option "CRT2VRefresh" "60-85" # Option "MonitorLayout" "LCD,CRT" #use LCD,CRT even if you have 2 CRTs # Option "OverlayOnCRTC2" "true" # Option "MetaModes" "1024x768-1024x768" # Option "CRT2Position" "LeftOf" # enable radeon specific xinerama Option "MergedFB" "true" Option "CRT2Position" "LeftOf" Option "CRT2Hsync" "50-75" Option "CRT2VRefresh" "30-82" Option "MetaModes" "1024x768-1280x1024" Option "MergedNonRectangular" "true" EndSection Section "Monitor" Identifier "SyncMaster" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. RV350 AS [Radeon 9600]" Monitor "SyncMaster" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "DRI" Mode 0666 EndSection

Permalänk
Medlem

Re: Xorg duel monitor

Citat:

Ursprungligen inskrivet av TheDruid

Btw, går det att använda en external monitor som en workspace i linux?

också sugen o veta ifall det här skulle gå. Så please svara någon!

Visa signatur

"Cothax tells you : OK... sleep... try some. You type like either a drunk, or someone without sleep for the last few weeks. "

Permalänk
Medlem

Det går att göra. Man måste ställa in två skärmar och två utgångar på grafikkortet.
Jag kan visa hur jag har gjort i min xorg.conf men jag har Nvidia så det hjälper kanske inte så mycket.
Men det visar iaf principen. Sen kanske ni hittar bättre svar någon annanstans.

Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/artwiz/artwiz-aleczapka-se-1.3/" EndSection Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "type1" Load "freetype" #Load "speedo" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "se" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/mouse" Option "Buttons" "7" Option "ButtonNumber" "7" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Compaq" HorizSync 30.0-81.0 VertRefresh 56.0-76.0 EndSection Section "Monitor" Identifier "Calima" EndSection Section "Device" Identifier "Geforceright" VendorName "nVidia Corporation" BoardName "NV28 [GeForce4 Ti 4200 AGP 8x]" BusID "AGP:01:00:0" Option "UseFBDev" "true" Driver "nvidia" Screen 0 EndSection Section "Device" Identifier "Geforceleft" VendorName "nVidia Corporation" BoardName "NV28 [GeForce4 Ti 4200 AGP 8x]" BusID "AGP:01:00:0 Option "UseFBDev" "true" Driver "nvidia" Screen 1 EndSection Section "Screen" Identifier "Screen 1" Device "Geforceleft" Monitor "Compaq" DefaultDepth 24 SubSection "Display" Depth 8 Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen 0" Device "Geforceright" Monitor "Calima" DefaultDepth 24 SubSection "Display" Depth 8 Modes "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen 0 "Screen 0" 0 1 Screen 1 "Screen 1" LeftOf "Screen 0" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection

Visa signatur

Laptop: Zepto Znote 3215W | Intel C2D T7250 2.0ghz | 2GB ram | Intel X3100 GPU | 120 GB 5400rpm hdd | Intel 4965 AGN | 9-cell batteri
Kamera: Nikon D80 + batterigrepp | Nikkor AF-S DX 18-55mm 3.5-5.6G VR | Nikkor AF-S 70-300/4.5-5.6 G VR IF-ED | Nikkor AF 50mm 1.8D | Nikon SB-600 blixt

Permalänk
Medlem

Kan du beskriva lite mer om vilken option som triggar den funktionen?

Permalänk
Medlem

Det är ingen option som gör det. Jag har konfigurerat två Section "Monitor", två Section "Display" och två Section "Screen".
Kolla på "Identifier" i de olika avdelningarna.

Sen sätter man typ ihop allt i Section "ServerLayout"
T.ex i den första Section "Screen" så heter Identifiern "Screen 1".
Sen i Section "ServerLayout" så finns det:

Screen 1 "Screen 1" LeftOf "Screen 0"
Där "Screen 1" och "Screen 0" är identifiers för de olika Section "Screen".

Section "Device" Identifier "Geforceright" VendorName "nVidia Corporation" BoardName "NV28 [GeForce4 Ti 4200 AGP 8x]" BusID "AGP:01:00:0" Option "UseFBDev" "true" Driver "nvidia" Screen 0 EndSection

Här är det viktigaste Identifier och Screen. Screen bestämmer vilken screen det ska vara. 0 är första, 1 är andra osv.
Nu är det dock nåt klydd med min konfig så min högra skärm blir den primära och det verkar inte gå att fixa på något sätt :S
Identifiern är "Geforceright" så egentligen borde Screen vara 1. Men det går inte för mig.

Lite dåligt förklarat jag vet, men jag kommer inte på något enkelt sätt att förklara det på

Visa signatur

Laptop: Zepto Znote 3215W | Intel C2D T7250 2.0ghz | 2GB ram | Intel X3100 GPU | 120 GB 5400rpm hdd | Intel 4965 AGN | 9-cell batteri
Kamera: Nikon D80 + batterigrepp | Nikkor AF-S DX 18-55mm 3.5-5.6G VR | Nikkor AF-S 70-300/4.5-5.6 G VR IF-ED | Nikkor AF 50mm 1.8D | Nikon SB-600 blixt