Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Notes: Install SL Linux on SuSE 10.1 with NVIDIA graphics adapter

Bo Black
Registered User
Join date: 17 May 2005
Posts: 5
05-21-2006 18:21
Installing and Running SL SuSE Linux with an NVIDIA Graphics Card

Some notes based on my experience of installing SL on my SuSE Linux system. It is

probably not a comprehensive compilation of notes and it is not even close to a HOW

-TO but I am hoping it has value to some. I can still recall what it is like to be a

nOOb to Linux. In 1994 when the community was not as accessible for a user not in a

collegiate environment. Information came from books, magazines and fellow

enthusiasts. Occasionally I would brave the newsgroups when I could afford to have

internet access.



==========
SL Version
==========
1.9.0(21) Apr 4 2006 16:39:31


=================================
Installed on two separate systems
=================================
System #1 (hand built)
----------------------

Abit VA-10 Motherboard / AMD 2500+ / 1Gb RAM
NVIDIA GeForce 6200 / 128 Mb RAM



System #2
---------
Hewlett Packard Laptop Pavilion dv8000t

Intel Centrino Core Duo, T2300 / 1 Gb RAM
NVIDIA GeForce Go 7400 / 512 Mb RAM


SuSE Linux OSS 10.1 / Gnome Window Manager / Kernel 2.6.16 installed on both systems


=================
Required Software
=================
NVIDIA's Linux Beta Driver http://www.nvidia.com/object/unix.html
-----------------------------------------------------------------
Be sure to select the one for the architecture of your system such as 32 or 64 Bit.

Based on the selections from NVIDIA the IA32 works on 32 bit systems but there are

two different drivers for Intel and AMD each. Both of my systems are 32 bit so I

used the Linux IA32 driver for both. If you have uncertainity I would suggest you

research the differences on wikipedia. "Trying" a video driver is not really a good

idea because the wrong one may damage your hardware.


nvidia-xconfig
--------------
This is suggested but not required. To use it requires that you have the kernel

sources installed and a the gcc compiler. If that previous sentence did not make

sense to you then don't download this software.


Second Life Linux Alpha Version
-------------------------------
I am sure you know where to get this.


====================
Installation Process
====================

I will not re-iterate the NVIDIA instructions [http://www.suse.de/~sndirsch/nvidia-

installer-HOWTO.html]. This document is well written and needs no explanation.

In order to install the video driver into your Linux system it is necessary to run

it from a command prompt. If you login to your Linux system at a text prompt you

will only have to log out of SuSE Linux. Otherwise you will must set the system run

level to 3.


Setting Run level 3
-------------------
Select Applications->System->YaST [You will be required to enter the root password

if you are not root. Hopefully this is necessary because running as root is

dangerous]

Select "System" On the left side panel pf the YaST Control Center

Find & Select the "System services" icon in the right panel

Select the "Expert Mode" radio button and wait for the window to change over

A drop down box labeled "Set default runlevel after booting to:" will appear. From

that list select the item "3: Full multiuser with network"

Select "Finish"

Close the YaST Control Center

Log out / Restart Linux

The login prompt will now be a text , no graphics should be on your screen.

Login as root. These priveleges are necessary for the driver installation.

Navigate to the folder where you downloaded the NVIDIA driver.

[At this point it is advised that you follow the NVIDIA HOW-TO]

My installation errors were:
1 - XServer running (that should not happen if you did the preceeding)
2 - failed to build driver (One installation did not have the kernel sources

installed)
3- failed to build driver because I did not have the latest NVIDIA driver version.

Resetting run level to 5

At the command prompt type startx

X Windows should start. Watch carefully because you should see the NVIDIA screen for

a brief second (or slightly less). This indicates that your installation was

successful.

Using the instructions above for setting the runlevel this time select "5: Full

multiuser with network and display manager" after switching to "Expert mode". By the

way, since you started X from the command line as root you will not be propmpted for

the root password when starting YaST.

Restart your computer.


If you view the graphics settings the color depth will be displayed as 24 bit.

However, this color depth still works for SL on the NVIDIA card. I believe there is

post somewhere in this quagmire of threads that explains it as Color depth 24 bits +

2^3 (8) bits for R G B = 32 bits.


=============
Installing SL
=============

Download SL Linux alpha. Place it in a location that you have permission to write to

and can locate with a file browser. I chose a location under my home bin folder

because I know that I have adequate permissions and since I am the only user access

to the game is not an issue.

There should be a desktop icon for your home in the upper left corner of the screen.

Select this and a file manager will open. For KDE users you might see an icon of a

blue house along the bottom taskbar.

Locate your downloaded copy of SL. Right click on the file and select "Extract

here". This will result in the creation of a SL folder under your current bin

folder. Simply select the new SecondLife folder and locate the "Secondlife" file.

Double click it and you should be ready to login to SL.

[Essentially right clicking and extracting is the same as using the bunzip2 and tar

utilities from a command prompt. Its just simpler to explain as a right click ;-)]


The information contained here is for the benefit of those who are trying to run SL

on a Linux system. I am a Linux enthusiast but far from an expert. If these

instructions require correction please share your knowledge. Keep these forums

informed, contribute when you can so we can all gain. In turn, these forums are a

great source of information. Should you experience a problem other than something I

covered here your best solution is within this community. Thank you for reading this

far. Good luck!


~Bo Black~
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
05-22-2006 07:50
A great writeup!

A few comments:

a) to install the nvidia drivers you need the kernel sources, and gcc, since installing the nvidia drivers regenerates the module and also patches the source.

b) If you had an nvidia driver before, after "init 3" you may have to type "rmmod nvidia" to get the old driver out of memory. Better is booting to the command line (Failsafe Mode with Suse), and NO vga display before - sometimes the "command line" is already vga mode, not text mode.

I am not sure how "Beta" the driver is; it looks to me like it is a release version. Funnily enough, a higher level than the avaliable windows driver! It DOES have a few "differences" if you want a specific refresh rate. I just accepted what came out of the driver, and it works.

I just installed this on Suse 10.1 after an upgrade from 10.0 and I did not have to use rmmod :) Since I previously had the nvidia driver installed (it gets removed by the upgrade) I had to adjust my display properties in X (using sax2) to get the picture right. After that the install instructions provided by NVidia worked perfectly.
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Bo Black
Registered User
Join date: 17 May 2005
Posts: 5
. . .
05-23-2006 18:19
Angel,

I tried. Good info on removing existing drivers... I did not get to that bridge yet. I was gun shy using failsafe mode from experiences years ago that I cannot recall. I will revisit that one too. I agree about the driver it seems fairly polished for a beta. I also accepted "out of the box" settings.
furahivszuri Zeluco
Registered User
Join date: 26 Feb 2006
Posts: 26
05-25-2006 13:25
There is no need to change the default runlevel in Yast.

I'm not sure for 10.1, but in 10.0 just reboot, at the Boot menu press F2, then type 3 and press enter, it'll have the same effect as changing the default runlevel but just that one time

Also is there still an OSS version? I thought for 10.1 they had announced there would only be 1 Suse Linux (though a few packages would still be missing from the DVD ISO because they don't provide a dual layer ISO)
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
05-25-2006 15:14
Yes, its on opensuse.org.

No DVD yet, but the CDs install OK.

On CD 5 I had to install it piecewise, it kept not finding files. But I added those using YAST on the running 10.1 under KDE.

Now there is a 6th CD for non-OSS stuff.

You can use bittorent, that is not faster than the ftp download though :p

I did not find the nvidia driver though; I added that using the instructions and download from NVidia itself.
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k