Mesa

Just for info purposes, I did a system update this morning and it updated 8 Mesa packages with versions from packman.

This is because Mesa contained video codecs/hardware encoding flags and they had to be disabled because of patent issues. Fedora, RedHat, openSUSE and other distributions had to rebuild mesa with disabled codecs. Packman and rpm fusion provides mesa with enabled codecs.
https://build.opensuse.org/request/show/1006922#request-creation
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PYUYUCM3RGTTN4Q3QZIB4VUQFI77GE5X/
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/opengl-vulkan-mesa-gallium3d/1321663-mesa-can-now-be-built-with-select-video-codecs-disabled-for-software-patent-concerns#post1322191
https://twitter.com/spotfoss/status/1575885891922690048

20221004 is not giving me quite the same the option. Instead, it wants i586 from Packman, with no option for available 64bit packages:

# zypper -v dup
Verbosity: 2
Initializing Target
Checking whether to refresh metadata
...
Computing distribution upgrade...
Force resolution: No
Computing upgrade...

Problem: nothing provides 'libclc(llvm15)' needed by the to be installed Mesa-libOpenCL-22.2.0-325.4.i586
 Solution 1: install Mesa-libOpenCL-22.2.0-326.1.i586 from vendor http://packman.links2linux.de
  replacing Mesa-libOpenCL-22.1.3-318.1.x86_64 from vendor openSUSE
 Solution 2: keep obsolete Mesa-libOpenCL-22.1.3-318.1.x86_64
 Solution 3: break Mesa-libOpenCL-22.2.0-325.4.i586 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c
# cat /usr/local/bin/zypsei
#!/bin/sh
zypper --no-refresh se -s -i $*  | grep -Ev 'debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort
# zypsei lvm
i | libLLVM15      | package | 15.0.1-1.4  | x86_64 | OSS
i | libbd_lvm2     | package | 2.27-1.2    | x86_64 | OSS
i | liblvm2cmd2_03 | package | 2.03.16-2.1 | x86_64 | OSS
i | lvm2           | package | 2.03.16-2.1 | x86_64 | OSS
# cat /usr/local/bin/zypse
#!/bin/sh
zypper --no-refresh se -s $*  | grep -Ev 'debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort
# zypse libOpenCL
   | libOpenCL1               | package | 2.3.1-1.8    | x86_64 | OSS
   | libOpenCL1-32bit         | package | 2.3.1-1.8    | x86_64 | OSS
   | libopencl-clang11        | package | 1.0.8744-1.7 | x86_64 | OSS
i+ | Mesa-libOpenCL           | package | 22.1.3-318.1 | x86_64 | (System Packages)
v  | Mesa-libOpenCL           | package | 22.2.0-325.4 | x86_64 | OSS
v  | Mesa-libOpenCL           | package | 22.2.0-326.2 | x86_64 | PackmanE
#

Why is any Mesa*i586 package “to be installed” on a 64bit installation? There are no 32bit packages currently installed. :?

Kind of SNAFU on your system. Cleanup needed. erlangen has:

**erlangen:~ #** zypper se -is mesa 
Loading repository data... 
Reading installed packages... 

S  | Name                      | Type    | Version         | Arch   | Repository 
---+---------------------------+---------+-----------------+--------+----------------------- 
i  | Mesa                      | package | 22.2.0-326.1    | x86_64 | Packman 
i  | Mesa-demo-x               | package | 8.5.0-1.2       | x86_64 | Haupt-Repository (OSS) 
i  | Mesa-dri                  | package | 22.2.0-326.2    | x86_64 | Packman 
i  | Mesa-gallium              | package | 22.2.0-326.2    | x86_64 | Packman 
i  | Mesa-libEGL1              | package | 22.2.0-326.1    | x86_64 | Packman 
i  | Mesa-libGL1               | package | 22.2.0-326.1    | x86_64 | Packman 
i  | Mesa-libglapi0            | package | 22.2.0-326.1    | x86_64 | Packman 
i  | Mesa-vulkan-device-select | package | 22.2.0-326.2    | x86_64 | Packman 
**erlangen:~ #**
# zypper -v in Mesa-libOpenCL-22.2.0-326.2.x86_64
Verbosity: 2
Non-option program arguments: 'Mesa-libOpenCL-22.2.0-326.2.x86_64'
Initializing Target
...
Reading installed packages...
'Mesa-libOpenCL-22.2.0-326.2.x86_64' not found in package names. Trying 'Mesa-libOpenCL.x86_64 = 22.2.0-326.2'.
Selecting 'Mesa-libOpenCL-22.2.0-326.2.x86_64' from repository 'PackmanE' for installation.
Resolving package dependencies...
Force resolution: No

