Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: jp734 on May 20, 2012, 07:51:23 PM

Title: NVidia Driver Installation ERROR (SOLVED)
Post by: jp734 on May 20, 2012, 07:51:23 PM
I downloaded the driver from nvidia's site and when I tried to execute the file, I get this error.

ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel
       module from obtaining ownership of the NVIDIA graphics device(s).

I had binutils and compiletc loaded. This is a fresh install. No other program, drivers are installed. Trying to Install the video driver is the first thing I did after installing TC into my hard drive. I have an old NVidia FX5200 and the driver that I downloaded is the 173.14.31 version.

TC sources were suggested from this topic: http://forum.tinycorelinux.net/index.php?topic=12092.0
 - config-3.0.21-tinycore
 - linux-3.0.21.patched.txz

I have TC version 4.5.1 and kernel 3.0.21 --- Any suggestions?
Title: Re: NVidia Driver Installation ERROR
Post by: Rich on May 20, 2012, 08:23:26 PM
Hi jp734
You might want to read through this thread:
http://forum.tinycorelinux.net/index.php/topic,12965.msg71206.html#msg71206
Title: Re: NVidia Driver Installation ERROR
Post by: jp734 on May 20, 2012, 10:44:51 PM
Thanks Rich

Installed Xorg-7.5.tcz and used NV as the driver. The only problem right now is that I am losing my xorg.conf every time I reboot the pc. When I installed the Xorg-7.5.tcz, I read this:

             Edit the newly created config file as needed.
      When ready copy it to /etc/X11 named xorg.conf.
      Remember to add this file to your backup (/opt/.filetool.lst)
      or save it some other way
.

When I edited /opt/.filetool.lst and added "xorg.conf" or /etc/X11/xorg.conf", I can't reboot or shut down coz I am getting a backup error message
Title: Re: NVidia Driver Installation ERROR
Post by: Juanito on May 20, 2012, 11:16:39 PM
You need to put etc/X11/xorg.conf - without the leading "/"
Title: Re: NVidia Driver Installation ERROR
Post by: jp734 on May 21, 2012, 05:45:37 AM
Did that. Still gave me error. This is exactly what my .filetool.lst looks like.

opt
home
xorg.conf
Title: Re: NVidia Driver Installation ERROR
Post by: Juanito on May 21, 2012, 06:02:46 AM
It would need to say:

etc/X11/xorg.conf
Title: Re: NVidia Driver Installation ERROR
Post by: jp734 on May 21, 2012, 06:56:07 AM
Oh okay. Will do that tonight. Thanks.
Title: Re: NVidia Driver Installation ERROR
Post by: jp734 on May 21, 2012, 08:20:05 PM
That did the trick. Thanks a lot.

But of course there is another problem. I have two monitors and and they are both working but the second one is just a replica of the main monitor.

But this is another topic I guess. Will do some more research. So far what I've seen is that "nv" driver doesn't work with dual screen setup.
Title: Re: NVidia Driver Installation ERROR
Post by: floppy on May 22, 2012, 03:43:37 PM
I have two monitors and and they are both working but the second one is just a replica of the main monitor.

But this is another topic I guess. Will do some more research. So far what I've seen is that "nv" driver doesn't work with dual screen setup.
Perhaps "nouveau" works?
I would personally test "nouveau".
a) it works with me; you can boot knoppix 6.7.1 with xmodule=nouveau nouveau.noaccel=1 screen=1024x768 depth=24, see http://www.knoppixforum.de/knoppix-forum-deutsch/startprobleme/thread4991/startprobleme-mit-6-7.html
b) modify the xorg.conf and check if "nouveau" support a double screen setup for the nvidia FX 5200
and if it is the case, create a "nouveau" TCL extension for the Xorg7.6 ?