Re: [qubes-users] Problem with Qubes4 rc4 -- "GLX is not supported."

2018-02-11 Thread Jean-Philippe Ouellet
On Thu, Feb 8, 2018 at 8:42 AM, donoban  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.


Re: [qubes-users] Problem with Qubes4 rc4 -- "GLX is not supported."

2018-02-11 Thread Yuraeitha
On Saturday, February 10, 2018 at 4:26:12 PM UTC+1, bill...@gmail.com wrote:
> Thanks.  That's what I needed to know.

You're welcome (: I know the feeling, it would suck to do so much work only to 
find out it's not feasible or possible. 

Maybe dual-boot or have two computers can solve your needs until it becomes 
possible in Qubes? 

I know it sucks, I grapple with this issue my self as well. The day high-end 
graphics becomes available on Qubes OS, will truly be an amazing day, just for 
the ability to ditch a second laptop/desktop for high-end graphics alone... 
uhue... 

btw, there is some discussion on dual-boot with Qubes that you may read up on 
if you haven't done so already. There are risks associated with it, but it may 
only be risks for high profile attacks, currently at least. So it may be 
justified to dual-boot still. However, even if a low profile target, it can put 
some ease of mind to get rid of as many attack vectors as possible. I guess it 
depends on personality on how to grabble and go about the risk factors, so it's 
up to the individual on what is feeling better to do after considering the risk 
factor.

You can also dual-boot with, say, Fedora, and then virtualize, say, Windows, on 
Fedora. It might not be as perfect as on Qubes OS, but if you dual-boot with 
Fedora, and keep Windows virtualized inside Fedora, at least it should reduce 
some attack vectors, albeit, not all of them.

-- 
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/1be7a8a1-cf27-4a35-951a-1d6eb146cd5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Problem with Qubes4 rc4 -- "GLX is not supported."

2018-02-08 Thread donoban
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

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.
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAlp8U7wACgkQFBMQ2OPt
CKX0sA//biGyKJr+FgLi2ZDkg6TnzvHOipO0rrKEsvttA2FqRW2CNe3IYBen3tiM
QdYQvw4fbxMEtNIWZnk0B+5em0ZF28g44kw32p0p+GFu0kxGAKN6hdBxdrI/9vVT
09vZ4+hdgoTzcH+cSvQW3x5lo3CFYg2SqkycU8TlBXhfU9BqQNv502is+rY7kLmu
Pt5E+HEMPjEnxyDAm79NiqAjf9I9JBrph++Ti5EkbOLfxIjSOCss8tnIg+/nioXh
Nn6QgSTas4uzn7nQ3c1/emBK7cUQaVPi1udSjcnaJtGguWi6N/8uDBbfHUwbt761
Cg41K870rE6iSYpDqNHa+Un5h3vDhzsIEE7E0MneXQ/pG2K8aDGzZ9BL3QOFCa/M
bQoLzL6biXL2vK9av8gBOGb1IB756Zfwu56zCkFWT3dTnA4LRJYPrlqygumJoFG+
nOhagTJcMljuFcCWwZhphuQR14hfThm1h5bpeqATrMJp6dq1ro64EE4nuerm8iNK
9Dlwu8eNxp2TLqQwvZ4nT7QzcvA8TyHJqeqRmbLnOdNHpwJIbmnixPYqgwiScOmc
WXhGNwoc88oAwlr5+dJ1eJHJxJEWvgam6Xjozs6H5P3qYYXCDeiI4uKRiO7tCEJF
2Z5snT/hqJCmVc8rZPbEiSgFAJq6NIanlzmDEq2Rcm1HlQnd4XI=
=vetq
-END PGP SIGNATURE-

-- 
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/6b5f3773-9f57-3376-3c61-732172ab1e74%40riseup.net.
For more options, visit https://groups.google.com/d/optout.