On Tuesday, 19 November 2019 12:27:50 CET Jozef Dassen wrote:
> After a lot of struggle I managed to install amdgpu drivers on my Ubuntu
> 18.04. It did not work with kernel 5.0 but going back to kernel 4.15 worked
> fine. Flawless installation of amdgpu 18.40. 
> Then I ran darktable-cltest  (darktable 3.0 rc1) and got the following
> result: 
> 0.037740 [opencl_init] opencl related configuration options:
> 0.037752 [opencl_init]
> 0.037755 [opencl_init] opencl: 1
> 0.037757 [opencl_init] opencl_library: ''
> 0.037759 [opencl_init] opencl_memory_requirement: 500
> 0.037761 [opencl_init] opencl_memory_headroom: 0
> 0.037763 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
> 0.037784 [opencl_init] opencl_mandatory_timeout: 200
> 0.037786 [opencl_init] opencl_size_roundup: 16
> 0.037788 [opencl_init] opencl_async_pixelpipe: 0
> 0.037790 [opencl_init] opencl_synch_cache: active module
> 0.037794 [opencl_init] opencl_number_event_handles: 25
> 0.037797 [opencl_init] opencl_micro_nap: 1000
> 0.037800 [opencl_init] opencl_use_pinned_memory: 0
> 0.037802 [opencl_init] opencl_use_cpu_devices: 0
> 0.037804 [opencl_init] opencl_avoid_atomics: 1
> 0.037806 [opencl_init]
> 0.037962 [opencl_init] found opencl runtime library 'libOpenCL'
> 0.037980 [opencl_init] opencl library 'libOpenCL' found on your system and
> loaded 0.170870 [opencl_init] found 1 platform
> 0.170885 [opencl_init] found 1 device
> 0.170923 [opencl_init] device 0 `Capeverde' supports image sizes of 16384 x
> 16384 0.170927 [opencl_init] device 0 `Capeverde' allows GPU memory
> allocations of up to 1053MB [opencl_init] device 0: Capeverde
>      GLOBAL_MEM_SIZE:          1472MB
>      MAX_WORK_GROUP_SIZE:      256
>      MAX_WORK_ITEM_DIMENSIONS: 3
>      MAX_WORK_ITEM_SIZES:      [ 1024 1024 1024 ]
>      DRIVER_VERSION:           2686.5
>      DEVICE_VERSION:           OpenCL 1.2 AMD-APP (2686.5)
> 0.171329 [opencl_init] could not create command queue for device 0: -6
> 0.171373 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
> 0.171376 [opencl_init] initial status of opencl enabled flag is OFF.
>  
>  
> my display is:
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev 83) (prog-if 00 [VGA
> controller]) Subsystem: Dell Venus XTX [Radeon HD 8890M / R9 M275X/M375X]
>     Flags: bus master, fast devsel, latency 0, IRQ 128
>     Memory at b0000000 (64-bit, prefetchable) [size=256M]
>     Memory at de300000 (64-bit, non-prefetchable) [size=256K]
>     I/O ports at e000 [size=256]
>     Expansion ROM at 000c0000 [disabled] [size=128K]
>     Capabilities: [48] Vendor Specific Information: Len=08 <?>
>     Capabilities: [50] Power Management version 3
>     Capabilities: [58] Express Legacy Endpoint, MSI 00
>     Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>     Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
> <?> Capabilities: [150] Advanced Error Reporting
>     Capabilities: [200] #15
>     Capabilities: [270] #19
>     Kernel driver in use: amdgpu
>     Kernel modules: radeon, amdgpu
>  
> I have fresh Ubuntu 18.04-1 installation on a sytem with 64Gbyte RAM. Only
> Firefox is running. So no resource problems. I have deferred all other
> installations until I can get darktable with openCL running. This is a
> sine-qua-non for me. 
> So no luck... Again........
>  
> Any ideas what could be the problem ??
>  
> darktablerc parameters:
> opencl=true
> opencl_async_pixelpipe=false
> opencl_avoid_atomics=true
> opencl_checksum=
> opencl_device_priority=*/!0,*/*/*
> opencl_disable_drivers_blacklist=false
> opencl_library=
> opencl_mandatory_timeout=200
> opencl_memory_headroom=0
> opencl_memory_requirement=500
> opencl_micro_nap=1000
> opencl_number_event_handles=25
> opencl_scheduling_profile=default
> opencl_size_roundup=16
> opencl_synch_cache=active module
> opencl_use_cpu_devices=false
> opencl_use_pinned_memory=false

I would suggest to just use the open source driver provided by the kernel and 
install ROCm for OpenCL.

http://repo.radeon.com/rocm/apt/


Works just fine on Fedora and openSUSE. I can't help you with the proprietary 
driver.


        Andreas


-- 
Andreas Schneider                 a...@cryptomilk.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to