X Error of failed request: BadValue (integer parameter out of range for operation) when using ssh X11 forwarding

General support questions
Post Reply
mpeltier
Posts: 2
Joined: 2018/12/17 15:59:48

X Error of failed request: BadValue (integer parameter out of range for operation) when using ssh X11 forwarding

Post by mpeltier » 2018/12/17 16:53:37

Hello,
When I launch a graphical app using ssh -X, I get the following error:

# ssh -X locahost
# <run ferret program and try to plot an image>
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 52
Current serial number in output stream: 53


AFAIK applications launched with "ssh -X" use indirect rendering ("the GLX protocol will be used to transmit OpenGL commands and the X.org will do the real drawing"). I have seen a lot of related messages but cannot found any workaround.

I have tried to launch X11 with +iglx option as suggested here:
viewtopic.php?f=47&t=57409
but it does not help.

libGL.so links seem to be ok:

# ls -al /usr/lib64/libGL*
-rwxr-xr-x 1 root root 711864 Dec 14 13:15 /usr/lib64/libGLdispatch.so.0
lrwxrwxrwx 1 root root 29 Dec 14 13:15 /usr/lib64/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.390.87
-rwxr-xr-x 1 root root 60200 Dec 14 13:15 /usr/lib64/libGLESv1_CM_nvidia.so.390.87
lrwxrwxrwx 1 root root 17 Dec 14 13:15 /usr/lib64/libGLESv1_CM.so -> libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 21 Dec 14 13:15 /usr/lib64/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.2.0
-rwxr-xr-x 1 root root 43696 Dec 14 13:15 /usr/lib64/libGLESv1_CM.so.1.2.0
lrwxrwxrwx 1 root root 26 Dec 14 13:15 /usr/lib64/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.390.87
-rwxr-xr-x 1 root root 111400 Dec 14 13:15 /usr/lib64/libGLESv2_nvidia.so.390.87
lrwxrwxrwx 1 root root 14 Dec 14 13:15 /usr/lib64/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root 18 Dec 14 13:15 /usr/lib64/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root 83280 Dec 14 13:15 /usr/lib64/libGLESv2.so.2.1.0
lrwxrwxrwx. 1 root root 17 Dec 14 13:06 /usr/lib64/libGLEW.so.1.10 -> libGLEW.so.1.10.0
-rwxr-xr-x. 1 root root 556528 Nov 20 2015 /usr/lib64/libGLEW.so.1.10.0
-rw-r--r-- 1 root root 656 Dec 14 13:15 /usr/lib64/libGL.la
lrwxrwxrwx 1 root root 10 Dec 14 13:15 /usr/lib64/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 14 Dec 14 13:15 /usr/lib64/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root 665720 Dec 14 13:15 /usr/lib64/libGL.so.1.7.0
lrwxrwxrwx. 1 root root 15 Dec 14 12:04 /usr/lib64/libGLU.so -> libGLU.so.1.3.1
lrwxrwxrwx. 1 root root 15 Dec 14 12:02 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x. 1 root root 524464 Jun 10 2014 /usr/lib64/libGLU.so.1.3.1
lrwxrwxrwx. 1 root root 15 Dec 14 12:17 /usr/lib64/libGLw.so -> libGLw.so.1.0.0
lrwxrwxrwx. 1 root root 15 Dec 14 12:07 /usr/lib64/libGLw.so.1 -> libGLw.so.1.0.0
-rwxr-xr-x. 1 root root 27752 Jun 9 2014 /usr/lib64/libGLw.so.1.0.0
lrwxrwxrwx 1 root root 23 Dec 14 13:15 /usr/lib64/libGLX_indirect.so.0 -> libGLX_nvidia.so.390.87
lrwxrwxrwx 1 root root 23 Dec 14 13:15 /usr/lib64/libGLX_nvidia.so.0 -> libGLX_nvidia.so.390.87
-rwxr-xr-x 1 root root 1268112 Dec 14 13:15 /usr/lib64/libGLX_nvidia.so.390.87
lrwxrwxrwx 1 root root 11 Dec 14 13:15 /usr/lib64/libGLX.so -> libGLX.so.0
-rwxr-xr-x 1 root root 65168 Dec 14 13:15 /usr/lib64/libGLX.so.0


I am using:
- centos 7.5.1804
- latest driver from nvidia NVIDIA-Linux-x86_64-390.87 installed from nvidia package like this (after having blacklisted nouveau driver):
./NVIDIA-Linux-x86_64-390.87.run --no-questions --ui=none --dkms --no-nouveau-check --run-nvidia-xconfig

Thanks in advance for your help,
Mathieu

mpeltier
Posts: 2
Joined: 2018/12/17 15:59:48

Re: X Error of failed request: BadValue (integer parameter out of range for operation) when using ssh X11 forwarding

Post by mpeltier » 2018/12/18 11:30:39

The problem seems to be solved by the latest version of ferret (7.4.4):
https://ferretop.pmel.noaa.gov/Ferret/
Mathieu

Post Reply