View Single Post
Old 05-05-04, 08:32 PM   #1
Registered User
Join Date: May 2004
Posts: 1
Default RIVA TNT2/MDK 10/Screen resolution

I am really having fun learning Linux, and have chosen Mandrake 10 as my first distro. So far, I really like it. I am an old DOS/PC person, and prefer to get my hardware working to my satisfaction before diving into loading all kinds of software, and I have reached a stumbling block with my screen resolution. I am currently running:

Distribution: Mdk 10 Community
Kernel: 2.6.3-4mdk
Kernel source installed: 2.6.3-4mdk
XFree86 version:

I have spent a fair amount of time searching, reading, and trying most of the suggestions posted here and elsewhere, and while able to work through things like getting the kernel source installed and the nVidia driver installed, I have been unable to solve the following problem:

No matter what I try, I cannot get the 1280x1024 resolution to work.

Every time I go into Mandrake Control Center->Hardware->Screen resolution,
the only setting that will 'stick' is 1280x960. It shows the correct video card, however.
Under the Graphical X Server settings, the Resolution is shown as 1280x1024.
My desktop is usable, but a bit hard on the eyes due to the fuzzy edges of fonts, etc.

I am 99.99% sure the resolution is NOT 1280x1024, because when I switch the monitor over to the Win2000 box, everything is sharp and crisp. There is a marked visual difference on the screen between the two boxes.

I see the nVidia splash screen when starting X, so it is loading the right (I guess) drivers for the vid. card.

Things I have done (all as root, of course):
-reinstalled Mdk
-made appropriate (I think) changes to XF86Config-4 (see snippets below and attached log files)
-added nvidia to modprobe.preload
-ran xf86config
-ran XFdrake
-added Mode "1280x1024" to each Display subsection of SF86Config-4 (then later removed as it didn't do anything)

Hardware: Compaq Deskpro, PIII 1 GHz, 128MB
Monitor: Sony SDM-M81, w/native resolution of 1280x1024
Horiz Scan Range: 28-92 kHz, Vert Scan Range: 48-85 Hz

This box is run through a KVM switch which shares this monitor and a keyboard with a Win2000 machine.

From /proc/driver/nvidia/cards/0:

Model: RIVA TNT2 Model 64/Model 64 Pro
IRQ: 18
Video BIOS:
Card Type: AGP

nVidia driver version: 5336

XF86Config-4 and XFree86.0.log (as .txt files, forum would not upload otherwise) are attached.

Most relevant portions of XF86Config-4:

Section "Module"
# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the Type1 and FreeType font modules
Load "type1"
Load "speedo"
Load "/usr/X11R6/lib/modules/extensions/"

# This loads the DRI module
# Load "dri"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

Subsection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension

Section "Monitor"
Identifier "monitor1"
HorizSync 28-92
VertRefresh 48-85

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "RIVA TNT2"
Driver "nvidia"
Option "DPMS"
Option "IgnoreEDID" "1"

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1280 1024

Subsection "Display"
Depth 15
Virtual 1280 1024

Subsection "Display"
Depth 16
Virtual 1280 1024

Subsection "Display"
Depth 24
Virtual 1280 1024

Any recommendations on the following?
-Manually calculating all the H and V sync timings and adding these manually to XF86Config-4
-Adding MetaModes to the config file
-Could the problem be the KVM switch? (I don't believe this since everything looks crisp on the Windoze box)

I would really like to work to get this problem resolved, since this is all a precursor to building a new box this summer and making it a dual boot system, but staying in Linux as much as possible. I am just so sick of Borgware.

Thanks in advance for any pointers/suggestions/etc...
Attached Files
File Type: txt XF86Config-4.txt (10.5 KB, 219 views)
File Type: txt XFree86.txt (24.3 KB, 203 views)
daves_not_here is offline   Reply With Quote