right, i just tried to install the NVidia drivers (again) with envy, i then made sure the universe & multiverse reops wher enabled (i was paranoid the upgrading from Feisty to Gutsy would disable them, but, it didn’t)
Those lines, when placed in your /etc/environment, will make it so anything you compile on your system will be optimized to run in the best possible way on your hardware, instead of being generically compatible with many system types. I suggested this so that when you build your drivers, they too will be optimized for your CPU.
i’ll just think for a while, as i think i can retrieve the driver install the grx driver command from outside X, cos
Terminate the GUI Here, as i think i nearly remember it, bit more thinking time required[ot]i think i place the *.run in a DIR and ls’d it, i think[/ot]
A non-graphical way you can download the current stable Nvidia drivers (as of today) like so: wget http://us.download.nvidia.com/XFree86/Linux-x86/169.09/NVIDIA-Linux-x86-169.09-pkg1.run
In the future, you can always find the latest stable Nvidia drivers for Linux/Unix here: Unix Drivers Portal Page
It said that it couldn’t find your kernel source path. That means that either the kernel headers package wasn’t installed alongside the kernel, or else it doesn’t know where to find them. If you did install the kernel header .deb file, try appending this to the end of the command line when you try to install the drivers: --kernel-source-path=/usr/src/linux-headers-`uname -r`…note that ` is used (shares the same key as ~), not’ (which shares the same key as ").
So, the resulting command would look something like the following:
sh NVIDIA-Linux-x86-169.09-pkg1.run --x-module-path=/usr/lib/xorg/modules/ -aqNX --kernel-source-path=/usr/src/linux-headers-`uname -r`
maybe on a US keyboard layout, but, UK shares ~ with # & an apostrophe (') is shared with @, another keyboard layout difference is: @ symbol key is swapped with speech marks (")
Yes, you’re right about the keyboard layout differences, thanks for the correction. The point I was trying to make is that you need to use a left-facing apostrophe (`), not the normal one which is typically represented strictly vertically, like a single quote (').
The left-facing apostrophe is used when you want to use a command as part of another string. In this case, we are figuring out the name of your running kernel with the uname -r command, and automatically putting the results right into the path.
ok, now i don’t know what happened, i issued the command in recovery mode & i got the familiar lines of full stops (periods) then the screen goes black with a root prompt at the bottom left
runlevel 1 displaying / as %2f was more than a bit confusing at first[ot]tw4ting thing[/ot]
Edit: im nearly ready to give up now
getting the grx drivers working, not giving up with *nix
It’s less complicated than you’re making it, I promise. Maybe it’d be best to just SSH into your computer from another system, then copy & paste the following command rather than trying to type it:
wget http://us.download.nvidia.com/XFree86/Linux-x86/169.09/NVIDIA-Linux-x86-169.09-pkg1.run && sudo sh NVIDIA-Linux-x86-169.09-pkg1.run --x-module-path=/usr/lib/xorg/modules/ -aqNX --kernel-source-path=/usr/src/linux-headers-`uname -r`
thank you for your kind offer but that command wouldn’t have worked anyway, because the *.run file is not executable to begin with, you need && chmod a+x myfile && in the middle
Edit: so th command would have beingwget http://us.download.nvidia.com/XFree86/Linux-x86/169.09/NVIDIA-Linux-x86-169.09-pkg1.run && chmod a+x myfile && sudo sh NVIDIA-Linux-x86-169.09-pkg1.run --x-module-path=/usr/lib/xorg/modules/ -aqNX --kernel-source-path=/usr/src/linux-headers-`uname -r`
bo11ocks, i though i’d caught you out, if it was being executed by ./ it would need to be executable[ot]bo11ocks[/ot]but at least i thought i knew what i was talking about
serves me right for trying to be a smart ass, thankies anyway