Problem with PRIME badvalue

OK. So i have set everything up as per the arch wiki and the nvidia docs http://us.download.nvidia.com/XFree86/Linux-x86_64/430.14/README/randr14.html and if i execute:

nvidia-bug-report.log.gz.log (297.2 KB)

$ sudo xrandr --setprovideroutputsource modesetting NVIDIA-0
Could not find provider with name NVIDIA-0
glxinfo | grep vendor

I get

server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center

This is the expected response. However if i try prime offloading using

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor

I get

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40

Also the output from nvidia-smi is

       Sat Apr  4 18:25:34 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64       Driver Version: 440.64       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1650    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   50C    P0     5W /  N/A |      0MiB /  3914MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+``

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).

1 Like

here is it ! thx a lot for you’re time !
nvidia-bug-report.log.gz.log (297.2 KB)

First of all, please delete /etc/X11/xorg.conf which is blocking all other config. Furthermore, it seems that Manjaro favors render offload and installed the necessary config files for it but you also installed optimus-manager which doesn’t seem to know offload yet so installed some other config.Do you intend to use external monitors?