Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Debian with AMD #972

Open
cryham opened this issue Oct 28, 2024 · 4 comments
Open

Crash on Debian with AMD #972

cryham opened this issue Oct 28, 2024 · 4 comments

Comments

@cryham
Copy link

cryham commented Oct 28, 2024

So I extracted all from latest relase (v0.71.585) Content.zip and Editor.Linux.zip in folder.
Made Editor_Linux executable, and started.
I saw window, with a text saying "Creating pipeline shaders" or so.
Shortly after I got a driver crash I think, because I lost my screen and session, then I saw log in screen, had to newly log in.

OS: Debian 12
GPU: ASRock AMD Radeon RX 6600 XT
drivers: amggpu

Any idea what's wrong?
I also tried this with nightly build and crashed the same way.

@turanszkij
Copy link
Owner

Sounds like a bug in graphics driver, linux users have often problems like this.

@cryham
Copy link
Author

cryham commented Oct 29, 2024

So what's next, how can I fix this? Should I try other drivers?
Is there a log for WickedEngine telling it is this problem and not some other?
If this is a known issue is there any info about what others did and if they had the same issue on Debian/AMD?

@turanszkij
Copy link
Owner

The log file is saved to the user temp folder. I don't know what this is on Linux, on Windows this is: C:\Users\username\AppData\Local\Temp\wiBacklog.txt

Apart from that you can try debugging the problem or follow the troubleshoot guide in the readme: https://github.com/turanszkij/WickedEngine?tab=readme-ov-file#troubleshooting

I'm personally not working with linux, so maybe someone can come here, or you can also go to the discord to ask others.

@k4ss4n
Copy link
Contributor

k4ss4n commented Nov 5, 2024

So what's next, how can I fix this? Should I try other drivers? Is there a log for WickedEngine telling it is this problem and not some other? If this is a known issue is there any info about what others did and if they had the same issue on Debian/AMD?

You could check if you are using "radv" which is known to currently cause problems on AMD 6000 series gpus on linux:
vulkaninfo | grep "driverName"
AMDs own open source driver "amdvlk" works for the current build from source(revision 615) and for the current build available on steam(0.71.613). Note that installing amdvlk may cause it to be used by default unless specifically setting radv.

To use amdvlk for the steam version when using radv for the OS you can use the following launch options in steam:
VK_ICD_FILENAMES="<ICD_PATH>/amd_icd32.json:<ICD_PATH>/amd_icd64.json" AMD_VULKAN_ICD=AMDVLK %command%
Where <ICD_PATH> is the absolute path of the installed driver, "/usr/share/vulkan/icd.d" in my case. Don't know how Debian handles it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants