I have written a QT gui application that can also be run in a command-line server mode.
My workstation is configured for normal desktop gui usage and the application works fine when launched from the X desktop session, running the app in either gui mode or server mode.
But I want to optionally run my app remotely, from an ssh terminal, in its server mode.
I’m beginning to think I need to do some custom nvidia-xsession tweaking.
The qt app launches in my ssh session using the qt
-platform offscreen arguments but can not initialize opengl.
I have been able to run the app using xvfb-run (without -platform offscreen) which then initializes OpenGL ES but reports that GLSL 3.30 is supported. I am looking to get the full capabilities of OpenGL 4.x drivers on my Pascal (1080) gpu.
Is xvfb-run an appropriate path for this use case or have I hit a dead end at GL ES?
Is there some lower level config that will enable my app to run in this mode?