Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-28-09, 10:45 AM   #1
Wintaru
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Ubuntu boot hangs after enabling nVidia drivers with dual GTX260's

Quote:
Originally Posted by slamhound View Post
Oops, sorry, forgot to post the link to the other posts:

http://ubuntuforums.org/showpost.php...33&postcount=2
Ok, after working through the instructions to create the symbolic link, I get a new error:

Code:
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.

ERROR: Unable to determine number of GPUs in system; cannot honor '--enable-all-gpus' option
Wintaru is offline   Reply With Quote
Old 09-28-09, 11:21 AM   #2
slamhound
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: Ubuntu boot hangs after enabling nVidia drivers with dual GTX260's

Sounds like the same problem I had. If so, you need to run:

nvidia-xconfig -a

to enable multiple gpus.

See my previous post on Ubuntu Forums (with links to additional info).
slamhound is offline   Reply With Quote
Old 09-28-09, 11:23 AM   #3
slamhound
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: Ubuntu boot hangs after enabling nVidia drivers with dual GTX260's

Oops, sorry, forgot to post the link to the other posts:

http://ubuntuforums.org/showpost.php...33&postcount=2
slamhound is offline   Reply With Quote
Old 09-28-09, 03:43 PM   #4
Wintaru
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: Ubuntu boot hangs after enabling nVidia drivers with dual GTX260's

Quote:
Originally Posted by slamhound View Post
Oops, sorry, forgot to post the link to the other posts:

http://ubuntuforums.org/showpost.php...33&postcount=2
Ok, after working through the instructions to create the symbolic link, I get a new error:

Code:
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).

WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.

ERROR: Unable to determine number of GPUs in system; cannot honor '--enable-all-gpus' option
Wintaru is offline   Reply With Quote
Old 09-28-09, 08:54 PM   #5
Wintaru
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: Ubuntu boot hangs after enabling nVidia drivers with dual GTX260's

Well I managed to get it working, but I'm not sure how. I'll try to carefully document my steps here and in the nvnews forums so if anyone else is looking they can try it too.

First, I started with a fresh install of Jaunty. I don't remember all of the fiddling I had done and so I needed a clean slate.

After the install finished, I shut down the computer and took out one of the cards, leaving the "main" card in (I don't have anything plugged into the second card, it's for SLI only).

Then I started the machine, enabled the nVidia restricted driver using the Hardware Drivers interface built into Ubuntu.

Next I shut down the computer again, then installed the second card. On boot I kept hitting ESC to catch Grub and started Ubuntu in recovery mode.

Once I got to the menu of options, I dropped into root, and first I tried to run this command:

Code:
nvidia-xconfig -a
This failed (again), I got the error:

Code:
WARNING: error opening libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open 
shared object file: No such file or directory.


ERROR: Unable to determine number or location of GPUs in system; cannot honor 
'--separate-x-screens' option.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
I followed the instructions here: http://www.mail-archive.com/debian-b...msg586926.html, and set up a symbolic link. Note that you will have to change the path to fit the driver you are using. So in the link, their command is this:

Code:
ln -s /usr/lib/nvidia/libnvidia-cfg.so.173.14.09 /usr/lib/libnvidia-cfg.so.1
Mine looks like this:

Code:
ln -s /usr/lib/nvidia/libnvidia-cfg.so.180.44 /usr/lib/libnvidia-cfg.so.1
Once I did that, I ran this again:

Code:
nvidia-xconfig -a
This time it works. Now I tried these steps in the past, but the difference was I was not logged in as root, I was using sudo. I don't know if that makes a difference or not, but I'm assuming it was either that or the fact I started with a fresh install of Ubuntu.

Now I have both cards in and its working perfectly. Thanks to all for the tips and pointing me in the correct direction, hope this helps others.
Wintaru is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:05 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.