Comments (11)
In my attempt to install and run the container nothing shows up on the first run after install, then after adding the --userns keep-id option it displays an error stating that neither Documents or Desktop folders are accessible for writing, and after doing a chmod 777 on all files in ~/.config/zwift it again doesn't display anything. I tried it on a Fedora 37 and Wayland with proprietary nvidia driver installed (yes, I installed the nvidia-container-toolkit). I really hoped your solution would work as I also tried to manually install .Net 4.7.2 runtime, Edge, WebView2 and Zwift directly on the system using WineHQ with no success either (it does display a message box with "Error" and an ok button).
from zwift.
What UID/GID does your running user have? what is the output of id -u; id -g
?
from zwift.
I think #20 fixes this. Can you give it a spin @danquantum ?
from zwift.
Gosh, you were too fast, thank you.
What UID/GID does your running user have? what is the output of
id -u; id -g
?
the usual 1000:1000 as I am the only user on the system.
I think #20 fixes this. Can you give it a spin @danquantum ?
I did, it did not complain anymore so I think the access issue is fixed, but it still doesn't display anything on the screen on my system. It might have something to do with the graphics, I don't know, I kinda let Zwift go after trying the mobile app as well (using scrcpy by your suggestion) and seeing how poorly it connects to the sensors (which makes it pretty much unplayable).
Just to give some info on the behavior, the container simply stops after displaying "non-network local connections being added to access control list" and if I look in the zwift logs inside the shared volume I can't figure a good reason for it:
Launcher_log.txt:
[20:39:21 2023-09-13] Launcher: This is an AutoStartup Launch.
[20:39:21 2023-09-13] Launcher: Auto Startup is Enabled.
[20:39:21 2023-09-13] Launcher: Launcher Version Number 1.1.10
[20:39:21 2023-09-13] Launcher: Initializing UI Components
Log.txt:
...
[20:39:22] DEBUG LEVEL: Close file 0x41ba2630
[20:39:22] DEBUG LEVEL: Open assets/gearing/gearing.wad in file 0x41ba2630
[20:39:22] Unable to open WAD file "assets/gearing/gearing.wad".
[20:39:22] ERROR: Could not load wad file: assets/gearing/gearing.wad (maybe it has something to do with this?)
[20:39:22] DEBUG LEVEL: Open assets/haptic/fittech_haptic.wad in file 0x41ba2630
[20:39:22] Loading WAD file 'assets/haptic/fittech_haptic.wad' with file.
[20:39:22] DEBUG LEVEL: Close file 0x41ba2630
[20:39:22] ERROR: Sky::Load(): Japan not found
[20:39:22] ERROR: Sky::Load(): Japan not found
[20:39:22] ERROR: Sky::Load(): France not found
from zwift.
from zwift.
from zwift.
Docker seems to fair better than podman. Maybe you could try docker instead as well?
Regarding connectivety issues with treadmill and roller, this app can't help you with that. In both scenarios, scrcpy and wine instance you will still have to rely on your handheld for the Bluetooth part.
Another option for you if this isn't good enough. You could try running a full fledged subdued machine (kvm) with GPU passthru or vgpu (Nvidia) and combining this with lookinglass is actually a pretty good setup. In addition you probably want to passthrough a bluetooth controller. Been experimenting myself a bit with libvirt and win11 with vgpu passthrough and can run Zwift pretty comfortable within the virtual machine. Performance is however better still with wine, but for connectivety you might get a better experience with going down this route. No guarantees tho since I haven't tried that part of it.
from zwift.
Maybe I'll try some of your hints on the side, I also have a Win10 on kvm but didn't play too much with the GPU passthrough in the past. Thank you for your efforts in the attempt to make this work seamlessly for Linux users as well, I think Zwift should also step up their game a little and not just rely on web content rendered in WebView for UX, maybe even make it compatible with Steam.
Momentarily I can train using mywhoosh on the phone and scrcpy for screen and sound casting to my laptop (thanks again for this suggestion). It's not great but it works, as I said I had terrible connection issues with the sensors using the same setup and Zwift.
from zwift.
@danquantum You shouldn't need WebView2 if you start the launcher in silent mode:
wine64 start ZwiftLauncher.exe SilentLaunch
The current docker image was updated to always do that, but it should work in regular Linux environment too.
It does sound like most podman
issues are filesystem permissions related.
from zwift.
Thanks @quietvoid, I tried starting in silent mode using wine outside container and the result is the same as I got previously, a small popup appears saying "Zwift Error" and nothing else. It's probably related to my system specs and setup but let's not reopen the thread. You and @netbrain were both wonderful and sorry for not investigating more but I gave up on Zwift at the moment, in the end what I care about is doing workouts during the cold season and not about Zwift in particular.
from zwift.
from zwift.
Related Issues (20)
- pulseaudio doesn't work after running zwift HOT 20
- Feature Request: Adding --net=host to allow for Ethernet/wifi trainers HOT 2
- Podman UID and GID HOT 3
- Update not working anymore in GH actions HOT 9
- Latest commit unable to find /bin/run_zwift.sh - How is podman supposed to get this entrypoint? HOT 10
- Zwift_push gh action is still failing HOT 3
- When using ZWIFT_UID/ZWIFT_GID in Docker does not work under wayland HOT 3
- update_zwift.sh could be further refactored into several files HOT 1
- Zwift not GPU accelerated without change to VGA_DEVICE_FLAG
- Using ant+ via the companion app HOT 3
- No access to Documents / Downloads folder when launching zwift HOT 2
- Latest update require wine to run the docker image HOT 43
- User settings not persistent anymore HOT 16
- 1.62.0 makes Zwift slow/laggy HOT 2
- Container crashes on wayland. Works on X: err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. HOT 24
- Fix the "How can I add custom .zwo files?" section in the README HOT 1
- Permission denied for groupmod with podman HOT 4
- Refactor script to separate out starting and updating zwift HOT 3
- [HELP] With latest update, Zwift no longer launches. HOT 4
- Github workflow error: Error response from daemon: Could not find the file /bin/setup_and_run_zwift.sh in container zwift HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zwift.