Disable direct rendering for a specific application

Posted on

I need to disable direct rendering for an application launched from the 7.5 desktop terminal. I have tried using:

$ LIBGL_ALWAYS_SOFTWARE=1 (application name)

But this does not set it to use software rendering.

Below is glxinfo from the ssh session which works:
name of display: localhost:10.0
display: localhost:10 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: Open Text

and desktop terminal session which does not:
name of display: :11.0
display: :11 screen: 0
direct rendering: Yes
server glx vendor string: SGI

Ideally I would like this to be set globally.

Responses