AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[opencl](ubuntu)

Martin Hope
Philippe Laurent
Asked: 2020-07-17 11:48:27 +0800 CST

Radeon 3200U 竖条纹

  • 0

我在安装全新的 Ubuntu 20.04 时遇到了一个奇怪的问题。一切正常,除了原生 Linux 游戏。在 Rimworld 上,我在 Stardew Valley (Steam) 中得到了一张条纹图片,充其量所有文本框都显示亚洲语言。我已经尝试了很多东西,oibaf 驱动程序,奇怪的 grub 选项等等......但无济于事。 边缘世界截图

最奇怪的是,我所有使用 WINE 的 Windows 游戏都能完美运行。你有没有遇到过这样的事情?

TIA

此外,我尝试重新安装与 openGL 相关的所有内容,但仍然... Unigine Valley screenshot

我也试过改变记忆......同样的区别。我重新安装了 Windows 10,没有任何问题,因此排除了硬件故障。这真让人生气。

opengl opencl mesa amdgpu 20.04
  • 1 个回答
  • 124 Views
Martin Hope
0xF2
Asked: 2020-06-13 13:36:19 +0800 CST

Xeon Phi 和 Ubuntu 服务器

  • 2

我在 eBay 上看到数量惊人的低成本 100 美元至强融核“板载集群”PCI 卡。可以从 Ubuntu Server 主机使用这些来分派数值计算任务,还是需要 CentOS/RHEL/Windows?

任何指向在 Ubuntu 上使用 Xeon Phi 的教程的指针都表示赞赏。

可以从同一个主机系统管理多个 Phi 板吗?

是否可以像传统上通过主机名通过 MPI 完成的那样处理单个内​​核,还是需要 OpenCL?我想我要问的是......你能通过 SSH 连接到各个核心吗?

server opencl mpi
  • 1 个回答
  • 889 Views
Martin Hope
Joe Molnar
Asked: 2020-05-21 19:41:57 +0800 CST

无法加载 OpenCL 运行时/或无法为 xmrig 加载

  • 3

我已经从 Ubuntu 16.04 更新到20.04。这样做时升级失败了,我最终重新安装了 20.04。幸运的是,我的主文件夹位于另一个驱动器上,因此已保存。还有很多东西要恢复。我坚持的最后一项是让我的AMD Radeon 580 GPU工作。AMD 不支持 16.04 之后的 Ubuntu 驱动程序。我尝试从下面的页面安装OPENCL 。而且,我希望我安装了正确的软件。

https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html

同时遵循此视频的建议:https ://www.youtube.com/watch?v=efKjfBkjPlM

目标是在我的计算机空闲时使用xmrig程序进行一些 GPU 加密挖掘。

要检查是否成功完成,我有 rocminfo 和 clinfo 命令。

rocminfo 的结果是:

joe@joeslinux:~$ /opt/rocm/bin/rocminfo

ROCk module is loaded
joe is member of video group
=====================    
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 Threadripper 1950X 16-Core Processor
  Marketing Name:          AMD Ryzen Threadripper 1950X 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)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   3400                               
  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: KERNARG, FINE GRAINED
      Size:                    65778612(0x3ebb3b4) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    65778612(0x3ebb3b4) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        TRUE                               
  ISA Info:                
    N/A                      
*******                  
Agent 2                  
*******                  
  Name:                    gfx803                             
  Marketing Name:          Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          4096(0x1000)                       
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
  Chip ID:                 26591(0x67df)                      
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   1340                               
  BDFID:                   16640                              
  Internal Node ID:        1                                  
  Compute Unit:            36                                 
  SIMDs per CU:            4                                  
  Shader Engines:          4                                  
  Shader Arrs. per Eng.:   1                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      FALSE                              
  Wavefront Size:          64(0x40)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        40(0x28)                           
  Max Work-item Per CU:    2560(0xa00)                        
  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:                    8388608(0x800000) KB               
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Acessible by all:        FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Acessible by all:        FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx803          
      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 ***             

