updated wine to newer version, replaced xvfb with weston wayland that is using Xwayland. also switching from WineD3D to inbuilt vulkan support through DXVK which is send to weston using lavapipe instead of llvmpipe
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
# notes
|
||||
|
||||
### uses gstreamer, xvfb, a signaling server, html, docker and cloudflare serverless SFU.
|
||||
### uses gstreamer, weston, lavapipe, css inbuilt DXVK, vulkan, a signaling server, html, docker and cloudflare serverless SFU.
|
||||
|
||||
docker rm css-test
|
||||
docker build -t css-client .
|
||||
@@ -11,11 +11,14 @@ docker build -t css-client .
|
||||
## pre installment step for signaling-server
|
||||
cd ~/webclient_css_ze/streaming-agent && npm install
|
||||
|
||||
## pre shader creation for mounting
|
||||
touch /home/gameservers/webclient_css_ze/dxvk-cache
|
||||
|
||||
## first run
|
||||
./start-signaling.sh
|
||||
|
||||
## second run
|
||||
docker run -d --name css-test -e SIG_URL=ws://172.17.0.1:3000 -e CONTAINER_NAME=css-test -e CF_APP_ID= -e CF_APP_TOKEN= -e CAP_FPS=60 -e CAP_W=800 -e CAP_H=600 --cpus="8.0" -v /home/gameservers/css_ze/cstrike/maps:/home/ubuntu/Counter-Strike\ Source/cstrike/maps:ro -v /home/gameservers/css_ze/cstrike/materials:/home/ubuntu/Counter-Strike\ Source/cstrike/materials:ro -v /home/gameservers/css_ze/cstrike/models:/home/ubuntu/Counter-Strike\ Source/cstrike/models:ro -v /home/gameservers/css_ze/cstrike/sound:/home/ubuntu/Counter-Strike\ Source/cstrike/sound:ro css-client
|
||||
docker run -d --name css-test -e SIG_URL=ws://172.17.0.1:3000 -e CONTAINER_NAME=css-test -e CF_APP_ID= -e CF_APP_TOKEN= -e CAP_FPS=60 -e CAP_W=800 -e CAP_H=600 --cpus="8.0" -v /home/gameservers/css_ze/cstrike/maps:/home/ubuntu/Counter-Strike\ Source/cstrike/maps:ro -v /home/gameservers/css_ze/cstrike/materials:/home/ubuntu/Counter-Strike\ Source/cstrike/materials:ro -v /home/gameservers/css_ze/cstrike/models:/home/ubuntu/Counter-Strike\ Source/cstrike/models:ro -v /home/gameservers/css_ze/cstrike/sound:/home/ubuntu/Counter-Strike\ Source/cstrike/sound:ro -v /home/gameservers/webclient_css_ze/dxvk-cache:/home/ubuntu/Counter-Strike\ Source/cstrike_win64.dxvk-cache css-client
|
||||
|
||||
## docker logs -f css-test
|
||||
## pkill -f signaling-server.js
|
||||
@@ -23,9 +26,13 @@ docker run -d --name css-test -e SIG_URL=ws://172.17.0.1:3000 -e CONTAINER_NAME=
|
||||
|
||||
## to change screen resolution:
|
||||
### autoexec.cfg -> mat_setvideomode 800 600 0
|
||||
### start.sh -> Xvfb :99 -screen 0 800x600x24 &
|
||||
### start.sh -> weston --backend=headless-backend.so --width=800 --height=600 --no-config &
|
||||
|
||||
## the nosteam.zip is 4.7GB and the wine_user_folder.zip is 420MB, they are not intended to be uploaded to git generally.
|
||||
## the wine_user_folder.zip is just the generic .wine folder that would be created. the nosteam.zip is the Counter Strike Source folder for nosteam when using 7launcher.
|
||||
## the nosteam.zip and the wine_user_folder.zip are not intended to be uploaded to git.
|
||||
## the wine_user_folder.zip is just the generic .wine folder that is used. the nosteam.zip is the Counter Strike Source folder for nosteam when using 7launcher.
|
||||
## However both are uploaded to the unloze fastdownload over at: https://uk-fastdl.unloze.com/css_ze/webclient_zips/
|
||||
## of course if you view this repository 7-10 years later in the future theres a good chance the url is probably not working any longer.
|
||||
|
||||
## the client launches the game with -vulkan parameter specified in the rev.ini.
|
||||
|
||||
## CSS DirectX9 → built-in DXVK → Vulkan → Wine Wayland driver → Weston (lavapipe/llvmpipe) → Xwayland → X11 → ximagesrc capture for gst_agent
|
||||
|
||||
Reference in New Issue
Block a user