After doing some research i got it to work perfectly. I added the BusId "01:00:00" of the first card, enabled multigpu=on and everything works flawlessly! I am running 32 bit mode due tot he fact mint 6 doesn't have a 64 bit version yet. As soon as 64 bit is released i will be switching over. Right now the OS only sees 3GB of ram which i'm fine with for now. Just incase others would like to know the steps i went through if they find this post; please see the below instructions.
This problem should affect anyone with a SLI setup with 2 or 3 nvidia video cards, the first time you reboot after installing the nvidia restricted driver (which will happen if you turn on desktop effects on a newly installed Ubuntu / SLI system). X Windows will fail to start saying "No Screen Found" and you will be stuck at a text login prompt! Doh!!!!
Fast fix instructions for the experienced:
1. The BusId fix described in this thread has to go into the "Device" section in /etc/X11/xorg.conf, not into the "Screens" section.
2. Use lspci | grep -i vga to find your cards BusIDs. They will be something like 01:00.0 or 02:00.0. These would translate to BusId "01:00:00" or BusId "02:00:0" in the xorg.conf.
3. Edit /etc/X11/xorg.conf with sudo, find Section "Device" and try one or the other BusId line.
4. Test X windows with startx. Use ctrl-alt-backspace to get out of X windows. Try the other BusID line if the first one doesn't work.
5. Once you have it working, Restart gdm with sudo /etc/init.d/gdm restart. Rejoice.
Very Gentle instructions for beginners:
You will be starting from a broken system that only boots into text mode, and it will be prompting you for a username. Type the commands shown in boldface. Everything else is just a copy of what happened on my system so you know what else you will be seeing.
1. Login with your username/password you usually login with. If you don't have a password set, just hit enter.
Code:
- Code: Select all
yourmachine login: yourusername
Password: mypassword
2. Remove any old possibly broken install of v173 or v177 nvidia drivers...
Code:
- Code: Select all
$ sudo apt-get purge nvidia-glx-173 nvidia-glx-177
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx-173 is not installed, so not removed
The following packages will be REMOVED:
nvidia-glx-177*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 25.8MB disk space will be freed.
Do you want to continue [Y/n]? [Enter]
(Reading database ... 111389 files and directories currently installed.)
Removing nvidia-glx-177 ...
Purging configuration files for nvidia-glx-177 ...
dpkg - warning: while removing nvidia-glx-177, directory `/usr/lib/tls' not empty so not removed.
Processing triggers for man-db ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
3. Reinstall the v177 nvidia driver
Code:
- Code: Select all
$ sudo apt-get install nvidia-glx-177
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nvidia-glx-177
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/8931kB of archives.
After this operation, 25.8MB of additional disk space will be used.
Selecting previously deselected package nvidia-glx-177.
(Reading database ... 111345 files and directories currently installed.)
Unpacking nvidia-glx-177 (from .../nvidia-glx-177_177.80-0ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up nvidia-glx-177 (177.80-0ubuntu2) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
4. Let nvidia-xconfig make you a new /etc/X11/xorg.conf file:
Code:
- Code: Select all
$ sudo nvidia-xconfig
Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
5. List the video card busID's with lspci:
Code:
- Code: Select all
$ lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)
02:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)
On my system, the cards are 01:00.0 and 02:00.0. These would go into xorg.conf as BusId "01:00:00" and BusId "02:00:00" respectively. Your setup will probably show different numbers in the first field, and you might even have 3 video cards if you're using 3-way SLI.
Next you have to take a guess which card is which. You have a 50/50 chance of getting it right...
Write down the two bus ID's on a piece of paper so you have them for the next step.
6. Edit /etc/X11/xorg.conf and add the BusId line to the Device section. (use your favourite text editor instead of pico if you want)
Code:
- Code: Select all
$ sudo pico /etc/X11/xorg.conf
Hit Ctrl-W and type: Section "Device" to search for the right section.
Pico will find the Device section. Mine looked like this:
Code:
- Code: Select all
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection
Add in the your first guess for the BusId line, so it looks like this:
Code:
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BusId "01:00:00"
EndSection
Now save the file with Ctrl-O and then exit pico with Ctrl-X. You will be back at a $ command prompt.
7. See if X Windows starts using startx!
Code:
- Code: Select all
$ startx
With any luck you see X-Windows startup!
If you see just a black screen or nothing happens, you go back to step 6 and edit xorg.conf, putting in the other possible BusId line.. Then re-try startx and it should work. You can stop X windows now with ctrl-alt-backspace to get back to the prompt so you can repeat step 6.
The debugging output you see go by can be found in /var/log/Xorg.0.log, which you can look at with less /var/log/Xorg.0.log (use space bar for next page, b for previous page, g for start of file, G for end of file, and q to quit).
Now it's time to stop the X windows we started with "startx" and try and start the gdm login manager:
8. Stop X-Windows if it's running. Press: Ctrl-Alt-Backspace and X will die, leaving you back at the $ command prompt
9. repeat steps 6 and 7 again until you get the right BusId.
Once you have a working configuration, restart gdm (the graphical login screen):
Code:
- Code: Select all
$ sudo /etc/init.d/gdm start
the usual Ubuntu login screen should start!
10. Graphical Linux is now back, rejoice!
11. You should now be able to go into System -> preferences -> Appearance in Ubuntu and turn on the enhanced effects in the Visual Effects tab. Try dragging windows around and shaking them. Also try breaking them out to the left or right to switch them to a different desktop. Try Windows-Tab instead of Alt-Tab to do fancy 3D window switching. Cool!