I am using HDRP, so I need Vulkan, but when I switch to it, the UI becomes too laggy, and with issues when it redraw.
Is there any solution to that?
Fedora 36, Unity 2021.3.8f1
Vulkan details:
I am using HDRP, so I need Vulkan, but when I switch to it, the UI becomes too laggy, and with issues when it redraw.
Is there any solution to that?
Fedora 36, Unity 2021.3.8f1
Vulkan details:
Define laggy. We can’t help if you aren’t specific. Maybe a video will help.
Is it bad performance? Then check profiler
Does it work well on another OS/Graphics API? (Maybe it’s your device or drivers)
Did you already update Unity and drivers to the latest?
is there something I can do here?
(the video is .zip because I can’t upload webm here)
8497670–1131215–Screencast from 10-08-2022 01:02:17 AM.zip (2.09 MB)
It’s working more or less fine (play mode ignores vsync but that’s a completely different problem) on my Linux system with Vulkan (Unity 2021.3.10, Arch Linux, AMD GPU, open source drivers, Gnome, wayland). So I guess this is specific to certain combinations of factors not Unity Vulkan on Linux in general. Would be nice to see input for more people using Unity on Linux to narrow down which parts are the main contributors for this problem.
To me the video you showed looked less like lagging and more like parts UI not getting properly refreshing until the mouse interactions trigger a new redraw. Hard to evaluate other aspects of interaction from video.
If I remember correctly I used to see alot more of somewhat similar redrawing issues in 2020.3.x series, but things have been much better with 2021.x. Resizing panels is still slightly glithcy as if there some intermediate redraws using wrong dimensions resulting in right side of panels to wiggle while you resize them, but it automatically does proper redraw fast enough so it’s not a usability problem. Funnily the open gl mode behaves slightly worse, resulting in a bit of solitaire effect as you resize panels, but again it does a proper redraw soon enough to prevent being unusable.
for me, It behaves exactly the same on Manjaro(KDE) and Fedora(Gnome), and they are totally different distributions, that’s why I think it maybe an issue from Unity’s side, or maybe the driver? idk… but my GPU is pretty standard and common(RTX 3060).