Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Dual Screen woes.. ;)


Charles Myers wrote:

Ok yet another possible silly question, I have googled but everything
that isnt related comes up (as you will see my problem maybe very
specific?)

I have Ubuntu running dual screen, but when I play a game the game
centres in between the two monitors. Is this usual? Or would anyone know
a workaround I could use to direct it to one monitor?


Thanks for any help..

Charles.


I am running "twin view" on my machine using two 17" crt monitors. It handles windowing very very well, In fact I had twin view 12 months ago and it is heaps better now (was more than likely my config than the software), anyway, I have not done any gaming yet, but the config I have should solve your problem (at least the tutorial I used to set it up says so), it works well with all other gui stuff ie maximising on 1 screen, opening a new window on the screen your cursor is on etc etc. Here is my xorg.conf , hope it is of use to you. Oh by the way, I am using Ubuntu breezy and Dapper with this config.

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/CID"
       FontPath        "/usr/share/X11/fonts/100dpi"
       FontPath        "/usr/share/X11/fonts/75dpi"
       # paths to defoma fonts
       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
       Load    "GLcore"
       Load    "bitmap"
       Load    "ddc"
#       Load    "dri"
       Load    "extmod"
       Load    "freetype"
       Load    "glx"
       Load    "int10"
       Load    "type1"
       Load    "v4l"
       Load    "vbe"
EndSection

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

Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/input/mice"
       Option          "Protocol"              "ImPS/2"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
       Identifier      "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
       Driver          "nvidia"
       VendorName      "Videocard vendor"
       BoardName       "NVIDIA Geforce 440MX"
       BusID           "PCI:1:0:0"
        Option "NvAGP" "2"
       Option          "NoLogo" "1"
       Option          "RenderAccel" "0"
       Option          "CursorShadow" "1"
       Option          "ConnectedMonitor" "crt, crt"
       Option          "NoPowerConnectorCheck"
       Option          "TwinView" "1"
Option "Metamodes" "1280x1024,1280x1024; 1024x768,1024x768; 1280x1024,NULL; 1024x768,NULL"
       Option          "SecondMonitorHorizSync" "30-65"
       Option          "SecondMonitorVertRefresh" "50-75"
#       Option  "NoTwinViewXineramaInfo"
EndSection

Section "Monitor"
       Identifier      "Generic Monitor"
       Option          "DPMS"
       HorizSync       30-65
       VertRefresh     50-75
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Device          "NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]"
       Monitor         "Generic Monitor"
       DefaultDepth    24
       SubSection "Display"
               Depth           1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           24
               Modes           "1280x1024" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "ServerLayout"
       Identifier      "Default Layout"
       Screen          "Default Screen"
       InputDevice     "Generic Keyboard"
       InputDevice     "Configured Mouse"
       Option          "Xinerama" "Off"
EndSection

Section "DRI"
       Mode    0666
EndSection


All the best of luck

Tuxta