Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Open Source OpenCL Support for AMD Radeon RX 7600

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shawn_xu
Posts: 5
Joined: 2023-09-08 03:51

[Software] Open Source OpenCL Support for AMD Radeon RX 7600

#1 Post by shawn_xu »

Hi,
I a Debian 12 user and I wish to utilize my AMD graphics card to do some general purpose computing. I followed this guide on the Debian Wiki and installed those packages:

Code: Select all

firmware-amd-graphics libgl1-mesa-dri libglx-mesa0 mesa-vulkan-drivers mesa-opencl-icd
However, my system still lacks OpenCL support even after installing those packages. Some websites point to AMD's non-free driver amdgpu-pro, but I would much prefer an alternative to installing a proprietary driver.

Has anyone had similar problems to this? I would really appreciate any kind of assistance.

mrmazda
Posts: 354
Joined: 2023-06-02 02:22
Has thanked: 11 times
Been thanked: 45 times

Re: [Software] Open Source OpenCL Support for AMD Radeon RX 7600

#2 Post by mrmazda »

Hardware acquisitions need to be correlated appropriately to Linux software releases, particularly kernels. The 3 months between RX 7600 launch and Bookworm release is not only too short, Bookworm's version freeze makes the relationship negative, meaning a bone stock Debian 12 installation can't be expected to support it. Because I don't have one, I can only suppose you'll likely need a kernel newer than 6.1, also likely newer firmware-amd-graphics, and possibly some newer X components. You may wish to consider Trixie instead of Bookworm.

User avatar
Francewhoa
Posts: 33
Joined: 2013-04-12 17:59
Location: Sept-Iles, Quebec, Canada
Has thanked: 6 times

Re: [Software] Open Source OpenCL Support for AMD Radeon RX 7600

#3 Post by Francewhoa »

Hello @shawn_xu :) I suggest installing a more recent Kernel. Then try again. Newer Kernels include drivers for new AMD Radeon video cards.

----------------

Below is the same suggestion as above. But with Details if you're interested in those.

Steps:

1. Backup your valuable data on a secured external storage. Outside your Debian.

2. If not already done, add the official Debian Backport repository for your Debian 12 Bookworm. Documentation at https://backports.debian.org/Instructions/#index2h2

3. Choose the appropriate type of more recent kernel. This search page might be useful at https://packages.debian.org/search?suit ... -image-6.6.
  • In this page above, in the top right side, replace the version number with a more recent one. Until you find the most recent available. Presently, 6.6. is the most recent.
4. Install the newer kernel. Related documentation at https://fostips.com/upgrade-kernel-debi ... pt-command
  • If your Boot storage has enough available space. I suggest keeping your present kernel installed. But just ADD a newer kernel. When you reboot, GRUB will ask you into which one you would like to boot into. This is useful in case the newer kernel is not to your liking. You could simply reboot into another kernel version.
- - -
Loving back your Debian community result in multiple benefits for you. https://www.debian.org/intro/help

User avatar
supersonic
Posts: 1
Joined: 2024-04-19 20:08
Been thanked: 1 time

Re: [Software] Open Source OpenCL Support for AMD Radeon RX 7600

#4 Post by supersonic »

mesa-opencl-icd is not compatible with Navi cards.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4189

You can try NaviCL:
https://github.com/supersonictw/navicl

CwF
Global Moderator
Global Moderator
Posts: 2741
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 45 times
Been thanked: 206 times

Re: [Software] Open Source OpenCL Support for AMD Radeon RX 7600

#5 Post by CwF »

note - paranoia is running high concerning new users with github links.
Thanks for the contribution and welcome to the forums @supersonic

pwzhangzz
Posts: 447
Joined: 2020-11-11 17:42
Has thanked: 10 times
Been thanked: 27 times

Re: [Software] Open Source OpenCL Support for AMD Radeon RX 7600

#6 Post by pwzhangzz »

supersonic wrote: 2024-04-19 20:15You can try NaviCL:
https://github.com/supersonictw/navicl
Thanks a whole lot for your endeavor!

Post Reply