Open Pieman711 opened 4 months ago
Hello @Pieman711, can you test how this game behaves with Proton Experimental?
I've updated the report above to fill in some more details.
I've tried with proton 8 and proton eperimental. Both times it gets to the same point but instead of crashing back to steam it freeze and then I get a dialogue asking if I want to "wait" or "force quit". I don't get a log for it then. Is there anyway to get a log output even if I force quit?
with proton-GE 6 it doesn't start at all and I think this may be the error
wine: failed to open L"C:\windows\system32\steam.exe": c0000135 1362.189:00f4:00f8:trace:module:FindResourceExW 0000000140000000 #0006 #0007 0000 1362.189:00f4:00f8:trace:module:LoadResource 0000000140000000 000000014000A188 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: Module not found.
I've found the problem with not getting logs when the programme freezes rather than crashes. If I use PROTON_LOG=1 rather than WINDDEBG it works properly and I get logs.
When I use Proton 8, 9 or experimental the game doesn't crash/close at that point but does hang/freeze.
The log file for this was about 300mb big, but seemed to be the same 255 lines repeating over and over. This is the output immediately before the recurring 255 lines of log:
1780.731:0124:0128:trace:loaddll:build_module Loaded L"Z:\media\data\steamlibrary\steamapps\common\Franchise Hockey Manager 10\texttospeech\qtexttospeech_sapi.dll" at 00006FFFFBB20000: native 1780.732:0124:0128:trace:loaddll:build_module Loaded L"C:\windows\system32\Speech\Common\sapi.dll" at 00006FFFFBAC0000: builtin 1780.732:0124:0128:fixme:sapi:spvoice_SetInterest (000000001407BBD8, 24000fffe, 24000fffe): stub. 1780.732:0124:0128:fixme:sapi:spvoice_SetNotifyCallbackInterface (000000001407BBD8, 0000000001A5CE90, 0, 0): stub. 1780.733:0124:0128:fixme:sapi:data_key_EnumValues stub 1780.733:0124:0128:warn:seh:OutputDebugStringW L"ISpDataKey::EnumValues failed\n"
this is the recurring lines of log output:
steam-2384610_recurring_snippet.log
I tried with the launch options: WINEDLLOVERRIDES=sapi=d nd WINEDLLOVERRIDES=sapi=N
and it would revert to the previous behaviour with the crash rather than the freeze, and the log looked like how it did with the proton 5.10 log at the top of this report.
I'm sure the issue is the text to speech part and the sapi.dll, but could wrong.
I think I've cracked it!
The issue is the texttospeech dll that's included with the game. Deleting the dll file seems to stop it crashing or hanging. It means the text to speech function won't work, but it's a big improvement than not running at all.
The "fix" seems to be to remove:
qtexttospeech-sapi-dll
(or rename it qtexttospeech-sapi-dll.BACKUP)
from the path: steamlibrary\steamapps\common\Franchise Hockey Manager 10\texttospeech\
(alternatively you can use the launch option:
WINEDLLOVERRIDES=qtexttospeech-sapi-dll=d
To have the same effect)
then it appears to behave properly!
I haven't had a full play to see if there are any other errors, but if this was fixed more formally I think it would make the game 100% playable
As far as I can see it now works flawlessly on my ubuntu computer, but there are some serious graphic glitches on my steam deck (players, stadium, puck, goals not displayed. It's a grey screen with a logo in the middle). Do I need to open that as a new issue or continue working through it here?
More testing and pouring through logs...
I think the issue may be how the steam deck handles QPainter. I see this issue in the deck log that I don't see in the Ubuntu log (where the graphics render properly)
QPainter::begin paint device returned engine == 0, type 2.
Does anyone have a suggestion as to why this may only happen on the deck?
I've deleted and reinstalled the game and the graphics bug has gone. It's not a steam deck/proton issue after all.
With the workaround above to disable the text to speech dll it now seems to work perfectly on the deck and Ubuntu.
Compatibility Report
System Information Steam deck without modification
I confirm:
steam-2384610.log
Symptoms
The game runs fine, unless you try to watch a simulated ice hockey match. It then crashes completely.
I wonder if the issue is to do with the text to speech API this is the start of the backtrace: =>0 0x0000000003ee4774 EntryPoint+0xffffffffffffffff() in qtexttospeech_sapi (0x0000000000219d39)
It looks like text to speech was added for the part of the game where it crashes in the iteration of the game prior to this one (FHM9)
Reproduction
This is fully reproduceable. It happens on my steam deck and on my PC.
Steps to reproduce: Happens any time a game is "watched" rather than autosimulated but the quickest way to reproduce is: start game select "new exhibition game" click play click continue click play game
this is when it crashes
I've also attached a log where the programme hasn't crashed (opened and closed the game properly without attempting to watch a game).
steam-2384610_NO_CRASH.log
Here is the part of the log from the unhandled exception from when it did crash:
``` 546.817:00b8:00bc:trace:module:LdrGetDllHandle L"C:\\windows\\system32\\steamclient64.dll" -> 0x64c80000 (load path L"Z:\\media\\data\\steamlibrary\\steamapps\\common\\Franchise Hockey Manager 10;C:\\windows\\system32;C:\\windows\\system;C:\\windows;C:\\Program Files (x86)\\Steam;.;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem;C:\\windows\\system32\\WindowsPowershell\\v1.0") Unhandled exception: page fault on read access to 0x00000000 in 64-bit code (0x0000000003ee4774). 546.824:0188:018c:fixme:dbghelp:elf_search_auxv can't find symbol in module 546.853:0188:018c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6 546.854:0188:018c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6 Register dump: rip:0000000003ee4774 rsp:0000000000219c90 rbp:0000000000219d39 eflags:00010206 ( R- -- I - -P- ) rax:0000000080004001 rbx:00000000128ba8f0 rcx:00000000128ba8f0 rdx:0000000000219e40 rsi:0000000001478f80 rdi:0000000000000000 r8:0000000000000000 r9:0000000000000030 r10:0000000000000010 r11:0000000000000000 r12:0000000000219e90 r13:000000000021a3a8 r14:0000000000219ef0 r15:0000000141373270 Stack dump: 0x0000000000219c90: 0000000000000000 0000000000000000 0x0000000000219ca0: 0000000000000000 0000000000000000 0x0000000000219cb0: 00000000014600a8 0000000000000000 0x0000000000219cc0: 0000000000000000 000000000ea70000 0x0000000000219cd0: 0000000000000000 0000000000000000 0x0000000000219ce0: 0000000000000000 0000000000000000 0x0000000000219cf0: 0000000000000000 0000000000000000 0x0000000000219d00: 0000000000000000 0000000000000000 0x0000000000219d10: 0000000000000000 0000000000000000 0x0000000000219d20: 0000000000000000 0000000000000000 0x0000000000219d30: 0000000000000000 0000000000000000 0x0000000000219d40: 00000000128ba8f0 0000000000219e90 Backtrace: =>0 0x0000000003ee4774 EntryPoint+0xffffffffffffffff() in qtexttospeech_sapi (0x0000000000219d39) 1 0x0000000003ee2231 EntryPoint+0xffffffffffffffff() in qtexttospeech_sapi (0x0000000000219fb0) 2 0x0000000003ee148d EntryPoint+0xffffffffffffffff() in qtexttospeech_sapi (0x0000000000219fb0) 3 0x00000000011119cc EntryPoint+0xffffffffffffffff() in qt5texttospeech (0x0000000000219fb0) 4 0x0000000140c988b7 in fhm10 (+0xc988b6) (0x0000000000219fb0) 0x0000000003ee4774 EntryPoint+0xffffffffffffffff in qtexttospeech_sapi: movq (%r8),%rax Modules: Module Address Debug info Name (181 modules) PE 220000- 2b2000 Deferred msvcp140 PE 2c0000- 2d9000 Deferred vcruntime140 PE 2e0000- 2e4000 Deferred api-ms-win-crt-heap-l1-1-0 PE 2f0000- 2fc000 Deferred vcruntime140_1 PE 300000- 916000 Deferred qt5gui PE 920000- 958000 Deferred qt5sql PE 960000- 9b6000 Deferred qt5opengl PE 9c0000- f05000 Deferred qt5widgets PE f10000- 1047000 Deferred qt5network PE 1050000- 1109000 Deferred qt5multimedia PE 1110000- 1121000 Export qt5texttospeech PE 1570000- 16d6000 Deferred qwindows PE 1d60000- 1d6f000 Deferred qico PE 1d70000- 1d7f000 Deferred qgif PE 1d80000- 1d91000 Deferred qicns PE 1da0000- 1dae000 Deferred qwbmp PE 2440000- 2499000 Deferred qjpeg PE 24a0000- 2523000 Deferred qwebp PE 2650000- 2665000 Deferred qtaudio_windows PE 3d60000- 3df7000 Deferred openvr_api_dxvk PE 3ee0000- 3ef2000 Export qtexttospeech_sapi PE 61540000- 61544000 Deferred api-ms-win-crt-locale-l1-1-0 PE 620c0000- 620c4000 Deferred api-ms-win-crt-filesystem-l1-1-0 PE 62140000- 62145000 Deferred uxtheme PE 62240000- 624c8000 Deferred d3d9 PE 63140000- 63145000 Deferred api-ms-win-crt-runtime-l1-1-0 PE 637c0000- 6383f000 Deferred winmm PE 638c0000- 638c5000 Deferred dwmapi PE 64340000- 64347000 Deferred winhttp PE 64940000- 64945000 Deferred shcore PE 64c80000- 64c84000 Deferred steamclient64 PE 64d40000- 64d47000 Deferred vulkan-1 PE 65000000- 6502c000 Deferred ole32 PE 65780000- 65785000 Deferred version PE 66440000- 6644a000 Deferred msacm32 PE 67d00000- 67d04000 Deferred userenv PE 68a40000- 68a4f000 Deferred shlwapi PE 68ac0000- 68ac4000 Deferred api-ms-win-crt-time-l1-1-0 PE 69380000- 69385000 Deferred api-ms-win-crt-stdio-l1-1-0 PE 69b80000- 69b84000 Deferred api-ms-win-crt-environment-l1-1-0 PE 6a100000- 6a10d000 Deferred oleaut32 PE 6a4c0000- 6a4c4000 Deferred api-ms-win-crt-utility-l1-1-0 PE 6a700000- 6a717000 Deferred setupapi PE 6b880000- 6b884000 Deferred api-ms-win-core-fibers-l1-1-1 PE 6bd00000- 6bd44000 Deferred sapi PE 6bec0000- 6bec6000 Deferred imm32 PE 6d580000- 6d585000 Deferred api-ms-win-crt-convert-l1-1-0 PE 6d9c0000- 6d9cd000 Deferred mpr PE 6dd80000- 6dd85000 Deferred api-ms-win-crt-string-l1-1-0 PE 6e340000- 6e344000 Deferred api-ms-win-core-synch-l1-2-0 PE 6e6c0000- 6e6c4000 Deferred api-ms-win-core-localization-l1-2-1 PE 6eb00000- 6eb06000 Deferred wintab32 PE 6fbc0000- 6fbcb000 Deferred rpcrt4 PE 70140000- 70145000 Deferred mmdevapi PE 70580000- 70586000 Deferred api-ms-win-crt-math-l1-1-0 PE 70a00000- 70a04000 Deferred dhcpcsvc PE 71240000- 71246000 Deferred jsproxy ELF 7a800000- 7aa0a000 Deferred opengl32