Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
too large X display
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dingfelder
Apprentice
Apprentice


Joined: 27 Jun 2007
Posts: 162
Location: New Zealand

PostPosted: Tue Aug 28, 2007 12:04 am    Post subject: too large X display Reply with quote

I poked around on the forums but did not see this issue addressed, although I suspect I just don't know the correct term to search for :)

I have configured my system to use 2 nvidia video cards, one of which is dual head, driving 3 monitors, and it appears to be working, except for one issue:

On my primary monitor, the screen seems to be running 1600 resolution on a 1200 resolution monitor, so the screen overlaps the monitor... thus if I maximize a window on that screen, I have to scroll to get to the edge of the window. yuck.

I have posted my xorg.conf in case it is the cause.

Anyone know how to fix this?


Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@borked)  Sat Aug 25 01:31:23 NZST 2007
# Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 1280 0
   Screen      1  "Screen1" 0 0
   Screen      2  "Screen2" 2560 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "glx"
   Load  "record"
   Load  "dbe"
#   Load  "dri"
   Load  "GLcore"
   Load  "xtrap"
   Load  "type1"
   Load  "freetype"
EndSection

Section "ServerFlags"
   Option       "Xinerama" "1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertRefresh values to use DDC:
   Identifier   "Monitor_PHILIPS_0"
   VendorName   "PHILIPS"
   ModelName    "PHILIPS 109B6"
 ### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync    30.0 - 97.0
   VertRefresh  50.0 - 160.0
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertRefresh values to use DDC:
   Identifier   "Monitor_COMPAQ"
   VendorName   "COMPAQ"
   ModelName    "COMPAQ 7500"
 ### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync    30.0 - 70.0
   VertRefresh  50.0 - 140.0
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertRefresh values to use DDC:
   Identifier   "Monitor_PHILIPS_2"
   VendorName   "PHILIPS"
   ModelName    "PHILIPS 109B6"
 ### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync    30.0 - 97.0
   VertRefresh  50.0 - 160.0
EndSection

Section "Device"
   Identifier  "Videocard_GeForce_7100_GS_0"
   Driver      "nvidia"
   VendorName  "NVIDIA Corporation"
   BoardName   "GeForce 7100 GS"
   BusID       "PCI:1:0:0"
EndSection

Section "Device"
   Identifier  "Videocard_GeForce_7100_GS_1"
   Driver      "nvidia"
   VendorName  "NVIDIA Corporation"
   BoardName   "GeForce 7100 GS"
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Device"
   Identifier  "Videocard_Quadro_NVS_50"
   Driver      "nvidia"
   VendorName  "NVIDIA Corporation"
   BoardName   "Quadro NVS 50 PCI"
   BusID       "PCI:7:4:0"
EndSection

Section "Screen"

# Removed Option "metamodes" "1280x1024_75 +0+0; nvidia-auto-select +0+0"
   Identifier "Screen0"
   Device     "Videocard_GeForce_7100_GS_0"
   Monitor    "Monitor_PHILIPS_0"
   DefaultDepth     24
   Option       "TwinView" "0"
   Option       "metamodes" "CRT-0: 1280x1024_75 +0+0; CRT-0: nvidia-auto-select +0+0"
   SubSection "Display"
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Videocard_Quadro_NVS_50"
   Monitor    "Monitor_COMPAQ"
   DefaultDepth     24
   Option       "TwinView" "0"
   Option       "metamodes" "1280x1024 +0+0"
   SubSection "Display"
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen2"
   Device     "Videocard_GeForce_7100_GS_1"
   Monitor    "Monitor_PHILIPS_2"
   DefaultDepth     24
   Option       "TwinView" "0"
   Option       "metamodes" "CRT-1: 1280x1024 +0+0"
EndSection

Section "DRI"
   Group        0
EndSection
Back to top
View user's profile Send private message
seldom_used
n00b
n00b


Joined: 06 Feb 2007
Posts: 25

PostPosted: Tue Aug 28, 2007 4:08 am    Post subject: Reply with quote

Hey, I'm running the same setup: 2x nvidia running 3 1280x1024 monitors in Xinerama. No such problems for me.
If the nvidia-settings GUI doesn't help then try removing some lines in Screen sections to let the driver autodetect more.
My Screen sections look like this (use your id, device, monitor names):
Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0.0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


Also, in Monitor sections try commenting out HorizSync and VertRefresh - the driver should be able to autodetect if your monitors are not ancient. And use the latest driver if you aren't.

Alex.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum