Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
OpenCL
#1
Bonjour,
Je suis sous Mageia7 et ma configuration en signature. Je n'ai pas et ne sais pas installer OpenCL
Mon fils refait un ordi avec Windows surement que je vais peut-être lui reprendre (et remettre un Linux mais lequel je ne sais pas encore)
Questions : quelle configuration est la meilleur pour darktable, gimp et openCL
quelle carte graphique à éviter ou à privilégier, autre matériel etc..?
Merci

Mageia 9 -  Canon 90D et .CR3


Répondre
#2
Si ta carte graphique est compatible et que le kernel est < 5.9 (kernel 5.9.xpose problème à NVidia ne font pas bon ménage) darktable devrait détecté l'OpenCl sans intervention. Donc vérifie quel kernel est installé, généralement tu peux le voir au démarrage sinon va dans le répertoire /boot après ça dépendra du prix que tu veux y mettre.
Répondre
#3
Kernel: x86_64 Linux 5.10.12-desktop-1.mga7
Ma carte graphique :
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
Mageia 9 -  Canon 90D et .CR3


Répondre
#4
Et quand tu lances darktable, l'OpenCl est activé ? Sinon regarde : https://darktable.fr/2018/10/darktable-e...ue-ou-pas/
Et darktable-cltest pour voir si l'OpenCl fonctionne.
Répondre
#5
Non il ne s'active pas, je vais voir le lien..
merci
Mageia 9 -  Canon 90D et .CR3


Répondre
#6
Fait cette commande : darktable-cltest
Répondre
#7
$ darktable-cmstest
darktable-cmstest version 3.4.0
this executable was built with colord support enabled
darktable itself was built with colord support enabled

primary CRTC is at CRTC 0
CRTC for screen 0 CRTC 1 has no mode or no output, skipping
CRTC for screen 0 CRTC 2 has no mode or no output, skipping
CRTC for screen 0 CRTC 3 has no mode or no output, skipping

DisplayPort-0  the X atom and colord returned the same profile
        X atom: _ICC_PROFILE (0 bytes)
                description: (none)
        colord: "(none)"
                description: (file not found)

Better check your system setup
- some monitors lacked a profile
You may experience inconsistent color rendition between color managed applications

A la lecture du lien je vais pas trop me casser la tête pour OpenCL, suis pas un grand photographe et encore moins un spécialiste du développement, tellement je galère avec ces logiciels....
Mageia 9 -  Canon 90D et .CR3


Répondre
#8
J'ai corrigé, c'est darktable-cltest qu'il faut lance. Je me suis planté !!!!!!!!!!!!!!!!!
Répondre
#9
~]$ darktable-cltest
0.173549 [opencl_init] opencl related configuration options:
0.173572 [opencl_init]
0.173575 [opencl_init] opencl: 1
0.173579 [opencl_init] opencl_scheduling_profile: 'default'
0.173583 [opencl_init] opencl_library: ''
0.173588 [opencl_init] opencl_memory_requirement: 768
0.173593 [opencl_init] opencl_memory_headroom: 400
0.173597 [opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
0.173603 [opencl_init] opencl_mandatory_timeout: 200
0.173617 [opencl_init] opencl_size_roundup: 16
0.173622 [opencl_init] opencl_async_pixelpipe: 0
0.173625 [opencl_init] opencl_synch_cache: active module
0.173630 [opencl_init] opencl_number_event_handles: 25
0.173636 [opencl_init] opencl_micro_nap: 1000
0.173641 [opencl_init] opencl_use_pinned_memory: 0
0.173645 [opencl_init] opencl_use_cpu_devices: 0
0.173648 [opencl_init] opencl_avoid_atomics: 0
0.173651 [opencl_init]
0.173912 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.173995 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.174219 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.174260 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
0.174298 [opencl_init] could not get platforms: -1001
0.174304 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.174306 [opencl_init] initial status of opencl enabled flag is OFF.
Mageia 9 -  Canon 90D et .CR3


Répondre
#10
Avant, je te conseillerais d'abord de vérifier si ta carte graphique (qui est intégrée au processeur) est supporté sous Linux pour l'OpenCL. Voir déjà les pilotes proposées par AMD : https://www.amd.com/fr/support

J'ai l'impression qu'il n'y a pas de support OpenCL pour ce que tu as. D'après ce que j'en sais, Amd s'est mis au support OpenCL pour Linux plutôt récemment et ton processeur semble assez vieux.

En bref, et je fais peut-être erreur, mais j'ai l'impression que l'OpenCL ne sera pas possible pour ta configuration actuelle.

(04-02-21, 19:59)louinux a écrit : 0.173912 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.173995 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.174219 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.174260 [opencl_init] opencl library 'libOpenCL.so.1' found on your system and loaded
0.174298 [opencl_init] could not get platforms: -1001
0.174304 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.174306 [opencl_init] initial status of opencl enabled flag is OFF.

Les dernières lignes confirment qu'il n'y a pas d'OpenCL détecté sur ton système Linux. C'est donc un problème de pilotes. Ca n'est pas lié à darktable. Ca en revient à mon message !
Aussi appelé Nilvus !
Debian Sid - darktable master
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)