[Touch-packages] [Bug 2029173] Re: fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': No such file or directory

2024-01-23 Thread Oibaf
*** This bug is a duplicate of bug 1909805 ***
https://bugs.launchpad.net/bugs/1909805

Let's mark this as a duplicate of bug 1909805.

** This bug has been marked a duplicate of bug 1909805
   libclc-amdgcn missing files for current AMD APUs

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2029173

Title:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-
  mesa3d.bc': No such file or directory

Status in mesa package in Ubuntu:
  New

Bug description:
  Programs using OpenCL report the following bug:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory

  This bug is encountered when trying to run
  github.com/ggerganov/llama.cpp build with CLBlast or just using
  clinfo.

  The hardware is an AMD Radeon RX 6700 XT

  lsb_release -rd:
  No LSB modules are available.
  Description:Ubuntu 23.04
  Release:23.04

  
  apt-cache policy mesa-opencl-icd  #although I am not sure that this is the 
offending package
  mesa-opencl-icd:
Installed: 23.0.4-0ubuntu1~23.04.1
Candidate: 23.0.4-0ubuntu1~23.04.1
Version table:
   *** 23.0.4-0ubuntu1~23.04.1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 
Packages
  100 /var/lib/dpkg/status
   23.0.2-1ubuntu1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
  pc@pc-MS-7C02:~/ML/llama.cpp$ 

  
  clinfo output:
  Number of platforms   2
Platform Name   Clover
Platform Vendor Mesa
Platform VersionOpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name   rusticl
Platform Vendor Mesa/X.org
Platform VersionOpenCL 3.0 
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions with Versioncl_khr_icd  
 0x40 (1.0.0)
Platform Numeric Version0xc0 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution  0ns

Platform Name   Clover
  Number of devices 1
Device Name AMD Radeon RX 6700 XT 
(navi22, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)
Device Vendor   AMD
Device Vendor ID0x1002
Device Version  OpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Device Numeric Version  0x401000 (1.1.0)
Driver Version  23.0.4-0ubuntu1~23.04.1
Device OpenCL C Version OpenCL C 1.1 
Device OpenCL C Numeric Version 0x401000 (1.1.0)
Device Type GPU
Device Profile  FULL_PROFILE
Device AvailableYes
Compiler Available  Yes
Max compute units   40
Max clock frequency 2855MHz
Max work item dimensions3
Max work item sizes 256x256x256
Max work group size 256
  === CL_PROGRAM_BUILD_LOG ===
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory
Preferred work group size multiple (kernel) 
Preferred / native vector sizes 
  char16 / 16  
  short8 / 8   
  int  4 / 4   
  long 2 / 2   
  half 0 / 0(n/a)
  float4 / 4   
  double   2 / 2
(cl_khr_fp64)
Half-precision Floating-point support   (n/a)
Single-precision Floating-point support (core)
  Denormals No
  Infinity and NANs Yes
  Round to nearest  Yes
  Round to zero No
 

[Touch-packages] [Bug 2029173] Re: fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': No such file or directory

2024-01-23 Thread lorn10
Yeah, this is (or was) not a problem of Ubuntu nor it was a problem of
Mesa.

In the end it was a problem of libclc (which is part of LLVM) not
supporting newer Radeon hardware (I think anything newer than GCN4).

Whatever, - this problem was resolved when the libclc was updated:
https://github.com/llvm/llvm-project/pull/78884

Ergo, as of the end of January 2024 libclc includes support for Radeon
hardware up to the RDNA2 generation.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2029173

Title:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-
  mesa3d.bc': No such file or directory

Status in mesa package in Ubuntu:
  New

Bug description:
  Programs using OpenCL report the following bug:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory

  This bug is encountered when trying to run
  github.com/ggerganov/llama.cpp build with CLBlast or just using
  clinfo.

  The hardware is an AMD Radeon RX 6700 XT

  lsb_release -rd:
  No LSB modules are available.
  Description:Ubuntu 23.04
  Release:23.04

  
  apt-cache policy mesa-opencl-icd  #although I am not sure that this is the 
