|
||||
|
|
FHM - Technical Support/Bug Reports Need help or want to report a bug? This is the right place. |
![]() |
|
Thread Tools |
![]() |
#1 |
Bat Boy
Join Date: Feb 2024
Posts: 2
|
Steam Deck 2D Support
Any idea if 2D simulation will ever work on Steam Deck? I’d love to sim games and watch them play out while my deck is docked to a monitor. I beg you dev team, please make this happen!
![]() Last edited by Caniac; 02-11-2024 at 09:24 PM. |
![]() |
![]() |
![]() |
#2 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
I've made a lot of progress with this bug in the last few days.
The issue is the text to speech feature that was added in fhm9. It uses a 64bit dll which wine/proton doesn't like. I've managed to get it working perfectly on my PC (Ubuntu). On the steam deck it now loads the 2d game and simulates properly, but on the deck doesn't load the ice arena image or the players so is mostly just a grey screen. Could you try it and let me know if you get a similar result. It would be really helpful if the fhm10 team could look at why the 32bit dll works and the 64bit doesn't as an update from them may get it working straight away in the future without us having to fiddle... Full details are here: https://github.com/ValveSoftware/Proton/issues/7552 This is the fix: I downloaded the 32bit version qTextToSpeech-sapi.dll from: https://www.pconlife.com/viewfileinf...eech-sapi-dll/ and put it in the folder: steamlibrary\steamapps\common\Franchise Hockey Manager 10\texttospeech\ |
![]() |
![]() |
![]() |
#3 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
Hang on...
It's definitely the right lines, but the fix isn't doing what I thought. Instead of replacing the dll with a 32bit one you can just delete it. The issue is definitely in the 64bit dll though. Removing the dll makes the 2d simulation work on Ubuntu (still graphic glitches on steam deck). It does mean no text to speech though. I think the problem is in wine/proton then so not something the fhm10 team can fix |
![]() |
![]() |
![]() |
#4 |
FHM Producer
Join Date: Apr 2002
Location: Kelowna, BC
Posts: 17,242
|
I've been waiting on my Steam deck dev kit so we can troubleshoot this sort of thing properly, but I just checked and it looks like it's hung up on some red tape at the moment, hopefully that gets resolved soon. I'll ask Sebastian to take a look at why the dll is doing this - maybe we can just switch to the 32-bit one if it doesn't affect anything else, so it'll work on Ubuntu.
|
![]() |
![]() |
![]() |
#5 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
Thanks for getting back to me. I've been doing a lot more playing with it on my PC (Ubuntu) and steam deck the last couple of days.
It looks like I'm along the right lines, but my fix was wrong. Changing to 32 bit didn't fix it, but removing the 64bit dll was what solved it. An easier fix rather than messing about with the files is to run it with the launch command: WINEDLLOVERRIDES=qtexttospeech-sapi-dll=d That seems to work perfectly on Ubuntu (though I assume it doesn't have text to speech, I don't have speakers on my PC so can't check). On my steam deck it plays the sim, but doesn't draw the arena or the players etc. Just a grey screen and a stadium logo in the middle. |
![]() |
![]() |
![]() |
#6 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
I've been trying to get to the bottom of the graphic glitch on the steam deck. Looking at the logs from my deck and PC the main difference appears to be warnings about QPainter issues on the deck. The first one is QPainter::begin paint device returned engine == 0, type 2.
Im struggling to find anything I can do to fix this though. |
![]() |
![]() |
![]() |
#7 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
I'm fairly sure the issue is how the steam deck is working with QPainter but am struggling to pin down why exactly. I can't see any similar bugs having a Google about. My Ubuntu set up is running nvidia and an xorg desktop. With the steam deck I get an issue in the big picture (which I think it wayland) and the desktop mode (I'm fairly sure is xorg or xwayland). I'm thinking it may be an issue with how the mesa driver and qt are working together but don't know how to test that from my deck.
|
![]() |
![]() |
![]() |
#8 |
FHM Producer
Join Date: Apr 2002
Location: Kelowna, BC
Posts: 17,242
|
Looks like the 32-bit thing is a no-go for us. Looking at ways to optionally disable it from being loaded at all in 2D mode, so we can at least see if removing that entirely (rather than just disabling it in the 2D options) fixes the Steam Deck display.
|
![]() |
![]() |
![]() |
#9 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
I think you're right, the 32bit wasn't the fix I thought it was so changing to a 32bit system for text to speech won't help.
Any idea why the rink and players aren't displayed on the deck? It definitely seems to be pointing towards QPainter as the issue. I wonder if it's a bug with mesa as that seems to be the main difference between my PC (nvidia) and my steam deck. |
![]() |
![]() |
![]() |
#10 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
Arrrgh! Sorry for wasting everyone's time with this! (including mine!). I gave up trying to fix the 2d sim and just started playing the game for a change. Annoyingly my save game corrupted (invalid data base error). As it was still very early on I decided to just reinstall the whole game on the deck.
That seems to have fixed all thr graphical glitches too! It doesn't appear to be a steam deck issue, just something with my exact install that went wrong. With the dll override tweak above it seems to play very well on both my deck and PC now! I think it could be easy to get this approved as playable or verified (but don't know what the hoops are for that) |
![]() |
![]() |
![]() |
#11 |
Bat Boy
Join Date: Feb 2024
Posts: 2
|
That worked! Ended up replacing the dll, but I'm guessing the launch command would have been perfectly fine on it's own. Either way, you completely made my day, can sim games on the steam deck just in time for the playoffs!
|
![]() |
![]() |
![]() |
#12 |
Bat Boy
Join Date: Mar 2024
Posts: 12
|
For some reason that launch command isn't working for me now, but deleting the dll (or just renaming it with .backup on the end) definitely does the trick as you've found.
I've been able to reproduce the graphics glitch that made the ice arena and players not show up (just the grey screen with home team logo in the middle). It was caused by changing the zoom level to "fit to screen". I assume this is due to the small screen size of the deck. On my Ubuntu PC if it's "fit to screen" then I get the same grey above the top supporters and below the bottom supporters where there is nothing else to render. Not a problem at all though, as long as its set to any other zoom mode it works fine. |
![]() |
![]() |
![]() |
Bookmarks |
|
|