View Single Post
Old 03-05-03, 07:40 PM   #1
Why me
Registered User
 
Join Date: Feb 2003
Posts: 4
Unhappy newbie nvidia hell (part 1 of 2)

Hi,

I'm having no luck at all with nvidia.

Here's my setup.

P4 2ghz, 512mb ram, plenty of HD space.

Mandrake 9.0, kernel 2.4.19-61mdk, KDE 3.1-7tex

Gainward GF4 PowerPack! Ultra/650XP VIVO 128mb (GeForce4 Ti4200 w/Philips SAA7108E)

After two weeks of reload after reload of Mandrake I am now chasing my tail and getting nowhere at all.
I've RTFM'ed and RTFNG'ed and RTFF's ang googled and man'ed and printed out a whole REAM of paper (from forums, readme's, helps, etc..)
All to no avail..
My number one problem is that I need to get RivaTV working, I got the card to do video editing and it is totally non-functional at this point.
I have tried to install RivaTV from tar and from CVS and it refuses to install no matter what I do.
I need to pump audio/video into it from a VCR, capture the video to disk for editing then put it back out to video tape and also make video CD's from the source.

I've lost count of how many times I've reformated my hard drive and started over from scratch.
I'm just banging my head on the desk at this point. I've tried so many things that I'm going in circles, I can't even remember where all the places are that I've found help files at. And usenet was not much use, I got lots of smart-alec "help" (if you can call it help) there but not one thing yet has done me any good.
My system boots and I have video but I think it's just running in a minimal (or simple) mode...

Here's the things I've tried...

I ran NVChooser.sh and it told me this,
[root@mdkbox vid]# ./NVchooser.sh
Please download and install the following files:
NVIDIA_kernel-1.0-4191.mdk90up.i586.rpm
NVIDIA_GLX-1.0-4191.i386.rpm

I did this and no error messages occured.
I edited my /etc/X11/XF86Config-4 as per the nvidia instructions.

[me@mdkbox X11]$ ls
app-defaults/ fs/ prefdm* serverconfig/ twm/ xdm/ XF86Config-4.old XftConfig xkb/ xserver/
applnk/ gdm/ proxymngr/ starthere/ wmsession.d/ XF86Config XF86Config-4.yanc xinit/ Xmodmap Xsession*
encodings.dir lbxproxy/ rstart/ sysconfig/ X@ XF86Config-4 XF86Config.old xinit.d/ Xresources* xsm/
[me@mdkbox X11]$ cat XF86Config-4
# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

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 "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Dell"
ModelName "Dell P780"
HorizSync 30.0-85.0
VertRefresh 48.0-120.0

# 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
EndSection

Section "Device"
Identifier "device1"
VendorName "NVidia"
BoardName "NVIDIA GeForce (fbdev)"
Driver "nvidia"
Option "DPMS"
Option "NvAGP" "1"
Option "DigitalVibrance" "0"
EndSection

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

Subsection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
[me@mdkbox X11]$


When I boot I get the nifty nvidia logo.
I would think that when this logo is displayed that everything is operating properly, right?? Well, apparently not.

Here's the output of nv_check.sh

[root@mdkbox vid]# ./nv_check.sh
Welcome to the NVidia Driver Installation Checker.
This shell script is meant to help you debug your installation
of the beta NVidia Linux drivers. It is not 100% foolproof.
In particular, you will definitely want to make sure you have
the correct options in your XF86Config to make X work properly.
This script cannot debug your X setup. That being said, it
should prove useful if are having problems with the drivers and
want to check the validity of your driver install.

At no time will this script EVER make changes to your system.
It is simply a diagnostic tool - fixes of any kind will have to
come from you.

Press enter to continue...

OK, the first thing we need to do is make sure your XF86Config file
is set up correctly. In order to do this, I'm first going to try
and find where this file might be...
checking /usr/X11R6/lib/X11/XF86Config...
not found
checking /usr/X11R6/etc/X11/XF86Config...
not found
checking /etc/XF86Config...
not found
checking /etc/X11/XF86Config...
found
checking /etc/X11/XF86Config-4...
found
I'm going to be doing my checking using /etc/X11/XF86Config-4. If this is not
actually your X config, then quit this script with Ctrl-C, remove
or rename the file, then run this script again.
Press enter to continue

