Users online right now: 93 - Login  » search  » forum index  

I need nvidia driver for Slax 6.0.0

egreg
wrote 6 years ago


reply
Hello
as in topic
module with nvidia driver fo Slax 5 not work
Thanks and greetings
 
leetux
wrote 6 years ago


reply
Module from Slax 5 can't work, because Slax 5 was running older kernel [2.6.18 as far as I remember], Slax 6 is running 2.6.24. It makes modules created for beta versions [2.6.22, 2.6.23] not work too. You can try compiling driver from official nvidia site.
 
Angel
wrote 6 years ago


reply
I don't know how to compile the drivers for Nvidia.. can someone help me? thank you..
 
Ponce
wrote 6 years ago


reply
start slax in text mode and login.
then, if you got an old nvidia card download the driver for old cards

# wget http://us.download.nvidia.com/XFree86/Linux-x86/71.86.04/NVIDIA-Linux-x86-71.86.04-pkg1.run

if you got a not-so-old nvidia card download the driver for not-so-old cards

# wget http://us.download.nvidia.com/XFree86/Linux-x86/96.43.05/NVIDIA-Linux-x86-96.43.05-pkg1.run

(in the appendix A of the readme are listed the supported cards)
http://us.download.nvidia.com/XFree86/Linux-x86/96.43.05/README/README.txt

or if you got a recent nvidia card and want to try the bleeding edge drivers (be sure your card is supported)
http://us.download.nvidia.com/XFree86/Linux-x86/169.07/README/appendix-a.html

# wget http://us.download.nvidia.com/XFree86/Linux-x86/169.07/NVIDIA-Linux-x86-169.07-pkg1.run

install the downloaded file executing it with sh

# sh NVIDIA-Linux-x86-169.07-pkg1.run

accept the license.
it will ask you look to look on nvidia site for precompiled drivers: say no.
say yes to the question about recompiling one.
when the installation is finishing it will ask you to run the utility to write a new xorg.conf file for the new installed driver: let him do it.

then start X with

# startx
 
Angel
wrote 6 years ago


reply
Thank you Ponce for your answer.. i have done what have you told me.. and in the and i receive an error mesage:

"-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.24/source'
-> Kernel output path: '/lib/modules/2.6.24/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
ERROR: Unable to determine the NVIDIA kernel module filename.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
."

my video card (GeForce 7300 GT) is on the list of supported video cards.. i can't understand the message.. maibe you can still help me..
 
leetux
wrote 6 years ago


reply
Is this text copied from /var/log/nvidia-installer.log? If yes, then run installer and look for line like that: "ln: cannot link to Makefile: file already exists" before ERRORs, if yes then it appears that we've had the same problem. I've workarounded that by:
1. unpacking installer [NVIDIA-something.run -x, it will probably unpack to /root/NVIDIA-something]
2. cd /root/NVIDIA-something/usr/src/nv/
3. mv Makefile Makefile.real
4. ln -s Makefile.real Makefile
5. cd /root/NVIDIA-something
6. ./nvidia-installer [I don't remember name, it should be that but if not, then use 'ls' command and look for something simillar]
and write here what will happen. After compilation of module I have many errors about failed backuping and installing some files [i've passed them with enter], and besides that installer is saying something about success, it installs only empty files of size to even some megabytes. If you will see information like "failed to backup file XXX (No such device), do you want to continue?" some times, then simply stop installer or you're going to have some pretty garbage on your Slax disk, like me... What is your Slax disk, usb, cd or something else?
 
AngelTudorache
wrote 6 years ago


reply
Hello leetux.. yes, the text is copied from nvidia-installer.log
i am using (trying to use) Slax for USB ;)
i am new in linux world.. :)
so.. in the end your slax is working.. or what..?
now i am at work.. in one hour i will be home fighting with Slax for USB.. and trying to make the drivers for Nvidia working like a charm.. ;)
 
leetux
wrote 6 years ago


reply
In the end my Slax is working as worked before, but still - without nvidia driver... ;/ I want to know if someone besides me has the same problem with nvidia driver's installation.
 
Ponce
wrote 6 years ago


reply
ah, i have not stated that before, to someone can be obvious but just to be clear: you can't use the nvidia driver in a virtual machine, only if you are booting from slax cd/usb as your primary operating system.
the emulated machine only see an emulated videocard different from the one is running on (you can verify that with an lspci).
 
leetux
wrote 6 years ago


