open [12703] Prince of Persia: The Lost Crown - Garbled cutscene skybox #12703

Open
opened 2026-01-02 20:40:54 -03:00 by Accord · 0 comments
Owner

Branch: __refs_pull_12703_head

EmulationEnjoyer opened issue at 2024-01-18 13:47:

Is there an existing issue for this?

  • I have searched the existing issues

Affected Build(s)

1685

Description of Issue

After the intro section of gameplay, during a real-time rendered cutscene, the skybox appears completely garbled/corrupted. It may be the smoke effect that's causing this

pop_tlc_garbled_skybox

https://github.com/yuzu-emu/yuzu/assets/144477224/649c0ee9-e5a4-4168-917d-ec78f8efce22

  • Using title update "1.0.2" / "17.0.1" system firmware
  • Hashes and signature of game dump and title update are confirmed valid by NxFileViewer
  • Setting accuracy to High does not resolve the issue
  • Setting the graphics renderer to OpenGL does not resolve the issue (my default is Vulkan)
  • Yuzu EA 4070 has the same issue
  • Ryujinx does not suffer this issue
    This seems to be the only issue with this game so far. Otherwise, after an hour or so of gameplay this is the only issue I've encountered and the game runs perfectly
    Edit: After a few hours of gameplay, it seems several cutscenes are affected by this issue

Expected Behavior

pop_tlc_normal_skybox

Reproduction Steps

Occurs during the first cutscene after the intro section of the game - about 5 minutes in

  1. Extract save files to save location
  2. Launch the game and load the save
  3. Affected cutscene will begin playing
    Save location: \user\nand\user\save\0000000000000000\<user_id>\0100210019428000\
    pop_tlc_garbled_skybox_gamesave.zip

Log File

yuzu_log.txt

System Configuration

CPU: Ryzen 5 5600X
GPU/Driver: RX 5600XT / 23.5.2
RAM: 32GB 3200MHz
OS: Windows 10 (22H2)

samusaran commented at 2024-01-20 15:16:

This is also present on Steam Deck so it seems it may not be a platform issue

RaduNastase commented at 2024-01-21 20:54:

Could be that everyone uses the same dump which has an error in the movie file?

plexecutor commented at 2024-01-21 21:06:

Could be that everyone uses the same dump which has an error in the movie file?
I can dump my cart and report back. Won’t be able to do it until tomorrow at the earliest. That said this issue doesn’t exist in Ryujinx so I doubt it’s the dump.

EmulationEnjoyer commented at 2024-01-22 07:46:

Could be that everyone uses the same dump which has an error in the movie file?
I purchase and dump my own games. Like I stated in my original post, hashes are valid and the issue isn't present in Ryujinx. This is an issue with Yuzu that applies to multiple graphics API's and apparently multiple platforms, so this is likely a core issue with Yuzu itself and I'm sure some devs have already seen this thread. Also, a majority of the cutscenes in this game are real-time rendered in-engine and not a video file

RaduNastase commented at 2024-01-22 09:12:

Could be that everyone uses the same dump which has an error in the movie file?

I purchase and dump my own games. Like I stated in my original post, hashes are valid and the issue isn't present in Ryujinx. This is an issue with Yuzu that applies to multiple graphics API's and apparently multiple platforms, so this is likely a core issue with Yuzu itself and I'm sure some devs have already seen this thread. Also, a majority of the cutscenes in this game are real-time rendered in-engine and not a video file
I was under the impression that only that scene, which is a video file, is affected. Anyway, i don't have the game to test it myself, so it's like you say, an emulation issue.

samusaran commented at 2024-01-22 09:14:

I'm not an expert in any way, but from the log file it seems to me that it's failing to decode an ffmpeg video. So the rendered part is fine, but the video in the background gets garbled.
@RaduNastase any scene where a video file is played is affected, not only the first (but it's an easy test since it's a couple of minutes in)

FirefoxinHell commented at 2024-01-22 13:18:

i have the same problem, it is not a problem with the dump, if you look at the video in detail on the console or in Ruyjinx, those videos have different layers of video, with transparency and I think there is the bug, yuzu is not emulating that type of combined videos well I think

plexecutor commented at 2024-01-22 13:32:

Could be that everyone uses the same dump which has an error in the movie file?

