Activate OpenCL for Darktable

How do i Do that??

@Sjostrand run the command;

zypper in clinfo

Then as your user run the command clinfo

aah oki thanks

@Sjostrand Seems you need to run the amdgpu-pro driver for darktable to work…
https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/message/3SU52DSR6DAZYFWS6BL7QRU7SQUS6BOU/

Yes i see that but the question is does exist AMD-Pro drivers for OpenSuse today Dec 2023, Why because the thread is from 2020.

@Sjostrand Which thread? The factory mailing list one is from today, I see you replied to it :wink:

The ROCm one is available Index of /rocm/zyp/latest/

For amdgpu-pro see https://www.amd.com/en/support/linux-drivers

You could also ask the Darktable developers to investigate ROCm?

Yes if i am not wrong Radeon PRO does not exist or work for OpenSuse. It’s all for RedHat and Ubuntu! Or Does anyone got it work on OpenSuse Tumbleweed

@Sjostrand You use the SLES/SLED one for amdgpu-pro.
Add these as repositories:
https://repo.radeon.com/amdgpu/latest/sle/15.5/proprietary/x86_64/
https://repo.radeon.com/amdgpu/latest/sle/15.5/main/x86_64/

Or just use the installer rpm… it will add them AFAIK.

Yes which one because there is mutipal to choice. I try with this amdgpu-5.7.50700-1652687.x86_64.rpm
but it not work

Error

[https-download.opensuse.org-fd25de78|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Giltig metadata hittades inte på specificerad URL Historik: - [https-download.opensuse.org-fd25de78|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Repository type can’t be determined.

@Sjostrand You have been doing 1-click installs?

Please post the output from zypper lr -dE please.

One 1-click installs ?? i just klick the rpm file

And the output from your repository list?

I have remove all repository list? from AMD because of not work.

Main question is which should i take?? then i will try again.

@Sjostrand I suggest none… as you had ROCm working (from the previous output), I think also.the Mesa-libOpenCL package needs to be installed as well, so I would go back to that and test again.

so i should do agin

zypper ar -f -g -n “Science-GPU-ROCm” https://download.opensuse.org/repositories/science:/GPU:/ROCm/openSUSE_Factory/ Science-GPU-ROCm
zypper ref
zypper in aomp

zypper mr -e -f Science-GPU-ROCm
zypper se -si -r Science-GPU-ROC

and then also the Mesa-libOpenCL package from yast Repository

then restart and see if it works

@Sjostrand yes but use zypper in aomp amd-opencl rocminfo and make sure the amdgpu-pro repos are disabled/removed.

it’s still not work :frowning:

And rocminfo output ok?

ROCk module is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             

==========               
HSA Agents               
==========               
*******                  
Agent 1                  
*******                  
  Name:                    AMD Ryzen 9 3950X 16-Core Processor
  Uuid:                    CPU-XX                             
  Marketing Name:          AMD Ryzen 9 3950X 16-Core Processor
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   3500                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            32                                 
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: FINE GRAINED        
      Size:                    65757548(0x3eb616c) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    65757548(0x3eb616c) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 3                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    65757548(0x3eb616c) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
  ISA Info:                
*******                  
Agent 2                  
*******                  
  Name:                    gfx1100                            
  Uuid:                    GPU-f6df8d4a7e7f5fcf               
  Marketing Name:          AMD Radeon RX 7900 XTX             
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      32(0x20) KB                        
    L2:                      6144(0x1800) KB                    
    L3:                      98304(0x18000) KB                  
  Chip ID:                 29772(0x744c)                      
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   2526                               
  BDFID:                   3584                               
  Internal Node ID:        1                                  
  Compute Unit:            96                                 
  SIMDs per CU:            2                                  
  Shader Engines:          6                                  
  Shader Arrs. per Eng.:   2                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      TRUE                               
  Wavefront Size:          32(0x20)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        32(0x20)                           
  Max Work-item Per CU:    1024(0x400)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    25149440(0x17fc000) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Accessible by all:       FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx1100         
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
*** Done ***

@Sjostrand so that looks good, what about the output from clinfo command?