reply
Problems with installing nvidia drivers are fault of using Slax on USB key. I've unpacked Slax to hard disk and tried to install Nvidia drivers and I had no problems. Here's my dirty, 5-minutes created module, could not [should not...] work, but you can give it a try. I don't know how xconf will handle it, I haven't tested module yet. Good luck for testing it. 8,3 MB.
http://www.speedyshare.com/717484755.html
edit: if xconf will not enable nvidia driver, then try nvidia-xconfig.
 
Ponce
wrote 6 years ago


reply
maybe is something related to fat?
 
leetux
wrote 6 years ago


reply
It is possible, first issue was with linking, it's surely not native function of FAT... second issue was when copying files - "No such device", so it could be related to something between Slax, USB key and Linux device managing itself...
 
AngelTudorache
wrote 6 years ago


reply
[URL=http://img301.imageshack.us/my.php?image=leetuxkt3.png][IMG]http://img301.imageshack.us/img301/9180/leetuxkt3.th.png[/IMG][/URL]

leetux, your are the man... your module first doesn't worked.. but in the second try it worked like a charm...

Thank you...

later edit: i still have problems... i have the drivers... but the settings regarding screen size, refresh rate... and all others settings... after restart, all settings are lost..


and after a lot of searching.. i have found in /etc/X11 the "gui.conf" file.. that have to be modified.. according to it's content:

# SLAX configuration file for gui/xconf script (xwindow starter)
# Empty variables are ignored

# --------------------------------------------------

# SKIP xconf AT ALL.
# If skip=yes, xconf will quit without any modifications to xorg.conf
# This is needed if you use xorg.conf from your own module, it would
# be overwritten by xconf; So include this gui.conf file in your module
# as well, so xconf will not overwrite your xorg.conf.
# Huh it seems complicated, but it's really simple :))
# example: SKIP_XCONF=yes
#
SKIP_XCONF=yes

# --------------------------------------------------

# enable X11 extensions, to be able to use shadows and transparency
# (you will need to setup that in KDE by clicking to some checkbox)
# example CONF_EXTENSIONS=yes
#
CONF_EXTENSIONS=yes
 
merindol
wrote 6 years ago


reply
Hi.

I use a laptop (a pretty old one) with a geforce2 go Nvidia card. Actually it's a Gpu integrated
in the mother board.
I had to compile the drivers because the provided one was not compatible.
I used the 96xx drivers series that support the Nvidia Legacy Gpu's.
The full list of supported hardware is here : http://www.nvidia.com/object/IO_32667.html
And here is the driver : http://www.nvidia.com/object/linux_display_x86_96.43.05.html

I uploaded the lzm module I created : http://menyx.free.fr/private/nvidia_legacy_gpu-96.43.05.lzm

How to install ?
-> activate *.lzm
-> depmod
-> modprobe nvidia
-> Edit the /etc/X11/xorg.conf file : Check in the Section "Device" :
* Remove : Driver "nv" (or anything else there is)
* Add :
Driver "nvidia"
Option "DPMS"
Option "NoLogo" "on"
Option "RenderAccel" "true"
Option "NvAGP" "3"
Option "UseEdidFreqs" "true"

Good luck.
 
some-guy
wrote 6 years ago


reply
[URL=http://img301.imageshack.us/my.php?image=leetuxkt3.png][IMG]http://img301.imageshack.us/img301/9180/leetuxkt3.th.png[/IMG][/URL]

leetux, your are the man... your module first doesn't worked.. but in the second try it worked like a charm...

Thank you...

later edit: i still have problems... i have the drivers... but the settings regarding screen size, refresh rate... and all others settings... after restart, all settings are lost..


and after a lot of searching.. i have found in /etc/X11 the "gui.conf" file.. that have to be modified.. according to it's content:

# SLAX configuration file for gui/xconf script (xwindow starter)
# Empty variables are ignored

# --------------------------------------------------

# SKIP xconf AT ALL.
# If skip=yes, xconf will quit without any modifications to xorg.conf
# This is needed if you use xorg.conf from your own module, it would
# be overwritten by xconf; So include this gui.conf file in your module
# as well, so xconf will not overwrite your xorg.conf.
# Huh it seems complicated, but it's really simple :))
# example: SKIP_XCONF=yes
#
SKIP_XCONF=yes

# --------------------------------------------------

# enable X11 extensions, to be able to use shadows and transparency
# (you will need to setup that in KDE by clicking to some checkbox)
# example CONF_EXTENSIONS=yes
#
CONF_EXTENSIONS=yes


Run Slax in VESA mode (aka disable the running of xconf)
 
Kongar
wrote 6 years ago


reply
Nvidia driver buid and system configuration scripts to do work due to naming conventions and symlink problems on an USB live distro.

It is possible to hand compile the kernel module by tweaking the build procedure; the hint is the creation of Makefile symlink which fails because of an already existing file "makefile".

mv the makefile to something else (ie: makefile.orig) and run make -f makefile.orig module; make install

that will do the kernel module installation.

Core library installations also fail due to symlink issues; the only way (IMO) to install those is using a file system with long file and symlink support.
 
kongar
wrote 6 years ago


reply
scripts to do work due to naming

That should be "do not work".

K.
 
S_o_E
wrote 6 years ago


reply
Hi all. Very impressed with this whole slax package, nice work.
I touched my first Linux setup (this one) just 3 days ago... Thusly I'm having a few problems regarding the setup/installation of any nvidia drivers.
I have dlded the drivers/packages referenced on this page, and tried to compile, load, install, find bloody 'makefile' (there's hundreds), rip hair out, etc...

Basically, I would really appreciate it if someone would be so kind as to 'step by step' the method for getting the drivers fully up & running.

Here's hoping... Thanks.
 
S_o_E
wrote 6 years ago


reply
...Please?
 
torsan
wrote 6 years ago


reply
I'm running Slax on a fat usb drive and when I start up with changes=/slax/ the I get the same problem as some of you (the Makefile thing), but if I instead remove it from the boot parameters there is no issue.
All good so far but as I am trying to build a module I would like to know where all the Nvidia files go.

Is there a way to know which files to incorporate in the module?

(I made a module when in rc6 by checking the Slax 5 Nvidia module and which files the maker of it incorporated, it seemed to work well but it didn't feel very safe. I would like to know the right way to do it)

EDIT: Made a quick one from the 169.12 driver try it out: http://w15.easy-share.com/1699721544.html
 
burninbush
wrote 6 years ago


reply
EDIT: Made a quick one from the 169.12 driver try it out: http://w15.easy-share.com/1699721544.html

++++++++++

Thank you ... grabbed that and copied it into my 6.0.0 install. After a couple edits of xorg.conf, it shows the Nvidia logo on starting X, and glxgears show 1289fps, about what I expect from this cheapo FX6200 vid card.
 
torsan
wrote 6 years ago


reply
@ burninbush

Sounds great mr bush. Actually I upgraded to Slax 6.0.2 and it seems to break the module, I had to start over.
If anyone else has the same experience try this one (same Nvidia 169.12 driver):
http://w15.easy-share.com/1699756824.html

I have no idea why the old one didn't work (it worked on 6.0.1) but i think the new one is more stable. (I certainly hope so)
 
Denver-22
wrote 6 years ago


reply
How to make the module Nvidia-driver from .run it is independent?
 
tonio
wrote 6 years ago


reply
@401k Rollovers,

Don't you have better things to do than to spam the slax users' forum. Please stop!
 
Spice_Boy
wrote 6 years ago


reply
This is how I made my nvidia module.

Download the appropriate driver from nvidia. There are 2 choices, depending on how old your card is. At this time they are:

Driver 169.12
Legacy: 96.43.05 (this was the version I needed for my GeForce4 MX 440 AGP 8x)

You must start Slax in console mode, but by default that saves changes which we don't want to do because the installer doesn't like that. So, remove changes=/slax/ from the /boot/slax.cfg file in the MENU LABEL Slax Text mode section.

Run the .run file which will go through the install process. Choose "NO" for the downloading of kernels, which will make it build one specifically for your system. (This is why the driver slax modules don't work between slax versions)

Once this has been made you can do an xconf to make your xorg.conf file then startx

It should be working nicely now.
Next step is to make the Slax module.
The files needed to make this all work automatically on reboot are as follows:


/bin/nvidia-settings (settings program)
/etc/X11/xorg.conf (configuration file)
/lib/modules/2.6.24.4/kernel/drivers/videonvidia.ko
/usr/lib/xorg/modules/drivers/nvidia_drv.so

/usr/lib/nvidia-logo.png (my choice for an icon file)
/usr/share/applications/nvidia.desktop (link to run /bin/nvidia-settings)

You will have to hunt down a logo icon yourself, and add the desktop link, but that's only if you want the icon. You can always run the settings just by going nvidia-settings

Make a module from those files and it should be good. Works for me.
Remember, during the install script it built the kernel for your particular system, so if you upgrade/change systems you'll have to do it again and make another module.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH