15
submitted 4 days ago* (last edited 4 days ago) by [email protected] to c/[email protected]

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/

top 7 comments
sorted by: hot top new old
[-] [email protected] 4 points 4 days ago

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

[-] [email protected] 4 points 4 days 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.

[-] [email protected] 4 points 3 days ago* (last edited 3 days ago)

popos has their own thing that will conflict with dkms

So you obviously need to manually configure that own thing to build the driver instead of relying on the installer.

[-] [email protected] 2 points 3 days ago* (last edited 3 days ago)

I haven't found any documentation on this except "don't do it lol". Which is why I'm confused. How?

Edit: finding more info and discovering that people didn't have bricked systems after using dkms which leads me to assume that later versions of popos do not have the issue that people were trying to avoid.

[-] [email protected] 1 points 2 days ago

IDK what did you mean by "their own thing". Even if they created something similar to dkms, it is unlikely that it would conflict with dkms. But anyway it is better to find more information from official source.

[-] [email protected] 3 points 4 days 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

[-] [email protected] 2 points 3 days ago

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

this post was submitted on 26 May 2025
15 points (100.0% liked)

Linux

54468 readers
698 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