Message boards : Questions and problems : The GPU usage freeze Ubuntu 24.0.4
Message board moderation
Author | Message |
---|---|
Send message Joined: 29 Mar 20 Posts: 5 |
I'm installing the boinc client (V7.24.1 in the repo). The CPU computation works fine, but I think it would be better to use the GPU as well. I installed the mesa-opencl-icd package and the table randomly froze. As it turns out only when the bonc client detects that there is GPU in the machine and starts using it. When I remove the /etc/OpenCL/vendors/mesa.icd file, OpenCL works (clinfo:https://justpaste.it/dyl1h), but the boinc client no longer sees the GPU. I also tried to set the RUSTICL_ENABLE=radeonsi environment variable, but this did not lead to any results either. What could be causing the GPU usage to kill the desktop? The kernel crash log: https://justpaste.it/ace8m Hardware description: CPU: AMD Ryzen5 3500U GPU: *-display description: VGA compatible controller product: Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15D8] vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002] physical id: 0 bus info: pci@0000:04:00.0 logical name: /dev/fb0 version: c2 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080 resources: irq:41 memory:b0000000-bfffffff memory:c0000000-c01fffff ioport:1000(size=256) memory:c0500000-c057ffff System Memory: 8GB Distro name and Version: Ubuntu 24.04 Kernel version: 6.8.0-38-generic |
Send message Joined: 17 Nov 16 Posts: 890 |
Don't use the Mesa OpenCL drivers. Use the official AMD ones. |
Send message Joined: 29 Mar 20 Posts: 5 |
Thank you, it works now! |
Send message Joined: 29 Mar 20 Posts: 5 |
I was happy too soon. The AMD driver(for ubuntu 22) does not fully work on ubuntu 24. Although it starts GPU counting after installation, it won't start the operating system after reboot(something went wrong, and a sad computer picture). I also tried putting the driver back on ubuntu 22, which the driver came up fine. It works fine after reboot. But clinfo does not see the device, and bonc does not find the GPU. Number of platforms: 1 Platform Profile: FULL_PROFILE Platform Version: OpenCL 2.1 AMD-APP (3614.0) Platform Name: AMD Accelerated Parallel Processing Platform Vendor: Advanced Micro Devices, Inc. Platform Extensions: cl_khr_icd cl_amd_event_callback Platform Name: AMD Accelerated Parallel Processing Number of devices: 0 |
Send message Joined: 29 Mar 20 Posts: 5 |
I finally found a combination that worked. If I don't run the graphics manager (boincmgr), it seems to use the GPU, and the desktop doesn't freeze. Ubuntu24 with mesa-opencl-icd |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.