From: Gianluca Interlandi (gianluca_at_u.washington.edu)
Date: Tue Oct 31 2023 - 17:05:44 CDT

Hi Victor,

With glxgears I observe a similar behavior as with VMD: If I start
glxgears logged in from an older installation (openSUSE 12.2) then
glxgears works remotely (I see the wheels). However, if I start glxgears
logged in from a newer installation (openSUSE 15.2) then I get the error
message:

X Error of failed request: BadValue (integer parameter out of range for
operation)
   Major opcode of failed request: 153 (GLX)
   Minor opcode of failed request: 3 (X_GLXCreateContext)
   Value in failed request: 0x0
   Serial number of failed request: 26
   Current serial number in output stream: 27

Interestingly, if I log in from the installation with openSUSE 15.2 (AMD
video card) to a desktop with openSUSE 15.4 (Intel video card) then
glxgears and VMD can be opened remotely. So the problem seems to occur
only when I start a openGL window (glxgears or VMD) from a server with
NVIDIA proprietary drivers to a client which has a recent installation of
openSUSE (and does not have NVIDIA proprietary drivers).

Gianluca

On Tue, 31 Oct 2023, Victor Kwan wrote:

> Hi,
> It is highly unlikely that your local drivers have anything to do with your problem. 
>
> When X forwarding is used, the frames are rendered on the remote server and then
> passed through the SSH tunnel via the glx protocol. 
>
> A quick sanity check will be running  glxgears? under ssh -X -vvv? to see if X11
> forwarding is enabled on both the server and the client.
>
>
> Best,
> Victor
>
> _____________________________________________________________________________________
> From: owner-vmd-l_at_ks.uiuc.edu <owner-vmd-l_at_ks.uiuc.edu> on behalf of Gianluca
> Interlandi <gianluca_at_u.washington.edu>
> Sent: Monday, October 30, 2023 8:13 PM
> To: vmd-l_at_ks.uiuc.edu <vmd-l_at_ks.uiuc.edu>
> Subject: vmd-l: VMD openGL over ssh from a server with NVIDIA  
> [You don't often get email from gianluca_at_u.washington.edu. Learn why this is
> important at https://urldefense.com/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!DZ3fjg!_8UZt6YPq-d4GwM0wOHr4OnTTrLWVcjXfZWjxrrF7X7PrhoO_EGy1Iq3V-mdqp-YtxaWyekS43q2bX_7WE13a6L8frU$ ]
>
> Hi!
>
> I would like to ask other VMD users about their experience starting a
> remote session with VMD where the openGL window is forwarded through the
> X11/X.Org server by using `ssh -X`. My question is specifically when the
> server where VMD is started from has a NVIDIA video card with the
> proprietary drivers installed.
>
> In my situation, the server runs openSUSE 13.2 with NVIDIA Quadro K620 and
> driver version 375. In the past, I was able to ssh from a client, which
> had a Intel or AMD graphics card and start a VMD session remotely. This
> worked at least up until openSUSE 12.x. But now I have upgraded a laptop
> with AMD video card to openSUSE 15.2 and a desktop with integrated intel
> to openSUSE 15.4 and I am no longer able to open a remote VMD session from
> the server that runs openSUSE 13.2 with NVIDIA and proprietary drivers.
> The error message that I get is:
>
> XRequest.152: BadValue (integer parameter out of range for operation) 0x0
> ERROR) Could not create OpenGL rendering context-> Exiting...
>
> I wonder whether something has changed in the configuration of the X.Org
> server that is hindering opening a remote openGL session from a server
> with propretary NVDIA drivers installed. I am considering adding a
> discrete NVIDIA video card and installing the proprietary drivers to the
> desktop to see whether this makes opening a remote VMD session possible
> again. (I tried with an older NVIDIA video card with nouveau but that also
> generates the error, so it may really need the proprietary NVIDIA drivers,
> which requires installing a newer video card).
>
> But before I try, I wanted to ask whether anybody is able to open a remote
> VMD window from a server that has NVIDIA with the proprietary drivers to a
> client that also has a NVIDIA video card with proprietary drivers
> installed when the client has a recent Linux installation, e.g., probably
> starting with Linux kernel 5.x. Any experience shared about this would be
> greatly appreciated.
>
> Thanks!
>
>       Gianluca
>
> -----------------------------------------------------
> Gianluca Interlandi, PhD gianluca_at_u.washington.edu
>                      +1 (206) 685 4435
>                     https://urldefense.com/v3/__http://gianluca.today/__;!!DZ3fjg!80G0_S1LAlrbHIIt0TDcXA
> pksG93LtXgAvQ6vGRjTLvr-Y5G3P-C-beCxyUVXdgQguHhiJl9i_P7L3g6x8N0Vz3rPcQ$
>
> Department of Bioengineering
> University of Washington, Seattle WA U.S.A.
> -----------------------------------------------------
>
>
>

-----------------------------------------------------
Gianluca Interlandi, PhD gianluca_at_u.washington.edu
                     +1 (206) 685 4435
                     https://urldefense.com/v3/__http://gianluca.today/__;!!DZ3fjg!_8UZt6YPq-d4GwM0wOHr4OnTTrLWVcjXfZWjxrrF7X7PrhoO_EGy1Iq3V-mdqp-YtxaWyekS43q2bX_7WE13W02bmP0$

Department of Bioengineering
University of Washington, Seattle WA U.S.A.
-----------------------------------------------------