Jump to content

OpenGL games not scaling to full screen [solved]


apbsa
 Share

Recommended Posts

After installing the most recent Nvidia driver from PLF onto Mandriva 2006 games no longer scale to fill my screen if they are lower than my default resolution. Instead they are in the lower left hand corner of the screen, with the rest of the screen blank. All 3D games are affected, including Chromium, Doom 3, Quake 4, UT 2004 etc. I can change the game resolution to fill the screen, but then performance is not as good.

 

I have a ViewSonic VE710s and Nvidia 6600 video card. Although I have found some tips on how to change the xorg.conf file I have not been able to fix the problem. If anyone can help out it would be much appreciated.

Link to comment
Share on other sites

Hi Tyme,

 

This is my xorg.conf file. Since my earlier post I have run nvidia-xconfig, however games still run at less than full screen.

 

Thanks in advance.

 

Section "Monitor"

Identifier "monitor1"

VendorName "ViewSonic"

ModelName "ViewSonic VE700"

HorizSync 24-82

VertRefresh 56-85

ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630

ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616

EndSection

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

 

# File generated by XFdrake.

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1" 0 0

EndSection

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so"

Load "glx"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

 

# allows the server to start up even if the mouse does not work

Option "allowmouseopenfail"

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "6 7"

EndSection

 

Section "Device"

Identifier "device1"

BoardName "NVIDIA GeForce 6800 (generic)"

Driver "nvidia"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

Option "MetaModes" "1280x1024, 1024x768, 800x600, 640x480, NULL"

 

Subsection "Display"

Depth 8

Modes "1280x1024"

EndSubsection

 

Subsection "Display"

Depth 15

Modes "1280x1024"

EndSubsection

 

Subsection "Display"

Depth 16

Modes "1280x1024"

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1280x1024"

EndSubsection

Option "DPMS"

Option "IgnoreEDID" "1"

EndSection

Link to comment
Share on other sites

I would use this instead (lines changed are bolded, comments italicized):

Section "Monitor"

Identifier "monitor1"

VendorName "ViewSonic"

ModelName "ViewSonic VE700"

HorizSync 24-82

VertRefresh 56-85

#ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630

#note the # which comments the line out

#ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616

#i'm removing these because they aren't necessary, and also may be the culprit

EndSection

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

 

# File generated by XFdrake.

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1" 0 0

EndSection

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so"

Load "glx"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

 

# allows the server to start up even if the mouse does not work

Option "allowmouseopenfail"

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "6 7"

EndSection

 

Section "Device"

Identifier "device1"

BoardName "NVIDIA GeForce 6800 (generic)"

Driver "nvidia"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

#Option "MetaModes" "1280x1024, 1024x768, 800x600, 640x480, NULL"

#metamodes aren't neccessary, and also are the most likely cause of your problem

 

Subsection "Display"

Depth 8

Modes "1280x1024" "1024x768" "800x600" "640x480"

#setting all the modes here is actually the better way to do it, instead of using metamodes

EndSubsection

 

Subsection "Display"

Depth 15

Modes "1280x1024" "1024x768" "800x600" "640x480"

EndSubsection

 

Subsection "Display"

Depth 16

Modes "1280x1024" "1024x768" "800x600" "640x480"

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1280x1024" "1024x768" "800x600" "640x480"

EndSubsection

Option "DPMS"

Option "IgnoreEDID" "1"

EndSection

make sure that when you edit xorg.conf you're doing it was root. you should be able to safely copy and paste this, i've commented out my comments (the #'s at the start of the lines) so that they won't cause any problems and I've left the original stuff in there so that you can revert in the event that it causes problems.

Link to comment
Share on other sites

Hi Tyme,

 

Thanks for your tip, my games now stretch to full screen. Now I can see the little things I am shooting at!

Link to comment
Share on other sites

I don't know if it's a mandriva thing or an nvidia-config thing, but metamodes really shouldn't be used if your using a monitor that can do the resolutions you want. I believe they are only supposed to be used if you're using twinview and want one monitor to be run at a different resolution that the other.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...