I'm trying to use a rescaled xpra window with an Xvfb server to run an opengl application which doesn't support running at my native screen resolution (only supports up to 1080p, my display has 2160p). I can see in
perf top that the application falls back to using swrast_dri.so, instead of radeonsi_dri.so. This means the software renderer is used instead of the hardware backed renderer for the system's AMD GPU.
Trying to enable opengl using the command line switch doesn't do anything and using the virgl exec-wrapper fails with "File not found" in the xpra log or with an unknown error.
I use run_scaled to run the application.
See wiki/Usage/OpenGL, in particular
This doesn't really help me as the instructions are not detailed enough. Do I use
vglrun as exec-wrapper? Before running with xpra? Does this work with scaling factors? Is it hardware dependent? Are there any detailed guides available?
Do I use vglrun as exec-wrapper?
You can do that, yes.
Before running with xpra?
Does this work with scaling factors?
virtualgl has nothing to do with scaling, vglrun just gives you opengl acceleration by delegating the opengl commands to a real GPU. The scaling comes from xpra.
Are there any detailed guides available?
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2430