I can dump my cart and report back. Won’t be able to do it until tomorrow at the earliest. That said this issue doesn’t exist in Ryujinx so I doubt it’s the dump.
I dumped my copy of the game and can confirm the video bug exists in all builds of yuzu I’ve tested. Steam Deck and Windows specifically. Mainline.

samusaran commented at 2024-01-23 17:47:

It may have something to do with this comment, maybe: github.com/yuzu-emu/yuzu-mainline@403fc86c11
I'm not skilled enough to fix any of this but hey, i had fun poking around

Squall-Leonhart commented at 2024-01-24 21:37:

Probably fixed by https://github.com/yuzu-emu/yuzu/pull/12461

heatguye commented at 2024-01-25 01:49:

I fixed it by disabling subtitles in the options menu of the game.

EmulationEnjoyer commented at 2024-01-25 03:19:

I fixed it by disabling subtitles in the options menu of the game.
Testing with Yuzu 1692, clearing the shader cache, and then disabling subtitles/subtitle background did not resolve the issue. Tested with Vulkan and OpenGL

samusaran commented at 2024-01-25 09:26:

Probably fixed by #12461
Can confirm that this PR does not fix the issue. It is better tho, because at least some frames are rendered correctly, but it gets worse and worse every couple of frames. I'm not an expert of FFMPEG, but the video starts fine, gets worse, then back to fine, then worse, and so on. I guess yuzu is rendering keyframes correctly but failing to render the next "differential frames" until the next keyframe.
This is a screenshot of the video from that branch. In this version you can make out some of the details.

immagine

The frame shown here is one of the differential ones.

Squall-Leonhart commented at 2024-01-25 15:42:

that PR is a stepping stone to further improvements, its good that its current state got things to look better.

GabrielModog commented at 2024-01-25 16:08:

I had this problem too. But it's the only problem presented in the game.

jotesoft commented at 2024-01-30 07:41:

I am seeing the same problem. It may only happening in prerenderd cutscenes.

DragonsFear commented at 2024-02-04 23:35:

