http://bugs.winehq.org/show_bug.cgi?id=27185
Summary: PC Mark 7 doesn't run under Wine Product: Wine Version: 1.3.20 Platform: x86 URL: http://www.gamershell.com/news_116756.html OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Appears to be a .NET 4 application: austin@aw25 ~/.wine/drive_c/Program Files/Futuremark/PCMark 7/bin $ wine PCMark7.exe fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not <assembly> fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0.20926"
though installing mono210 doesn't seem to help. Windows version was set to Windows 7, but XP had the same problem.
http://bugs.winehq.org/show_bug.cgi?id=27185
Citiroller@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Citiroller@gmail.com
--- Comment #1 from Citiroller@gmail.com 2012-11-14 11:39:45 CST --- (In reply to comment #0)
Appears to be a .NET 4 application: austin@aw25 ~/.wine/drive_c/Program Files/Futuremark/PCMark 7/bin $ wine PCMark7.exe fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not
<assembly> fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0.20926"
though installing mono210 doesn't seem to help. Windows version was set to Windows 7, but XP had the same problem.
Hey, this bug will also appear in wine 1.4. But don't worry. You just have to install .NET 4 via winetricks and follow the instructions. The first installation will fail like winetricks announced it. But then you have to run "deinstall/change" wine applications. There you have to choose .NET 4 an cklick "change/remove". Then the install shield of .NET 4 will appear. There you have to select repair and run it. That's it. After that .NET should be installed fine and this error wont appear another time.
I hope I could help.
https://bugs.winehq.org/show_bug.cgi?id=27185
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.45 or later?
https://bugs.winehq.org/show_bug.cgi?id=27185
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |mscoree Summary|PC Mark 7 doesn't run under |Futuremark PC Mark 7 (.NET |Wine |4.0 app) fails to run with | |Wine-Mono
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary/fields to target Wine-Mono here.
There are a couple of interesting issues I found with this app using MS .NET Framework 4.0. I've split them off, see bug 38756 as start.
For Wine-Mono investigate whatever you want here...
Regards
https://bugs.winehq.org/show_bug.cgi?id=27185
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/n |https://www.techpowerup.com |ews_116756.html |/download/futuremark-pcmark | |-7/
https://bugs.winehq.org/show_bug.cgi?id=27185
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.techpowerup.com |https://web.archive.org/web |/download/futuremark-pcmark |/20190429065049/http://us1- |-7/ |dl.techpowerup.com/files/w5 | |ZIeMF4YJ_8H-8G9f6b3w/155652 | |1232/PCMark_7_v140_installe | |r.exe Keywords|Abandoned? | Summary|Futuremark PC Mark 7 (.NET |Futuremark PC Mark 7 (.NET |4.0 app) fails to run with |4.0 app) fails to run with |Wine-Mono |Wine-Mono | |(mscoree:get_runtime | |Unrecognized version | |L"v4.0.20926")
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
I've created a snapshot of one of the download mirrors via Internet Archive:
https://www.techpowerup.com/download/futuremark-pcmark-7/
https://web.archive.org/web/20190429065049/http://us1-dl.techpowerup.com/fil...
---- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Futuremark/PCMark 7/bin
$ WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x wine ./PCMark7.exe 0009:fixme:mscoree:get_runtime Unrecognized version L"v4.0.20926" --- snip ---
Nifty one-liner to dump .NET metadata header (showing CLR version etc.):
--- snip --- $ find . -type f ( -iname "*.dll" -or -iname "*.exe" ) | xargs -i file {} | grep assembly | cut -f1 -d: | xargs -IX sh -c "echo "X" && (hexdump -C "X" | grep BSJB -B0 -C2)" ./BenchmarkUtility.dll 0000e4c0 00 0a 2a 00 42 53 4a 42 01 00 01 00 00 00 00 00 |..*.BSJB........| 0000e4d0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..| 0000e4e0 00 00 05 00 6c 00 00 00 70 81 00 00 23 7e 00 00 |....l...p...#~..| ./x64/BenchmarkUtility.dll 0000e4c0 00 0a 2a 00 42 53 4a 42 01 00 01 00 00 00 00 00 |..*.BSJB........| 0000e4d0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..| 0000e4e0 00 00 05 00 6c 00 00 00 70 81 00 00 23 7e 00 00 |....l...p...#~..| ./x64/WICImage.exe 0001cf60 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0001cf70 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0001cf80 6c 00 00 00 04 d0 02 00 23 7e 00 00 70 d0 02 00 |l.......#~..p...| ./x64/Sleeper.exe 000004a0 2a 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |*...BSJB........| 000004b0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..| 000004c0 00 00 05 00 6c 00 00 00 b8 03 00 00 23 7e 00 00 |....l.......#~..| ./x64/TextEditing.exe 0006ca60 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0006ca70 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0006ca80 6c 00 00 00 2c 00 05 00 23 7e 00 00 98 00 05 00 |l...,...#~......| ./x64/MFPlayback.exe 0001ada0 81 f0 09 0f 7e 50 ee fb 42 53 4a 42 01 00 01 00 |....~P..BSJB....| 0001adb0 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 0001adc0 31 39 00 00 00 00 05 00 6c 00 00 00 7c 1d 01 00 |19......l...|...| ./x64/WebBrowser.exe 0001a960 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0001a970 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0001a980 6c 00 00 00 94 7a 00 00 23 7e 00 00 00 7b 00 00 |l....z..#~...{..| ./x64/CNGCrypto.exe 00012c60 80 14 01 40 01 00 00 00 42 53 4a 42 01 00 01 00 |...@....BSJB....| 00012c70 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00012c80 31 39 00 00 00 00 05 00 6c 00 00 00 08 ea 00 00 |19......l.......| ./x64/MFFastXcode.exe 00018d60 92 49 e8 cd 10 fd ec 96 42 53 4a 42 01 00 01 00 |.I......BSJB....| 00018d70 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00018d80 31 39 00 00 00 00 05 00 6c 00 00 00 7c 17 01 00 |19......l...|...| ./x64/Firefly.exe 0000fdc0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0000fdd0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0000fde0 6c 00 00 00 14 d8 00 00 23 7e 00 00 80 d8 00 00 |l.......#~......| ./x64/DX10.exe 0000fa90 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0000faa0 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0000fab0 6c 00 00 00 60 d6 00 00 23 7e 00 00 cc d6 00 00 |l...`...#~......| ./WICImage.exe 00019250 30 b5 46 00 10 00 00 00 42 53 4a 42 01 00 01 00 |0.F.....BSJB....| 00019260 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00019270 31 39 00 00 00 00 05 00 6c 00 00 00 c8 98 02 00 |19......l.......| ./Sleeper.exe 000004a0 2a 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |*...BSJB........| 000004b0 0c 00 00 00 76 34 2e 30 2e 33 30 33 31 39 00 00 |....v4.0.30319..| 000004c0 00 00 05 00 6c 00 00 00 b8 03 00 00 23 7e 00 00 |....l.......#~..| ./PCMarkEssence.dll 00006c10 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 00006c20 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 00006c30 6c 00 00 00 28 3a 00 00 23 7e 00 00 94 3a 00 00 |l...(:..#~...:..| ./StorageTracePlayback.exe 0001e8f0 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0001e900 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0001e910 6c 00 00 00 f8 1f 01 00 23 7e 00 00 64 20 01 00 |l.......#~..d ..| ./TextEditing.exe 00051800 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 00051810 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 00051820 6c 00 00 00 1c 8b 04 00 23 7e 00 00 88 8b 04 00 |l.......#~......| ./MFPlayback.exe 00019870 40 07 44 00 10 00 00 00 42 53 4a 42 01 00 01 00 |@.D.....BSJB....| 00019880 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00019890 31 39 00 00 00 00 05 00 6c 00 00 00 50 01 01 00 |19......l...P...| ./WebBrowser.exe 00014730 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 00014740 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 00014750 6c 00 00 00 0c 75 00 00 23 7e 00 00 78 75 00 00 |l....u..#~..xu..| ./WebBrowser2.exe 00001050 50 41 44 50 b4 00 00 00 42 53 4a 42 01 00 01 00 |PADP....BSJB....| 00001060 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00001070 31 39 00 00 00 00 05 00 6c 00 00 00 90 0b 00 00 |19......l.......| ./CNGCrypto.exe 00011480 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 00011490 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 000114a0 6c 00 00 00 60 b4 00 00 23 7e 00 00 cc b4 00 00 |l...`...#~......| ./PCMark7Cmd.exe 00025c30 a7 cd 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........| 00025c40 0c 00 00 00 76 34 2e 30 2e 32 30 39 32 36 00 00 |....v4.0.20926..| 00025c50 00 00 05 00 6c 00 00 00 91 69 00 00 23 53 74 72 |....l....i..#Str| ./PCMark7.exe 001d0060 00 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........| 001d0070 0c 00 00 00 76 34 2e 30 2e 32 30 39 32 36 00 00 |....v4.0.20926..| 001d0080 00 00 05 00 6c 00 00 00 94 8b 00 00 23 53 74 72 |....l.......#Str| ./MFFastXcode.exe 00017610 40 ec 43 00 10 00 00 00 42 53 4a 42 01 00 01 00 |@.C.....BSJB....| 00017620 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 00017630 31 39 00 00 00 00 05 00 6c 00 00 00 a8 fb 00 00 |19......l.......| ./Firefly.exe 0000ed40 42 53 4a 42 01 00 01 00 00 00 00 00 0c 00 00 00 |BSJB............| 0000ed50 76 34 2e 30 2e 33 30 33 31 39 00 00 00 00 05 00 |v4.0.30319......| 0000ed60 6c 00 00 00 14 a6 00 00 23 7e 00 00 80 a6 00 00 |l.......#~......| ./DX10.exe 0000ea20 b0 b3 42 00 10 00 00 00 42 53 4a 42 01 00 01 00 |..B.....BSJB....| 0000ea30 00 00 00 00 0c 00 00 00 76 34 2e 30 2e 33 30 33 |........v4.0.303| 0000ea40 31 39 00 00 00 00 05 00 6c 00 00 00 88 a4 00 00 |19......l.......| --- snip ---
Main assembly metadata:
--- snip --- // Assembly PCMark7, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null // MVID: 2BEA72EF-67D4-480E-931A-84A4E05F471E // Assembly references: // PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 // System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // Module references: // user32.dll // kernel32.dll // ole32.dll
[assembly: AssemblyTitle("PCMark 7")] [assembly: TargetFramework(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName = ".NET Framework 4 Client Profile")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("PCMark 7")] [assembly: SuppressIldasm] [assembly: NotDecompile] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Futuremark Corporation")] [assembly: AssemblyTrademark("")] [assembly: CompilationRelaxations(8)] [assembly: ComVisible(false)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyFileVersion("1.4.0.0")] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] [assembly: AssemblyCopyright("Copyright © Futuremark Corporation 2011-2013")] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: AssemblyVersion("1.4.0.0")] --- snip ---
Apparently some "genius" built the main executables to target some early .NET Framework 4.0 pre-release. v4.0.20926 is something in between beta1 and beta2. Wine-Mono doesn't recognize it.
You can work around by creating 'PCMark7.exe.config' with following content in application directory:
--- snip --- <configuration> <startup> <supportedRuntime version="v4.0.30319"/> </startup> </configuration> --- snip ---
It will then hit bug 24501 ("wine-mono does not support WPF")
--- snip --- $ wine ./PCMark7.exe The entry point method could not be loaded due to Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. --- snip ---
$ sha1sum PCMark_7_v140_installer.exe ba2069a206024b6d3e268a1ad289a19771971ab0 PCMark_7_v140_installer.exe
$ du -sh PCMark_7_v140_installer.exe 307M PCMark_7_v140_installer.exe
$ wine --version wine-4.7
Regards
https://bugs.winehq.org/show_bug.cgi?id=27185
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- ILASM on windows has a nifty feature where you can pass in /mdv=4.0.20926, or any version you desire. It seems that on windows, any 4.0 revision <= 30319 is accepted.
Unfortunately, Mono's ILASM doesn't support this flag, so I can't easily write a test for this behavior directly.
https://bugs.winehq.org/show_bug.cgi?id=27185
--- Comment #6 from Vincent Povirk madewokherd@gmail.com --- Should be fixed by https://source.winehq.org/git/wine.git/commit/6ee29c048cbbd6291e672a0c9b4ecd...
Not sure if we should resolve this bug or make it a duplicate of 24501.
https://bugs.winehq.org/show_bug.cgi?id=27185
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |6ee29c048cbbd6291e672a0c9b4 | |ecdf0f770673c
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello Vincent,
--- quote --- Should be fixed by https://source.winehq.org/git/wine.git/commit/6ee29c048cbbd6291e672a0c9b4ecd...
Not sure if we should resolve this bug or make it a duplicate of 24501. --- quote ---
yes, it's fixed and it should be treated as separate issue. Thanks.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Futuremark/PCMark 7/bin
$ wine ./PCMark7.exe
The entry point method could not be loaded due to Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. --- snip ---
$ wine --version wine-4.8-202-g61aea5a987
Regards
https://bugs.winehq.org/show_bug.cgi?id=27185
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.9.
https://bugs.winehq.org/show_bug.cgi?id=27185
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=27185
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #9 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.