Trouble with nvidia driver or ENVY solved

Forums for the KDE Edition
Forum rules
Before you post please read this

Trouble with nvidia driver or ENVY solved

Postby joebobwilson on Fri Mar 14, 2008 10:58 pm

I am trying Mint KDE and have had this happen to me twice now. I get it installed and booted and then update everything and use envy to install nvidia drivers. Not sure is it happens on the next boot, but X will not start and says that it cannot find part of the nvidia driver. Also says that it detects a screen, but no usable configuration to operate it. Anybody have any ideas? I love this distro, but this is obviously a show stopper.

Thanks in advance! :)
joebobwilson
Level 1
Level 1
 
Posts: 19
Joined: Tue Apr 10, 2007 1:31 pm

Linux Mint is funded by ads and donations.
 

Re: Trouble with nvidia driver or ENVY

Postby Boo on Fri Mar 14, 2008 11:08 pm

with the update of mint it would have updated the kernel.
then you used envy to install the nvidia driver but this would have done it against the loaded kernel (old) and not the new one.
you have to reboot after installing a new/updated kernel.
then you can compile against it, ie install the nvidia driver using envy.
so if you are at a terminal window login just login and run envy in terminal mode:

> sudo envy -t

Boo
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Re: Trouble with nvidia driver or ENVY

Postby Kadanoo on Sat Mar 15, 2008 6:40 am

Hello, I have the same problem.
I started Envy and it seemed as the NVidia file was corrupt (it stopped at about 60% downloaded). Also apt-get didn't work, so I downloaded it from the NVidia homepage.
I installed the driver (6200), it told me that I had to update the kernel of something and so I did, and enabled Compiz Fusion. Everything worked.
Then I rebooted and got the same errors as joebobwilson.
xorg.0.log says:
Code: Select all
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0):     that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0):     that the NVIDIA device files have been created properly.
(EE) NVIDIA(0):     Please consult the NVIDIA README for details.
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

So I booted Mint Celena with gnome and edited the xorg.conf file ("nvidia" driver back to "nv"). It worked again, but since then I was not able to activate the driver again.
So do I need to uninstall the NVidia driver and install it again with Envy? Will it work now?
Kadanoo
 

Re: Trouble with nvidia driver or ENVY

Postby joebobwilson on Sat Mar 15, 2008 1:31 pm

Boo,
That did the trick. Don't recall having this trouble with regular mint, but I may have not replicated the conditions. Will I have trouble in the future when the kernel upgrades?
joebobwilson
Level 1
Level 1
 
Posts: 19
Joined: Tue Apr 10, 2007 1:31 pm

Re: Trouble with nvidia driver or ENVY

Postby Boo on Sat Mar 15, 2008 5:09 pm

whenever you upgrade the kernel you will have to recompile the nvidia module for the new kernel.
and if you choose an older kernel at boot you will also have the same problem since the module is kept in the same place for all kernels.

Boo
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Re: Trouble with nvidia driver or ENVY

Postby lancern on Sun Mar 23, 2008 12:32 pm

Ohh how I wish I would have read this post sooner..
The other day I reinstalled Mint kde 2 time because I did the same thing as the first poster :P
I gave up and installed mint XFCE..
lancern
Level 2
Level 2
 
Posts: 53
Joined: Sun Mar 16, 2008 4:15 am

Re: Trouble with nvidia driver or ENVY

Postby Kadano on Wed Mar 26, 2008 10:09 am

Hello, could somebody help me please?
I am able to start x if I edit the line of xorg.conf from "nvidia" to "nv", but I want to use compiz so just not using the nvidia drivers is no solution.
How can I delete the "old" drivers (from the nvidia site) so I can install them with envy?
Kadano
Level 1
Level 1
 
Posts: 29
Joined: Sun Sep 30, 2007 5:15 pm

Re: Trouble with nvidia driver or ENVY

Postby Kadano on Wed Mar 26, 2008 10:52 am

Now I thought it worked. I started Envz, removed the old drivers and installed them again. Then it asked me to edit the xorg.conf automaticallz. I said Zes. Then it asked me to reboot now. I said Zes.
Well it had the same problem again so *in console mode( I tzped @sudo rm &etc&X11&xorg.conf.
Now what can I do to install them PROPERLZ_
Zou said that it won|t work if zou boot the old kernel, but it seemed it didn|t update the kernel for me as in the boot menu it still onlz lists the @old@ kernel.
Zou also said that zou need to recompile the nvidia module.
Where and how do I do that_

Edit> Sorrz, mz tzping lazout is US since this problem, I hope zou understand it.
Kadano
Level 1
Level 1
 
Posts: 29
Joined: Sun Sep 30, 2007 5:15 pm

Re: Trouble with nvidia driver or ENVY

Postby Kadano on Sun Mar 30, 2008 6:04 am

Could you maybe give a step-by-step instruction how to install the nvidia drivers properly that is easily understandable for noobs? Rebooting etc. you said didn't work for me, so I probably did something wrong.
Kadano
Level 1
Level 1
 
Posts: 29
Joined: Sun Sep 30, 2007 5:15 pm

Re: Trouble with nvidia driver or ENVY

Postby Husse on Sun Apr 06, 2008 10:17 am

@ Kadano
I'm not sure what you have hit and Envy is normally straightforward
First remove Envy completely
Code: Select all
sudo envy --uninstall-all

Then open Synaptic (or use apt) to uninstall all packages where the name begins with nvidia (except possibly nvidia settings)
Search for nvidia in Synaptic
Packages may be broken - use the command in the error message in that case (with sudo if that's not mentioned)
You may have to delete linux-restricted-modules-2.6.22-14-generic, but please don't do that unless absolutely necessary as this will more or less break your system. This is not for a newbie
After this you will still have the "nv" driver
Go to Envy's home page and download the latest version
http://www.albertomilone.com/nvidia_scripts1.html
It's the legacy version you should use
Install (you download a .deb file so that's just to double click)
Then launch Envy from the menu, as you've had problems take your time.
All this is of course not necessary in the normal case
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19714
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Trouble with nvidia driver or ENVY

Postby Kadano on Sun Apr 06, 2008 11:29 am

Thank you a lot, it worked perfectly. I'm still wondering why id didn't work at the first try, probably it's that kernel thingy
Kadano
Level 1
Level 1
 
Posts: 29
Joined: Sun Sep 30, 2007 5:15 pm

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: Bing [Bot] and 5 guests