![]() |
|
|
#1 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
Guide: How to enable, use, and configure SLI on Linux.
Hello. Welcome to the painful world of configuring Linux.
This Guide is now a two part, mostly SLI in Linux, but also to help configure graphic options. Part 1. SLI So, I've been trying to enable SLI on SuSe 10.3 for, seriously months and months. Heres the guide I was always looking for. 1.) First we need our distro. There are many out there, I use SuSe GNOME. Its powerful, easy and well my first choice. Theres also popular ones such as Gentoo, RedHat, Ubuntu, Solaris, Fedora core and many more. This will normally refer to RPM packages and miscellaneous package managers, some distro's are different such as Debian. nVidia supports about all of them, including 64 bit, so no worries. IMPORTANT! Make sure you have your SLI disabled in your BIOS, or just remove the bridge, so you can configure and enable it in the GUI . If it is enabled while you install, you will not get a desktop. 2.) Drivers. Time to download. Heres nVidia's download page and list: http://www.nvidia.com/object/unix.html find the driver you need. I used YaST, which is SuSe's package manager, so I'll go over that first. Here is a direct instruction list from the site if you are using Yast, Update your Kernel via YOU (YaST Online Update). Use YaST -> Software -> Software Repositories -> Add Protocol: HTTP Server Name: : download.nvidia.com Directory on Server: /opensuse/10.3 to add the nVidia http server as additional installation source. Now use YaST -> Software -> Software Management to install the NVIDIA driver. Select the following packages: x11-video-nvidiaG01 After that is done, (which you just updated the Kernel) you need to install the driver UI and so on, which luckily, is just a click installation, http://opensuse-community.org/nvidia.ymp for SuSe users, the rest is simple from there on for the initial driver installation. (Non SuSe users) This is right on the site, but just for further clarifacation. Download the file marked on the download page, heres a copy and paste right from the site. STEP 2: Download the Driver File Download - NVIDIA-Linux-x86_64-169.07-pkg2.run SuSE users: please read the SuSE NVIDIA Installer HOWTO before downloading the driver. STEP 3: Install Type "sh NVIDIA-Linux-x86_64-169.07-pkg2.run" to install the driver. NVIDIA now provides a utility to assist you with configuration of your X config file. Please see Chapter 3 of the README or run 'man nvidia-xconfig' for details on usage. Instructions for those wishing to edit their X config file by hand can also be found in the README. If you have any questions or problems, please check the linux discussion forum. If you don't find an answer to your question there, you can send email (in English) to linux-bugs@nvidia.com. When emailing linux-bugs@nvidia.com, please attach an nvidia-bug-report.log, which is generated by running "nvidia-bug-report.sh". So theres the driver installation, any question post and I'll try to clarify. Driver installation for non-SuSe, Fedora, Redhat, Solaris ect. Now SuSe is great because it installs the drivers for you. Now lets install the drivers from the command line! First we need the file: http://us.download.nvidia.com/XFree8...69.09-pkg2.run Now this driver cannot be installed when your are in you GUI, basically we need to switch to a black screen with a blinky cursor. To do this, open your terminal and login as root, Code:
# su (enter your root password.) Code:
# init 3 now navigate to where you downloaded it, most likely your desktop, so type: Code:
# cd /home/(your user name)/Desktop Code:
# sh NVIDIA-Linux-x86_64-169.09-pkg2.run The nVidia driver has to recompile your kernel if it does not match the version it wants. This is easy. Sometimes the installer will connect to a repo. and do it it self, but theres a way to do it before hand. Open up your package manager, which is just your Add/remove programs, the software manager. We need to download the source for the kernel your currently running. These files will be labeled kernel-devel. Download all of your kernel source files which any source file will have the suffix -devel. Once these are downloaded you will be good to go. 3.) Configuring your nVidia XServer program Now you should have a configuration UI called nVidia XServer settings, its under applications, looks like so...(screenie from my system, if not there its cause I haven't posted the pic yet.) ![]() This is your general configuration, and if you notice, the second card should be running at 2x, if disabled, as most boards run one card at 16x and the other at 2, or some board will run full SLI 16x by 16x. So there should be one card running at 16x. If you have this UI, the drivers are installed and time to enabled the SLI 4.) Enabling. Open up your terminal, the command line interface for all Linux distro's. SLI on Linux has different configurations, we will use the "AUTO" settings, as you can tweak with the different settings later. What we will be doing here is telling the xorg file (your graphic configuration) to set multi GPU'S on the same xscreen, or xserver, which is basically your monitors output. To see whats happening before we enable, lets go through the different options. First in terminal, set your permissions to root by typing: Code:
$ su Code:
$ nvidia-xconfig --advanced-help Code:
$ nvidia-xconfig --sli=Auto Heres a Screenie of my SLI in the nVidia XServer program ![]() Any comments, edits, ideas are welcome. (First revision of this guide.) Part 2. Graphic configuring *Further editing for advanced users* Beyond our new nVidia XServer, we can edit deeper. All of the graphic configuring is saved, and can be edited in the /etc/X11/xorg.conf file. There are many different root editing programs for different distros. The one I currently am using is gedit, though ive used nano too. They all do the same thing, just gotta know which one you have so you know the corret syntax for the shell command. Editing this is very risky, know your coding when doing this. Ill post all about it tomorrow I need to sleep. But if you just want to poke around(DONT SAVE)type: Code:
$ sudo gedit /etc/X11/xorg.conf Some example code in the xorg edit, this is a problem I've had with many systems dealing with again your distro not recognizing the settings for your video card and or your monitor, having to deal with your resolution. What we will do is add a new "mode" to your monitor in xorg, giving you the option to change it to resolutions that before hand were not offered. Heres some example code to help you out: Code:
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor "CM752ET"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768_75.00"
EndSubSection
EndSection
BETA Code.)Enabling 3D Hardware Acceleration Note: The code below refers to enabling the 3D acceleration when using the nVidia XServer program. For the most part, you will not need to enable the acceleration if you do not have a card new enough so the XGL will not regonize it. If someone has a problem enabling acceleration for other cards (ATI, onboard ect,) post and I will firgure it out and add it to the guide. Now, different distros, most all popular ones I'm sure, use the XGL config for 3D acceleration. This allows you to use different desktop effects for GNOME and KDE. To be honest, I do not know any other reasoning for using the acceleration, I will research and post later. Most newer cards are not recognized but the XGL server, thus it will not enable the acceleration by default, and may give you warnings about your card not supporting it. Now we all know most 7.XX and about all 8.XX nVidia cards will support this, Linux just does not think so. So we can force it on and it works fine. Now to the code. Here is, what I call BETA code, because I will explain the problems I had later despite the fact it worked. Open up the terminal and shoot this out: Code:
$ su - $ nvidia-xconfig --composite $ nvidia-xconfig --render-accel $ nvidia-xconfig --add-argb-glx-visuals -d 24 EXTRA. The first posting about the creation of my OS. Yes, I am working on creating my own linux based operating system. So far there is not much info I can relese about it because its like super beta right now. But heres a list of some stuff I can tell right now: Name VixIn I got this name from a friend actually. a Vixen is a female fox, so obviously my handle is fox this seems appropriate, and yes its misspelled, but purposely because, well its a linux distro. Kernel FoxxIx The kernel is not from scratch just to get that out there. I took the source from my current fedora 8 install. I have made many changes to it, mostly to deal with the configuration of my own compuiter, but it will benefit others, mostly to try and optomize for newer hardware and such. I also have been trying to work it out with different SATA configs and SCSI. It previously had SCSI support, cept I was having problems mounting the live CD to my server at school, so thats somewhat in development. The Kernel is very very far away so nothing really to post about that right now. GUI KDE 3.5/4.0 For the most part I have always used KDE for all my distros ive downloaded. Overall it looks better. Also I like the organization of KDE over any GNOME revision. KDE is still in development so I really wont use it yet, but I will be done with this project most likey well after 4.0 is finished. Bell again gotta go to nest class, post later.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide Last edited by Fox34; Apr 2, 2008 at 10:43 PM. |
|
|
|
| The Following 5 Users Say Thank You to Fox34 For This Useful Post: |
|
|
#2 |
|
Eleet Hardware Junkie
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.29/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
|
sweet!!! i was wondering if it could be done.
|
|
|
|
|
|
#3 |
![]() Join Date: Nov 2007
Location: Detroit, MI
Posts: 1,596 (0.79/day)
Thanks: 93
Thanked 237 Times in 217 Posts
|
I guess the next logical step would be to report on the performance you can get with SLI in Linux. That'd be my suggestion anyway.
__________________
http://www.heatware.com/eval.php?id=62786 |
|
|
|
|
|
#4 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
Oh and I will be glad too! I got some UT disks sitting somewhere which can run on Linux, just gotta find them...
And thanking the guide would be awesome too =P. Also, any and I mean ANY suggestions to this would be greatly accepted and appreciated.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#5 |
|
Graphical Hacker
Join Date: Feb 2006
Location: San Antonio, Texas
Posts: 7,478 (2.80/day)
Thanks: 798
Thanked 1,174 Times in 834 Posts
|
I failed miserably at this when I tried... good to see someone got it to work. STICKY!
__________________
CPU-Z validation sig pics temporarily blocked |
|
|
|
|
|
#6 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
This is what I was going for lol. I tried this so many times and lost many keyboards from my anger lol. I hope it works for all of you, if you get problems report them here and ill try my self and fix em.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#7 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
Sticky plz
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#8 |
|
Eleet Hardware Junkie
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.29/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
|
|
|
|
|
|
|
#9 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
that i know of its possible but ATI's drivers are way harder to configure
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#10 |
|
Eleet Hardware Junkie
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.29/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
|
how about crossfire-x? my 2x2's would be interesting on a linux box. compiz/beryl would be even better and could allow more complex effects.
|
|
|
|
|
|
#11 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
first I gotta work on the fact I somehow deleted half my guide....
![]() ![]() ![]() : banghead:
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#12 |
![]() Join Date: Aug 2004
Location: Seattle
Posts: 4,316 (1.35/day)
Thanks: 23
Thanked 166 Times in 89 Posts
|
What's missing? I can restore an older edit of the post. But I don't see any differences from now vs. the old ones.
__________________
bellybuttons are great holes, their single purpose is to suck up pinkys
-DanTheBanjoman |
|
|
|
|
|
#13 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
Ok, I hope thats what the guide used to look like. How I deleted half of it? Don't use crappy wireless p2 systems to edit guides when the save of your post takes five minutes. Then crashes.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#14 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
wazz can u sticky?
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#15 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
Some updates, later when I get to IT class Im going to write and get into the basic code for configuring the xorg
EDIT: thanks wazz, I didn't read your post before I fixed it myself >.< lol EDIT2: Didn't notice the sticky till now. Many Thanks!
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#16 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
Updated, I have recently switched to Fedora Core 8 and did the same configuring but the installation was all different, so I posted how to do it!
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#17 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
I just posted about my new project, creating my own operating system, its all the way to the bottom of the thread, any comments, suggestions and ideas are greatly welcomed, this is the first time ive ever programmed any project to a high extent.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#18 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
that is so awsomne tony you da man!
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#19 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
i got some pics of the boot screen lol had to make some flashy crap h/o lemme up load them. THe big one is the boot scree and the little one is just some fun I had with photoshop and kinda promoting my kernel.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#20 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
looks good your really getting proficent good job..you have advanced far my student.
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#21 |
|
Editor & Senior Moderator
Join Date: Oct 2007
Location: Hyderabad, India
Posts: 14,983 (7.29/day)
Thanks: 788
Thanked 12,904 Times in 5,653 Posts
|
It's only now I know SLI could be done on Linux. But I wish there were games/apps that could utilize them too. Of course the X-Server can now utilise two GPU's but are the OpenGL apps (games / screensavers / CAD....etc) made for them?
|
|
|
|
|
|
#22 |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
their are games that run under linux the UT series never winter nights most things that run under the ut engine or were coded for openGL can run under linux with some configuration or is that not what your asking?
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
|
#23 |
![]() Join Date: May 2006
Location: Venice
Posts: 1,445 (0.56/day)
Thanks: 72
Thanked 101 Times in 55 Posts
|
also, wine with interact with your xorg, nvidia settings ect, you can configure wine and make it tight as shit.
__________________
Coffee on the Foot! ![]() 3DMark05: 13323 | 3DMark06: 8889| Super PI [1M]: 30s | AquaMark3: 110201 | CPU-Z New to case modding? Check out my guide! How to enable SLI/Configure graphics on Linux: My Guide |
|
|
|
|
|
#24 | |
|
Editor & Senior Moderator
Join Date: Oct 2007
Location: Hyderabad, India
Posts: 14,983 (7.29/day)
Thanks: 788
Thanked 12,904 Times in 5,653 Posts
|
Quote:
|
|
|
|
|
|
|
#25 | |
|
Creator Solaris Utility DVD
Join Date: Aug 2005
Location: Reinacting scenes from platoon with Charlie Sheen
Posts: 13,708 (4.83/day)
Thanks: 4,366
Thanked 3,295 Times in 2,311 Posts
|
Quote:
__________________
I Made the Millionth post! | "Please come to WI now so I can beat you over the head with a bratwurst."-Kreij
PS3 mod 8500/8600GT Mod Guide Rebuild a Copperhead Heat Ware NF4 Ultra SLI Mod Solaris Utility DVD 4.0 Broken CPU pin guide Vista Mark |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|