xemu
xemu copied to clipboard
Prince of Persia: Warrior Within/The Two Thrones: Post-process effects issue on AMD & missing interface elements on Intel
Title
https://xemu.app/titles/5553003b/Prince-of-Persia-Warrior-Within https://xemu.app/titles/55530058/Prince-of-Persia-The-Two-Thrones
Bug Description
Both game show similar issue previously fixed for The Two Thrones. although the exact same symptoms ended up occured on Warrior Within. The issue extends to gameplay where the bloom effects I described as 'stuck'. Almost not updating the effects and will appears on screen like an afterimage, which occurs for the duration whenever the effect was displayed.

On Intel GPUs the interface elements are missing completely

Expected Behavior
The bloom effects should display properly and not smeared/overbrighted, and interfaces elements should be appeared correctly on Intel graphics.
xemu Version
0.7.21-0cdcdde70c13f6cf3ed09aca29185ed790b22485
System Information
OS: Arch Linux CPU: Intel Core i5-4460 @ 3.20 GHz GPU1: Intel HD Graphics 4600 GPU2: AMD Radeon HD 7470 GPU Driver: Mesa 22.1.0 (for both GPUs)
Additional Context
It is possible that for AMD the cause of issue can be due to its architecture being too old for xemu to work properly.
The issue is bot only on AMD. Also Nvidia is affected. Makes both games not playable
Here's some of more recent test, on Intel with vs_position_always_invariant workaround. thus behaving more closely to the result output on my old AMD card. I can't describe in exact word but it indicates to me that it has to do with improper rendering of lightmaps.

Warrior Within and Two Thrones both work on my PC running , -Windows 10 Education -Video card: Radeon RX 570 -Processor: Ryzen 5 2600 6 core
They do not work work on Steam deck. AMD APU CPU: Zen 2 4c/8t, 2.4-3.5GHz (up to 448 GFlops FP32) GPU: 8 RDNA 2 CUs, 1.0-1.6GHz (up to 1.6 TFlops FP32)
Absolutely devastating. Licherally unplayable (on what I want to use) cry emoji