I’m trying to execute a program wich uses opengl and shaders. Whenever i use shaders, my program never runs:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 34 ()
Serial number of failed request: 30
Current serial number in output stream: 31
and when i use primusrun, this is the error i get:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Failed to load module “mouse” (module does not exist, 0)
My system info is:
- OS: Linux Mint 18.3 Cinnamon 64-bit
- Cinnamon version: 3.6.7
- Linux Kernel: 4.15.0-43-generic
- CPU: Intel Core i5-8250U CPU @ 1.60GHz x 4
- GPU: Nvidia 384.130
I had to make many changes to the system to even get here, but i don’t know how to make it run properly. Some of the changes were installing nvidia-current drivers, also theese drivers xserver-xorg-input-mouse-lts-utopic (3:13), the package libgl1-mesa-glx:i386, nvidia-304 packages, added a section in this file /etc/bumblebee/xorg.conf.nvidia, added libGL.so and so1 to /usr/lib/nvidia (wich failed), and some other things. Some of theese solved some things, but it didn’t solve the actual problem.
Thank you for your help!