LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-26-2006, 03:57 PM   #1
cubdukat
Member
 
Registered: Mar 2006
Posts: 48

Rep: Reputation: 15
FC5 Noob Questions about nVidia Driver Issues


I am relatively new to the Linux world, particularly Fedora Core.

My setup is as follows:

Intel P4C 2.4GHz Socket 478
Giga-Byte 81PE-1000G (Rev 4.x)(i865PE chipset)
160GB Seagate SATA drive (149GB WinXP, the rest is Linux)
120MB Maxtor ATA-133
60GB Maxtor ATA-100
Lite-On SOHW-1693S
512MB DDR400 dual-channel (256MB x 4)
PNY Verto GeForce 6600GT AGP
Soundblaster Audigy2 ZS Gamer
DVICO FusionHDTV2
Turtle Beach Video Advantage ADX
Sampo AlphaScan 17MX

I attempted to install nVidia's own driver on the previous installation of FC4, and it seemed to work fine immediately afterwards, but upon reboot, the screen was completely illegible.

I want to be able to use the thing to play Unreal Tournament 2004 and other games, but I am very hesitant to do anything further unless I have some way to undo my mistakes and get a display back.

I read somewhere that if something like that happens, you can restore the system by deleting the xorg.conf file and renaming the xorg.conf.backup file to effect the change. However, when I went looking for it, there was no file to delete and/or modify.

Is there something in FC5 like System Restore in XP that will allow me to undo my mistakes without a whole lot of hassle? I know almost next to nothing about working in a shell environment, and while I'd like to learn it, I'd also like to get it right the first time too.

I had a similar issue with Suse Pro 9.3, except that the default nVidia drivers were borked and it was fixed after the new ones went in. Here it's the exact opposite; everything's borked after the install.

It's probably something so simple I'm totally missing it, but I don't know what.

Any help would be greatly appreciated.

Also, is the Audigy2 supported natively? I have been unable to get anything out of mine, and I'm not sure if you have to download additional drivers from somewhere else (Creative apparently doesn't have any).
 
Old 03-26-2006, 04:25 PM   #2
Zaventh
LQ Newbie
 
Registered: Jul 2004
Posts: 15

Rep: Reputation: 0
Before you install the driver...

just as root:

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

That creates a backup. If you have problems, simply drop out of X and into a shell (ctrl-alt-F1) and do this to restore it:

cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf

On a side note... closed-source drivers don't work quite right on FC5 right now. You have to install an updated kernel to get it to work so you might want to wait a week or so.
 
Old 03-26-2006, 06:30 PM   #3
cubdukat
Member
 
Registered: Mar 2006
Posts: 48

Original Poster
Rep: Reputation: 15
Probably a good idea. It'll take me that long to get my modem to work
 
Old 03-26-2006, 06:40 PM   #4
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
Unhappy

Quote:
Originally Posted by cubdukat
I am relatively new to the Linux world, particularly Fedora Core.

My setup is as follows:

Intel P4C 2.4GHz Socket 478
Giga-Byte 81PE-1000G (Rev 4.x)(i865PE chipset)
160GB Seagate SATA drive (149GB WinXP, the rest is Linux)
120MB Maxtor ATA-133
60GB Maxtor ATA-100
Lite-On SOHW-1693S
512MB DDR400 dual-channel (256MB x 4)
PNY Verto GeForce 6600GT AGP
Soundblaster Audigy2 ZS Gamer
DVICO FusionHDTV2
Turtle Beach Video Advantage ADX
Sampo AlphaScan 17MX

I attempted to install nVidia's own driver on the previous installation of FC4, and it seemed to work fine immediately afterwards, but upon reboot, the screen was completely illegible.

I want to be able to use the thing to play Unreal Tournament 2004 and other games, but I am very hesitant to do anything further unless I have some way to undo my mistakes and get a display back.

I read somewhere that if something like that happens, you can restore the system by deleting the xorg.conf file and renaming the xorg.conf.backup file to effect the change. However, when I went looking for it, there was no file to delete and/or modify.

Is there something in FC5 like System Restore in XP that will allow me to undo my mistakes without a whole lot of hassle? I know almost next to nothing about working in a shell environment, and while I'd like to learn it, I'd also like to get it right the first time too.

I had a similar issue with Suse Pro 9.3, except that the default nVidia drivers were borked and it was fixed after the new ones went in. Here it's the exact opposite; everything's borked after the install.

It's probably something so simple I'm totally missing it, but I don't know what.

Any help would be greatly appreciated.

Also, is the Audigy2 supported natively? I have been unable to get anything out of mine, and I'm not sure if you have to download additional drivers from somewhere else (Creative apparently doesn't have any).

Hi, cubdukat.

How did you get your nVidia to be install?

As I had not idea how to install the driver at all "NVIDIA-Linux-x86-1.0-8178-pkg1.run" .... could you guide me out by step and where to start it. I also wanted to install MPlayer and YUM too...

Last edited by FireGunz; 03-26-2006 at 06:41 PM.
 
