godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.73k stars 20.12k forks source link

VRS causes extreme aliasing on linux compared to windows #94604

Open DanielKinsman opened 1 month ago

DanielKinsman commented 1 month ago

Tested versions

4.2.2

System information

Godot v4.2.2.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000 - Wayland - Vulkan (Mobile) - dedicated AMD Radeon RX 6800 XT (RADV NAVI21) () - AMD Ryzen 7 5800X3D 8-Core Processor (16 Threads)

Issue description

Setting VRS mode to XR or texture on linux causes extreme aliasing (even in the center of the view) compared to windows (or any other platform that I've tried).

windows :window: windows linux :penguin: linux

The difference is even more pronounced once blown up to full size in a VR headset but here I am just showing it in a small desktop window.

Steps to reproduce

Run the MRP on windows vs linux, compare the difference

Minimal reproduction project (MRP)

vrs-test.zip (uploaded a new one with VRS_TEXTURE as well as VRS_XR.

Calinou commented 1 month ago

I can't reproduce this on 4.3.beta da4f6e439.

PC specifications - **CPU:** Intel Core i9-13900K - **GPU:** NVIDIA GeForce RTX 4090 (driver 555.58.02) - **RAM:** 64 GB (2×32 GB DDR5-5800 C30) - **SSD:** Solidigm P44 Pro 2 TB - **OS:** Linux (Fedora 40)

image

This is likely an AMD Linux driver issue. Can you try AMDVLK if using the default RADV (or vice versa)?

DanielKinsman commented 1 month ago

AMDVLK produces a similar, but oddly different looking version of the same thing to RADV (Which is what I was using).

Screenshot from 2024-07-23 07-54-27