nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Changing resolutions (http://www.nvnews.net/vbulletin/showthread.php?t=541)

thekrebster 08-08-02 09:38 PM

Changing resolutions
I'm running Mandrake 8.2 with a Creative Blaster Riva TNT2 Ultra and have succesfully installed the latest Nvidia drivers. OpenGl is working fine, but since I'm running the desktop on 1280X1024 resolution, when I start an OpenGL game or app, it uses that same resolution, resulting in somewhat slow framerates.
If I try to use the configuration manager to change the resolution, it changes the XF86Config file, and the Nvidia drivers are not loaded.
How do I change the resolution without changing the configuration file?

logan 08-08-02 11:01 PM

Just edit /etc/X11/XF86Config-4 and add additional resolutions to the Display Subsections inside Screen.

The first one in each is what X will use by default.


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 16
Visual "TrueColor"
Modes "1280x1024" "1024x768" "800x600" "640x480"
SubSection "Display"
Depth 24
Visual "TrueColor"
Modes "1280x1024" "1024x768" "800x600" "640x480"

All times are GMT -5. The time now is 11:23 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.