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 acomplish this fix: MR1 black-screen/crash: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42837 MR2 freezes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42838
I created a stacked branch because AMD users needs both MRs to UE 5.8 be usable. https://gitlab.freedesktop.org/bertonha/mesa/-/tree/stacked-fix
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.
Pinned Comments