Frogging-Family/mesa-git

Vulkan performance regression

jtfen86 opened this issue · 3 comments

Sorry if this is the incorrect place to post this.. if so anyone in charge please forward this to the right place? Anyways. I'm on Manjaro KDE. My GPU is a Radeon RX 590. Seeing a humongous drop in vkmark score after building this repo and testing. Before on 22.2.4 (Manjaro Stable branch) I'd get an average score of 20000 whereas on this mesa-git I get 3500. What is going on? That's a shockingly low drop.

FroggingFamily_mesa-git.txt
Manjaro_Stable_22.2.4.txt

mesa-tkg-git 23.0.0_devel.164534.22bf19c1f51-1
_mesa_prs="15642 19502 19947 20050 20207 20226"
Oh, and kernel command line:

intel_pstate=passive split_lock_detect=off root=zfs:zroot/ROOT/default rw loglevel=3 quiet zfs.zfs_arc_max=8589934592 amdgpu.ppfeaturemask=0xffffffff mitigations=off nowatchdog
=======================================================
    vkmark 2017.08
=======================================================
    Vendor ID:      0x1002
    Device ID:      0x67DF
    Device Name:    AMD Radeon RX 480 Graphics (RADV POLARIS10)
    Driver Version: 92680291
    Device UUID:    9f256bad80b1cb98498619944088b188
=======================================================
[vertex] device-local=true: FPS: 19664 FrameTime: 0.051 ms
[vertex] device-local=false: FPS: 7456 FrameTime: 0.134 ms
[texture] anisotropy=0: FPS: 18942 FrameTime: 0.053 ms
[texture] anisotropy=16: FPS: 18660 FrameTime: 0.054 ms
[shading] shading=gouraud: FPS: 17312 FrameTime: 0.058 ms
[shading] shading=blinn-phong-inf: FPS: 17339 FrameTime: 0.058 ms
[shading] shading=phong: FPS: 17156 FrameTime: 0.058 ms
[shading] shading=cel: FPS: 17065 FrameTime: 0.059 ms
[effect2d] kernel=edge: FPS: 19312 FrameTime: 0.052 ms
[effect2d] kernel=blur: FPS: 13544 FrameTime: 0.074 ms
[desktop] <default>: FPS: 12862 FrameTime: 0.078 ms
[cube] <default>: FPS: 21827 FrameTime: 0.046 ms
[clear] <default>: FPS: 21523 FrameTime: 0.046 ms
=======================================================
                                   vkmark Score: 17127
=======================================================

That sounds like a huge regression indeed. This package is nothing special code wise, it's just using straight up mesa-git, so such a drop can only be an upstream regression of sort. Currently the github mirror for mesa is stuck in november, so you might want to switch to freedesktop (see https://github.com/Frogging-Family/mesa-git/blob/master/customization.cfg#L87). Also you might want to enable LTO for performance through the dedicated option in exchange for longer compilation (https://github.com/Frogging-Family/mesa-git/blob/master/customization.cfg#L61).

Also, as a side note, if you switched to Wayland, vkmark will perform extremely poorly vs Xorg.

The 17k score I just posted a few days ago was from a then up to date mesa git build from the freedesktop.org gitlab, from Gnome Wayland. Should I be expecting an RX 480 to score much higher?