teknogods / TeknoParrotUI

Open Source JVS / Arcade Emulator for Windows
https://teknoparrot.com
GNU General Public License v3.0
213 stars 57 forks source link

Control issues when played with --startMinimized enabled #758

Open PolybiusExtreme opened 1 month ago

PolybiusExtreme commented 1 month ago

The following games have control issues when playing with --startMinimized enabled

After Burner Climax - no controls work Lets Go Jungle & Lets Go Jungle Special - gun movement stutters

nixxou commented 1 month ago

I confirm that (at least for ABC). I mentioned it a few times on discord, but didn't bother make an issue. That's the reason i don't use --startMinimized

EmiMidnight commented 1 month ago

I can't reproduce it, both the elfldr1 and elfldr2 versions of ABC seem to work just fine using startMinimized. (Tried both xinput and dinput)

What windows version are you two on? Desktop or Laptop? I think it might be related to windows 11 (and maybe 10) where it can throttle background processes. Because TPUI is responsible for all the IO, if thats throttled you would get these kinds of issues.

nixxou commented 1 month ago

I use Windows 11, yes. Amd gpu if that matter. If i start .\TeknoParrotUi.exe --startMinimized --profile="C:\teknoparrot\UserProfiles\abc.xml" I will not get any inputs. If i use .\TeknoParrotUi.exe --profile="C:\teknoparrot\UserProfiles\abc.xml" it's working.

Not that a big deal from me, i can just mimimize tp ui after launch, but back when i had this issue it was an headache to figure out what went wrong.

PolybiusExtreme commented 1 month ago

I am on Win 11 with an Nvidia 3070. @nixxou you dont have to write the path to the profile, it should work just with „profile=abc.xml“

nixxou commented 1 month ago

I prefer to use the full path It's just personal preference and convenience.

EmiMidnight commented 1 month ago

A bit of a late response, but it might be worth playing around with some of the workarounds mentioned here, as I think it's a case of windows throttling background processes. (aka TPUI when it is running minimized)

https://www.tenforums.com/tutorials/99445-how-enable-disable-power-throttling-windows-10-a.html

PolybiusExtreme commented 1 month ago

Thank you @EmiMidnight for your response. I tried it with power throttling disabled but that changed nothing, no controls with --startMinimized enabled.