Closed a-vassily closed 8 months ago
Maybe this is related? #19
Also i think i've heard other people say that it doesn't work in docker-desktop.
Try installing docker using this guide. https://docs.docker.com/engine/install/fedora/
There are X11 errors so maybe the KWin XWayland behaviour is different?
You could try always running the xhost
command in the zwift.sh
script.
As quietvoid suggests on my 2 Fedora Workstations running with wayland zwift only run with the xhost +local:$($CONTAINER_TOOL inspect --format='{{ .Config.Hostname }}' $CONTAINER)
Interesting. I tested it on Sway and it wasn't necessary for me. Maybe it would be best to always use it?
Feel free to add this to the zwift.sh if it has no negative impact on other users.
On Sat, Nov 4, 2023 at 11:46 AM quietvoid @.***> wrote:
Interesting. I tested it on Sway and it wasn't necessary for me. Maybe it would be best to always use it?
— Reply to this email directly, view it on GitHub https://github.com/netbrain/zwift/issues/36#issuecomment-1793409706, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACTNC4ZPKBWGRAYVVGXXVTYCYMHPAVCNFSM6AAAAAA6LEIUQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQYDSNZQGY . You are receiving this because you commented.Message ID: @.***>
Commenting the IF-Statement did the trick for me.
Fedora 38 with podman 4.7
might have been related to #44
Fedora installation when executing the image via docker desktop it dies [vassily@fedora ~]$ inxi -G Graphics: Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel Device-2: Chicony Integrated Camera driver: uvcvideo type: USB Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9 compositor: kwin_wayland driver: N/A resolution: 1536x864 API: EGL v: 1.5 drivers: iris,swrast platforms: wayland,x11,surfaceless,device API: OpenGL v: 4.6 vendor: intel mesa v: 23.1.8 renderer: Mesa Intel UHD Graphics 620 (WHL GT2) API: Vulkan v: 1.3.243 drivers: intel,llvmpipe surfaces: xcb,xlib,wayland
Docker log: 2023-10-22 23:46:28 + ZWIFT_HOME='/home/user/.wine/drive_c/Program Files (x86)/Zwift' 2023-10-22 23:46:28 + mkdir -p '/home/user/.wine/drive_c/Program Files (x86)/Zwift' 2023-10-22 23:46:28 + cd '/home/user/.wine/drive_c/Program Files (x86)/Zwift' 2023-10-22 23:46:28 + '[' '' = update ']' 2023-10-22 23:46:28 ++ ls -A . 2023-10-22 23:46:28 + '[' '!' 'ANT_DLL.dll 2023-10-22 23:46:28 APR2007_xinput_x64.cab 2023-10-22 23:46:28 APR2007_xinput_x86.cab 2023-10-22 23:46:28 BleWin10Lib.dll 2023-10-22 23:46:28 BleWin10Lib_V2.dll 2023-10-22 23:46:28 CloseLauncher.exe 2023-10-22 23:46:28 DSETUP.dll 2023-10-22 23:46:28 DXSETUP.exe 2023-10-22 23:46:28 Feb2010_X3DAudio_x64.cab 2023-10-22 23:46:28 Feb2010_X3DAudio_x86.cab 2023-10-22 23:46:28 Jun2010_XAudio_x64.cab 2023-10-22 23:46:28 Jun2010_XAudio_x86.cab 2023-10-22 23:46:28 Launcher_ver_cur.xml 2023-10-22 23:46:28 Patcher.dll 2023-10-22 23:46:28 VC_redist.x64.exe 2023-10-22 23:46:28 WebView2Loader.dll 2023-10-22 23:46:28 Webview2Setup.exe 2023-10-22 23:46:28 Windows ANT Dongle Driver 2023-10-22 23:46:28 ZwiftApp.exe 2023-10-22 23:46:28 ZwiftHelper.exe 2023-10-22 23:46:28 ZwiftLauncher.exe 2023-10-22 23:46:28 ZwiftLauncher.exe.config 2023-10-22 23:46:28 ZwiftSetup.exe 2023-10-22 23:46:28 ZwiftWindowsCrashHandler.exe 2023-10-22 23:46:28 Zwift_1.0.122008_7f860a4e_manifest.xml 2023-10-22 23:46:28 Zwift_ver_cur.xml 2023-10-22 23:46:28 Zwift_ver_cur_filename.txt 2023-10-22 23:46:28 assets 2023-10-22 23:46:28 bink2w64.dll 2023-10-22 23:46:28 data 2023-10-22 23:46:28 dotnet-v4.7.2-installer.exe 2023-10-22 23:46:28 dsetup32.dll 2023-10-22 23:46:28 dxupdate.cab 2023-10-22 23:46:28 unins000.dat 2023-10-22 23:46:28 unins000.exe' ']' 2023-10-22 23:46:28 + echo 'starting zwift...' 2023-10-22 23:46:28 + wine64 start ZwiftLauncher.exe SilentLaunch 2023-10-22 23:46:28 starting zwift... 2023-10-22 23:46:29 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 2023-10-22 23:46:29 0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 2023-10-22 23:46:29 0050:err:systray:initialize_systray Could not create tray window 2023-10-22 23:46:30 ++ winedbg --command 'info proc' 2023-10-22 23:46:30 ++ grep -P ZwiftLauncher.exe 2023-10-22 23:46:30 ++ grep -oP '^\s\K.+?(?=\s)' 2023-10-22 23:46:30 0148:err:ole:CoGetContextToken apartment not initialised 2023-10-22 23:46:30 + LAUNCHER_PID_HEX=00000134 2023-10-22 23:46:30 + LAUNCHER_PID=308 2023-10-22 23:46:30 + [[ -f /home/user/Zwift/.zwift-credentials ]] 2023-10-22 23:46:30 + wine64 start /exec /bin/runfromprocess-rs.exe 308 ZwiftApp.exe 2023-10-22 23:46:31 0138:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer" 2023-10-22 23:46:31 + sleep 3 2023-10-22 23:46:31 0198:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 2023-10-22 23:46:31 0198:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 2023-10-22 23:46:32 0138:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 2023-10-22 23:46:32 0138:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 2023-10-22 23:46:33 ALSA lib confmisc.c:767:(parse_card) cannot find card '0' 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory 2023-10-22 23:46:33 ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default 2023-10-22 23:46:33 ALSA lib confmisc.c:767:(parse_card) cannot find card '0' 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name 2023-10-22 23:46:33 ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory 2023-10-22 23:46:33 ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory 2023-10-22 23:46:33 ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default 2023-10-22 23:46:34 + pgrep ZwiftApp.exe 2023-10-22 23:46:34 + echo 'Killing uneccesary applications' 2023-10-22 23:46:34 + pkill ZwiftLauncher 2023-10-22 23:46:34 Killing uneccesary applications
alternatively when executing "zwift" command nothing happens:
vassily@fedora ~]$ CONTAINER_TOOL=docker zwift
What's Next? View a summary of image vulnerabilities and recommendations → docker scout quickview docker.io/netbrain/zwift:latest
I dont understand what is missing.