clinfo 是个陌生人。运行 clinfo,我得到:

joe@joeslinux:~$ clinfo
terminate called after throwing an instance of 'cl::Error'
  what():  clGetPlatformIDs
Aborted (core dumped)

从目录运行它得到一个不同的错误:

joe@joeslinux:~$ /opt/rocm/opencl/bin/x86_64/clinfo
ERROR: clGetPlatformIDs(-1001)

从目录中使用 sudo 运行它会得到似乎是有效的输出。joe@joeslinux:~$ sudo /opt/rocm/opencl/bin/x86_64/clinfo

Number of platforms:                 1
  Platform Profile:              FULL_PROFILE
  Platform Version:              OpenCL 2.1 AMD-APP (3098.0)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:               Advanced Micro Devices, Inc.
  Platform Extensions:               cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 


  Platform Name:                 AMD Accelerated Parallel Processing
Number of devices:               1
  Device Type:                   CL_DEVICE_TYPE_GPU
  Vendor ID:                     1002h
  Board name:                    Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
  Device Topology:               PCI[ B#65, D#0, F#0 ]
  Max compute units:                 36
  Max work items dimensions:             3
    Max work items[0]:               1024
    Max work items[1]:               1024
    Max work items[2]:               1024
  Max work group size:               256
  Preferred vector width char:           4
  Preferred vector width short:          2
  Preferred vector width int:            1
  Preferred vector width long:           1
  Preferred vector width float:          1
  Preferred vector width double:         1
  Native vector width char:          4
  Native vector width short:             2
  Native vector width int:           1
  Native vector width long:          1
  Native vector width float:             1
  Native vector width double:            1
  Max clock frequency:               1340Mhz
  Address bits:                  64
  Max memory allocation:             7301444403
  Image support:                 Yes
  Max number of images read arguments:       128
  Max number of images write arguments:      8
  Max image 2D width:                16384
  Max image 2D height:               16384
  Max image 3D width:                2048
  Max image 3D height:               2048
  Max image 3D depth:                2048
  Max samplers within kernel:            26591
  Max size of kernel argument:           1024
  Alignment (bits) of base address:      1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                     No
    Quiet NaNs:                  Yes
    Round to nearest even:           Yes
    Round to zero:               Yes
    Round to +ve and infinity:           Yes
    IEEE754-2008 fused multiply-add:         Yes
  Cache type:                    Read/Write
  Cache line size:               64
  Cache size:                    16384
  Global memory size:                8589934592
  Constant buffer size:              7301444403
  Max number of constant args:           8
  Local memory type:                 Scratchpad
  Local memory size:                 65536
  Max pipe arguments:                16
  Max pipe active reservations:          16
  Max pipe packet size:              3006477107
  Max global variable size:          7301444403
  Max global variable preferred total size:  8589934592
  Max read/write image args:             64
  Max on device events:              1024
  Queue on device max size:          8388608
  Max on device queues:              1
  Queue on device preferred size:        262144
  SVM capabilities:              
    Coarse grain buffer:             Yes
    Fine grain buffer:               Yes
    Fine grain system:               No
    Atomics:                     No
  Preferred platform atomic alignment:       0
  Preferred global atomic alignment:         0
  Preferred local atomic alignment:      0
  Kernel Preferred work group size multiple:     64
  Error correction support:          0
  Unified memory for Host and Device:        0
  Profiling timer resolution:            1
  Device endianess:              Little
  Available:                     Yes
  Compiler available:                Yes
  Execution capabilities:                
    Execute OpenCL kernels:          Yes
    Execute native function:             No
  Queue on Host properties:              
    Out-of-Order:                No
    Profiling :                  Yes
  Queue on Device properties:                
    Out-of-Order:                Yes
    Profiling :                  Yes
  Platform ID:                   0x7fe7119b5d30
  Name:                      gfx803
  Vendor:                    Advanced Micro Devices, Inc.
  Device OpenCL C version:           OpenCL C 2.0 
  Driver version:                3098.0 (HSA1.1,LC)
  Profile:                   FULL_PROFILE
  Version:                   OpenCL 1.2 
  Extensions:                    cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program 

clinfo 及其文件夹归 1001 所有。我知道这意味着没有所有者 1001。

drwxrwxr-x  5 1001 1001 4096 May 17 22:28 opencl

我将所有者更改为root。然后我再次运行 clinfo 命令,但这没有任何区别。

我要运行的程序是 xmrig。

这是错误行:

./xmrig ...

* OPENCL       disabled (failed to load OpenCL runtime)

另请注意,我之前没有运行过这个 xmrig 挖矿程序,那是在 16.04 上。那时我使用了不同的矿机。

先感谢您。

drivers graphics opencl amdgpu-pro amdgpu
  • 2 个回答
  • 10802 Views
Martin Hope
haxpor
Asked: 2020-04-01 18:19:49 +0800 CST

在 Ubuntu 19.10 上为 AMD GPU 安装 OpenCL 2.0 驱动程序?我有什么选择?

  • 1

我的主要目标是让 Blender 2.82a 能够检测到我系统的 GPU,然后用作 OpenCL 计算来加快渲染时间。

问题似乎是我的 Ubuntu 发行版本太高,因为我有 19.10 (with kernel 5.5.11-050511-lowlatency) + AMDGPU-PRO的 OpenCL 组件只能正式支持 Ubuntu 18.04,ROCm也是如此。

我确实尝试通过仅针对 OpenCL 组件的安装脚本(通过--headless)安装 AMDGPU-PRO 的 OpenCL,甚至手动安装一个包;都没有成功。如前所述,不支持显示在错误消息中。我想用 ROCm 再试一次,但它的包似乎很大。由于我的发行版没有可用的预构建包,我想它也会失败。

那么,如果回到 18.04 是为我的 GPU 安装 OpenCL 驱动程序(确切地说是来自 Ryzen 3 2200g 的 APU,我没有独立的 GPU)以及已经安装的开源 OpenGL/Vulkan 驱动程序的最后手段,我的选择是什么?梅萨?

编辑:

与此同时,我尽我所能通过libclang-common-10-dev libclc-amdgcn libclc-dev libclc-r600 libllvm10 mesa-opencl-icd包安装 OpenCL 1.1 来测试。它通过 显示有意义的信息clinfo。但是 Blender 仍然没有检测到任何 GPU 作为 OpenCL 设备。

更新 1:

我用 ROCm 进行了测试。有了来自这里和这里的良好报告,很明显 Ubuntu 发行版 19.10 应该不是问题,只需要一个合适的内核版本。因此,我将内核版本恢复为 5.3.x(特别是使用 5.3.18 通用版本,因为 5.3 被声明为 ROCm 的受支持版本,并且来自报告)。

请注意,我按照第二个报告链接中的说明最低限度地安装软件包,因为 ROCm 软件包很大,然后按照其 github 页面的 README.md 中的较少安装说明进行操作。虽然我在上eoan并且包裹来自xenial,但我现在确实承担了风险。都过去了。我可以通过验证clinfo或/opt/rocm-3.1.0/opencl/bin/x86_64/clinfo两者都给出有意义的结果,即我现在拥有 OpenCL 2.1但没有找到设备!!!。

结果来自clinfo

Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3084.0)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  AMD Accelerated Parallel Processing
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   
  clCreateContext(NULL, ...) [default]            No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1

