On Thu, Feb 8, 2018 at 8:42 AM, donoban <dono...@riseup.net> wrote:
> On 02/06/2018 04:02 PM, billol...@gmail.com wrote:
>> I've installed Qubes 4 rc4 on an external hard drive.  It works
>> pretty well.  However, I tried to run a game "FreeOrion" and
>> received the following error using the "personal" vm:
>>
>> **************** Unable to create window.
>>
>> SDL reported: GLX is not supported **************
>>
>
> If the game needs 3D acceleration it will not run on an AppVM or HVM.
> You can try with VGA passtrough but is not easy to achieve.

However... just because there's no hardware acceleration does *not*
mean that 3d in AppVMs is impossible.

Depending on the application, software-only 3d rendering may be
sufficient. Many games (especially older and/or indie ones) are indeed
still playable, and 3d cad stuff is also often usable.

There are several software implementations of the OpenGL, etc. APIs,
most notably llvmpipe, softpipe, and (open)swr. Search the qubes-users
archives for these, and look for posts from Vít Šesták. [1]

The software implementations tend to lag behind actual GPUs in terms
of the subset of the OpenGL API that they actually support. More info
at [2]

Which renderer is used is controlled by setting envirionment variables
interpreted by mesa/gallium drivers. For example, to make some games
run I've had to lie about the supported OpenGL version by setting
MESA_GL_VERSION_OVERRIDE and MESA_GLSL_VERSION_OVERRIDE, or switch the
renderer with LIBGL_ALWAYS_SOFTWARE and GALLIUM_DRIVER. I'm not going
to list any specific values here since they would quickly become out
of date. Instead, refer to the documentation about these env vars at
[3] and play with them yourself. You may find the glxinfo command from
the glx-utils package useful to make sure your env vars are having the
intended effect.

Regards,
Jean-Philippe

[1]: https://groups.google.com/forum/#!searchin/qubes-users/llvmpipe%7Csort:date
[2]: https://mesamatrix.net/
[3]: https://www.mesa3d.org/envvars.html

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABQWM_AN3YEfAxZMxCGRs-EeQEfLDrorSVTszKR%2Byu7T__XueA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to