Problem: nothing provides 'libclc(llvm15)' needed by the to be installed Mesa-libOpenCL-22.2.0-326.2.x86_64
 Solution 1: do not install Mesa-libOpenCL-22.2.0-326.2.x86_64
 Solution 2: break Mesa-libOpenCL-22.2.0-326.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Applying solution 2
Resolving dependencies...
Resolving package dependencies...
Force resolution: No

The following package is going to be upgraded:
  Mesa-libOpenCL  22.1.3-318.1 -> 22.2.0-326.2

The following package is going to change vendor:
  Mesa-libOpenCL  22.1.3-318.1 -> 22.2.0-326.2  openSUSE -> http://packman.links2linux.de

The following NEW package is going to be installed:
  libclang-cpp15  15.0.1-1.4

1 package to upgrade, 1 new, 1 to change vendor.
Overall download size: 13.7 MiB. Already cached: 0 B. After the operation, additional 74.9 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
committing

Checking for file conflicts: (2 skipped) ..............................................................................................................................................[done]
Warning: 2 packages had to be excluded from file conflicts check because they are not yet downloaded.

    Note: Checking for file conflicts requires not installed packages to be downloaded in advance in
    order to access their file lists. See option '--download-in-advance / --dry-run --download-only'
    in the zypper manual page for details.

Retrieving package libclang-cpp15-15.0.1-1.4.x86_64                                                                                                     (1/2),  13.1 MiB ( 74.7 MiB unpacked)
Retrieving: media .....................................................................................................................................................................[done]
Retrieving: libclang-cpp15-15.0.1-1.4.x86_64.rpm ..........................................................................................................................[done (9.8 MiB/s)]
(1/2) Installing: libclang-cpp15-15.0.1-1.4.x86_64 ....................................................................................................................................[done]
Retrieving package Mesa-libOpenCL-22.2.0-326.2.x86_64                                                                                                   (2/2), 625.2 KiB (  1.7 MiB unpacked)
Retrieving: Mesa-libOpenCL-22.2.0-326.2.x86_64.rpm .......................................................................................................................[done (20.8 KiB/s)]
warning: /var/cache/zypp/packages/PackmanE/x86_64/Mesa-libOpenCL-22.2.0-326.2.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(2/2) Installing: Mesa-libOpenCL-22.2.0-326.2.x86_64 ..................................................................................................................................[done]
CommitResult  (total 2, done 2, error 0, skipped 0, updateMessages 0)
Checking for running processes using deleted libraries...

# zypper ve
Loading repository data...
...
Problem: nothing provides 'libclc(llvm15)' needed by the to be installed Mesa-libOpenCL-22.2.0-326.2.x86_64
 Solution 1: deinstallation of Mesa-libOpenCL-22.2.0-326.2.x86_64
 Solution 2: break Mesa-libOpenCL-22.2.0-326.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): c
# zypper -v in -f Mesa-libOpenCL-22.2.0-325.4.x86_64
Verbosity: 2
Non-option program arguments: 'Mesa-libOpenCL-22.2.0-325.4.x86_64'
Initializing Target
...
Reading installed packages...
'Mesa-libOpenCL-22.2.0-325.4.x86_64' not found in package names. Trying 'Mesa-libOpenCL.x86_64 = 22.2.0-325.4'.
Forcing installation of 'Mesa-libOpenCL-22.2.0-325.4.x86_64' from repository 'OSS'.
Resolving package dependencies...
Force resolution: No

Problem: nothing provides 'libclc(llvm15)' needed by the to be installed Mesa-libOpenCL-22.2.0-325.4.x86_64
 Solution 1: do not install Mesa-libOpenCL-22.2.0-325.4.x86_64
 Solution 2: break Mesa-libOpenCL-22.2.0-325.4.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
# zypse libclc
i | libclc | package | 0.2.0+llvm14.0.0-2.1 | noarch | OSS
# zypper lr
Repository priorities in effect:                                                                                                                             (See 'zypper lr -P' for details)
      89 (raised priority)  :  1 repository
      90 (raised priority)  :  1 repository
      99 (default priority) :  5 repositories

