rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

[Regression] Virtua Fighter 5 FS rays of light rendered as big red boxes

Open osanmial opened this issue 1 year ago • 1 comments

Quick summary

Visual bug that produces big red transparent boxes in some stages.

Details

Since version 0.0.33-17011-48322673 these big red boxes appear in some stages. They seem to happen on daytime stages so they might be incorrectly rendered beams of lights or something. The brighter the stage, more opaque they seem to be.

Between versions 16999 and 17011 exists also 17006 and 17010, but builds for those were not available, so I couldn't test them.

Screenshot_20241123_203319 Screenshot_20241123_203624

Build with regression

v0.0.33-17011-48322673

Attach two log files

RPCS3-16999.log RPCS3-17011.log

Attach capture files for visual issues

NPUB30625_20241123210916_capture.rrc.gz

System configuration

CPU: AMD Ryzen 9 7900X GPU: AMD Radeon RX 6800 RAM: 30.48 GiB Operating system: 6.6.54-2-MANJARO,

Other details

The issue has been observed with at least one other user.

osanmial avatar Nov 23 '24 19:11 osanmial

between 0.0.33-16999 (working) and 0.0.33-17011 (not working) the only PR that made changes on graphics is PR #16169

digant73 avatar Nov 24 '24 11:11 digant73

This problem has also been reported for following GPUs: AMD Radeon RX 6600 AMD Radeon RX 6650 XT AMD Radeon RX 6800 XT

scgehin avatar Dec 04 '24 20:12 scgehin

Also on Steam Deck

kuroifgc avatar Dec 04 '24 21:12 kuroifgc

@kd-11 will you please tell us if you fix it?

kuroifgc avatar Dec 12 '24 12:12 kuroifgc

How does it look with OpenGL?

kd-11 avatar Dec 12 '24 13:12 kd-11

How does it look with OpenGL?

on steam deck i'm on rpcs3 latest current version and setting the gpu to openGL won't even run the fight. it runs the game but when i select chars/stage it will stuck on loading screen

kuroifgc avatar Dec 12 '24 14:12 kuroifgc

How does it look with OpenGL?

Imanaged to load to the training mode on OpenGL, but the stage is darker than it should be and most grabs crash the game.

osanmial avatar Dec 16 '24 05:12 osanmial

This problem also been reported for my GPU: AMD 780m (rdna3)

crashGG avatar Dec 16 '24 21:12 crashGG

another stage: NPUB30625_screenshot_2024_12_18_09_55_16

crashGG avatar Dec 18 '24 06:12 crashGG

AMD follows OpenGL swizzle convention when sampling borders. NVIDIA just ignores swizzles for border sampling. I don't think either one is right, but I'll just add a workaround to normalize based on real-world testing. Does anyone have an arc card we can use to test this? I'll assume it behaves like NVIDIA in this one and move on if not.

kd-11 avatar Dec 20 '24 21:12 kd-11

Looks like we can define the rules using an extension: https://registry.khronos.org/vulkan/specs/latest/man/html/VK_EXT_border_color_swizzle.html

kd-11 avatar Dec 20 '24 21:12 kd-11