Code Monkey home page Code Monkey logo

Comments (11)

danquantum avatar danquantum commented on June 14, 2024

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.

netbrain avatar netbrain commented on June 14, 2024

What UID/GID does your running user have? what is the output of id -u; id -g ?

from zwift.

netbrain avatar netbrain commented on June 14, 2024

I think #20 fixes this. Can you give it a spin @danquantum ?

from zwift.

danquantum avatar danquantum commented on June 14, 2024

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.

netbrain avatar netbrain commented on June 14, 2024

from zwift.

netbrain avatar netbrain commented on June 14, 2024

from zwift.

netbrain avatar netbrain commented on June 14, 2024

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.

danquantum avatar danquantum commented on June 14, 2024

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.

quietvoid avatar quietvoid commented on June 14, 2024

@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.

danquantum avatar danquantum commented on June 14, 2024

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.

netbrain avatar netbrain commented on June 14, 2024

from zwift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.