From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Tue Mar 11 2014 - 11:42:18 CDT

On Tue, Mar 11, 2014 at 12:04 PM, Simon Etter <ettersi_at_student.ethz.ch> wrote:
> Hi!
>
> I don't quite understand what you are saying. Is the remote/compute server
> broken, or is it a problem on my local machine? As already stated in the
> original question, I consider the first option unlikely, because things work
> when using a different local machine.

GLX (aka OpenGL over X) requires that the GLX library on both sides is
working correctly.

> Regarding the proposed protocols, as far as I understand (which admittedly
> is not far at all) I would have to install a new server application on the
> compute server. If so, then their usage is ruled out because I don't have
> root access to the compute server.

this is nonsense. most applications can be installed without root
privilege. it is only more effort and cannot be done using some kind
of package manager.

axel

>
> Thanks a lot for your help!
> Simon
>
>
> On 11/03/14 16:41, John Stone wrote:
>>
>> Hi,
>> Yeah, that indicates that your X server isn't doing
>> GLX protocol for remote OpenGL properly. I would suggest, as someone else
>> did already, that you consider using a different remote display
>> protocol such as NX, VNC, or otherwise, unless/until you can get your
>> X server fixed.
>>
>> Cheers,
>> John Stone
>> vmd_at_ks.uiuc.edu
>>
>>
>> On Tue, Mar 11, 2014 at 04:21:07PM +0100, Simon Etter wrote:
>>>
>>> Hi John
>>>
>>> Did as you told me:
>>>
>>> $ glxgears
>>> X Error of failed request: BadAlloc (insufficient resources for
>>> operation)
>>> Major opcode of failed request: 154 (GLX)
>>> Minor opcode of failed request: 3 (X_GLXCreateContext)
>>> Serial number of failed request: 21
>>> Current serial number in output stream: 23
>>>
>>>
>>> On 11/03/14 16:10, John Stone wrote:
>>>>
>>>> Hi,
>>>> What X server are you running on your remote machine?
>>>> It would seem from the messages below that your X server has some issues
>>>> with support for GLX protocol (remote OpenGL). Can you run 'glxgears'
>>>> remotely on the same setup?
>>>>
>>>> Cheers,
>>>> John Stone
>>>> vmd_at_ks.uiuc.edu
>>>>
>>>> On Tue, Mar 11, 2014 at 01:31:17PM +0100, Simon Etter wrote:
>>>>>
>>>>> Hi!
>>>>>
>>>>> I have a remote compute server on which I would like to run VMD and
>>>>> stream
>>>>> the GUI to my local screen. Every time I start the application, it
>>>>> crashes
>>>>> with the following error report:
>>>>>
>>>>> Info) VMD for LINUXAMD64, version 1.9.1 (February 1, 2012)
>>>>> Info) http://www.ks.uiuc.edu/Research/vmd/
>>>>> Info) Email questions and bug reports to vmd_at_ks.uiuc.edu
>>>>> Info) Please include this reference in published work using VMD:
>>>>> Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual
>>>>> Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38.
>>>>> Info) -------------------------------------------------------------
>>>>> Info) Multithreading available, 48 CPUs detected.
>>>>> Info) Free system memory: 102376MB (79%)
>>>>> Warning) Detected a mismatch between CUDA runtime and GPU driver
>>>>> Warning) Check to make sure that GPU drivers are up to date.
>>>>> Info) No CUDA accelerator devices available.
>>>>> Warning) Detected X11 'Composite' extension: if incorrect display
>>>>> occurs
>>>>> Warning) try disabling this optional X server feature.
>>>>> XRequest.154: BadAlloc (insufficient resources for operation) 0x17
>>>>> XRequest.154: GLXBadContext 0x3800001
>>>>> Segmentation fault
>>>>>
>>>>> I heard from other users of the same server that they did not have any
>>>>> problems, so I assume this must be an issue on my local machine.
>>>>>
>>>>> Any hint on how I could fix this?
>>>>>
>>>>> Regards,
>>>>> Simon
>>>>>
>>>>> --------------
>>>>> Further points:
>>>>>
>>>>> I connect to the server using ssh -X.
>>>>> Opening remote xterm and gnuplot windows works.
>>>>> Local X windows version: 1.13.0
>>>>
>>>>
>>
>

-- 
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.