traid it with the latest update (1.0.4), and latest yuzu version, and still have this problem :( (PC)
specs: Ryzen 5700x, RX 6650 XT 8GB, 32GB RAM

Squall-Leonhart commented at 2024-02-05 04:19:

Please dont persist with the Me too's, when a fix is made this will be closed.

salehif commented at 2024-02-17 19:31:

game update 1.0.5
yuzu 4144
Nvidia GTX 1070, update 551.46
problem still present
Title ID
0100210019428000

[Export of Github issue for yuzu-emu/yuzu. Generated on 2024.02.28 at 10:04:32.]

**Branch:** [__refs_pull_12703_head](https://accord.dravee.dev/Accord/yuzu-mirror/src/branch/__refs_pull_12703_head) #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/144477224?v=4" width="50"></div>[EmulationEnjoyer](https://github.com/EmulationEnjoyer) opened issue at [2024-01-18 13:47](https://github.com/yuzu-emu/yuzu/issues/12703): > ### Is there an existing issue for this? > - [x] I have searched the existing issues > ### Affected Build(s) > 1685 > ### Description of Issue > After the intro section of gameplay, during a real-time rendered cutscene, the skybox appears completely garbled/corrupted. **It may be the smoke effect that's causing this** ![pop_tlc_garbled_skybox](https://github.com/yuzu-emu/yuzu/assets/144477224/dbfd9a20-7660-4259-864c-f01e447bee59) > https://github.com/yuzu-emu/yuzu/assets/144477224/649c0ee9-e5a4-4168-917d-ec78f8efce22 > - Using title update "1.0.2" / "17.0.1" system firmware > - Hashes and signature of game dump and title update are confirmed valid by NxFileViewer > - Setting accuracy to High does not resolve the issue > - Setting the graphics renderer to OpenGL does not resolve the issue (my default is Vulkan) > - Yuzu EA 4070 has the same issue > - Ryujinx does not suffer this issue > This seems to be the only issue with this game so far. Otherwise, after an hour or so of gameplay this is the only issue I've encountered and the game runs perfectly > **Edit: After a few hours of gameplay, it seems several cutscenes are affected by this issue** > ### Expected Behavior ![pop_tlc_normal_skybox](https://github.com/yuzu-emu/yuzu/assets/144477224/ec7a8520-c1f1-45fb-b913-72443bc6bb58) > ### Reproduction Steps > Occurs during the first cutscene after the intro section of the game - about 5 minutes in > 1. Extract save files to save location > 2. Launch the game and load the save > 3. Affected cutscene will begin playing > Save location: `\user\nand\user\save\0000000000000000\<user_id>\0100210019428000\` > [pop_tlc_garbled_skybox_gamesave.zip](https://github.com/yuzu-emu/yuzu/files/13976910/pop_tlc_garbled_skybox_gamesave.zip) > ### Log File > [yuzu_log.txt](https://github.com/yuzu-emu/yuzu/files/13977082/yuzu_log.txt) > ### System Configuration > CPU: Ryzen 5 5600X > GPU/Driver: RX 5600XT / 23.5.2 > RAM: 32GB 3200MHz > OS: Windows 10 (22H2) #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/290743?v=4" width="50"></div>[samusaran](https://github.com/samusaran) commented at [2024-01-20 15:16](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1902130234): > This is also present on Steam Deck so it seems it may not be a platform issue #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/18061144?v=4" width="50"></div>[RaduNastase](https://github.com/RaduNastase) commented at [2024-01-21 20:54](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1902760617): > Could be that everyone uses the same dump which has an error in the movie file? #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/49571853?u=d047e3a1114ea1fe6973031e3da2242b1d21d511&v=4" width="50"></div>[plexecutor](https://github.com/plexecutor) commented at [2024-01-21 21:06](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1902763506): > > Could be that everyone uses the same dump which has an error in the movie file? > I can dump my cart and report back. Won’t be able to do it until tomorrow at the earliest. That said this issue doesn’t exist in Ryujinx so I doubt it’s the dump. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/144477224?v=4" width="50"></div>[EmulationEnjoyer](https://github.com/EmulationEnjoyer) commented at [2024-01-22 07:46](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1903426093): > > Could be that everyone uses the same dump which has an error in the movie file? > I purchase and dump my own games. Like I stated in my original post, hashes are valid and the issue isn't present in Ryujinx. This is an issue with Yuzu that applies to multiple graphics API's and apparently multiple platforms, so this is likely a core issue with Yuzu itself and I'm sure some devs have already seen this thread. Also, a majority of the cutscenes in this game are real-time rendered in-engine and not a video file #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/18061144?v=4" width="50"></div>[RaduNastase](https://github.com/RaduNastase) commented at [2024-01-22 09:12](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1903552379): > > > Could be that everyone uses the same dump which has an error in the movie file? > > > > I purchase and dump my own games. Like I stated in my original post, hashes are valid and the issue isn't present in Ryujinx. This is an issue with Yuzu that applies to multiple graphics API's and apparently multiple platforms, so this is likely a core issue with Yuzu itself and I'm sure some devs have already seen this thread. Also, a majority of the cutscenes in this game are real-time rendered in-engine and not a video file > I was under the impression that only that scene, which is a video file, is affected. Anyway, i don't have the game to test it myself, so it's like you say, an emulation issue. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/290743?v=4" width="50"></div>[samusaran](https://github.com/samusaran) commented at [2024-01-22 09:14](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1903557953): > I'm not an expert in any way, but from the log file it seems to me that it's failing to decode an ffmpeg video. So the rendered part is fine, but the video in the background gets garbled. > @RaduNastase any scene where a video file is played is affected, not only the first (but it's an easy test since it's a couple of minutes in) #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/45147238?v=4" width="50"></div>[FirefoxinHell](https://github.com/FirefoxinHell) commented at [2024-01-22 13:18](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1903990042): > i have the same problem, it is not a problem with the dump, if you look at the video in detail on the console or in Ruyjinx, those videos have different layers of video, with transparency and I think there is the bug, yuzu is not emulating that type of combined videos well I think #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/49571853?u=d047e3a1114ea1fe6973031e3da2242b1d21d511&v=4" width="50"></div>[plexecutor](https://github.com/plexecutor) commented at [2024-01-22 13:32](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1904014452): > > > Could be that everyone uses the same dump which has an error in the movie file? > > > > I can dump my cart and report back. Won’t be able to do it until tomorrow at the earliest. That said this issue doesn’t exist in Ryujinx so I doubt it’s the dump. > I dumped my copy of the game and can confirm the video bug exists in all builds of yuzu I’ve tested. Steam Deck and Windows specifically. Mainline. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/290743?v=4" width="50"></div>[samusaran](https://github.com/samusaran) commented at [2024-01-23 17:47](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1906601359): > It may have something to do with this comment, maybe: https://github.com/yuzu-emu/yuzu-mainline/commit/403fc86c1138821fac375a2ac850ac787969e2c8 > I'm not skilled enough to fix any of this but hey, i had fun poking around #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/1098176?v=4" width="50"></div>[Squall-Leonhart](https://github.com/Squall-Leonhart) commented at [2024-01-24 21:37](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1908956400): > Probably fixed by https://github.com/yuzu-emu/yuzu/pull/12461 #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/129035742?v=4" width="50"></div>[heatguye](https://github.com/heatguye) commented at [2024-01-25 01:49](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1909212468): > I fixed it by disabling subtitles in the options menu of the game. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/144477224?v=4" width="50"></div>[EmulationEnjoyer](https://github.com/EmulationEnjoyer) commented at [2024-01-25 03:19](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1909278008): > > I fixed it by disabling subtitles in the options menu of the game. > Testing with Yuzu 1692, clearing the shader cache, and then disabling subtitles/subtitle background did not resolve the issue. Tested with Vulkan and OpenGL #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/290743?v=4" width="50"></div>[samusaran](https://github.com/samusaran) commented at [2024-01-25 09:26](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1909737915): > > Probably fixed by #12461 > Can confirm that this PR does **not** fix the issue. It is better tho, because at least some frames are rendered correctly, but it gets worse and worse every couple of frames. I'm not an expert of FFMPEG, but the video starts fine, gets worse, then back to fine, then worse, and so on. I guess yuzu is rendering keyframes correctly but failing to render the next "differential frames" until the next keyframe. > This is a screenshot of the video from that branch. In this version you can make out some of the details. ![immagine](https://github.com/yuzu-emu/yuzu/assets/290743/16cde3da-b068-4ce9-b0c8-45dab148359c) > The frame shown here is one of the differential ones. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/1098176?v=4" width="50"></div>[Squall-Leonhart](https://github.com/Squall-Leonhart) commented at [2024-01-25 15:42](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1910466115): > that PR is a stepping stone to further improvements, its good that its current state got things to look better. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/1420545?u=57f7f496f1f09d7dc5a5f57965c3e1e2098b953f&v=4" width="50"></div>[GabrielModog](https://github.com/GabrielModog) commented at [2024-01-25 16:08](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1910519135): > I had this problem too. But it's the only problem presented in the game. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/8758518?u=f74e80848620f1e8b051d9e3290851da8fc85387&v=4" width="50"></div>[jotesoft](https://github.com/jotesoft) commented at [2024-01-30 07:41](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1916244147): > I am seeing the same problem. It may only happening in prerenderd cutscenes. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/81340701?u=876eb957c690fcb349432635d808f94957bd52e9&v=4" width="50"></div>[DragonsFear](https://github.com/DragonsFear) commented at [2024-02-04 23:35](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1925981729): > traid it with the latest update (1.0.4), and latest yuzu version, and still have this problem :( (PC) > specs: Ryzen 5700x, RX 6650 XT 8GB, 32GB RAM #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/1098176?v=4" width="50"></div>[Squall-Leonhart](https://github.com/Squall-Leonhart) commented at [2024-02-05 04:19](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1926204392): > Please dont persist with the Me too's, when a fix is made this will be closed. #### <div><img width="50" height="50" src="https://avatars.githubusercontent.com/u/23007602?v=4" width="50"></div>[salehif](https://github.com/salehif) commented at [2024-02-17 19:31](https://github.com/yuzu-emu/yuzu/issues/12703#issuecomment-1950290201): > game update 1.0.5 > yuzu 4144 > Nvidia GTX 1070, update 551.46 > problem still present > Title ID > 0100210019428000 > ------------------------------------------------------------------------------- > [Export of Github issue for [yuzu-emu/yuzu](https://github.com/yuzu-emu/yuzu). Generated on 2024.02.28 at 10:04:32.]
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Accord/yuzu-mirror#12703
No description provided.