This is Gary's reply:
"Hello,
This is fixed in bumblebee-nvidia-346.35-3. You can yum update to that version beginning today. I will update the red hat bugzilla this evening with the troubleshooting technique I used, in case it is helpful to other packagers experiencing similar selinux issues on fedora / rhel based distros.
If using nouveau module instead of nvidia, bumblebee-nouveau-1.2.0 is required which is also available beginning any time today.
Thanks for the bug report".
I just edited some punctuation.
Hello. The xorg errors about glx and also the selinux issues should be fixed in bumblebee-nvidia-346.35-3. You can use yum/dnf to update to that version beginning today. You may need to run "yum clean all" or "dnf clean all" to see the new version.
Sorry for the trouble this may have caused. It was triggered by a change in the nvidia installer that I did not notice due to the fact that I have a mesa-libGL.i686 package installed. There is a special section now that will handle that little problem for users who do not have that particular package installed on a 64 bit system.
Also, I updated the bugzilla about the selinux problems here:
https://bugzilla.redhat.com/show_bug.cgi?id=1162546
BTW, what is the correct place (URI) to report about nVidia proprietary bugs?
Does someone else have this issue also with nVidia drivers?
You can prolly find them with:
journalctl -t setroubleshoot | grep nvidia
There is also this, which I am not quite sure if Firefox should even have the access:Code:SELinux is preventing /usr/libexec/gnome-session-check-accelerated-helper from 'read, write' accesses on the chr_file nvidiactl. Raw Audit Messages type=AVC msg=audit(1423477285.402:3035): avc: denied { read write } for pid=26770 comm="gnome-session-c" name="nvidiactl" dev="devtmpfs" ino=17195 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=0 SELinux is preventing /usr/libexec/gnome-session-check-accelerated-helper from 'read, write' accesses on the chr_file nvidia0. Raw Audit Messages type=AVC msg=audit(1423481017.350:3371): avc: denied { read write } for pid=13162 comm="gnome-session-c" name="nvidia0" dev="devtmpfs" ino=17196 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=0
It can be fixed temporarly for example like this, but it will not last over reboot (audit2allow&semodule would):Code:Feb 14 19:39:50 localhost setroubleshoot[21998]: SELinux is preventing /usr/lib64/firefox/plugin-container from 'read, write' accesses on the chr_file nvidiactl. For complete SELinux messages. run sealert -l 501bf6a7-04ce-484c-9356-5d6b28f5b346
So the problem is if SELinux labels for nvideo0 and nvidiactl are these:Code:# semanage fcontext -a -t console_device_t /dev/nvidia0 # semanage fcontext -a -t console_device_t /dev/nvidiactl # restorecon -v /dev/nvidiactl # restorecon -v /dev/nvidia0
And if SELinux type-label device_t is changed for example to console_device_t, those SELinux alers won't come. But what would be the correct type-labels for those device files?Code:$ ls -lZ /dev/nvidiactl crw-rw-rw-. root root system_u:object_r:device_t:s0 /dev/nvidiactl $ ls -lZ /dev/nvidia0 crw-rw-rw-. root root system_u:object_r:device_t:s0 /dev/nvidia0
Is this related to bumblebee and the Optimus architecture? Which nvidia drivers have you installed?
Please post the output of:
Code:yum repolist
No, but it is related to the subject of this thread "NVIDIA driver installed on fresh Fedora 21".
Not Optimus architecture.
I just thought I would ask in this thread what is the correct place (URI) to report nVidia bugs.
Code:$ rpm -qa "*nvidia*" xorg-x11-drv-nvidia-304xx-libs-304.125-1.fc21.i686 nvidia-xconfig-319.32-1.fc19.x86_64 xorg-x11-drv-nvidia-304xx-304.125-1.fc21.x86_64 kmod-nvidia-304xx-3.18.7-200.fc21.x86_64-304.125-1.fc21.8.x86_64 kmod-nvidia-304xx-3.18.5-201.fc21.x86_64-304.125-1.fc21.6.x86_64 kmod-nvidia-304xx-304.125-1.fc21.8.x86_64 akmod-nvidia-304xx-304.125-1.fc21.1.x86_64 nvidia-settings-319.32-1.fc19.x86_64 kmod-nvidia-304xx-3.18.6-200.fc21.x86_64-304.125-1.fc21.7.x86_64 xorg-x11-drv-nvidia-304xx-libs-304.125-1.fc21.x86_64 $ yum repolist Loaded plugins: auto-update-debuginfo, langpacks repo id repo name status adobe-linux-x86_64 Adobe Systems Incor 2 fedora/21/x86_64 Fedora 21 - x86_64 42,816 fedora-HandBrake/21/x86_64 Open source multipl 15 fedora-debuginfo/21/x86_64 Fedora 21 - x86_64 7,386 rpmfusion-free/21/x86_64 RPM Fusion for Fedo 470 rpmfusion-free-debuginfo/21/x86_64 RPM Fusion for Fedo 174 rpmfusion-free-updates/21/x86_64 RPM Fusion for Fedo 204 rpmfusion-free-updates-debuginfo/21/x86_64 RPM Fusion for Fedo 54 rpmfusion-free-updates-testing/21/x86_64 RPM Fusion for Fedo 9 rpmfusion-free-updates-testing-debuginfo/21/x86_64 RPM Fusion for Fedo 3 rpmfusion-nonfree/21/x86_64 RPM Fusion for Fedo 178 rpmfusion-nonfree-debuginfo/21/x86_64 RPM Fusion for Fedo 55 rpmfusion-nonfree-updates/21/x86_64 RPM Fusion for Fedo 150 rpmfusion-nonfree-updates-debuginfo/21/x86_64 RPM Fusion for Fedo 42 rpmfusion-nonfree-updates-testing/21/x86_64 RPM Fusion for Fedo 0 rpmfusion-nonfree-updates-testing-debuginfo/21/x86_64 RPM Fusion for Fedo 0 updates/21/x86_64 Fedora 21 - x86_64 8,514 updates-debuginfo/21/x86_64 Fedora 21 - x86_64 1,388 updates-testing/21/x86_64 Fedora 21 - x86_64 1,755 updates-testing-debuginfo/21/x86_64 Fedora 21 - x86_64 223 repolist: 63,438
Someone did suggest the subject could be changed to more accurately describe the topic.
have done that, but there it is just a part of the problem, but maybe related to actual problem GNOME not working:For maximum visibility to your problem, I suggest you open a new thread.
http://forums.fedoraforum.org/showthread.php?t=302981
http://forums.fedoraforum.org/showpo...82&postcount=3
But isn't there /dev/nvidiactl and /dev/nvidia0 also with Optimus architecture? What are the SELinux labels there?
Been down for a while. Just getting back. Caught up up on the thread. After pulling a yum update and trying installation again it now works! Thanks guys!
Ok I tried running the nvidia x serversettings app. And got this message . Is this normal?
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
I was under the impression the xserver in fedora was being phased out in favor of Wayland. Is this why I get this message?
Thats normal.
Ok. Just checking! One other question. Can the CUDA libraries be installed along wit the bumblbee driver? This is so I can use CUDA with Blender and some other apps.
Hi,
I got a gigabyte laptop with a 860m gtx and UEFI bios on in the summer it, and it drove me crazy for weeks trying to get bumblebee working. I ended up having disable UEFI in the bios and remove the security keys before it would build successfully. Then everything seemed to work fine it boots up using the nouveau and I add the optirun to the programs that need to use the dedicated card.
Between two evils I always pick one I never tried before - Mae West