Fedora Linux Support Community & Resources Center
  #1  
Old 18th June 2009, 11:00 PM
bcomisky Offline
Registered User
 
Join Date: Jun 2009
Posts: 1
switching openGL -- nvidia to/from Mesa

I'm running Fedora 11 (upgraded from Fedora 10) with an Nvidia card. The nvidia drivers installed seem to work fine, as does glxgears, glxinfo, etc. I have an application that I suspect has a problem with the nvidia openGL that I would like to test with Mesa. Is there anyway to switch between openGL implementations? I know the nvidia install overwrites some of the Mesa libs.. maybe I have to uninstall the nvidia drivers completely then re-install mesa?

Gentoo had a very convenient method of doing this "eselect opengl".. anybody know of anything similar for Fedora or any other suggestions?

Thanks,
Bill

$ yum list installed *nvidia*
Loaded plugins: dellsysidplugin2, refresh-packagekit
Installed Packages
kmod-nvidia.x86_64 185.18.14-1.fc11 @rpmfusion-nonfree-updates
kmod-nvidia-2.6.29.4-167.fc11.x86_64.x86_64 185.18.14-1.fc11 installed
xorg-x11-drv-nvidia.x86_64 185.18.14-2.fc11 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-devel.x86_64 185.18.14-2.fc11 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64 185.18.14-2.fc11 @rpmfusion-nonfree-updates
Reply With Quote
  #2  
Old 18th June 2009, 11:10 PM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,292
I know of no such utility to manipulate rendering method/driver. And with the RPMFusion nvidia driver RPMs: the Mesa libraries are not over-written, nor moved, simply over-ridden in the config. You can probably do this manually, but....

First: open livna-config-display from the menus, and un-check the box that allows it to edit xorg.conf file. Then open (as root user) and edit xorg.conf to specify either driver "nv" or "nouveau" instead of "nvidia". Re-start of X11 required. However, neither of the open-source drivers has (working) 3D/DRI support for any NVidia chipsets (yet). Nouveau may soon. And the presense of the nvidia RPMs/libs and such may still interfere with the open-source drivers.

Probably more productive to open the nvidia display settings utility and play with the settings.

V
Reply With Quote
  #3  
Old 19th June 2009, 02:46 AM
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 47
Posts: 3,936
the only way i know of too switch between the to is to reinstall things over/ on top of others
installing the nvidia.run driver overwrites fedoras mesa install
then reinstalling mesa overwrites nvidia's opengl

i do something like this whenever i reinstall my driver ( see sig)
i install the .run then run " yum reinstall mesa* " ( that reinstalls mesa-libGl,mesa-libGl-devel ,mesa-libGLU ,mesa-libGLU-devel , mesa-libGLw , mesa-libGLw-devel )
__________________
OpenSUSE 13.1-64bit & Scientific Linux 6.5-64bit ( fedora 4 to 11) and 19/20 on KVM
My Celestia Downloads

h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10
Reply With Quote
  #4  
Old 20th June 2009, 12:55 AM
av_lin Offline
Registered User
 
Join Date: Feb 2007
Posts: 55
I had an application that wasn't properly working with the default nvidia driver. Installing the actually nvidia driver from rpmfusion fixed the problem (opengl related probably), but that had a couple of undesirable side effects.

The display menu has become inactive and so I lost the ability to set the screen to rotate mode. That's not a big loss, since today's most screen have such poor viewing angles that it makes no sense to use a 22" widescreen in vertical mode (why does DELL bother?)

The second side effect seems to be that fonts look a little different now, regardless of how much I play with the settings. I think the dots per inch has change to 89, but I am not sure from what previous value.
Reply With Quote
  #5  
Old 20th June 2009, 09:48 AM
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 47
Posts: 3,936
av_lin by chance did you install the nvidia.run first THEN installed the kmod-nvidia .Without UNINSTALLING the .run FIRST

the names and locations for the libGL's are different in the two drivers .That may be your problem .You have TWO different libGL's installed
__________________
OpenSUSE 13.1-64bit & Scientific Linux 6.5-64bit ( fedora 4 to 11) and 19/20 on KVM
My Celestia Downloads

h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10
Reply With Quote
  #6  
Old 22nd June 2009, 05:53 PM
av_lin Offline
Registered User
 
Join Date: Feb 2007
Posts: 55
Quote:
Originally Posted by JohnVV View Post
av_lin by chance did you install the nvidia.run first THEN installed the kmod-nvidia .Without UNINSTALLING the .run FIRST

the names and locations for the libGL's are different in the two drivers .That may be your problem .You have TWO different libGL's installed
My problem with an app not working or with the fonts looking a little different?

I let anaconda do the install, so it picked whatever it deemed appropriate. It is only days after that I realized one remotely running application using the glut_free library wasn't able to open a graphical window on my machine. I just followed Mauriat Miranda's install guide for the nvidia driver using the rpmfusion.org repository. Doing a locate nvidia, I can see that many libraries have now two versions. The newly installed one seems to have the suffix 185.18.14 added to the original default names. I whatever driver you pick, it automatically uses the correct libraries, but you are saying my assumption may be wrong?

I guess I can always play with the xorg.conf files to experiment a little.
Reply With Quote
Reply

Tags
mesa, 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
fglrx OpenGL vendor string: Mesa Project non-root drykod Hardware & Laptops 2 9th July 2009 07:56 PM
Swapping Mesa for OpenGL Belderan Using Fedora 6 21st August 2006 11:16 AM


Current GMT-time: 14:11 (Tuesday, 02-09-2014)

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