Setting up jogl on headless linux server with EDL driver
I have the code below in my java application. I am trying to run this application on a headless ubuntu 18.04 server with nvidia tesla v100 GPUs. Currently the only way I can get this to run successfully is if I have Xvfb running a virtual display. But the code isn't actually using the nvidia GPU's. when I print out vendor and renderer info I get "VMware, Inc." and
"llvmpipe (LLVM 9.0, 256 bits)"... I've done some reading and I should not even have to have Xvfb running if EGL driver is being used but I can't get my code to run without Xvfb. How can I use/properly setup JOGL with EGL driver?
Re: Setting up jogl on headless linux server with EDL driver
At first, your source code isn't a SSCCE, it can't help, especially if the culprit is elsewhere.
Secondly, you use VMWare, the problem might come from VMWare, we can't support all hypervisors and it's a proprietary solution, I won't investigate any further. As far as I know, VirtualBox should work. VMWare and Citrix don't always support hardware acceleration, it depends on the offer you chose and on the settings.
Finally, I know that you can create a GLWindow using an offscreen surface (FBO), maybe it's what you need.