Zwift

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Zwift

Post by Jammie »

I'm trying to get Zwift to run on wine, but I'm struggling. The minimum requirements are Windows 7, 64-bit, and .NET Framework (Though I'm not 100% sure which version)

My setup is

Code: Select all

$ wine --version
wine-4.0-rc1

$ winetricks -V
20181203 - sha256sum: 
2e32c987b5dd0ddd3e0836290d9561e7f251ca080248f53050cc84c27d4bbd18
And my setup attempt is

Code: Select all

wget https://cdn.zwift.com/app/ZwiftSetup.exe
env WINEPREFIX=$HOME/.winezwift wineboot --init
env WINEPREFIX=$HOME/.winezwift winetricks --unattended dotnet472; env WINEPREFIX=$HOME/.winezwift wineserver -k
env WINEPREFIX=$HOME/.winezwift winetricks win7
env WINEPREFIX=$HOME/.winezwift wine64 ~/Downloads/ZwiftSetup.exe; env WINEPREFIX=$HOME/.winezwift wineserver -k
Already at this stage I get this error message
This application could not be started. You must enable the .NET Framework from the Windows Features dialog box (from Control Panel choose Programs, turn Windows features on or off)
So I installed .NET Framework 3.5 SP1 using

Code: Select all

env WINEPREFIX=$HOME/.winezwift winetricks --unattended dotnet35sp1; env WINEPREFIX=$HOME/.winezwift wineserver -k
And I get further, but the installer exits with this error message

Code: Select all

0032:err:msi:execute_script Execution of script 0 halted; action L"[C:\\windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Web.Mobile.dll;835584<=>S-1-5-21-0-0-0-1000<=>{C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F}]CA_InstallAssemblyDef.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603
0032:err:msi:ITERATE_Actions Execution halted, action L"InstallExecute" returned 1603
00e6:fixme:heap:RtlSetHeapInformation 0x480000 0 0x46f360 4 stub
01a4:fixme:heap:RtlSetHeapInformation 0x480000 0 0x35f360 4 stub
0032:err:msi:execute_script Execution of script 2 halted; action L"[\"C:\\windows\\Microsoft.NET\\Framework64\\v2.0.50727\\RegSvcs.exe\" /bootstrapu;14<=>S-1-5-21-0-0-0-1000<=>{C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F}]CA_ComregEnterpriseServicesRB.3643236F_FC70_11D3_A536_0090278A1BB8" returned 1603
However, if I attempt to launch ZwiftLauncher.exe I get a different error message this time

Code: Select all

0012:err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
0012:err:module:attach_dlls Importing dlls for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
000f:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
0014:err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found
0014:err:module:attach_dlls Importing dlls for L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
000f:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_64" failed to start: 1053
002e:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"ZwiftLauncher.exe" cannot be loaded
002e:err:module:attach_dlls Importing dlls for L"C:\\Program Files (x86)\\Zwift\\ZwiftLauncher.exe" failed, status c0000135
Is there anyone that has any pointers, or could help me get Zwift running on wine?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

Jammie wrote:...
Is there anyone that has any pointers, or could help me get Zwift running on wine?
Perhaps a 32-bit WINEPREFIX and .Net Framework 4.0.x would be a good test/ starting point?
E.g.:

Code: Select all

export WINEPREFIX=$HOME/.winezwift32
WINEARCH="win32" wineboot -u
winetricks dotnet40
wine start /unix ~/Downloads/ZwiftSetup.exe
Assuming the application isn't 'really' 64-bit only??
Definitely worth a shot, even if they specify that a 64-bit Windows OS is required!

Otherwise use a 64-bit WINEPREFIX:

Code: Select all

export WINEPREFIX=$HOME/.winezwift
wineboot -u
winetricks dotnet40
wine start /unix ~/Downloads/ZwiftSetup.exe
But that tends to be even more flaky than .Net frameworks installed to a 32-bit WINEPREFIX...

You might also want to test with Wine Staging - this sometimes gives me better results with .Net-based applications.

Also Wine has used Windows 7, as the default WINEPREFIX Windows version, since Wine version 2.2.

Bob
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

So I tried with a 32-bit prefix, and the installer itself doesn't appear to be a 64-bit application. I ran the following (I use fish shell, so setting environment variables is a little different than bash)

Code: Select all

set -x WINEPREFIX $HOME/.winezwift32
set -x WINEARCH win32
wineboot -u
winetricks dotnet40
wine start /unix ~/Downloads/ZwiftSetup.exe
I get this error message
Unable to find a version of the runtime to run this application
I tried again with wine-staging, and also with a 64-bit prefix, but got the same error message.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

@Jammie

All Windows installers are 32-bit.
They switch to 64-bit mode, if installing a 64-bit application.

Re-setup the 32-bit WINEPREFIX, but don't install anything:

Code: Select all

set -x WINEPREFIX $HOME/.winezwift32
set -x WINEARCH win32
wineboot -u
Then remove wine-mono from this WINEPREFIX:

Code: Select all

wine uninstaller
Then re-try installing the application:

Code: Select all

wine start /unix ~/Downloads/ZwiftSetup.exe
Please post any terminal output from running this command...
Especially complaints about missing .Net framework versions!

Thanks
Bob
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

Here's the complete terminal output after following your instructions

Code: Select all

$ wine start /unix ~/Downloads/ZwiftSetup.exe 
000b:fixme:winediag:start_process Wine Staging 4.0-rc1 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
002a:fixme:process:SetProcessDEPPolicy (1): stub
002c:fixme:process:SetProcessDEPPolicy (1): stub
002c:fixme:win:DisableProcessWindowsGhosting : stub
002c:fixme:graphics:ShutdownBlockReasonDestroy (0x10082): stub
002c:fixme:graphics:ShutdownBlockReasonCreate (0x10082, L"Installing"): stub
002c:fixme:rstrtmgr:RmStartSession 0x49d3f4, 0, 0x49d3f8 stub!
002c:fixme:graphics:ShutdownBlockReasonDestroy (0x10082): stub
002c:fixme:graphics:ShutdownBlockReasonCreate (0x10082, L"Installing Zwift."): stub
002c:fixme:msg:ChangeWindowMessageFilterEx 0x10092 c048 1 (nil)
002c:fixme:msg:ChangeWindowMessageFilterEx 0x1009a c048 1 (nil)
002c:fixme:msg:ChangeWindowMessageFilterEx 0x2009a c048 1 (nil)
002c:fixme:shell:SHAutoComplete stub
002c:fixme:explorerframe:taskbar_list_SetProgressValue iface 0xab8e18, hwnd 0x10082, ullCompleted 0, ullTotal 5d1 stub!
002c:fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\Zwift\\unins000.exe") stub
002c:fixme:explorerframe:taskbar_list_SetProgressState iface 0xab8e18, hwnd 0x10082, flags 0 stub!
0034:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
0036:err:ntdll:NtQueryInformationToken Unhandled Token Information class 26!
0038:fixme:sfc:SRSetRestorePointA 0x33fab0 0x59e6c4
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
0038:fixme:wintrust:SOFTPUB_VerifyImageHash Cannot verify hash for pszObjId="1.3.6.1.4.1.311.2.1.25"
003a:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
002c:fixme:graphics:ShutdownBlockReasonDestroy (0x10082): stub
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

Jammie wrote:Here's the complete terminal output after following your instructions
...
So the application installs OK? (Quietly extracts teeth... :roll: )

Typically an application doesn't use any .Net framework API calls during the installer...

So what about a log from running the installed application (assuming it installed)?

Bob
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

I attempted to start ZwiftLauncher.exe, and if fails with the error message
Unable to find a version of the runtime to run this application
The complete output from the command line is

Code: Select all

$ wine "C:\Program Files\Zwift\ZwiftLauncher.exe"
000b:fixme:winediag:start_process Wine Staging 4.0-rc1 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

After upgrading to Wine Staging 4.0-rc2 I managed to get a little bit farther (and confirm that Zwift requires a 64-bit install). I ran the following

Code: Select all

set -x WINEPREFIX $HOME/.winezwift32
set -x WINEARCH win32
winetricks dotnet35sp1
And I get this error message. If I try the same thing in a 64-bit prefix, I get this error and kernel dump

Code: Select all

wine "C:\Program Files (x86)\Zwift\ZwiftLauncher.exe"; wineserver -k
000b:fixme:winediag:start_process Wine Staging 4.0-rc2 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
001c:fixme:heap:RtlSetHeapInformation 0x240000 0 0x23e740 4 stub
001f:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x7a03261a, 0x115e28, {e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 14, 0x7a3bee40, (null), (null), 0x7a3bdc70): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {044973cd-251f-4dff-a3e9-9d6307286b05}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {3044f61a-99b0-4c21-b203-d39423c73b00}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {d00792da-07b7-40f5-97eb-5d974e054740}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {cfc4ba53-fb42-4757-8b70-5f5d51fee2f4}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {efdf1eac-1d5d-4e84-893a-19b80f692176}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {c71408de-42cc-4f81-9c93-b8912abf2a0f}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {840c8456-6457-4eb7-9cd0-d28f01c64f5e}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {c424b3e3-2ae0-416e-a039-410c5d8e5f14}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {300ce105-86d1-41f8-b9d2-83fcbff32d99}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {561410f5-a138-4ab3-945e-516483cddfbc}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {15447a14-b523-46ae-b75b-023f900b4393}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {b17304d9-5afa-4da6-9f7b-5a4fa73129b6}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {02d08a4f-fd01-4538-989b-03e437b950f4}
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {861f5339-19d6-4873-b350-7b03228bda7c}
0009:fixme:ntdll:EtwRegisterTraceGuidsW (0x7a030638, 0x115e28, {cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 1, 0x7a3bee38, (null), (null), 0x7a3bdc78): stub
0009:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {ea40c74d-4f65-4561-bb26-656231c8967f}
0009:fixme:thread:SetThreadStackGuarantee (0x33fcd0): stub
0009:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
0036:err:ole:CoGetContextToken apartment not initialised
0009:fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework"
0009:fixme:msvcrt:__clean_type_info_names_internal (0x60345094) stub
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
001f:fixme:service:QueryServiceConfig2W Level 6 not implemented
0019:fixme:service:QueryServiceConfig2W Level 6 not implemented
001f:fixme:service:QueryServiceConfig2W Level 6 not implemented

Unhandled Exception: 0009:fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
0009:fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. File not found.
File name: 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

wine: Unhandled exception 0xe0434f4d in thread 9 at address 0x7b43e2f3 (thread 0009), starting debugger...
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: 0xe0434f4d in 32-bit code (0x7b43e2f3).
003a:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b43e2f3 ESP:0033fd34 EBP:0033fdb8 EFLAGS:00000212(   - --  I   -A- - )
 EAX:7b42a5d1 EBX:80070002 ECX:0033fd60 EDX:0033fdf4
 ESI:7b64b000 EDI:e0434f4d
Stack dump:
0x0033fd34:  0033fd4c 79eda750 019830d4 79e7d9c5
0x0033fd44:  00123a30 790c1000 e0434f4d 00000001
0x0033fd54:  00000000 7b43e2f3 00000001 80070002
0x0033fd64:  79e7ff53 00000038 0033fd88 79e7ff9c
0x0033fd74:  00000038 00123a30 0033fdf4 790c1000
0x0033fd84:  02000038 0033fd98 79e80024 0033fda0
Backtrace:
=>0 0x7b43e2f3 GetFirmwareEnvironmentVariableW+0x143() in kernel32 (0x0033fdb8)
  1 0x79eda91c EntryPoint+0x26c2b() in mscorwks (0x0033fe1c)
  2 0x79f39e44 EntryPoint+0x86153() in mscorwks (0x0033fe54)
  3 0x7a0057ac EntryPoint+0x151abb() in mscorwks (0x0033fea0)
  4 0x79007c24 EntryPoint+0x449f() in mscoree (0x0033feb0)
  5 0x7b464889 call_process_entry+0x18() in kernel32 (0x0033fed8)
  6 0x7b466c40 ExitProcess+0x23a3() in kernel32 (0x0033ffd8)
  7 0x7b46489a call_process_entry+0x29() in kernel32 (0x0033ffec)
0x7b43e2f3 GetFirmwareEnvironmentVariableW+0x143 in kernel32: addl	$12,%esp
Modules:
Module	Address			Debug info	Name (86 modules)
PE	  400000- 1538000	Deferred        zwiftlauncher
PE	64020000-64033000	Deferred        mscorsec
PE	641f0000-6420e000	Deferred        shfusion
PE	79000000-79046000	Export          mscoree
PE	790c0000-79bb7000	Deferred        mscorlib.ni
PE	79e70000-7a400000	Export          mscorwks
ELF	7b400000-7b7fc000	Dwarf           kernel32<elf>
  \-PE	7b420000-7b7fc000	\               kernel32
ELF	7bc00000-7bd40000	Deferred        ntdll<elf>
  \-PE	7bc40000-7bd40000	\               ntdll
ELF	7c000000-7c005000	Deferred        <wine-loader>
ELF	7cbaf000-7cbf0000	Deferred        rsaenh<elf>
  \-PE	7cbc0000-7cbf0000	\               rsaenh
ELF	7cbf0000-7cc5a000	Deferred        dbghelp<elf>
  \-PE	7cc00000-7cc5a000	\               dbghelp
ELF	7cc5a000-7cc75000	Deferred        imagehlp<elf>
  \-PE	7cc60000-7cc75000	\               imagehlp
ELF	7cc75000-7cc96000	Deferred        bcrypt<elf>
  \-PE	7cc80000-7cc96000	\               bcrypt
ELF	7cc96000-7cd6b000	Deferred        crypt32<elf>
  \-PE	7cca0000-7cd6b000	\               crypt32
ELF	7cd6b000-7cda1000	Deferred        wintrust<elf>
  \-PE	7cd70000-7cda1000	\               wintrust
ELF	7cda1000-7cddc000	Deferred        uxtheme<elf>
  \-PE	7cdb0000-7cddc000	\               uxtheme
ELF	7cf97000-7cfd3000	Deferred        libexpat.so.1
ELF	7cfd3000-7d10d000	Deferred        libglib-2.0.so.0
ELF	7d10d000-7daf4000	Deferred        shell32<elf>
  \-PE	7d120000-7daf4000	\               shell32
ELF	7db45000-7db4d000	Deferred        libxfixes.so.3
ELF	7db4d000-7db99000	Deferred        libfontconfig.so.1
ELF	7db99000-7dc11000	Deferred        libpcre.so.1
ELF	7dc11000-7dd09000	Deferred        libharfbuzz.so.0
ELF	7dd09000-7dd23000	Deferred        libz.so.1
ELF	7dd23000-7dd63000	Deferred        libpng16.so.16
ELF	7dd63000-7dd75000	Deferred        libbz2.so.1.0
ELF	7dd75000-7de45000	Deferred        libfreetype.so.6
ELF	7de45000-7de59000	Deferred        libxi.so.6
ELF	7de59000-7de68000	Deferred        libxrandr.so.2
ELF	7de68000-7de76000	Deferred        libxrender.so.1
ELF	7de76000-7dea2000	Deferred        libxcb.so.1
ELF	7dea2000-7dfef000	Deferred        libx11.so.6
ELF	7dff6000-7e002000	Deferred        libxcursor.so.1
ELF	7e02d000-7e0c1000	Deferred        winex11<elf>
  \-PE	7e040000-7e0c1000	\               winex11
ELF	7e0c1000-7e108000	Deferred        usp10<elf>
  \-PE	7e0d0000-7e108000	\               usp10
ELF	7e108000-7e247000	Deferred        comctl32<elf>
  \-PE	7e110000-7e247000	\               comctl32
ELF	7e247000-7e264000	Deferred        aclui<elf>
  \-PE	7e250000-7e264000	\               aclui
ELF	7e264000-7e2ec000	Deferred        rpcrt4<elf>
  \-PE	7e270000-7e2ec000	\               rpcrt4
ELF	7e2ec000-7e44b000	Deferred        ole32<elf>
  \-PE	7e300000-7e44b000	\               ole32
ELF	7e44b000-7e471000	Deferred        shcore<elf>
  \-PE	7e450000-7e471000	\               shcore
ELF	7e471000-7e538000	Deferred        msvcr80<elf>
  \-PE	7e490000-7e538000	\               msvcr80
ELF	7e538000-7e668000	Deferred        gdi32<elf>
  \-PE	7e550000-7e668000	\               gdi32
ELF	7e668000-7e876000	Deferred        user32<elf>
  \-PE	7e680000-7e876000	\               user32
ELF	7e876000-7e8e9000	Deferred        shlwapi<elf>
  \-PE	7e880000-7e8e9000	\               shlwapi
ELF	7e8e9000-7e966000	Deferred        advapi32<elf>
  \-PE	7e900000-7e966000	\               advapi32
ELF	7e966000-7e9d6000	Deferred        libncursesw.so.6
ELF	7e9da000-7e9ef000	Deferred        libxext.so.6
ELF	7e9ef000-7ea14000	Deferred        imm32<elf>
  \-PE	7ea00000-7ea14000	\               imm32
ELF	7eee0000-7eef5000	Deferred        libnss_files.so.2
ELF	7eef5000-7efc2000	Deferred        libm.so.6
ELF	7efc5000-7efcf000	Deferred        libuuid.so.1
ELF	7efcf000-7efea000	Deferred        version<elf>
  \-PE	7efe0000-7efea000	\               version
ELF	7efea000-7f000000	Deferred        wow64cpu<elf>
  \-PE	7eff0000-7f000000	\               wow64cpu
ELF	f7b11000-f7b18000	Deferred        libxxf86vm.so.1
ELF	f7b1a000-f7b20000	Deferred        libdl.so.2
ELF	f7b51000-f7b58000	Deferred        libxdmcp.so.6
ELF	f7b58000-f7b5d000	Deferred        libxau.so.6
ELF	f7b5e000-f7d3b000	Deferred        libc.so.6
ELF	f7d3b000-f7d5c000	Deferred        libpthread.so.0
ELF	f7d5c000-f7f31000	Dwarf           libwine.so.1
ELF	f7f33000-f7f5d000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Zwift\ZwiftLauncher.exe
	["C:\Program Files (x86)\Zwift\ZwiftLauncher.exe"]
	00000036    2
	00000035    0
	00000009    0 <==
0000000e services.exe
	00000038    0
	00000037    0
	0000002e    0
	00000029    0
	00000023    0
	0000001d    0
	00000015    0
	00000012    0
	0000000f    0
00000010 explorer.exe
	00000034    0
	00000033    0
	00000032    0
	00000011    0
00000013 mscorsvw.exe
	[C:\windows\Microsoft.NET\Framework\v2.0.50727\mscorsvw.exe]
	0000001a    0
	00000019    0
	00000018    0
	00000014    0
0000001b mscorsvw.exe
	00000020    0
	0000001f    0
	0000001e    0
	0000001c    0
00000021 winedevice.exe
	00000026    0
	00000025    0
	00000024    0
	00000022    0
00000027 plugplay.exe
	0000002b    0
	0000002a    0
	00000028    0
0000002c winedevice.exe
	00000031    0
	00000030    0
	0000002f    0
	0000002d    0
0000003b explorer.exe
	0000003f    0
	0000003e    0
	0000003d    0
	0000003c    0
System information:
    Wine build: wine-4.0-rc2 (Staging)
    Platform: i386 (WOW64)
    Version: Windows 7
    Host system: Linux
    Host version: 4.19.8-arch1-1-ARCH
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

@Jammie

Does:

Code: Select all

winetricks dotnet30sp1
help at all? (In the 64-bit WINEPREFIX).

You will need to fix this error:

Code: Select all

0009:err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption
And yes that helpful error message is telling you what native (probably 32-bit) Linux library you are missing: libgnutls

According to: MSDN GetFirmwareEnvironmentVariableW function; GetFirmwareEnvironmentVariableW() will fail on a legacy BIOS system.

So I don't think that is the primary issue. Since there is an earlier crash, when loading the .Net framework (which could just be a missing crypto library).

This GetFirmwareEnvironmentVariableW() function is currently a NOP, under Wine:

Code: Select all

/***********************************************************************
 *              GetFirmwareEnvironmentVariableW         (KERNEL32.@)
 */
DWORD WINAPI GetFirmwareEnvironmentVariableW(LPCWSTR name, LPCWSTR guid, PVOID buffer, DWORD size)
{
    FIXME("stub: %s %s %p %u\n", debugstr_w(name), debugstr_w(guid), buffer, size);
    SetLastError(ERROR_INVALID_FUNCTION);
    return 0;
}
Bob
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

I can't install dotnet30sp1 (or dotnet30) in a 64-bit WINEPREFIX (even with --force). I get the following error.

Code: Select all

This package (dotnet30sp1) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32.
I used this article to install all possibly required dependencies. Afterwards I still get the same .NET Framework error message

Code: Select all

0036:err:ole:CoGetContextToken apartment not initialised
0009:fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework"
0009:fixme:msvcrt:__clean_type_info_names_internal (0x60345094) stub

Unhandled Exception: 0009:fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
0009:fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources"
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. File not found.
File name: 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

Jammie wrote:I can't install dotnet30sp1 (or dotnet30) in a 64-bit WINEPREFIX (even with --force). I get the following error.

Code: Select all

This package (dotnet30sp1) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=win32.
...
@Jammie

Yup, confirmed here. So we've effectively hit a brick wall.
I suggest filing a bug report at this point: WineHQ Bugzilla.
Using the terminal log from your test with a 64-bit WINEPREFIX and wine-mono.

Bob
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Zwift

Post by DarkShadow44 »

I can confirm that it doesn't work. Please open a bug report (when there is not already one) and link it here.
Jammie
Level 1
Level 1
Posts: 7
Joined: Mon Dec 10, 2018 3:26 pm

Re: Zwift

Post by Jammie »

I've opened Bug 46313. If you've got any further relevant information, please add it there.

Thank you for all the help in diagnosing this issue Bob Wya
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Zwift

Post by Bob Wya »

Jammie wrote:I've opened Bug 46313. If you've got any further relevant information, please add it there.

Thank you for all the help in diagnosing this issue Bob Wya
np... 8)
I just wish it was better news... But native .Net framework support, under Wine, is pretty poor. :cry:

Bob
Locked