Nvidia offload - Original driver - "NV-GLX" missing

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Nvidia offload - Original driver - "NV-GLX" missing

Postby drwatson » 2019-08-22 17:36

Hello Debian fans :-)

I am at my wit's end... :-(

I have a Acer Aspire Gaming Notebook with integrated Intel i915 and a Nvidia Geforce Titan 1050 card. UEFI Secure boot is disabled.

I'm using Debian SID ( fresh install ). I used Debian Buster before but had the same issue. I never got the provided proprietary working ( i tried Nvidia 418 as also 430 from experimental ).
If i used them either lightdm didn't came up or Gnome crashed directly after login. So i gave the official nvidia driver a go. Latest stable release is 430 and i also removed "nouveau" + put them just to be sure in the blacklist.

After installing them everything looks good. At least i think so ?

henrik@debian:~$ lsmod |grep nvidia
nvidia_drm 53248 0
nvidia_modeset 1110016 1 nvidia_drm
nvidia 18526208 10 nvidia_modeset
ipmi_msghandler 65536 2 ipmi_devintf,nvidia
drm_kms_helper 225280 2 nvidia_drm,i915
drm 532480 5 drm_kms_helper,nvidia_drm,i915


Vulkan packages are installed.

henrik@debian:~$ dpkg -l |grep vulkan
ii libvulkan1:amd64 1.1.114.0-1 amd64 Vulkan loader library
ii libvulkan1:i386 1.1.114.0-1 i386 Vulkan loader library
ii mesa-vulkan-drivers:amd64 19.2.0~rc1-1 amd64 Mesa Vulkan graphics drivers
ii mesa-vulkan-drivers:i386 19.2.0~rc1-1 i386 Mesa Vulkan graphics drivers
ii vulkan-tools 1.1.114.0+dfsg1-1 amd64 Miscellaneous Vulkan utilities


So now i tried to install / play a game via Lutris. It's detecting both cards that's already good but gives an error that NV-GLX are missing...no clue what i'm doing wrong here :(

henrik@debian:~$ lutris
2019-08-22 00:23:16,052: Running Lutris 0.5.2.2
2019-08-22 00:23:16,052: Using NVIDIA drivers 430.09 for x86_64
2019-08-22 00:23:16,052: GPU: GeForce GTX 1050 Ti
2019-08-22 00:23:16,053: GPU: 10DE:1C8C 1025:1128 using nvidia drivers
2019-08-22 00:23:16,053: GPU: 8086:591B 1025:1127 using i915 drivers
Xlib: extension "NV-GLX" missing on display ":0".
2019-08-22 00:23:16,092: Vulkan is supported
2019-08-22 00:23:16,093: Updating DXVK versions
2019-08-22 00:27:23,681: Replacing /home/henrik/Games/world-of-warcraft/drive_c/windows/system32/d3d11 with DXVK version


The strange thing is that with installed bumblebee it unload all Nvidia modules directly after bumblebee service started. If i copy the Bumblee Xorg file to /etc/X11 lightdm doesn't come up anymore. But in other forums it's written that xorg.conf doesn't need to be in place anymore.

It would be so great if someone could help me out here :)

Best regards,
Henrik
drwatson
 
Posts: 3
Joined: 2019-08-22 17:11

Re: Nvidia offload - Original driver - "NV-GLX" missing

Postby 4D696B65 » 2019-08-22 17:49

I find optimus stuff is borked in wayland. Log into gnome using xorg without wayland and see what happens.
User avatar
4D696B65
 
Posts: 2426
Joined: 2009-06-28 06:09

Re: Nvidia offload - Original driver - "NV-GLX" missing

Postby drwatson » 2019-08-22 17:52

I already tried that but didn't work.
drwatson
 
Posts: 3
Joined: 2019-08-22 17:11

Re: Nvidia offload - Original driver - "NV-GLX" missing

Postby stevepusser » 2019-08-22 23:53

What procedure did you use to install bumblebee-nvidia?

What happens with running

"glxgears" vs "optirun glxgears"?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11088
Joined: 2009-10-06 05:53

Re: Nvidia offload - Original driver - "NV-GLX" missing

Postby drwatson » 2019-08-23 16:06

stevepusser wrote:What procedure did you use to install bumblebee-nvidia?

What happens with running

"glxgears" vs "optirun glxgears"?



Hello,

i put the procedures in the link below so i don't spam the entire thread. Actually bumblebee-nvidia installed lot of packages.

apt install bumblebee-nvidia...
http://paste.debian.net/hidden/3b0c5ee3/

After reboot i checked dmesg for some useful output:
[ 4.445212] bbswitch: loading out-of-tree module taints kernel.
[ 4.445300] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 4.445850] bbswitch: version 0.8
[ 4.445854] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 4.445859] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 4.445869] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190509/nsarguments-66)
[ 4.445966] bbswitch: detected an Optimus _DSM function
[ 4.445977] pci 0000:01:00.0: enabling device (0406 -> 0407)
[ 4.446129] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 4.446626] bbswitch: disabling discrete graphics
[ 4.536194] nvidia: module license 'NVIDIA' taints kernel.
[ 4.536195] Disabling lock debugging due to kernel taint
[ 4.558520] nvidia-nvlink: Nvlink Core is being initialized, major device number 241
[ 4.832378] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 418.88 Mon Jul 22 20:45:26 CDT 2019
[ 5.526697] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 418.88 Mon Jul 22 20:34:52 CDT 2019


dpkg -l |grep nvidia shows all installed packages related to Nvidia:
http://paste.debian.net/hidden/dc2caa9a/

henrik@debian:~$ lsmod |grep nvidia
nvidia_modeset 1101824 0
nvidia 18276352 34 nvidia_modeset
ipmi_msghandler 65536 2 ipmi_devintf,nvidia



"glxgears" vs "optirun glxgears"?

henrik@debian:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
377 frames in 5.0 seconds = 75.306 FPS
301 frames in 5.0 seconds = 60.002 FPS

henrik@debian:~$ optirun glxgears
[ 884.676182] [ERROR]No bridge found. Try installing primus or virtualgl.



I hope this helps a bit :)
Henrik
drwatson
 
Posts: 3
Joined: 2019-08-22 17:11

Re: Nvidia offload - Original driver - "NV-GLX" missing

Postby stevepusser » 2019-08-23 18:24

The Debian wiki for Bumblebee says to install

Code: Select all
sudo apt-get install bumblebee-nvidia primus libgl1-nvidia-glx


so I have to assume that you didn't use it for a guide. :( Install primus and see if that helps.

Debian also doesn't package virtualgl, so I don't know why it's a choice there. We do package it on MX Linux and have our Nvidia driver installer install it for Optimus systems, since it seems to work better than Primus at the moment, along with 32-bit libraries on 64-bit systems, just so we don't get a zillion questions why Steam or 32-bit Wine games don't work out of the box.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.47.1, QMPlay2 19.09.03, wine-staging 4.15, Telegram-desktop 1.8.4, Pale Moon 28.7.0, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11088
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable