TapiocaFox / Daijishou

Daijishō is a retro launcher that let you manage your retro games libraries. This repo is for assets and served as a main page.
MIT License
1.09k stars 110 forks source link

Citra: Washed out colors until custom layout is enabled #499

Open fishcu opened 1 year ago

fishcu commented 1 year ago

Running on Android 12, Daijishou 394.

When running Citra Antutu (downloaded from here: https://github.com/weihuoya/citra/releases/tag/20230627) stand-alone, everything works fine.

When using Daijishou to launch the same game with that Citra version, a transparent white overlay is shown on the whole screen, resulting in a hazy, low-contrast look with washed out colors. The only fix is to customize the button overlay, which will make the haze disappear. After that, the custom layout can be disabled again and everything works from there on.

Launching Citra through Daijishou with a custom button overlay enabled still shows the issue. It's only when going into the menu and going to the "custom layout" screen that the issue fixes itself temporarily.

In addition to that, Citra always seems to crash immediately upon the first launch through Daijishou, before starting normally (aside from the issue mentioned here). I'm not sure if the two issues are possibly related.

mjkaye commented 12 months ago

Whilst investigating this, I came across a Reddit post that suggested disabling the "dark theme" for the system may resolve this. I tried that suggestion and it works: launching Citra MMJ from Daijishou does not show the white overlay. It is curious that launching Citra MMJ from the "Applications" tab never shows the white overlay, regardless of whether the system "dark theme" is enabled.

It's still not obvious whether this issue is caused by Daijishou, Citra MMJ, or a combination.

Test environment:

mjkaye commented 12 months ago

I've just confirmed that, when launching from Pegasus Frontend, the white overlay is not shown. I used the following launch configuration:

launch: am start
  -n com.antutu.ABenchMark/org.citra.emu.ui.EmulationActivity
  -a android.intent.action.VIEW
  -e GamePath {file.documenturi}
  --activity-no-history

Everything else was the same - device, system set to "dark theme", Citra MMJ app, ROM, etc.

It seems that the issue is caused by some interaction between Daijishou and Citra MMJ.

EDIT: launching from the CLI through adb shell also does not show the white overlay.