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.
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.
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..
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?
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.. ;)
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.
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).
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.
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...
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
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
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)
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.
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.
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)
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.
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)
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:
/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.