Fedora Linux Support Community & Resources Center
  #1  
Old 31st August 2006, 09:59 PM
Chupacabra Offline
Registered User
 
Join Date: Aug 2006
Posts: 16
Nvidia Drivers and OpenGL

Fresh FC5 install. NVidia Gforce 6800 PCI-e. I just installed 3d support last night via instructions from fedorafaq. My only question is , OpenGL. None of my OpenGL screen savers will display? Is there a special OPenGL driver I have to install? Some extra module? Also, which way would I want to go about this if I plan to try and use XGL sometime in the future? Thanks All!

Edit: perfect example. I just installed GoogleEarth for Linux, when I run from terminal I see the error cannot find GLX on Display....ect ect. Any ideas?
I also get the message from GoogleEarth on startup "Google Earth is unable to identify your graphics card. So, if an OpenGL application is unable to decide what graphics card I am operating on, would that not mean that the driver isn't fully installed or something to that effect?

Last edited by Chupacabra; 31st August 2006 at 10:31 PM.
Reply With Quote
  #2  
Old 31st August 2006, 10:06 PM
Skinney Offline
Registered User
 
Join Date: Mar 2006
Location: Akershus, Norway
Age: 28
Posts: 325
should only be to install the nvidia driver, update xorg.conf and reboot...
__________________
Registered Linux User #412673
Reply With Quote
  #3  
Old 31st August 2006, 10:13 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
I've noticed many of the OpenGL (xscreensaver) screensavers segfault when starting - I guess we're waiting for a fix.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #4  
Old 31st August 2006, 10:33 PM
Chupacabra Offline
Registered User
 
Join Date: Aug 2006
Posts: 16
Sorry, bigtime noob question. Skinny, When you say "update xorg.conf" what do you mean by update. Is it a manual thing or a process that should be automated with the driver install? If I am just not getting it whatsoever, would you mind explaining?
Reply With Quote
  #5  
Old 31st August 2006, 11:11 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
He means changing the driver from 'nv' (unaccellerated) to 'nvidia' (proprietary, accellerated). If you installed the Livna packages, then it does this for you.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #6  
Old 1st September 2006, 04:53 PM
Skinney Offline
Registered User
 
Join Date: Mar 2006
Location: Akershus, Norway
Age: 28
Posts: 325
it should do it for you, but it didnt in my case :S you should be able to find the command by searching on this forum for Nvidia Livna or something like that...
__________________
Registered Linux User #412673
Reply With Quote
  #7  
Old 1st September 2006, 09:56 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
Code:
su -
service nvidia-glx restart
Should do it
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #8  
Old 2nd September 2006, 12:23 AM
Redroar Offline
Registered User
 
Join Date: Aug 2006
Posts: 62
When I installed from livna, it didn't update my xorg.conf

You can do two things to make sure that the nvidia driver is loading, depending on whether or not you like the terminal, though the 1st one is probably the easiest all-around.

1) Go to System>Administration>Display, click on the Hardware tab, and press configure next to the video card. Select nvidia from the list, or, if it's already selected, then it's a different problem.

2) Type in the following lines:
Code:
su -
<enter password>
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
vim /etc/X11/xorg.conf
Now, it will show you a configuration file with loads of stuff. Look for the following lines:
Code:
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "nVidia PNY Geforce 7900 GT"
You will need to press A on your keyboard to start edit mode. Now, make sure that under "Driver" it has nvidia in quotes next to it. If it doesn't then replace it with nvidia. Once you've edited it, press escape, and type in
Code:
:save /etc/X11/xorg.conf
:q
This should select the livna nvidia drivers as the default X drivers.
Reply With Quote
  #9  
Old 2nd September 2006, 04:13 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
Yes. Just make sure not to change anything else in there but the "Driver" line - don't edit., for exampel, the BoardName line.
Also, you'll want to remove any instance of the following:
Code:
Load   "dri"
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #10  
Old 2nd September 2006, 09:03 PM
Chupacabra Offline
Registered User
 
Join Date: Aug 2006
Posts: 16
So, when I exit X into level 3 and try to run the nvidia.run file, it tells me I do not have a available kernel source package alavilable for compiling. This seems like a simple one. Where do I go to get it? Which one to do I want to get? (AMD X2 4400 proc) and once i download the tarball, where do I extract it to? so I extract it, and if not where do I put it? Thanks all!!
Reply With Quote
  #11  
Old 2nd September 2006, 11:06 PM
Firewing1 Offline
Registered User
 
Join Date: Dec 2004
Location: Canada
Age: 26
Posts: 9,224
You can get it with
Code:
yum install kernel-devel
but I highly disrecommend using the .run packages from nVidia, as they replace Fedora's libGL which can cause problems. If you install using Livna's packages, it's infact easier to install, easier to maintain, you'll get automatic updates, it won't replace libGL, and you get the same end result. Here's how with Livna:
Code:
su -
rpm -Uhv http://rpm.livna.org/livna-release5.rpm
yum update kernel
yum install kmod-nvidia
yum update kmod-nvidia
gdm-restart
Careful on the last command, it kills your session and all programs in it. Save documents first!
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
Reply

Tags
drivers, nvidia, opengl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing Installing nVidia Drivers and 32bit OpenGL Jeff91 Installation, Upgrades and Live Media 3 25th August 2009 12:25 AM
ATI drivers + OpenGL = crash after 10-20mins tsorvoja Hardware & Laptops 4 16th October 2007 06:41 AM
nvidia drivers installed but opengl screensaver 99% load defcon3 Using Fedora 12 17th August 2007 10:15 PM
FC4: Nvidia and OpenGL Supa Troopa Hardware & Laptops 2 2nd July 2005 02:04 AM
ATi OpenGL Drivers + Rage 128 Pro? Kenji Miyamoto Hardware & Laptops 3 2nd March 2005 02:10 AM


Current GMT-time: 23:13 (Wednesday, 16-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat