Page 2 of 2
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/05/02 06:41:30
by hachi
if optirun works as root but not for your user, your user is probably not memeber of the 'bumblebee' group
see documentation from elrepo,
Code: Select all
2)Add your user account to group bumblebee.
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/05/02 17:37:52
by miney
I have no different behaviour between root and my normal user (who is part of group bumblebee), so no, that is not the problem.
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/05/30 04:26:23
by fishingman78
First off, the error you saw about the keyboard results from optirun not finding your GPU. The default xorg.conf.nvidia from elrepo has the line,
BusID "PCI:XX:XX:X"
commented out. As long as your xorg.conf.nvidia file explicitly points to the device, you should not see that error anymore. This has been posted on other websites. Unfortunately, I do not have any links on hand.
Second, I think your problem is with primus and not optirun, since I am having the same problem. According to your bumblebee.conf, the bridge is set to primus. You may want to try,
$ optirun -b virtualgl glxspheres64
If I can finally find a solution for primus, I will try post it here.
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/06/06 11:29:22
by miney
As stated below: When I run
lspci | grep -i nvidia, this is what I get:
Code: Select all
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
Therefore the corresponding line in my
xorg.conf.nvidia is:
I also tried variations of that like "
PCI:02:00:00" or "
PCI:02:00:0", which makes no difference, the error still occurs with both,
virtualgl or
primus.
Code: Select all
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) kbd: <default keyboard>: failed to set us as foreground pgrp (Inappropriate ioctl for device)
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/06/10 04:21:13
by fishingman78
Are using the drivers suggested by nvidia-detect or are you still using the drivers downloaded from NVIDIA website? Are you using the kmod-nvidia-XXXxx that corresponds to the drivers from elrepo?
Re: Problems installing Nvidia drivers for Cent OS 7
Posted: 2019/06/10 20:29:28
by miney
I think so...
nvidia-detect gives me:
Code: Select all
kmod-nvidia
An Intel display controller was also detected
I also used
nvidia-detect to install the drivers.
When I run
sudo yum list installed | grep -i nvidia, this is what I get:
Code: Select all
Loaded plugins: fastestmirror, langpacks, nvidia
kmod-nvidia.x86_64 418.74-1.el7_6.elrepo @elrepo
nvidia-detect.x86_64 418.74-1.el7.elrepo @elrepo
nvidia-x11-drv.x86_64 418.74-1.el7_6.elrepo @elrepo
nvidia-x11-drv-libs.x86_64 418.74-1.el7_6.elrepo @elrepo
yum-plugin-nvidia.noarch 1.0.2-1.el7.elrepo @elrepo