-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat(server): Add Vulkan and Xwayland support (#6)
## Description **What(what issue does this code solve/what feature does it add):** We have no display server inside the container, nor Vulkan which will later be required by dxvk/d3d11/d3d12 in order to play games using Proton. **How(how does it solve it):** 1. We added vulkan and Xwayland packages into `server.Dockerfile` , then tested with running `vkcube` and `vulkaninfo` after running an interactive bash shell inside the container. ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
- Loading branch information
1 parent
bf403fb
commit 17d497e
Showing
2 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#This fixes the error where x11-apps in docker cannot seem to access the hosts DISPLAY server | ||
# Error: No protocol specified | ||
# Error: Can't open display: :10.0 | ||
#https://askubuntu.com/a/1470341 //Run it on host OS | ||
xhost +Local:* | ||
xhost | ||
|
||
#Fun fact Weston won't run if you do not have Wayland running on the host (i have yet to try running with Xwayland inside the container) | ||
#Run weston using your host's X11 display server | ||
weston --backend=x11-backend.so | ||
|
||
#Run inside the terminal of the weston you just created... cool right? | ||
weston --backend=wayland-backend.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters