Bumblebee XORG

optirun glxgears gives following:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  11 (X_GLXSwapBuffers)
  Serial number of failed request:  37
  Current serial number in output stream:  38
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
terminate called without an active exception

journalctl output at the start moment:

bumblebeed[2536]: [  656.300931] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.

bumblebeed[2536]: [  656.300944] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used

bumblebeed[2536]: [  656.300972] [ERROR][XORG] (EE) kbd: <default keyboard>: failed to set us as foreground pgrp (Inappropriate ioctl for device)

The same thing is going on with any other package, though it shows it runs from dGPU, but I don’t know if it’s true.


What version of Parrot are you running? Linux parrot 4.19.0-parrot1-13t-amd64 #1 SMP Debian 4.19.13-1parrot1.13t (2019-01-09) x86_64 GNU/Linux

What method did you use to install Parrot? Debian-Standart

Configured to multiboot with other systems? yes

If there are any similar issues or solutions, link to them below:

If there are any error messages or relevant logs, post them below:

Hi, are these errors new ? Or were they it already there when you installed the driver ? Have you changed anything that might be related to these errors ?

Actually they are old. It’s weird because optirun seems to run normally, but it still throws error’s in journalctl.

Everything I’ve changed is I created custom config for tearing fix.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886405

Jesus I think there are no words which can describe HOW I HATE NVIDIA
https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1758243

1 Like

So it appears to be a bug in libglvnd.

Workaround is exporting specific env value: export __GLVND_DISALLOW_PATCHING=1

Now optirun glxgears work and it’s running on NVIDIA card.

Be not lazy and check your PC/Laptop for the same issue because the issue affects libglvnd library and it won’t crash bumblebee or nvidia module, and if apps have no graphics they will run with your intel card and you won’t be able to even notice the issue (except low frame-rate).