Project

General

Profile

Actions

Emulator Issues #13402

open

Issues in video refresh in SDL applications

Added by mardy 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Two applications using SDL:

I can provide the dol files (wicked-sliders cannot be built from source, there are some files that I haven't uploaded to the repo yet).

Game ID?

Homebrew.

What's the problem? Describe what went wrong.

The video does not get refreshed properly:

  • in sdl-controller-test, the image refresh is not fluid, and sometimes an older frame is shown for some fraction of a second.
  • in wicked-sliders, the image gets refreshed very rarely, apparently at random (it can appear to be stuck for several seconds, then it's smooth for half a second, then stuck again).

On a real Wii, everything works fine.

What steps will reproduce the problem?

I will try to attach the DOL files.

Note: the emulator seems to get stuck after a few seconds, if the games are launched via the GUI; launching them from the command-line doesn't seem to make them hang.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

I'm using the snap package for Dolphin. It's version is 5.0-17893. Other games work fine.

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

Attaching FIFO log.

What are your PC specifications? (CPU, GPU, Operating System, more)

Ununtu 22.04.

09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]


Files

wickedsliders (1.61 MB) wickedsliders FIFO log mardy, 11/19/2023 11:39 AM
WiiControllerTest.dol (1.75 MB) WiiControllerTest.dol WiiControllerTest.dol mardy, 11/19/2023 11:39 AM
WickedSliders.dol (2.55 MB) WickedSliders.dol WickedSliders.dol mardy, 11/19/2023 11:40 AM
Actions #1

Updated by AdmiralCurtiss 5 months ago

Try any or all of the following and see if that fixes anything:

  • Turn off Graphics -> Hacks -> XFB -> Immediately Present XFB
  • Turn off Graphics -> Hacks -> XFB -> Skip Presenting Duplicate Frames
  • Turn off Graphics -> Hacks -> XFB -> Store XFB Copies to Texture Only
  • Set Graphics -> Hacks -> Texture Cache -> Accuracy to Safe
Actions #2

Updated by mardy 5 months ago

AdmiralCurtiss wrote in #note-1:

Try any or all of the following and see if that fixes anything:

Thanks! I turned off all the XFB options and set the Texture Cache accuracy to Safe, and it seems to help (unfortunately, FPS drop to 25, but I can live with that). Can you please tell me, do these options take effect after the game restarts, or immediately? I think it's the former, but I might be wrong.

Actions #3

Updated by JosJuice 5 months ago

Those options take effect immediately.

Actions

Also available in: Atom PDF