offending package
  mesa-opencl-icd:
Installed: 23.0.4-0ubuntu1~23.04.1
Candidate: 23.0.4-0ubuntu1~23.04.1
Version table:
   *** 23.0.4-0ubuntu1~23.04.1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 
Packages
  100 /var/lib/dpkg/status
   23.0.2-1ubuntu1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
  pc@pc-MS-7C02:~/ML/llama.cpp$ 

  
  clinfo output:
  Number of platforms   2
Platform Name   Clover
Platform Vendor Mesa
Platform VersionOpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name   rusticl
Platform Vendor Mesa/X.org
Platform VersionOpenCL 3.0 
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions with Versioncl_khr_icd  
 0x40 (1.0.0)
Platform Numeric Version0xc0 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution  0ns

Platform Name   Clover
  Number of devices 1
Device Name AMD Radeon RX 6700 XT 
(navi22, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)
Device Vendor   AMD
Device Vendor ID0x1002
Device Version  OpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Device Numeric Version  0x401000 (1.1.0)
Driver Version  23.0.4-0ubuntu1~23.04.1
Device OpenCL C Version OpenCL C 1.1 
Device OpenCL C Numeric Version 0x401000 (1.1.0)
Device Type GPU
Device Profile  FULL_PROFILE
Device AvailableYes
Compiler Available  Yes
Max compute units   40
Max clock frequency 2855MHz
Max work item dimensions3
Max work item sizes 256x256x256
Max work group size 256
  === CL_PROGRAM_BUILD_LOG ===
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory
Preferred work group size multiple (kernel) 
Preferred / native vector sizes 
  char16 / 16  
  short8 / 8   
  int  4 / 4   
  long 2 / 2   
  half 0 / 0(n/a)
  float4 / 4   
  double   2 / 2
(cl_khr_fp64)
Half-precision Floating-point support   (n/a)
Single-precision Floating-point support (core)
  Denormals 

[Touch-packages] [Bug 2029173] Re: fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': No such file or directory

2023-11-26 Thread Your full Name
The error is unchanged with Kubuntu 23.10

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2029173

Title:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-
  mesa3d.bc': No such file or directory

Status in mesa package in Ubuntu:
  New

Bug description:
  Programs using OpenCL report the following bug:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory

  This bug is encountered when trying to run
  github.com/ggerganov/llama.cpp build with CLBlast or just using
  clinfo.

  The hardware is an AMD Radeon RX 6700 XT

  lsb_release -rd:
  No LSB modules are available.
  Description:Ubuntu 23.04
  Release:23.04

  
  apt-cache policy mesa-opencl-icd  #although I am not sure that this is the 
offending package
  mesa-opencl-icd:
Installed: 23.0.4-0ubuntu1~23.04.1
Candidate: 23.0.4-0ubuntu1~23.04.1
Version table:
   *** 23.0.4-0ubuntu1~23.04.1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 
Packages
  100 /var/lib/dpkg/status
   23.0.2-1ubuntu1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
  pc@pc-MS-7C02:~/ML/llama.cpp$ 

  
  clinfo output:
  Number of platforms   2
Platform Name   Clover
Platform Vendor Mesa
Platform VersionOpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name   rusticl
Platform Vendor Mesa/X.org
Platform VersionOpenCL 3.0 
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions with Versioncl_khr_icd  
 0x40 (1.0.0)
Platform Numeric Version0xc0 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution  0ns

Platform Name   Clover
  Number of devices 1
Device Name AMD Radeon RX 6700 XT 
(navi22, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)
Device Vendor   AMD
Device Vendor ID0x1002
Device Version  OpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Device Numeric Version  0x401000 (1.1.0)
Driver Version  23.0.4-0ubuntu1~23.04.1
Device OpenCL C Version OpenCL C 1.1 
Device OpenCL C Numeric Version 0x401000 (1.1.0)
Device Type GPU
Device Profile  FULL_PROFILE
Device AvailableYes
Compiler Available  Yes
Max compute units   40
Max clock frequency 2855MHz
Max work item dimensions3
Max work item sizes 256x256x256
Max work group size 256
  === CL_PROGRAM_BUILD_LOG ===
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory
Preferred work group size multiple (kernel) 
Preferred / native vector sizes 
  char16 / 16  
  short8 / 8   
  int  4 / 4   
  long 2 / 2   
  half 0 / 0(n/a)
  float4 / 4   
  double   2 / 2