I'm going to check your XF86Config file for the following things:
1) Loading the GLcore and glx modules
2) Specifying the nvidia driver instead of nv

Checking for the Load glx statement...
Load "glx"
It seems to be intact. Now lets see if you're loading the correct
video driver...
Driver "nvidia"
Everything seems fine in your X config file. This is not 100%
guaranteed to be accurate, but lets continue anyway (press enter)...

The next step involves making sure you have the proper files in
the right places, and that the kernel module loaded correctly.
Press enter to begin the test.

First lets make sure you don't have the old modules still present
by mistake...
Checking /usr/X11R6/lib/modules/extensions/libglx.a...
Checking /usr/X11R6/lib/modules/extensions/libGLcore.a...
You don't appear to have any conflicting older drivers. Now lets check
if the new driver files are in place...
Checking /usr/X11R6/lib/modules/drivers/nvidia_drv.o...
Checking /usr/X11R6/lib/modules/extensions/libglx.so...
Checking /usr/lib/libGL.so...
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005d000)
Checking /usr/lib/libGLcore.so.1...
All the files seem to exist. Now I'm going to see if your kernel
module is loaded correctly...
nvidia 1469056 10 (autoclean)
The kernel device /dev/nvidia1 does not exist, is not a device,
or does not have the proper permissions set. This dev entry should
have been created when you created the kernel module. If you
compiled the module by hand, you may have to create this device
manually (major number 195, minor number 1). After this is done,
please run this script again.

Well, I did some reading and saw some people suggesting things to other people so I did those things and here's what I get.

[root@mdkbox vid]# ls -l /usr/lib/libGLcore.so.1
lrwxrwxrwx 1 root root 21 Mar 1 16:38 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.
[root@mdkbox vid]#
[root@mdkbox vid]# ls -l /usr/lib/libGLcore.so.1
lrwxrwxrwx 1 root root 21 Mar 1 16:38 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.4191*
[root@mdkbox vid]#
[root@mdkbox vid]#
[root@mdkbox vid]# test -f /usr/lib/libGLcore.so.1
[root@mdkbox vid]# echo $?
0
[root@mdkbox vid]# /sbin/modprobe NVdriver
modprobe: Can't locate module NVdriver
[root@mdkbox vid]# rpm -q -l NVIDIA-kernel
package NVIDIA-kernel is not installed
[root@mdkbox vid]#
[root@mdkbox vid]# rpm -qa | grep NVIDIA
NVIDIA_kernel-1.0-4191.mdk90up
NVIDIA_GLX-1.0-4191
[root@mdkbox vid]# rpm -q -l NVIDIA_kernel
/lib/modules/2.4.19-16mdk/kernel/drivers/video/nvidia.o
[root@mdkbox vid]#
[root@mdkbox vid]# /sbin/modprobe nvidia.o
modprobe: Can't locate module nvidia.o

[root@mdkbox vid]# /sbin/modprobe nvidia
[root@mdkbox vid]# rpm -q -l NVIDIA_kernel
/lib/modules/2.4.19-16mdk/kernel/drivers/video/nvidia.o
[root@mdkbox vid]# rpm -q -l NVIDIA_kernel
/lib/modules/2.4.19-16mdk/kernel/drivers/video/nvidia.o
[root@mdkbox vid]# rpm -qa | grep NVIDIA
NVIDIA_kernel-1.0-4191.mdk90up
NVIDIA_GLX-1.0-4191
[root@mdkbox vid]# /sbin/modprobe NVdriver
modprobe: Can't locate module NVdriver


[root@mdkbox vid]# glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
[root@mdkbox vid]#


The thread I was finding the above suggestions in ended there, at that point I know not what more to do.
But I assume from what I was reading that something is wrong.

PART 2 CONTINUED IN NEXT POST !!!
Why me is offline   Reply With Quote