xpra icon
Bug tracker and wiki

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#2430 closed defect (invalid)

Xvfb, xpra with scaling factor doesn't support hardware accelerated opengl

Reported by: Thermi Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: core Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

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.

Change History (3)

comment:1 Changed 2 months ago by Antoine Martin

Description: modified (diff)
Resolution: invalid
Status: newclosed

See wiki/Usage/OpenGL, in particular vglrun.

comment:2 Changed 2 months ago by Thermi

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?

comment:3 Changed 2 months ago by Antoine Martin

Do I use vglrun as exec-wrapper?

You can do that, yes.
Or just vglrun yourapp.

Before running with xpra?

No.

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?

https://virtualgl.org/Documentation/Documentation.

Last edited 2 months ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.