Re: JOGL using mesa driver and xvfb
Posted by Zoltan on Apr 08, 2013; 1:36pm
URL: https://forum.jogamp.org/JOGL-using-mesa-driver-and-xvfb-tp4027504p4028938.html
Thanks, this helped me a lot!
This is what I did on an Ubuntu 12.04 LTS:
1. I had to install libxxf86vm1 and libgl1-mesa-swrast.
2. I installed flex, bison, python-libxml2 and tried Mesa-9.1 from source (the latest one).
3. I also installed libx11-dev, libxcb-glx0-dev, xorg-dev, libx11-xcb-dev, libxcb-dri2-0-dev, libxcb-xfixes0-dev and libdrm-dev for Mesa-9.1, but finally it turned out that this Mesa was too fresh for my Ubuntu. Since I was unable to finalize the configure process due to "Requested 'libdrm_radeon >= 2.4.42' but version of libdrm_radeon is 2.4.39" dependency error, I used Mesa-8.0.5 instead from ftp://ftp.freedesktop.org/pub/mesa/8.0.5/.
5. I had to install xutils-dev and llvm-dev finally to have all prerequisites for Mesa-8.0.5 to work.
6. I needed "./configure --enable-xlib-glx --disable-dri" to compile Mesa and then install it as root with "make install".
After this I was able to run my JOGL2 application in xvfb. I don't know too much about speed because I start it for exporting a file. So there is not much to do with JOGL for my application at the moment.