(cl_khr_fp64)
Half-precision Floating-point support   (n/a)
Single-precision Floating-point support (core)
  Denormals No
  Infinity and NANs Yes
  Round to nearest  Yes
  Round to zero No
  Round to infinity No
  IEEE754-2008 fused multiply-add   No
  Support is emulated in software   No
  Correctly-rounded divide and sqrt 

[Touch-packages] [Bug 2029173] Re: fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': No such file or directory

2023-10-28 Thread Oibaf
@kolota: can you try with Ubuntu 23.10?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2029173

Title:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-
  mesa3d.bc': No such file or directory

Status in mesa package in Ubuntu:
  New

Bug description:
  Programs using OpenCL report the following bug:
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory

  This bug is encountered when trying to run
  github.com/ggerganov/llama.cpp build with CLBlast or just using
  clinfo.

  The hardware is an AMD Radeon RX 6700 XT

  lsb_release -rd:
  No LSB modules are available.
  Description:Ubuntu 23.04
  Release:23.04

  
  apt-cache policy mesa-opencl-icd  #although I am not sure that this is the 
offending package
  mesa-opencl-icd:
Installed: 23.0.4-0ubuntu1~23.04.1
Candidate: 23.0.4-0ubuntu1~23.04.1
Version table:
   *** 23.0.4-0ubuntu1~23.04.1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 
Packages
  100 /var/lib/dpkg/status
   23.0.2-1ubuntu1 500
  500 http://de.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
  pc@pc-MS-7C02:~/ML/llama.cpp$ 

  
  clinfo output:
  Number of platforms   2
Platform Name   Clover
Platform Vendor Mesa
Platform VersionOpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name   rusticl
Platform Vendor Mesa/X.org
Platform VersionOpenCL 3.0 
Platform ProfileFULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions with Versioncl_khr_icd  
 0x40 (1.0.0)
Platform Numeric Version0xc0 (3.0.0)
Platform Extensions function suffix MESA
Platform Host timer resolution  0ns

Platform Name   Clover
  Number of devices 1
Device Name AMD Radeon RX 6700 XT 
(navi22, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)
Device Vendor   AMD
Device Vendor ID0x1002
Device Version  OpenCL 1.1 Mesa 
23.0.4-0ubuntu1~23.04.1
Device Numeric Version  0x401000 (1.1.0)
Driver Version  23.0.4-0ubuntu1~23.04.1
Device OpenCL C Version OpenCL C 1.1 
Device OpenCL C Numeric Version 0x401000 (1.1.0)
Device Type GPU
Device Profile  FULL_PROFILE
Device AvailableYes
Compiler Available  Yes
Max compute units   40
Max clock frequency 2855MHz
Max work item dimensions3
Max work item sizes 256x256x256
Max work group size 256
  === CL_PROGRAM_BUILD_LOG ===
  fatal error: cannot open file '/usr/lib/clc/gfx1031-amdgcn-mesa-mesa3d.bc': 
No such file or directory
Preferred work group size multiple (kernel) 
Preferred / native vector sizes 
  char16 / 16  
  short8 / 8   
  int  4 / 4   
  long 2 / 2   
  half 0 / 0(n/a)
  float4 / 4   
  double   2 / 2
(cl_khr_fp64)
Half-precision Floating-point support   (n/a)
Single-precision Floating-point support (core)
  Denormals No
  Infinity and NANs Yes
  Round to nearest  Yes
  Round to zero No
  Round to infinity No
  IEEE754-2008 fused multiply-add   No
  Support is emulated in software   No
  Correctly-rounded divide and sqrt