结果来自/opt/rocm-3.1.0/opencl/bin/x86_64/clinfo

Number of platforms:                 1
  Platform Profile:              FULL_PROFILE
  Platform Version:              OpenCL 2.1 AMD-APP (3084.0)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:               Advanced Micro Devices, Inc.
  Platform Extensions:               cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 


  Platform Name:                 AMD Accelerated Parallel Processing
ERROR: clGetDeviceIDs(-1)

除了使用 Blender 进行测试之外,仍然没有检测到 GPU,这就是现在我遇到的设备未找到问题。

我正在进一步调查...

更新 2:

虽然性能不好,但问题解决了。请参阅下面我对这个问题的回答。

blender gpu opencl
  • 1 个回答
  • 8298 Views
Martin Hope
Slaus
Asked: 2020-02-12 05:23:19 +0800 CST

如何从 AMD 获得对 navi10 GPU 的 OpenCL 支持?

  • 6

对于我的AMD Radeon RX 5700XT,我尝试在现代(内核 5.3)Ubuntu 18.04.3上安装amdgpu-pro驱动程序(v19.50),因为驱动程序声称它受支持,但编译失败并出现 C++ 错误。在内核上尝试了相同的结果(在内核上它是不同的错误:)。5.05.5.25.5.2<drm/drmP.h>: No such file or directory

