LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Some weird with nvidia proprietary driver.(xorg work, 3d software and steam not). (https://www.linuxquestions.org/questions/slackware-14/some-weird-with-nvidia-proprietary-driver-xorg-work-3d-software-and-steam-not-4175647833/)

Nekit_Manzin 02-07-2019 01:31 PM

Some weird with nvidia proprietary driver.(xorg work, 3d software and steam not).
 
So, i new to nvidia and their drivers, after i install nvidia-driver(that install nvidia-kernel as well), i can start Xorg.
X add all of my cards(one from my i3-6100u and dedicated from nvidia).
So, when i tried to run some Quake, it say it can't run -- "Couldn't set video mod".
Steam say "OpenGL GLX extension not supported by display" as well.
And i dont' know what to do with that.
Here is log of Xorg -- https://pastebin.com/Xg3wzDrf
Sorry for kinda broken English.

enorbet 02-07-2019 01:49 PM

You probably need to research Optimus install and be certain to install the 32 bit compatibility libraries as well.

Nekit_Manzin 02-07-2019 08:07 PM

Quote:

Originally Posted by enorbet (Post 5959117)
You probably need to research Optimus install and be certain to install the 32 bit compatibility libraries as well.

Sorry for disturb you, but i have some questions again.
In slackware howtos i saw a link to the "crazybee.sh", and it install everything good.. But when i try
Code:

optirun steam
this say
Code:

cannot access secondary GPU...
.
I just don't know any of Nvidia stuff probably.

Nekit_Manzin 02-08-2019 06:49 AM

Code:

lenovo% optirun -vv --debug bash
[ 2423.295361] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2423.295504] [INFO]Configured driver: nvidia
[ 2423.295758] [DEBUG]optirun version 3.2.1-2013-04-26-Format:%h$ starting...
[ 2423.295768] [DEBUG]Active configuration:
[ 2423.295770] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2423.295773] [DEBUG] X display: :8
[ 2423.295776] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia-bumblebee:/usr/lib/nvidia-bumblebee
[ 2423.295778] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2423.295784] [DEBUG] Accel/display bridge: auto
[ 2423.295787] [DEBUG] VGL Compression: proxy
[ 2423.295789] [DEBUG] VGLrun extra options:
[ 2423.295791] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus
[ 2423.295802] [DEBUG]Using auto-detected bridge primus
[ 2423.305906] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 2423.305935] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 2423.305942] [DEBUG]Socket closed.
[ 2423.305963] [ERROR]Aborting because fallback start is disabled.
[ 2423.305970] [DEBUG]Killing all remaining processes.

It's strange

Alien Bob 02-08-2019 07:00 AM

Quote:

Originally Posted by Nekit_Manzin (Post 5959333)
Code:

lenovo% optirun -vv --debug bash
[ 2423.295361] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2423.295504] [INFO]Configured driver: nvidia
[ 2423.295758] [DEBUG]optirun version 3.2.1-2013-04-26-Format:%h$ starting...
[ 2423.295768] [DEBUG]Active configuration:
[ 2423.295770] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2423.295773] [DEBUG] X display: :8
[ 2423.295776] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia-bumblebee:/usr/lib/nvidia-bumblebee
[ 2423.295778] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2423.295784] [DEBUG] Accel/display bridge: auto
[ 2423.295787] [DEBUG] VGL Compression: proxy
[ 2423.295789] [DEBUG] VGLrun extra options:
[ 2423.295791] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib64/primus
[ 2423.295802] [DEBUG]Using auto-detected bridge primus
[ 2423.305906] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 2423.305935] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 2423.305942] [DEBUG]Socket closed.
[ 2423.305963] [ERROR]Aborting because fallback start is disabled.
[ 2423.305970] [DEBUG]Killing all remaining processes.

It's strange

Did you add your user account to the "video" group? if not, do this as root (substituting the string 'your_useraccount' with your actual user account) and then login again:
Code:

# gpasswd -a your_useraccount video

Nekit_Manzin 02-08-2019 07:02 AM

Quote:

Originally Posted by Alien Bob (Post 5959337)
Did you add your user account to the "video" group? if not, do this as root (substituting the string 'your_useraccount' with your actual user account) and then login again:
Code:

# gpasswd -a your_useraccount video

Yeah, my user added in "video" group, but it does the same error.

Code:

lenovo% groups
users lp wheel floppy audio video cdrom input plugdev power netdev scanner bumblebee


Code:

bash-5.0# lsmod | grep nouveau
bash-5.0# lsmod | grep nvidia
nvidia_drm            49152  0
nvidia_modeset      1044480  1 nvidia_drm
nvidia              16605184  1 nvidia_modeset
drm_kms_helper        196608  2 nvidia_drm,i915
drm                  475136  6 drm_kms_helper,nvidia_drm,i915
ipmi_msghandler        57344  2 ipmi_devintf,nvidia
i2c_core              77824  9 videodev,i2c_hid,drm_kms_helper,i2c_algo_bit,nvidia,i2c_i801,i915,psmouse,drm

I have blacklisted nouveau too, in the installation.
Code:

optirun (Bumblebee) 3.2.1-2013-04-26-Format:%h$
Copyright (C) 2011 The Bumblebee Project
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Code:

bash-5.0# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  410.73  Sat Oct 20 22:12:33 CDT 2018
GCC version:  gcc version 8.2.0 (GCC)

There is a nothing i can understand about nvidia here, so i just paste all i know about my setup.


All times are GMT -5. The time now is 11:35 AM.