Dave Perry wrote:
> I just installed FC5 on my desktop that was running FC4. Used yum update
> to get all the updates.  Installed kmod-nvidia using yum and the example
> from the "Unofficial Fedora FAQ".  I compiled fgfs with --enable-sdl.
>
> fgfs works fine from "root" but fails with the following error message
> when run from any non-root account.
> [EMAIL PROTECTED] data]$ ./bin/fgfs
> X Error of failed request:  BadLength (poly request too large or
> internal Xlib l ength error)
>   Major opcode of failed request:  145 (GLX)
>   Minor opcode of failed request:  29 ()
>   Serial number of failed request:  808
>   Current serial number in output stream:  808
>
> When compiled without --enable-sdl  (i.e. with freeglut-2.4.0-4), fgfs
> fails with the usual error message for non 2.2 freeglut for root and non
> root accounts.
>
> Any of you FC5 users recognize the above?
>   

Dave,

Here are some notes from my archives:

Based on this link:

http://www.nvnews.net/vbulletin/showthread.php?t=68681

run the following commands as root:

chcon -t texrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so
chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.8762
chcon -t texrel_shlib_t /usr/lib/libnvidia-tls.so.1.0.8762
chcon -t texrel_shlib_t /usr/lib/tls/libnvidia-tls.so.1.0.8762
chcon -t texrel_shlib_t /usr/lib/libGLcore.so.1.0.8762
chcon -t texrel_shlib_t /usr/lib/libGL.so.1.0.8762

You can run dmesg to see the selinux failures and run this command on any
files that still need allowance.

SElinux is preventing access to some of the nvidia driver bits because 
it considers them "dangerous." (?)  I have found that I need to run 
these commands (as root) every time I install or upgrade my nvidia drivers.

Hope that helps!

Curt.

-- 
Curtis Olson        http://baron.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to