目前我正在kernel 5.5.2安装mesa 19.3。clinfo打印出很多令人满意的信息,看起来都很酷,但中间有这么小的线条:

致命错误:无法打开文件'/usr/lib/clc/gfx1010-amdgcn-mesa-mesa3d.bc':没有这样的文件或目录

这会导致内核编译失败(同样的错误)。

任何人有幸让 navi10 GPU OpenCL 在Ubuntu上运行任何发行版吗?

kernel opencl amd-graphics amdgpu-pro
  • 2 个回答
  • 7850 Views
Martin Hope
HEKTO
Asked: 2020-01-10 20:52:11 +0800 CST

'libnvidia-compute-435' 软件包的不完整安装使其无法使用

  • 1

我已经使用 GUI 安装了 NVIDIA 驱动程序版本 435:

在此处输入图像描述

我现在看到一个包列表:

hekto@lynx:~$ dpkg -l|grep nvidia
ii  libnvidia-cfg1-435:amd64               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-435                   435.21-0ubuntu0.18.04.2                         all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-435:amd64            435.21-0ubuntu0.18.04.2                         amd64        NVIDIA libcompute package
ii  libnvidia-decode-435:amd64             435.21-0ubuntu0.18.04.2                         amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-435:amd64             435.21-0ubuntu0.18.04.2                         amd64        NVENC Video Encoding runtime library
ii  libnvidia-fbc1-435:amd64               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-435:amd64                 435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-435:amd64               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-435               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA compute utilities
ii  nvidia-dkms-435                        435.21-0ubuntu0.18.04.2                         amd64        NVIDIA DKMS package
ii  nvidia-driver-435                      435.21-0ubuntu0.18.04.2                         amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-435               435.21-0ubuntu0.18.04.2                         amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-435               435.21-0ubuntu0.18.04.2                         amd64        NVIDIA kernel source package
ii  nvidia-prime                           0.8.8.2                                         all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                        390.77-0ubuntu0.18.04.1                         amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-435                       435.21-0ubuntu0.18.04.2                         amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-435          435.21-0ubuntu0.18.04.2                         amd64        NVIDIA binary Xorg driver

我对 OpenCL 很感兴趣,所以我找到了提供 OpenCL 相关文件的 NVIDIA 包——它就是libnvidia-compute-435包。它包含以下文件:

hekto@lynx:~$ dpkg -L libnvidia-compute-435
/.
/etc
/etc/OpenCL
/etc/OpenCL/vendors
/etc/OpenCL/vendors/nvidia.icd
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libcuda.so.435.21
/usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.435.21
/usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so.435.21
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.435.21
/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.435.21
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.435.21
/usr/share
/usr/share/doc
/usr/share/doc/libnvidia-compute-435
/usr/share/doc/libnvidia-compute-435/changelog.Debian.gz
/usr/share/doc/libnvidia-compute-435/copyright
/usr/lib/x86_64-linux-gnu/libcuda.so
/usr/lib/x86_64-linux-gnu/libcuda.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so
/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1

