15
submitted 1 month ago* (last edited 1 month ago) by notthebees@reddthat.com to c/linux@lemmy.ml

I have a pretty old laptop with an AMD dGPU and I am trying to do OpenCL compute on it to make sure that device switching is handled correctly in some stuff I am testing. All the instructions I see to install amdgpu drivers is to have --no-dkms as an install flag. Doing amdgpu-install --usecase=opencl --no-dkms --opencl=legacy results in ERROR: using '--no-dkms' with '--opencl=legacy' is not supported

Specs:

HP Pavilion 15-br158cl

CPU: i7-8550u (HD 620 iGPU and this has working compute)

GPU: Radeon 530 2 GB DDR3

RAM: 24 GB

OS: PopOS 22.04 6.12.10-76061203-generic

Clinfo -l output

Platform #0: Intel(R) OpenCL HD Graphics
 -- Device #0: Intel(R) UHD Graphics 620 [0x5917]
Platform #1: AMD Accelerated Parallel Processing

As you can see, only the platform, not a second device. Is there anything that I am missing?

I did post this on reddit in the PopOS subreddit. https://www.reddit.com/r/pop_os/comments/1kvza44/is_there_a_way_to_use_amdgpudkms_without_bricking/

you are viewing a single comment's thread
view the rest of the comments
[-] catloaf@lemm.ee 4 points 1 month ago

Sounds like those flags are mutually exclusive. Does it work if you only use one or the other?

[-] notthebees@reddthat.com 4 points 1 month ago

If I use no dkms and no legacy, I get the current clinfo result. No detected gpu.

Problem is that popos has their own thing that will conflict with dkms and every single tutorial or guide for installing amdgpu drivers uses no-dkms as an install flag.

I need this to do opencl compute.

[-] Eggymatrix@sh.itjust.works 3 points 1 month ago

Try using a distro that is less ultra optimized for gaming on modern hardware. You have a legacy system, try something like debian or arch

[-] notthebees@reddthat.com 2 points 1 month ago

I used to use Bunsenlabs before moving to popos due to popos handling the dgpu better. Thats what I'm thinking as well.

load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 26 May 2025
15 points (100.0% liked)

Linux

56278 readers
902 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS