You are not logged in.

#1 2023-02-03 23:14:01

Sveske-juice
Member
From: Denmark
Registered: 2022-06-12
Posts: 18

Unity Editor crashing AMD graphics driver

I have switched to using Unity with the High Definition Render Pipeline (HDRP) which basically is just a more advanced render pipeline which uses Vulkan as the render API. However lately I have experienced wierd crashes which results in the screen going black and logging me out of my X11 session and bringing me to the Display Manager (SDDM).

Reading from journalctl this is the output when the crash happens: https://pastebin.com/dkMeqESw

This can happen at any time when opening the project and persists over different projects and Editor versions (specifically I've noticed crash on: 2021.2.9f1 & 2022.2.1f1)

The project the crash happened is the VFX template from unity's github: https://github.com/Unity-Technologies/V … ph-Samples

The reason why i post here is because that Unity does not officially support "Arch-based distros" (I've tried making bug report, but they closed the issue since they couldn't replicate the issue on the supported platforms). So I was wondering if any one have experienced issues similar to this and how it could be fixed.

I've read from https://wiki.archlinux.org/title/AMDGPU that amdvlk is not good when running directx12 through wine/proton so might try radeon driver. (I don't know much about this, but will try anyway)

Some basic system info:

Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: ASUS

amdvlk 2022.Q4.4-3
mesa 22.3.3-3

Offline

#2 2023-02-03 23:43:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Unity Editor crashing AMD graphics driver

Sveske-juice wrote:

try radeon driver

^ This.

Install the vulkan-radeon package and export this environmental variable:

AMD_VULKAN_ICD=RADV

Then run

vulkaninfo --summary

And check the "driverName" line, which should show "radv".

Offline

#3 2023-02-04 00:43:27

Sveske-juice
Member
From: Denmark
Registered: 2022-06-12
Posts: 18

Re: Unity Editor crashing AMD graphics driver

Thanks I downloaded vulkan-radeon, exported the envirmontal variable in /etc/enviroment and rebooted and confirmed that the vulkan info output showed radv as driver name.

It looks like it works, but its difficult to be certain since it also rarely happened before. I will use this setup and check in about a week or two and report the experience.

Offline

Board footer

Powered by FluxBB