Messed Up Mesa drivers?

Was trying to do a zypper dupfor the last few days and kept getting errors related to Mesa and Mesa-gallium versions. My Mesa’s come via Packman.

Computing distribution upgrade…
3 Problems:
Problem: problem with the installed polyphone-2.2-lp152.17.2.x86_64
Problem: the to be installed Mesa-22.3.4-341.1.x86_64 requires ‘Mesa-gallium = 22.3.4’, but this requirement cannot be provided
Problem: the to be installed Mesa-32bit-22.3.4-341.1.x86_64 requires ‘Mesa = 22.3.4’, but this requirement cannot be provided

Looking at the Packman site it seems they didn’t package the 32 bit drivers for the 64bit package. I have sent Packman and email about this.

It seems that some Mesa drivers are failing to build. See:

https://lists.links2linux.de/pipermail/packman/2023-January/017391.html

I also have this problem. It is also mentioned in the Spanish subforum here and in the openSUSE subreddit.

I guess the reasonable action here is to wait until the required packages are built and made accessible.

I choose to retain the obsolete package and all is well.
See the options I think option 3 is to retain the old package.

I finally updated allowing vendor change and apparently everything went well.

Problem:

# zypper dup --dry-run --download-only 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
3 Problems:
Problem: the installed Mesa-gallium-22.3.3-340.1.x86_64 requires 'Mesa = 22.3.3', but this requirement cannot be provided
Problem: the installed Mesa-22.3.3-340.1.x86_64 requires 'Mesa-libGL1 = 22.3.3', but this requirement cannot be provided
Problem: the installed Mesa-22.3.3-340.1.x86_64 requires 'Mesa-libEGL1 = 22.3.3', but this requirement cannot be provided

Problem: the installed Mesa-gallium-22.3.3-340.1.x86_64 requires 'Mesa = 22.3.3', but this requirement cannot be provided
  deleted providers: Mesa-22.3.3-340.1.x86_64
 Solution 1: install Mesa-gallium-22.3.4-340.1.x86_64 from vendor openSUSE
  replacing Mesa-gallium-22.3.3-340.1.x86_64 from vendor http://packman.links2linux.de
 Solution 2: install Mesa-gallium-22.3.4-341.1.i586 despite the inferior architecture
 Solution 3: keep obsolete Mesa-22.3.3-340.1.x86_64
 Solution 4: break Mesa-gallium-22.3.3-340.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/4/s/r/c/d/?] (c): c

Solution:

# zypper dup --dry-run --download-only --allow-vendor-change 
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 47 packages are going to be upgraded:
  libgbm1 libgbm-devel libjavascriptcoregtk-4_0-18 libjavascriptcoregtk-4_1-0 liblzma5 libOSMesa8 libOSMesa-devel libpipewire-0_3-0 libwebkit2gtk-4_0-37 libwebkit2gtk-4_1-0 lsof Mesa Mesa-devel Mesa-dri
  Mesa-dri-devel Mesa-dri-nouveau Mesa-gallium Mesa-KHR-devel Mesa-libEGL1 Mesa-libEGL-devel Mesa-libGL1 Mesa-libglapi0 Mesa-libglapi-devel Mesa-libGL-devel Mesa-libGLESv1_CM-devel Mesa-libGLESv2-devel
  openSUSE-release openSUSE-release-appliance-custom pandoc perl-CGI pipewire pipewire-lang pipewire-modules-0_3 pipewire-spa-plugins-0_2 pipewire-spa-tools pipewire-tools python310-loguru python310-scipy
  python310-wxPython systemd-rpm-macros webkit2gtk-4_0-injected-bundles WebKit2GTK-4.0-lang webkit2gtk-4_1-injected-bundles WebKit2GTK-4.1-lang xz xz-devel xz-lang

The following product is going to be upgraded:
  openSUSE Tumbleweed  20230127-0 -> 20230128-0

The following 2 packages are going to be downgraded:
  libsgutils2-1_48-2 sg3_utils

The following 3 packages are going to change vendor:
  Mesa-dri          http://packman.links2linux.de -> openSUSE
  Mesa-dri-nouveau  http://packman.links2linux.de -> openSUSE
  Mesa-gallium      http://packman.links2linux.de -> openSUSE

47 packages to upgrade, 2 to downgrade, 3  to change vendor.

Trouble is if I allow-vendor-change a whole load of other packages change as well. For example -

  ffmpeg-5                            http://packman.links2linux.de -> obs://build.opensuse.org/multimedia
  ffmpeg-5-libavcodec-devel           http://packman.links2linux.de -> obs://build.opensuse.org/multimedia
  ffmpeg-5-libavutil-devel            http://packman.links2linux.de -> obs://build.opensuse.org/multimedia
  ffmpeg-5-libswresample-devel        http://packman.links2linux.de -> obs://build.opensuse.org/multimedia
  ffmpegthumbnailer                   openSUSE -> obs://build.opensuse.org/multimedia

But if I allow that then things like mpv fails due to codecs as there’s some licensing issues with packages via obs://builds.

I may wait a few days as well.

To clarify - only PACKMAN provides the x264 and x265 codecs needed to play videos via mpv. I don’t understand why and how only PACKMAN can provide these packages and not be provided via any opensuse repo (OSS or media:libs or media:apps) .

Licensing is a mean mistress.

Perhaps you can try the new openh264 repo: openSUSE Simplifies Codec Installation - openSUSE News

This is all I need so now I can completely remove packman dependency.

Thanks but I don’t see a x265 codec. I have more 265 encoded videos than x264.

But what I did do many years ago was to compile the x264 and x265 codecs from source. I’d rather not go on that adventure again :sweat: