PDA

View Full Version : Changing resolutions


thekrebster
08-08-02, 09:38 PM
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"
EndSubSection
SubSection "Display"
Depth 16
Visual "TrueColor"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Visual "TrueColor"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection