Hello, I managed to fix UE 5.8 black screen/crash on AMD graphs cards and the constant freezing that happens when using UE 5.7 or UE 5.8.
I created 2 MRs on Mesa to accomplish this fix:
MR1 black-screen/crash: Making sure you're not a bot!
MR2 freezes: Making sure you're not a bot!
I created a stacked branch because AMD users needs both MRs to UE 5.8 be usable.
you will need the packages to build it
ninja
meson
python-mako
python-yaml
python-packaging
meson setup build . \
-Dgallium-drivers= -Dvulkan-drivers=amd -Dllvm=disabled \
-Dplatforms=x11,wayland -Dbuildtype=debugoptimized -Dbuild-tests=true \
-Dprefix="$HOME/.local/mesa-radv-test"
ninja -C build
meson test -C build
meson install -C build >/dev/null
echo "Installed: VK_DRIVER_FILES=$HOME/.local/mesa-radv-test/share/vulkan/icd.d/radeon_icd.x86_64.json"
then you can run UE with your new compiled mesa
VK_DRIVER_FILES="$HOME/.local/mesa-radv-test/share/vulkan/icd.d/radeon_icd.x86_64.json" SDL_VIDEODRIVER=x11 /opt/unreal-engine/Engine/Binaries/Linux/UnrealEditor
Hope Mesa devs review those MRs and it gets merged/fixed to everyone.