Old 03-26-2006, 10:11 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Caution: I don't know how cubdukat even got the driver installed if he was using the NVIDIA run script, since the 1.2054 kernel won't let that driver install. (It's rumored that the 1.2069 kernel will let it be installed, but that kernel is, I believe, still in "testing.")

There is a nVidia "How-to" for FC5 in the Fedora forum.

Oh, be sure to read the "sticky" at the top of the Fedora forum about the problem that can be caused by installing from the nVidia script.
 
Old 03-26-2006, 11:19 PM   #6
cubdukat
Member
 
Registered: Mar 2006
Posts: 48

Original Poster
Rep: Reputation: 15
I didn't.

I installed it in FC4, and that's where it gave me all those issues.

I haven't attempted it with FC5 yet. I'm waiting until the kernel update. That should give me enough time to solve some other issues that have cropped up:

1. UT2004 won't install anyways
2. My serial modem won't work

Sorry if that wasn't clear.

I did manage to find something on the livna.org RPMs, but until I can get my modem working, that's not feasible.
 
Old 03-27-2006, 08:51 AM   #7
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
In your FC4 installation, edit the /etc/X11/xorg.conf file. In the Device section for the videocard, change the driver line to read nvidia if it is currently nv to activate the nvidia driver. If, however, it is currently nvidia, deactivate nvidia by setting it back to nv.

That should clear up your screen problem. Of course, if it was set to nvidia, you will have disabled the nVidia driver. But you should, at least, have a working display.
 
Old 03-27-2006, 01:16 PM   #8
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
Arrow

hmmm..... ok, it that case does is HELP (had anyone try it before)

Installed Nvidia Driver

21 March 2006

The currently available driver (1.0-8178) from Nvidia does NOT support
the Xorg installation in FC5 and it requires some updates to support
newer kernels (2.6.15 and newer). However with certain modifications
the Nvidia driver will work.

NOTE: The 2.6.15-1.2054_FC5 has a bug preventing binary
drivers from properly loading.

The process requires obtaining modified nvidia packages, compiling them,
and installing them.

1. Download the following packages into a work directory (I used 'fc5-nv'):

xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm
nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm

from
http://beta.glwb.info/nvidia/

2. (NON 2.6.15-1.2054_FC5) Compile the nvidia-kmod package:

[root@charon fc5-nv]# rpmbuild --rebuild --target `uname -m` nvidia-kmod-*.src.rpm

2. (ONLY 2.6.15-1.2054_FC5) Compile using my modified SPEC file:
Obtain the file SPEC file: http://www.mjmwired.net/resources/fi...-kmod-mjm.spec

[root@charon fc5-nv]# rpm -ivh nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
[root@charon fc5-nv]# rpmbuild -bb ./nvidia-kmod-mjm.spec --target `uname -m`

(make sure to have the kernel headers installed)

3. Copy the newly created nvidia-kmod package into your current work directory:

[root@charon fc5-nv]# cp -v /usr/src/redhat/RPMS/`uname -m`/kmod-nvidia* .
`/usr/src/redhat/RPMS/i686/kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm' -> `./kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.1955_FC5.i686.rpm'

4. Install both the 'nvidia-kmod' package and 'xorg-x11-drv-nvidia' package together:

[root@charon fc5-nv]# rpm -ivh kmod-nvidia-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm

5. For SELinux users
If you have SELinux you may find problems with execstack
"cannot enable executable stack as shared object requires: Permission denied"

There are ways to manually modify each affected file with the 'execstack'
command, however I found that the following change was a single step and
easier:

[root@charon fc5-nv]# setsebool -P allow_execstack=1

Additionally I had problems loading the GLX module, to fix run:

[root@charon fc5-nv]# setsebool -P allow_execmod=1

6. Enable the 'nvidia-glx' Service

[root@charon ~]# chkconfig --level 35 nvidia-glx on
[root@charon ~]# /etc/init.d/nvidia-glx start

7. Reset the X-server

If you logout and instantly see the NVidia logo you are DONE!!!

Otherwise: Reboot not required. Just logout,
Go to a text console [CTRL][ALT][F1] (or F2,F3,F4)
Login as root, and run:

[root@ charon~]# init 3; init 5

You should see the NVidia logo.

Source of this information:
FC5 Test 2 : Nvidia Finally Successful!
https://www.redhat.com/archives/fedo.../msg02031.html
 
Old 03-27-2006, 02:06 PM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
FireGunz: Yes, if you follow those instructions it will work. I am, in fact, now using that driver for my nVidia card. Note that you need to have gcc installed for the rpmbuild to recompile the source. (The default gcc on FC5 is version 4.1, but I don't know if 4.1 is actually required.)
 
Old 03-28-2006, 11:03 AM   #10
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
Talking

GCC Compatibility

1 March 2006

Fedora Core 5 ships and uses GCC 4.1. Some applications that were
compiled with an older GCC 3.2 will require compatibility libraries.
Make sure to have the following RPM's installed. These are included
with the FC5 CD-disk3 or DVD or online (ftp, yum, etc).

compat-libstdc++-33
compat-libstdc++-296

With 'yum', run:

Code:
[root@charon fc5]# yum install compat-libstdc++-33 compat-libstdc++-296
as above MUST be in ROOT.
 
Old 03-28-2006, 11:15 AM   #11
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
Talking

Quote:
Originally Posted by PTrenholme
FireGunz: Yes, if you follow those instructions it will work. I am, in fact, now using that driver for my nVidia card. Note that you need to have gcc installed for the rpmbuild to recompile the source. (The default gcc on FC5 is version 4.1, but I don't know if 4.1 is actually required.)
after I had download the GCC 4.1. and the files below.

1. nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm

2. xorg-x11-drv-nvidia-1.0.8178-0.lvn.5.i386.rpm

Where should I put the files?

let say's, I had put into User_name Home folder.

when I at Root then start to do the Compile "rpm -ivh nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm" but is appear error: cannot create %sourcedir /usr/src/redhat/SOURCES

Last edited by FireGunz; 03-28-2006 at 11:33 AM.
 
Old 03-29-2006, 07:47 AM   #12
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You need to be root to get it to work. (That what the "sharp" -- # -- at the start of the command line, by convention, indicates.)

As to where you put the files, it doesn't really matter. I created a /tmp/nvidia directory, but that's just my preference. The problem you're having is that the destination locations are hard-coded (and, of course, the files are required to be where they specify, since those are the places where the "system" looks for them) and the required locations require root access to be modified.

As an aside, if you're not comfortable running as a super-user (and you should not be comfortable doing so), set up an entry in sudoers for yourself, and prefix each command in the instructions by a "sudo ".

Last edited by PTrenholme; 03-29-2006 at 07:49 AM.
 
Old 03-29-2006, 09:22 AM   #13
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
hmm... ok, i did download the files which I put in the home/user folder. now when I follow those instructions which I had become a root

Code:
[root@hostname ~]# rpm -ivh nvidia-kmod-1.0.8178-0.lvn.3.2.6.15_1.1881_FC5.src.rpm
when I hit enter. it is appear error: cannot create %sourcedir /usr/src/redhat/SOURCES

then now I found this (think still got another way to install beside above not working) -> http://clunixchit.blogspot.com/2006/...uccessful.html

and I thought this abit same thing (which the files in at home/user) much easy for me to do and also I (had become root) got stuck again...at "kwrite /etc/X11/xorg.conf&"

[root@hostname ~]# kwrite /etc/X11/xorg.conf&
[1] 5667
[root@hostname ~]# -bash: kwrite: command not found

what is happen both installation for me it seem unalbe to install at all... help please ... which is much more easy.

Oops, btw can you understand what that mean and how? AFTER you see the link -> http://clunixchit.blogspot.com/2006/...uccessful.html
-> when is say yum localinstall /path/of/rpms/packagename

what I think packagename = yum localinstall /home/user_name/rpmbuild/RPMS/i686/nvidia-kmod-debuginfo-1.0.8178-0.lvn.3.2.6.15_1.2054_FC5.i686.rpm

which I had already (not sure does it correct) Compile into nvidia-kmod package.
 
Old 03-29-2006, 02:37 PM   #14
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
You should have the following in your system:
Code:
$ ls /usr/
bin  games    kerberos  libexec  sbin   src  X11R6
etc  include  lib       local    share  tmp
$ ls /usr/src/
kernels  redhat
$ ls /usr/src/redhat/
BUILD  RPMS  SOURCES  SPECS  SRPMS
$ ls /usr/src/redhat/SOURCES/
kmodtool
These are created when you do a yum instal kernel-devel for your kernel release and system type. (You need to have the kernel-devel package installed before you can make any kernel modification. Sorry -- I automatically install this with any kernel update, so neglected to think about it.)
 
Old 03-30-2006, 04:59 AM   #15
FireGunz
Member
 
Registered: Mar 2006
Distribution: Fedora Core 5 i386 DVD | Kernel 2.6.16-1.2080_FC5 | YUM v2.6.0 | GNOME v2.14.0 |
Posts: 42

Rep: Reputation: 15
ok, i got check that which I got

Code:
$ ls /usr/
bin  games    kerberos  libexec  sbin   src  X11R6
etc  include  lib       local    share  tmp

$ ls /usr/src/
debug  kernels  redhat


$ ls /usr/src/redhat/
BUILD  RPMS  SOURCES  SPECS  SRPMS


$ ls /usr/src/redhat/SOURCES/
nothin appear....
so as above what did i miss out? also how did you get automatically install this with any kernel update?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing nvidia driver on FC5 waggy401 Fedora 14 03-23-2006 09:58 PM
nvidia legacy driver and nvidia-glx questions darkleaf Linux - Software 6 06-27-2005 02:42 PM
NVIDIA driver issues jse Fedora - Installation 7 03-24-2005 12:23 PM
Nvidia Driver issues idioticneophyte Fedora 8 03-03-2005 04:38 PM
Yet more Nvidia driver issues:( LinebackerACT SUSE / openSUSE 4 02-20-2005 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration