flycast icon indicating copy to clipboard operation
flycast copied to clipboard

F355 boots improperly on windows 11

Open CarterJBurke opened this issue 1 year ago • 18 comments

Please Note: This form is the minimum required information for submitting bugs.
Removing this form may lead to your issue being closed until it is completed.

Platform / OS / Hardware: x86-64, Windows 11 23H2, Intel Core i9-14900HX Nvidia RTX 4060

Github hash:

Hardware:

Description of the Issue

when playing F355 and its variants, it will run slowly and sometimes routes graphics to just the master screen upon boot up.

Debugging Steps Tested

  • Restarted flycast
  • chose a different romset

Logs Gathered


Please paste the contents of the log / logs here
You may leave this field blank if you have none.

Screenshots

(Replace this line with any issue screenshots)

CarterJBurke avatar Sep 02 '24 03:09 CarterJBurke

Try disabling VSync in Settings > Video. And make sure no external utility is forcing VSync on Flycast.

flyinghead avatar Sep 18 '24 10:09 flyinghead

i turned off vsync on flycast, and the Nvidia Control Panel, it still has the above mentioned issues.

CarterJBurke avatar Sep 18 '24 13:09 CarterJBurke

Screenshot 2024-10-09 022200 as you can see, i do not think this is a vsync issue. my guess is that windows 11 interprets the shared memory different than win 10

CarterJBurke avatar Oct 09 '24 07:10 CarterJBurke

In your case, the middle screen (Slave 1) isn't even visible. Did you stop it, or is it behind the master screen? If the issue is intermittent, it's probably not due to Windows 11. Does it behave the same at every run?

Here is how it should look: image

flyinghead avatar Oct 09 '24 07:10 flyinghead

slave 1 is behind the master screen, and the issue is the same every run, switching it to twin mode will cause it to run very slowly as well

CarterJBurke avatar Oct 09 '24 08:10 CarterJBurke

update: ever since you updated the multiboard bios loading, it rarely displays 3D on the master and displays properly, however, the sound lag is still present even if i switch to twin mode. still odd in itself, my hardware should be enough to run the game 10x over.

CarterJBurke avatar Oct 15 '24 21:10 CarterJBurke

I did some testing on Windows 11 and unfortunately couldn't reproduce the low frame rate / sound lag issue.

Specs: AMD Ryzen 5 5600H NVIDIA GeForce RTX 3050 144 Hz screen Windows 11 23H2 Flycast 4750ddb

It took me 3 tries to start F355 in deluxe mode. It was worse with F355 twin 2 with 6 or 7 tries. But once it started it was very stable. I played several races on F355 and didn't realize the laptop was on battery. At some point it went into hibernation, but when I plugged the laptop in and restarted it, the game continued playing without any issue!

So I don't think the issue has anything to do with windows 11.

flyinghead avatar Oct 18 '24 13:10 flyinghead

Regarding flycast settings, I used the default configuration (directx 11, per triangle, 640x480, ...) except VSync was disabled.

flyinghead avatar Oct 18 '24 13:10 flyinghead

could it be a setting on my system? your cpu is way weaker than mine, what could be causing the lag to occur? is there a setting im forgetting? what could bork flycasts shared memory?

CarterJBurke avatar Oct 18 '24 15:10 CarterJBurke

Could the speed difference between P and E cores cause some issue? Like having some slave on a slow E core and another one, or the master, on a P core in turbo mode? You need a decent CPU to run in deluxe mode but like you said your setup is way faster than this one. And I made it run on much slower PCs.

flyinghead avatar Oct 18 '24 16:10 flyinghead

Could the speed difference between P and E cores cause some issue? Like having some slave on a slow E core and another one, or the master, on a P core in turbo mode? You need a decent CPU to run in deluxe mode but like you said your setup is way faster than this one. And I made it run on much slower PCs.

oh, maybe. they do run at different frequencies, p cores on my cpu run at 5.8 Ghz, e cores run at 4.1 Ghz

CarterJBurke avatar Oct 18 '24 16:10 CarterJBurke

tbh I don't have a better idea at this point but that doesn't make it likely. Have you tried disabling multi-threading in Settings > Advanced? It's counter-intuitive but this will limit the total number of active threads to 4, each using more CPU power, thus we can hope they will all be assigned to P cores, or at least to similar ones.

flyinghead avatar Oct 18 '24 16:10 flyinghead

still no changes, it still directs to the master for 3D graphics

CarterJBurke avatar Oct 18 '24 16:10 CarterJBurke

and strangely enough, the twin version of F355 and 2 are stuck on the being named portion of boot

CarterJBurke avatar Oct 18 '24 16:10 CarterJBurke

and strangely enough, the twin version of F355 and 2 are stuck on the being named portion of boot

Yes, this is a common issue when booting. So no, not helping.

flyinghead avatar Oct 18 '24 16:10 flyinghead

i think i fixed the issue with the lag, i switched from balanced to high performance, and it works perfectly, man, i feel stupid. thanks for the help flyinghead

CarterJBurke avatar Oct 18 '24 16:10 CarterJBurke

Great to hear! The "I fixed the issue" part that is ;)

flyinghead avatar Oct 18 '24 16:10 flyinghead

the lag is gone but its hard to boot, my best opinion is to make it more reliable

CarterJBurke avatar Oct 18 '24 16:10 CarterJBurke

i have made a workaround for this issue, this issue happens on hetergenous intel CPUs, 12th gen and later, and can be negated by turning off e cores completely.

CarterJBurke avatar Oct 26 '24 18:10 CarterJBurke