-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D Graphics init fails #47
Comments
Hi @adeliktas, which nested X11 did sandwine auto-detect and use for --x11 with you — X2Go nxagent or Xephyr or Xnest? |
x11 is running --nxagent the others are not available and --host-x11-danger-danger isn't working i did try to pass multiple paths, but even when allowing full drive access with rw it will fail, so i suspect the problem lies elsewhere. i tried to troubleshoot the resulting bwrap and --unshare-all or rather --unshare-net is causing the issue.
So |
Hi @adeliktas I cannot confirm that access to X would need network, e.g. |
I am also able to open other graphical apps like calculator. |
@adeliktas thanks for the update, interesting. I have zero experience with Wayland, and my desktop environment is XFCE. I could try playing with the windows binaries of AssaultCube at some point, but my machines have non-gaming Intel graphics cards so it will take some luck and also some time. Any more details about the specific blocker in your setup will be helpful, and also reproducers crafted with |
I tried to run some lightweight app/game in an isolated sandwine environment with no network (like firejail --net=none) and restricted file access and not having to spin up gaming vm.
sandwine --x11 --dotwine ~/.wine:rw --pulseaudio --pass "/mnt/foo/games/randomgame":rw randomgame.exe
running the apps with sandwine fails when init. graphics. for Direct3D, OpenGL, ...
AssaultCube fatal error: Unable to create OpenGL screen (No matching GL pixel format available)
vulkan: No DRI3 support detected - required for presentation
0160:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
0160:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
0160:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 0000000000AA47E0.
Xlib: extension "MIT-SHM" missing on display ":4".
...
Running the game via wine with ~/.wine wineprefix is working fine.
AMD Radeon RX 6600 XT
Gentoo 6.7.3
gnome-44.3 XWayland
wine-9.0 (Staging)
bubblewrap 0.8.0
The text was updated successfully, but these errors were encountered: