doitsujin / dxvk

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
zlib License
12.25k stars 783 forks source link

Nine Sols rectangle graphic defect on AMD graphics systems(Linux & Windows) #4092

Open brlin-tw opened 6 days ago

brlin-tw commented 6 days ago

Software information

Game: Nine Sols v202406261615.64af447d.0-steam-app-packing/win-production Graphic settings: Reproduced on 720p, 1080p, and others, with all the combinations of graphic details settings. System: Framework Laptop 13(AMD 7040 series)@Linux

System information

Apitrace file(s)

https://drive.google.com/file/d/1W7krl7B_QVsnhYDxhbFDODi6B4rj8ZiO/view?usp=sharing

Log files

steam-1809540.log.gz

Additional info

Corresponding Mesa issue: [RADV] - Nine Sols(1809540) - Flickering random black rectangle graphic defects appear around the protagonist's sprite on AMD graphics systems. (#11404) · Issues · Mesa / mesa · GitLab

Some people reproduced this issue without using DXVK on:

So it's probably an even low-level problem.

brlin-tw commented 6 days ago

Refer to the following clip for the symptoms(disregard the trailing noise frames), the defects are usually seen around the protagonist's character sprite, and will be clearly visible in some certain background/scenes:

Screencast_from_2024-06-08_22-04-57.webm

Blisto91 commented 5 days ago

Are you able to provide a save game for a section that shows the issue

brlin-tw commented 5 days ago

@Blisto91

Are you able to provide a save game for a section that shows the issue

This save file can provide access to reproduce this issue, refer Solution 3: Apply the Save Files We Provide | Save File Restore · 九日 支援 / Nine Sols Support for the instructions.

brlin-tw commented 5 days ago

Reproduce instruction:

  1. Load the save file, the game should now be in the Shengwu Hall map.
  2. Move the protagonist to a location that has a light, even background (e.g. the entrance at the left of the root node(bonfire))
  3. Observe the protagonist's sprite closely

I've filed a report to Mesa as well: [RADV] - Nine Sols(1809540) - Flickering random black rectangle graphic defects appear around protagonist's sprite on AMD graphics systems. (#11404) · Issues · Mesa / mesa · GitLab

Blisto91 commented 5 days ago

I have not been able to reproduce it on my rdna2 iGPU (or Nvidia RTX 4080) even when using the same mesa and dxvk version. Have this only been observed on rdna3 GPUs?

If this reproduces on Windows even without dxvk then i would say it is a likely game bug

brlin-tw commented 5 days ago

@Blisto91

Have this only been observed on rdna3 GPUs?

As far as I can tell, yes.

If this reproduces on Windows even without dxvk then i would say it is a likely game bug

This issue isn't reproducible on NVIDIA and other graphic hardware, though. I'd rather suspect that it is a bug in the graphics driver/shader compiler etc. I've already filed the issue to the game developers before the release of the game.

Thanks for the info, feel free to close this issue if you believe this is out of scope.

Blisto91 commented 5 days ago

I will take another look when i switch back to my 7900 xtx