该文件/etc/OpenCL/vendors/nvidia.icd 在此列表中,但在我的系统上不存在。所有的 OpenCL 程序都需要 ICD 文件,没有它们就找不到供应商特定的库。

那么,为什么没有这个文件呢?apt不是安装所有需要的文件是怎么发生的?

(我在 Xubuntu 18.04.3 上)

drivers nvidia apt opencl 18.04
  • 2 个回答
  • 1491 Views
Martin Hope
Joseph Stateson
Asked: 2019-12-27 09:36:17 +0800 CST

在哪里可以找到已安装包的位置?

  • 0

我跑了以下,不知道它安装在哪里

sudo apt-get install opencl-headers

我以为它去了这里:/usr/include

但它可能已经到了这里:/usr/include/x86_64-linux-gnu 我都试过了,如下所示

-DOPENCL_INCLUDE_DIRS=/usr/include/x86_64-linux-gnu  

我得到了重复的定义,例如 time_t 和 time64_t 所以看起来以上都不是 opencl 的实际包含

opencl
  • 1 个回答
  • 2075 Views
Martin Hope
digitalcrow
Asked: 2019-09-06 10:57:51 +0800 CST

如何在搅拌机、libreoffice、davinci 上使用 opencl,但不幸的是使用 AMD 显卡?

  • 1

我想在 blender、libreoffice 和 davinci 上 使用opencl ,但我的 AMD GPU 阻止了成功。

我从 1999 年开始使用 Linux(slackware)并在那时编译了内核。但是现在在 2019 年拥有 AMD 显卡,我根本无法在任何应用程序中使用 opencl。

在 Arch Linux 上,aur 存储库中有一个名为 opencl-amd 的包,如果安装了它,您实际上可以使用 opencl 而无需安装会带来很多问题的专有驱动程序。

我安装了 amdgpu-pro 驱动程序的 18.04.3 安装在更新后无法启动 xorg。我找不到方法,安装 amdgpu-pro 驱动程序不是一种选择。您的帮助将不胜感激。

这一点非常重要:没有 opencl,davinci 将无法启动,blender 和 libreoffice 将在 opencl 下运行得更快,并执行更复杂的操作。这是必需的。

graphics opencl amd-graphics amdgpu-pro
  • 3 个回答
  • 1702 Views
Martin Hope
Hadog
Asked: 2018-05-06 06:16:25 +0800 CST

在 Ubuntu 18.04 上使用 Nvidia 390 的 OpenCL

  • 6

在 16.04,OpenCL 与我的 Nvidia 840M 一起运行,在 Ubuntu 存储库中运行最新的 Nvidia 驱动程序。

我已经为 18.04 进行了全新安装,但是使用来自 Ubuntu 存储库(不是来自任何 PPA)的 390 Nvidia 驱动程序。现在我的 OpenCL 兼容应用程序都无法使用它。

我错了,一旦安装了 Nvidia 驱动程序,OpenCL 就应该工作吗?

drivers nvidia opencl 18.04
  • 1 个回答
  • 20176 Views
Martin Hope
greatfiction
Asked: 2018-05-02 21:27:48 +0800 CST

如何使用 Coffee Lake 在 18.04 上安装 NVIDIA CUDA 工具包 - 是否支持?

  • 11

我喜欢 18.04 的安装,而且我也经常使用 blender3d。我需要 CUDA 工具包才能使用我的 GPU 而不是我的 CPU 进行渲染。

我已经读过,获得正确的工具包至关重要,否则可能会遇到一些非常糟糕的问题。只是想确认它可用于 Ubuntu 18.04。

另外,从哪里得到它并确认它是正确的?

谢谢

nvidia opencl cuda 18.04
  • 2 个回答
  • 29380 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve