where did my 2nd screen go?

Werner Schram wrschram at gmail.com
Fri Dec 4 18:41:37 UTC 2009


Alan McKay wrote:
> On Fri, Dec 4, 2009 at 12:13 PM, Werner Schram <wrschram at gmail.com> wrote:
>   
>> This is more of a reply to all five of you messages, but I'm not going
>> to quote all of them. Summarized: You tried to install the nvidia 190
>> driver (from the nvidia site), but now your 2nd monitor isn't recognized
>> anymore and it looks like the 185 driver is still loading. Am I correct
>> at that?
>>     
>
> Yes.  I loaded 185 via "envyng", then I discovered the 190 on the website.
> So I used envy to uninstall 185, and then manually installed 190 with
> the download
> from the webiste
>
>   
>> According to this, your module is installed in for the 2.6.31-14 kernel.
>> Is this the kernel you are currently running? Because the latest is
>> 2.6.31-15. Maybe this is related to your problem?
>>     
>
> amckay at alan-ubuntu:~$ uname -a
> Linux alan-ubuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01
> UTC 2009 x86_64 GNU/Linux
>   
Ok, so we can rule that one out.
>   
>> could you inventorize which nvidia modules are currently at your
>> machine? Do this by running the following commands in a terminal:
>>
>> updatedb
>> locate nvidia.ko
>>     
>
> I normally prefer find to locate, but just because you asked :-)
> root at alan-ubuntu:~# locate nvidia.ko
> /lib/modules/2.6.31-14-generic/kernel/drivers/video/nvidia.ko
> /lib/modules/2.6.31-14-generic/updates/dkms/nvidia.ko
> /var/lib/dkms/nvidia/185.18.36/2.6.31-14-generic/x86_64/module/nvidia.ko
> /var/lib/dkms/nvidia/185.18.36/build/.nvidia.ko.cmd
> /var/lib/dkms/nvidia/185.18.36/build/nvidia.ko
>   
There are two nvidia.ko modules in /lib/modules/2.6.31-14-generic. To my 
knowledge /lib/modules/2.6.31-14-generic/updates/dkms/nvidia.ko is the 
path used by the ubuntu package manager, so 
/lib/modules/2.6.31-14-generic/kernel/drivers/video/nvidia.ko should be 
the path used by the nvidia installer.

You can try to load the other one manually by stopping gdm, unloading 
the wrong module, loading the right one and restarting gdm:

sudo services gdm stop
modprobe -r nvidia
insmod /lib/modules/2.6.31-14-generic/kernel/drivers/video/nvidia.ko
sudo services gdm start

If that enables the 190 driver, you can start looking at why the 185 one 
is still around. It looks like the other one is from the ubuntu 
restricted repository. But I don't know where envyng installs the 
module, so it might as wel be the one from envyng. But it might be worth 
checking if it shows up in synaptec.

My advice would be to remove all of them, make sure they are all gone, 
and then installing the one you want. The three methods are probably 
overwriting at least some of each others files, so removing one while 
retaining the other might not be so easy.
> Danke Werner!
>   
You're close, it is a German name, but I am from the Netherlands ;)

Groeten,
Werner




More information about the ubuntu-users mailing list