Project

General

Profile

Actions

Emulator Issues #12026

open

Inverted textures in Prince of Persia: Warrior Within

Added by SiTLOOMS over 4 years ago. Updated almost 2 years ago.

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

0%

Operating system:
Android
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?

Prince of Persia: Warrior Within

Game ID? (right click the game in the game list, Properties, Info tab)

G2OE41

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

dce5a1a75982905554d9d465a743ff3b

What's the problem? Describe what went wrong.

Normal video, menu and in-game overlay (health, sands), but inverted in-game colors except fire (it slil red).

What steps will reproduce the problem?

Running game under Android. I tried Mi 9T and Mi Mix 2S.

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

Yes. Tried 5.0-11817 and MMJ 5.0-9494 (here problem a little bit different).

Is the issue present in the latest stable version?

No (under Windows), but there is no stable version for Android.

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

I didn't found broken version for Windows.

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

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

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

[PC specs here]
Xiaomi Mi 9T, Snapdragon 730 (SM7150), Adreno 618, OpenGL ES 3.2 V@415.0 (GIT@b7a53ba. I65c4755304, 1568228548) (Date:09/11/19), Android 10.

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

There is the similar bug, I think. https://bugs.dolphin-emu.org/issues/6191

In main version of Dolphin Emulator (5.0-11817) I have normal video, menu and in-game overlay (health, sands), but inverted in-game colors except fire (it still red).

In the last MMJ version (5.0-9494) fire inverts too, so i can use postprocessing inversion, but (as expected) it makes picture too dark. I think it is because there are textures inverted, not all screen, and postprocessing inversion makes illumination dark.

No settings changing I made had an impact.


Files

Screenshot_2020-03-22-21-12-18-390_org.dolphinemu.dolphinemu.jpg (909 KB) Screenshot_2020-03-22-21-12-18-390_org.dolphinemu.dolphinemu.jpg Dolphin Emulator (5.0-11790) in-game SiTLOOMS, 03/25/2020 10:56 PM
Screenshot_2020-03-22-21-12-23-058_org.dolphinemu.dolphinemu.jpg (688 KB) Screenshot_2020-03-22-21-12-23-058_org.dolphinemu.dolphinemu.jpg Dolphin Emulator (5.0-11790) pause menu SiTLOOMS, 03/25/2020 10:56 PM
Screenshot_2020-03-22-21-13-29-808_org.mm.j.jpg (642 KB) Screenshot_2020-03-22-21-13-29-808_org.mm.j.jpg MMJ version (5.0-9494) in-game SiTLOOMS, 03/25/2020 10:56 PM
Screenshot_2020-03-22-21-14-06-137_org.mm.j.jpg (635 KB) Screenshot_2020-03-22-21-14-06-137_org.mm.j.jpg MMJ version (5.0-9494) pause menu with postprocessing inversion SiTLOOMS, 03/25/2020 10:57 PM
Screenshot_2020-03-22-21-14-08-472_org.mm.j.jpg (596 KB) Screenshot_2020-03-22-21-14-08-472_org.mm.j.jpg MMJ version (5.0-9494) in-game with postprocessing inversion SiTLOOMS, 03/25/2020 10:57 PM
G2OE41_2020-11-30_01-53-50.png (2.3 MB) G2OE41_2020-11-30_01-53-50.png vlbastos, 11/30/2020 05:22 AM
Screenshot_20210310-153910289.jpg (415 KB) Screenshot_20210310-153910289.jpg Arvis, 03/10/2021 03:39 PM
Screenshot_20230122_183849_Dolphin Emulator.jpg (756 KB) Screenshot_20230122_183849_Dolphin Emulator.jpg Screenshot of Prince of Persia : Warrior Within in Dolphin Emulator Android. azurenumber, 01/22/2023 05:31 PM
Actions #1

Updated by SiTLOOMS over 4 years ago

Here is SaveState after intro video. It may be helpful, because I didn't found a way to skip intro.
https://drive.google.com/file/d/1ioCFwdTpqmG2brWhgLWF9gMYwJaExgix/view?usp=sharing

Actions #2

Updated by JMC4789 over 4 years ago

  • Status changed from New to Questionable
  • Operating system Android added
  • Operating system deleted (N/A)

I tested this on desktop dolphin and the issue does not occur.

This is likely a driver bug on your phone.

Actions #3

Updated by vlbastos about 4 years ago

This issue is still present in Android Dolphin as of 5.0-13163, exactly as described by SiTLOOMS 8 months ago.
Device: Xiaomi Poco F2 PRO
Chipset: Snapdragon 865
GPU: Adreno 650
Android: 10
Dolphin: 5.0-13163
Video backend: both OpenGL and Vulkan
(It works as it should in software video backend).
(Yes, everybody knows Adreno has the worst video drivers. But it also has a big share of users who use it).

Actions #5

Updated by SiTLOOMS about 4 years ago

JMC4789 wrote:

I tested this on desktop dolphin and the issue does not occur.

This is likely a driver bug on your phone.

Hello, thanks a lot for your answers.
Actually, there is a something https://dolphin-emu.org/download/dev/master/5.0-10625/ like, I think.
So, so long as there are a lot of Adreno-based devices and users (special thanks to Xiaomi), may be there is a place for some workaround at least?
Force texture type/channel layout choosing for example?

Actions #7

Updated by Arvis almost 4 years ago

It starts working after you pass the first level and toggle the map a few times on Android. If you want the visuals to be easier on your eyes just toggle the post-processing effect on Dolphin MMJ to Invert colour beforehand until the issue is resolved.

Actions #8

Updated by azurenumber almost 2 years ago

I can reproduce this bug in Android 13 :

Device - Samsung Galaxy M32
Device Model - SM-M325F/DS
Android Version - 13
One UI version - 5.0
Dolphin Emulator version - 5.0-18281
CPU - Mediatek MT6769V/CT
GPU - Mali-G52 MC2

Game works fine in Dolphin Emulator in Arch Linux ( Dolphin version-1:5.0.r17995.8bad821019-2) .
But inverted colours appear in android.
Please help.

Actions #9

Updated by azurenumber almost 2 years ago

azurenumber wrote in #note-8:

I can reproduce this bug in Android 13 :

Device - Samsung Galaxy M32
Device Model - SM-M325F/DS
Android Version - 13
One UI version - 5.0
Dolphin Emulator version - 5.0-18281
CPU - Mediatek MT6769V/CT
GPU - Mali-G52 MC2

Game works fine in Dolphin Emulator in Arch Linux ( Dolphin version-1:5.0.r17995.8bad821019-2) .
But inverted colours appear in android.
Please help.

I forgot to mention in OpenGL , Dolphin(Android) hangs or crash in Prince of Persia warrior within.
And in Vulkan I usually get 100% speed, which means I am able move the character and fight easily.

Actions

Also available in: Atom PDF