Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was a happy user of Debian Etch, when yesterday I thought of upgrading to lenny (actually lenny, and a bit of sid)
I can't start X now. I've got Nvidia 7600GT. I used to have
nvidia driver installed 'the debian way' then after the upgrade I couldn't start X (it said 'can't open /dev/nvidia0 - although when you ls -l /dev/ you could find nvidia0, and nvidiactl)
then I installed the drivers from the nvidia website, so now I guess
it's a bit of mix of everything. I changed to 'nv' driver to start X, but I'd like to uninstall everything connected with nvidia drivers, and install a fresh driver. So my question is: which packages am I supposed to remove and which modules to delete, which config files to modify?
Is it possible to do it like that?
Note that, if you install The Debian Way, nvidia-kernel-source is not in lenny, though it is in etch and sid, so you will have to run a slightly mixed system. Also, as it says on that page, kernel 2.6.21 breaks it, so you either need another kernel or to apply the patches linked to.
Last edited by AlucardZero; 07-23-2007 at 10:52 AM.
No, the nvidia drivers are working just fine with 2.6.21 although I had to use the drivers from sid instead of Lenny. All you need to do is put the sid repositories in your /etc/apt/sources.list and then install the nvidia driver (after uninstalling your older driver, of course). And remember to disable the sid repos again after that or you whole system will get turned into unstable (I have some experience with that, it luckily didn't break anything but it sure was a bit of a shock when I suddenly realized what I had done). If you don't like the manual editing, you can just leave the sid repos commented in sources.list and enable/disable them ad hoc from System > Administration > Software Properties.
Here's a howto I wrote about setting up a mixed Lenny/Sid system correctly. Sid has kernel 2.6.22, so you may not need to delete anything. Just get the new Nvidia source, and build it against the new kernel.
I try to mix as little as possible. The only things I used from sid are the nvidia driver, vlc and monodevelop. The less you mix, the smaller the chance of breaking anything.
Ok, I did it, but it failed to start X because I still have some old nvidia modules:
Quote:
ERrror: API mismatch: this NVIDIA driver component has version 100.14.11, but the nvidia kernel module's version does not match. Please make sure that the kernel module and all NVIDIA driver components have the same version.
(EE) NVIDIA: failed to initialize the nvidia kernel module. Please ensure that there is a supported nvidia gpu in this system, and thatthe nvidia device files have been created properly.
I more or less understand what it means however have no idea what to do about it
I've checked also some other websites, and nvidia forum. I can't find anything relevant. There's some old module somewhere conflicting with the new one. I don't know. In the past I installed this very card on a few computers many times, I've never had any problems with it, until now. Anyway...
I think I'll be coming back to etch
no nvidia, mplayer won't start, gnome crashes once an hour
thanks
I mean lsmod just shows one entry of nvidia and nothing else
Is it ok? I mean the versions, and the kernel (I've got 2.6.18.4-686)
In synaptic it says
nvidia-glx 100.14.11-1
nvidia-kernel-2.6.18-4-686 100.14.11-1+2.6.18.dfsg.1-12etch2
nvidia-kernel-common 20051028+1
nvidia-kernel-source 100.14.11.-1
Oh, wait a minute. Did you update your kernel? I had the same issue at first: tried to install the drivers right after installing Lenny and it didn't work - then I suddenly noticed that the kernel had been bumped to 6.21 already. Maybe you simply need to use nv in xorg.conf, remove the old nvidia, reboot and make sure you are using the right kernel?
It didn't update? Are you sure that you upgraded your sources.list to Lenny? I had the updater popping up a message literally within seconds after first booting into Lenny.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.