Re: nvidia and openGL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 03, 2005 at 09:40:30AM +0200, Marcel Janssen wrote:
> On Thursday 02 June 2005 02:12, Axel Thimm wrote:
> > ATrpms sets up proper linking to the desired nvidia libs unless you
> > have installed multiple versions of the nvidia drivers (which the
> > ATrpms packages deliberately allow you to, there have been too many
> > instances, where some groups of nvidia users would perfer driver A due
> > to better 3d accel, while others prefered driver B due to better
> > overscan and vsync control, the endless battle of gamers vs. PVR
> > addicts ...)
> 
> As far as I can tell there's only one version of this package on my system. My 
> system is a clean FC4test3 install on which I performed a yum upgrade.
> 
> > For this case ATrpms' nvidia packages have a tool called
> > nvidia-graphics-switch which allows you to switch from one driver to
> > another (with a X restart step in between) called
> >
> > 	nvidia-graphics-switch
> 
> I did use this. 
> 
> > Call it w/o arguments to see which drivers are installed (and to get a
> > usage information) and then call it with the driver you want to
> > activate as its only argument. You need to do so as root.
> 
> => nvidia-graphics-switch
> Usage: /usr/sbin/nvidia-graphics-switch <driver>
>        where <driver> is one of 7174
> 
> So, the problem I had is that X was using libglx.a which was in
> /usr/X11R6/lib64/modules/extensions/

That's taken care of by the

ModulePath "/usr/X11R6/lib/modules/extensions/nvidia"

statement in the supplied /etc/X11/xorg.conf.nvidia file. You need to
explicitely copy this into its canonical place.

Check the package description, too:

# rpm -qi nvidia-graphics7174
The NVIDIA Accelerated Linux Driver Set brings both accelerated 2D
functionality and high performance OpenGL support to Linux x86 with
the use of NVIDIA graphics processing units (GPUs).

These drivers provide optimized hardware acceleration of OpenGL
applications via a direct-rendering X Server and support nearly all
NVIDIA graphics chips.  TwinView, TV-Out and flat panel displays are
also supported.

This package includes NVIDIA module for X11 and OpenGL libraries.
Older RIVA 128 based video cards are supported by the server module
shipping with XFree86/X.org, nv_drv.o.

You must also install a matching nvidia-graphics7174-kmdl rpm, if you want to
utilize these drivers.

Add
      ModulePath   "/usr/X11R6/lib/modules/extensions/nvidia"
      ModulePath   "/usr/X11R6/lib/modules/extensions"
      ModulePath   "/usr/X11R6/lib/modules"
to `Section "Files"' /etc/X11/XF86Config and remove/comment the dri module.

Check /etc/X11/XF86config.nvidia or /etc/X11/xorg.conf.nvidia for an
automatically generated config file.


-- 
Axel.Thimm at ATrpms.net

Attachment: pgpPBs8vD4EUf.pgp
Description: PGP signature


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]