Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-21-05, 03:01 PM   #13
magneto
Registered User
 
Join Date: Mar 2005
Posts: 23
Default Re: FC4 T1 hangs on "initializing GLX"

well id suggest compiling your own kernel and try installing 7167 again - fact is being that its super buggy fc4 pre-release you are out there on a limb anyway

if those other rpms deadlock you(they really shouldnt) just boot into init S and remove the rpms via the rpm command - or use "nv" as your driver and go right into gnome and do whatever you have to
magneto is offline   Reply With Quote
Old 03-21-05, 10:55 PM   #14
duvvid
Registered User
 
Join Date: Nov 2002
Posts: 6
Default Re: FC4 T1 hangs on "initializing GLX"

Quote:
Originally Posted by cdhouch
My xorg.conf works with the new NVIDIA 7167 drivers as long as the "load "glx"" command is commented out. Otherwise it hangs on the initializing glx part of startx.
I'm seeing the same thing on FC4test1.

I noticed the SELinux file contexts were not set correctly after installation. Fixing the file contexts didn't get it working though. Shouldn't the nvidia installer run restorecon on the libs it installs?

Quote:
Originally Posted by magneto
...fact is being that its super buggy fc4 pre-release ...
The test releases can get pretty ugly, but it's surprisingly good at the moment - as long as you don't need the nvidia 3d drivers.
duvvid is offline   Reply With Quote
Old 03-22-05, 01:03 AM   #15
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: FC4 T1 hangs on "initializing GLX"

Quote:
Originally Posted by cdhouch
Ok I upgraded kernels today to the 2.6.11-1.1191_FC4 kernel and re-ran the nvidia bug report script. Here is that output (much cleaner this time) along with /var/log/messages from the time of a boot till the time that X fails to start.

http://brainbug.dnsalias.com/nvidia-bug-report.log
http://brainbug.dnsalias.com/messages.txt
as duvvid said its a selinux issue:
Quote:
Mar 21 11:30:44 speedybug kernel: audit(1111404619.873:0): avc: denied { execmod } for pid=1172 comm=X path=/usr/X11R6/lib/modules/drivers/nvidia_drv.so dev=dm-0 ino=7668683 scontext=user_u:system_r:initrc_t tcontext=rootbject_r:lib_t tclass=file
are you using the strict or targeted policy?
Dragoran is offline   Reply With Quote
Old 03-22-05, 01:29 AM   #16
cdhouch
Registered User
 
Join Date: Feb 2005
Posts: 7
Default Re: FC4 T1 hangs on "initializing GLX"

Quote:
Originally Posted by Dragoran
as duvvid said its a selinux issue:

are you using the strict or targeted policy?
I would have never guessed selinux was the culprit. I'm using targeted.
I'll dig into that and see what I can come up with. To be honest I know next to nothing about selinux (yet).
cdhouch is offline   Reply With Quote
Old 03-22-05, 02:14 AM   #17
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: FC4 T1 hangs on "initializing GLX"

try
Code:
restorecon /usr/X11R6/lib/modules/drivers/nvidia_drv.so
as root
or
Code:
chcon system_u:object_r:lib_t /usr/X11R6/lib/modules/drivers/nvidia_drv.so
post the output of
ls -Z /usr/X11R6/lib/modules/drivers/
Dragoran is offline   Reply With Quote
Old 03-22-05, 01:29 PM   #18
cdhouch
Registered User
 
Join Date: Feb 2005
Posts: 7
Default Re: FC4 T1 hangs on "initializing GLX"

haven't had a chance to troubleshoot this properly, however I did disable SElinux and everything works like a charm now. This is my dev box anyway and is safely behind my firewalls.

So if your having similar problems and need a quick fix, disable SElinux, reinstall the driver, modprobe it, and it all seems fine... tho less secure ;D
cdhouch is offline   Reply With Quote
Old 03-23-05, 09:48 PM   #19
duvvid
Registered User
 
Join Date: Nov 2002
Posts: 6
Default Re: FC4 T1 hangs on "initializing GLX"

Well I worked out why I couldn't get it working with SELinux. You need to disable SELinux enforcement ('setenforce 0') *before* running the nvidia installer. If you don't, /usr/lib/tls/libnvidia-tls.so.1.0.7167 doesn't get installed. (one of the temp files executed by the installer gets an AVC denial)

As previously mentioned, the file contexts need to be fixed after installation.
Code:
# restorecon -v /usr/lib/{tls/,}libnvidia-tls.so.1.0.7167 \
  /usr/lib/libGL*so.1.0.7167 \
  /usr/X11R6/lib/libXvMCNVIDIA.so.1.0.7167 \
  /usr/X11R6/lib/modules/drivers/nvidia_drv.so \
  /usr/X11R6/lib/modules/extensions/libglx.so.1.0.7167
The policy might need a small alteration. /usr/X11R6/lib/libGL* (ie. the system OpenGL libs) are labelled texrel_shlib_t, but /usr/lib/libGL* (ie. the nvidia libs) are only labelled shlib_t. I've seen no denials yet, but it's something to keep in mind.
duvvid is offline   Reply With Quote
Reply


Thread Tools

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
Fedora 16, GTX 550Ti, random X hangs, "Attempted to yield the CPU..." MquwIBUO NVIDIA Linux 7 06-12-12 03:39 PM
Graphic errors and hangs after standby reini122 NVIDIA Linux 4 05-07-12 03:37 AM

All times are GMT -5. The time now is 06:09 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.