# | Enabled | GPG Check | URI
--+---------+-----------+-------------------------------------------------------------------------
1 | Yes     | ( p) Yes  | http://silk.apana.org.au/rpm-unstable-dev
2 | Yes     | (r ) Yes  | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/
3 | Yes     | (  ) No   | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/
4 | Yes     | (r ) Yes  | http://download.opensuse.org/tumbleweed/repo/non-oss
5 | Yes     | (r ) Yes  | http://download.opensuse.org/tumbleweed/repo/oss
6 | Yes     | (r ) Yes  | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/Essentials
7 | Yes     | (r ) Yes  | http://download.opensuse.org/update/tumbleweed/
# rpm -qi libclc
Name        : libclc
Version     : 0.2.0+llvm14.0.0
Release     : 2.1
Architecture: noarch
Install Date: Fri Oct  7 02:44:23 2022
Group       : Development/Libraries/C and C++
Size        : 75281496
License     : Apache-2.0 WITH LLVM-exception AND (BSD-3-Clause OR MIT)
Signature   : RSA/SHA256, Fri Sep  2 20:21:11 2022, Key ID b88b2fd43dbdc284
Source RPM  : libclc-0.2.0+llvm14.0.0-2.1.src.rpm
Build Date  : Fri Sep  2 20:10:53 2022
Build Host  : build71
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://libclc.llvm.org/
Summary     : OpenCL C programming language library
Description :
Library requirements of the OpenCL C programming language.
Distribution: openSUSE Tumbleweed
#

Looks to me like a broken dependency, like either a new libclc for llvm15 didn’t reach the mirrors yet, or Packman Essentials isn’t enough Packman to have enabled. Yet, X seems to be working anyway:

# inxi -Gaz
Graphics:
  Device-1: AMD Oland [Radeon HD 8570 / R5 430 OEM R7 240/340 Radeon 520 OEM]
    vendor: Dell driver: amdgpu v: kernel alternate: radeon arch: GCN-1
    code: Southern Islands process: TSMC 28nm built: 2011-20 pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s ports:
    active: DP-1,DVI-I-1 empty: none bus-ID: 01:00.0 chip-ID: 1002:6611
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4240x1440 s-dpi: 120 s-size: 897x304mm (35.31x11.97")
    s-diag: 947mm (37.29")
  Monitor-1: DP-1 pos: primary,left model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DVI-I-1 pos: right model: Dell P2213 serial: <filter>
    built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  OpenGL: renderer: AMD Radeon HD 8500 Series (oland LLVM 15.0.1 DRM 3.46
    5.18.15-1-default) v: 4.6 Mesa 22.2.0 direct render: Yes

It’s a test installation, so normally doesn’t play videos that require non-free software.

Added factory to the list of repos:

**erlangen:~ #** repos 
#  | Alias                | Enabled | GPG Check | Refresh | Priority | URI 
---+----------------------+---------+-----------+---------+----------+--------------------------------------------------------------------------------------- 
 7 | Packman              | Yes     | (r ) Yes  | Yes     |   90     | https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ 
21 | non-oss              | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/non-oss/ 
23 | oss                  | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/oss/ 
30 | update               | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/update/tumbleweed/ 
10 | factory              | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/openSUSE:Factory/standard/ 
11 | google-chrome        | Yes     | (r ) Yes  | No      |  100     | https://dl.google.com/linux/chrome/rpm/stable/x86_64 
17 | home_kukuk_qmapshack | Yes     | (r ) Yes  | Yes     |  100     | https://download.opensuse.org/repositories/home:/kukuk:/qmapshack/openSUSE_Tumbleweed/ 
18 | jalbum               | Yes     | (  ) No   | Yes     |  100     | https://jalbum.net/download/software/yumrepo/ 
20 | myrepo               | Yes     | (  ) No   | Yes     |  100     | dir:/home/karl/Downloads/myrepo 
**erlangen:~ #** 

Alas:

**erlangen:~ #** zypper -n install -D Mesa-libOpenCL   
Loading repository data... 
Reading installed packages... 
Resolving package dependencies... 

Problem: nothing provides 'libclc(llvm15)' needed by the to be installed Mesa-libOpenCL-22.2.0-326.2.x86_64 
 Solution 1: do not install Mesa-libOpenCL-22.2.0-326.2.x86_64 
 Solution 2: break Mesa-libOpenCL-22.2.0-326.2.x86_64 by ignoring some of its dependencies 

**Choose from above solutions by number or cancel [1/2/c/d/?] (c): **c 
**erlangen:~ #**