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 to desktop when attempting to set OpenCL toggle (Linux AUR package) #955

Open
prmbittencourt opened this issue Jan 3, 2024 · 3 comments

Comments

@prmbittencourt
Copy link

System information (version)
  • mandelbulber2 => 2.31-dev
  • Operating System / Platform => Linux
  • Source => AUR package (mandelbulber2-opencl-git)
Detailed description

The application immediately crashes whenever I attempt to set the "OpenCL enable..." toggle in File> Program Preferences> OpenCL (GPU).

Steps to reproduce

Attempt to set the toggle above at any moment after having launched the application, regardless of what else was or wasn't done before.

System Information

System:
Kernel: 6.6.8-zen1-1-zen arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: EndeavourOS
Machine:
Type: Desktop Mobo: ASRock model: X570 Phantom Gaming 4
UEFI: American Megatrends v: P5.01 date: 01/18/2023
Memory:
System RAM: total: 32 GiB
CPU:
Info: 8-core model: AMD Ryzen 7 5700X bits: 64 type: MT MCP cache: L2: 4 MiB
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700 XT]
driver: amdgpu v: kernel
Display: server: X.Org v: 23.2.3 with: Xwayland v: 23.2.3 driver: X:
loaded: amdgpu unloaded: modesetting,vesa dri: radeonsi gpu: amdgpu
resolution: 1920x1080~60Hz

@buddhi1980
Copy link
Owner

To be able to use OpenCL you need to install amdgpu-pro driver.
You can find it here: https://www.amd.com/en/support/linux-drivers
In former times I had AMD gpu and it was painful. The driver worked only with Ubuntu, so I couldn't use my favorite Debian. I don't know if this driver is prepared for Arch Linux.

@raisingw
Copy link

Just as a viable option that has worked very well for me it is possible to use rusticl to run OpenCL, avoiding the need to use the -pro driver.

As you have a single AMD GPU you should be able to run with environment variable RUSTICL_ENABLE=radeonsi:0 and select rusticl from the devices list in Mandelbulber.

I've edited my .desktop file so I don't have to think about it.

Screenshot_20240127_230652

@prmbittencourt
Copy link
Author

prmbittencourt commented Jan 30, 2024

Thank you for your reply. I'm having some trouble compiling mesa-rusticl-git but as soon as I can, I'll try this solution and report if it works.

Turns out the AUR packages are quite out-of-date. I downloaded the latest AppImage release and everything is working fine.

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