Login  Register

Re: JOGL using mesa driver and xvfb

Posted by sranger on Dec 14, 2012; 2:49pm
URL: https://forum.jogamp.org/JOGL-using-mesa-driver-and-xvfb-tp4027504p4027518.html

I installed libosmesa6:amd64. The ubuntu package repo said libgl-mesa-swx11 contained libgl1-mesa-swrast and apt-get said libosmesa6 replaced it. glxinfo now gives me an "Error: unable to open display" message and my java app has the same exception as before. I know it's probably not a jogl issue but I hoped someone here would know how to set up offscreen, software rendering.

Thanks for the help; hopefully, if you're willing to debug this with me, we can figure it out. I posted the dpkg -l *mesa* output below if it helps.


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                   Architecture              Description
+++-========================================-=========================-=========================-=====================================================================================
ii  libg3dvl-mesa                            9.1~git1212131047.200bb3~ amd64                     xvmc and vdpau Gallium3D video acceleration drivers
ii  libgl1-mesa-dri:amd64                    9.1~git1212131047.200bb3~ amd64                     free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                    9.1~git1212131047.200bb3~ amd64                     free implementation of the OpenGL API -- GLX runtime
ii  libglapi-mesa:amd64                      9.1~git1212131047.200bb3~ amd64                     free implementation of the GL API -- shared library
ii  libglu1-mesa:amd64                       9.0.0-0ubuntu1            amd64                     Mesa OpenGL utility library (GLU)
ii  libosmesa6:amd64                         9.1~git1212131047.200bb3~ amd64                     Mesa Off-screen rendering extension
ii  mesa-utils                               8.0.1+git20110129+d8f7d6b amd64                     Miscellaneous Mesa GL utilities


- Stephen


 - Stephen