Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg is stretching my screen
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
sfcfagwdse
n00b
n00b


Joined: 29 Mar 2004
Posts: 39
Location: Portland, OR

PostPosted: Fri Nov 26, 2004 11:28 am    Post subject: xorg is stretching my screen Reply with quote

I have a toshiba m30 laptop and I don't want xorg to stretch the screen when I go into a non-widescreen resolution. The bois is set not to stretch, there is no framebuffer enabled and the screen isn't stretched until X is started. Is there an option somewhere that disables this? I have tried both nvidia and nv drivers. I am really stumped here.

here is my xorg.conf:
Code:

Section "Extensions"
   Option "Composite" "Enable"
EndSection
Section "ServerLayout"
   Identifier     "single head configuration"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

   RgbPath      "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   Load  "dbe"
   Load  "extmod"
   Load  "glx"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
   Option       "XkbModel" "pc105"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5"
   Option       "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   Option   "DPMS"   "true"
   HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
   VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
   ModeLine "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
EndSection

Section "Device"
   Identifier  "Videocard0"
   Driver      "nvidia"
   VendorName  "NVidia"
   BoardName   "NVidia GeForce FX 5200"
   Option       "dpms"   "true"
   Option          "NoLogo"        "true"
#       Option          "HWCursor"      "true"
        Option          "DPMS"          "true"
        Option          "RenderAccel"   "true"
   Option      "NvAGP"      "1"
   BusID      "1:0:0"
        Option          "AllowGLXWithComposite" "true"

EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Videocard0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1280x800" "1024x768" "800x600"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes     "1280x800" "1024x768" "800x600"
   EndSubSection

EndSection
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Fri Nov 26, 2004 1:53 pm    Post subject: Reply with quote

Is it really supposed to be 1280x800 rather than the standard 1280x1024? It looks wrong to me b/c the other resolutions you've defined have normal parameters. But maybe that's what your monitor requires?
_________________
http://dkap.info
Back to top
View user's profile Send private message
sfcfagwdse
n00b
n00b


Joined: 29 Mar 2004
Posts: 39
Location: Portland, OR

PostPosted: Fri Nov 26, 2004 8:02 pm    Post subject: Reply with quote

Yes 1280x800 is my laptop's native resolution, it works fine there. I want it not to stretch my screen on other resolutions like 1024x768 because it looks like crap when playing a game or something. BTW I booted up a knoppix live cd and it didn't stretch in xfree, so i coppied the XF86Config file over to my xorg install and it still stretched, so i think it may be a bug with xorg. Anyone have any ideas?
Back to top
View user's profile Send private message
sfcfagwdse
n00b
n00b


Joined: 29 Mar 2004
Posts: 39
Location: Portland, OR

PostPosted: Sun Nov 28, 2004 1:58 am    Post subject: Reply with quote

It must not be caused by a particular version of X because I tried installing Xfree 4.3 and the same thing happens. I am really stumped here, there must be some setting somewhere overriding the bios stretch setting but only on my gentoo install.
Please if anyone has any ideas throw em out there cause I'm lost now.
Back to top
View user's profile Send private message
MysticPixel
n00b
n00b


Joined: 30 Nov 2004
Posts: 16

PostPosted: Thu Dec 02, 2004 9:16 pm    Post subject: Reply with quote

This is a BIOS issue. At least, it is on my inspiron 700m - you can choose in the BIOS (and in windows through the graphics manager or by control-alt-F11) to stretch or center the display. It's really NOT a software issue, I'm almost completely sure.
Back to top
View user's profile Send private message
sfcfagwdse
n00b
n00b


Joined: 29 Mar 2004
Posts: 39
Location: Portland, OR

PostPosted: Sun Dec 05, 2004 2:28 am    Post subject: Reply with quote

I know it's a bios issue. I set the bios not to stretch the screen and it doesn't until I load up xorg. That's what I'm confused about because booting off the knoppix live cd doesnt stretch the screen either.
Back to top
View user's profile Send private message
ilyawizard
n00b
n00b


Joined: 03 Nov 2004
Posts: 53

PostPosted: Sun Dec 05, 2004 6:36 am    Post subject: Reply with quote

I think it recognizes the size of the screen as the largest resolution you have and then sets the required resolution. So if you have 1280*800 and loading under 1024*768 then it's stretched, but when you load under 1280*800 it's fine. At least that is like in my computer. I just don't use the highest resolution so I didn't specify it.
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