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/

  • notthebees@reddthat.comOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    11 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.

    • bizdelnick@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      9 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.