mpv no longer starts - symbol lookup error: /usr/lib64/libshaderc_shared.so.1: undefined symbol:

I’ve made an attempt at bug report: https://bugzilla.suse.com/show_bug.cgi?id=1183350

Updating goes via: sudo zypper ref && sudo zypper dup --allow-vendor-change

mpv version: 0.33.0+git.20210223T124404.09d7c75bfe-1.1 from: openSUSE:Factory

libshaderc_shared1 2020.4-1.3 from: [FONT=monospace][FONT=arial]openSUSE:Factory

zypper repos -d :

#  | Alias                                | Name                                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                             | Service 
---+--------------------------------------+----------------------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------------------+-------- 
 1 | Google-Chrome                        | Google-Chrome                                      | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                             |  
 2 | download.opensuse.org-non-oss        | Main Repository (NON-OSS) (20200618)               | No      | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/history/20200925/tumbleweed/repo/non-oss/                         |  
 3 | download.opensuse.org-oss            | Main Repository (OSS) (20200618)                   | No      | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/history/20200925/tumbleweed/repo/oss/                             |  
 4 | download.opensuse.org-tumbleweed     | Main Update Repository                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/update/tumbleweed/                                                |  
 5 | element-stable                       | Element for OpenSUSE Tumbleweed - x86_64           | Yes     | ( p) Yes  | No      |   99     | rpm-md | https://download.copr.fedorainfracloud.org/results/taw/element/opensuse-tumbleweed-x86_64/      |  
 6 | element-testing                      | Element for OpenSUSE Tumbleweed - x86_64 - testing | No      | ----      | ----    |   99     | NONE   | https://download.copr.fedorainfracloud.org/results/taw/riot-testing/opensuse-tumbleweed-x86_64/ |  
 7 | games                                | openSUSE Games (openSUSE_Tumbleweed)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/                           |  
 8 | gitlab.com_paulcarroty_vscodium_repo | gitlab.com_paulcarroty_vscodium_repo               | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/                                       |  
 9 | google-chrome-unstable               | google-chrome-unstable                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                             |  
10 | home_dubkat_liberation               | An alternative SSL solution (openSUSE_Tumbleweed)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/dubkat:/liberation/openSUSE_Tumbleweed/        |  
11 | home_zzsmurf                         | home:zzsmurf (openSUSE_Tumbleweed)                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/zzsmurf/openSUSE_Tumbleweed/                   |  
12 | http-download.opensuse.org-03218cf2  | home:ecsos                                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/ecsos/openSUSE_Tumbleweed/                     |  
13 | http-download.opensuse.org-2d3729a6  | home:ecsos:messenger:matrix                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/ecsos:/messenger:/matrix/openSUSE_Tumbleweed/  |  
14 | http-download.opensuse.org-37a8d269  | openSUSE:Factory                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/                          |  
15 | http-download.opensuse.org-494f82f1  | openSUSE:Tumbleweed                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                       |  
16 | http-download.opensuse.org-75f2c15c  | system:packagemanager                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/packagemanager/openSUSE_Tumbleweed/          |  
17 | http-download.opensuse.org-7e29f95f  | network:im:signal                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/network:/im:/signal/openSUSE_Tumbleweed/             |  
18 | http-download.opensuse.org-e0c23165  | network:messaging:xmpp:dino                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/network:/messaging:/xmpp:/dino/openSUSE_Tumbleweed/  |  
19 | http-ftp.gwdg.de-5a24a333            | Packman Repository                                 | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/                                  |  
20 | http-opensuse-guide.org-abd929ca     | libdvdcss repository                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                             |  
21 | https-download.opensuse.org-806f812d | openSUSE:Factory:NonFree                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/openSUSE:/Factory:/NonFree/standard/                 |  
22 | https-download.opensuse.org-aad7f6ae | home:khnazile:video                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/khnazile:/video/openSUSE_Tumbleweed/           |  
23 | https-download.opensuse.org-da30d9e7 | home:dubkat:liberation                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/home:/dubkat:/liberation/openSUSE_Tumbleweed/        |  
24 | openSUSE-20200429-0                  | openSUSE-20200429-0                                | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C530000310117122040-0:0-part2                |  
25 | openSUSE_Tumbleweed                  | Mozilla                                            | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/                         |  
26 | repo-debug                           | openSUSE-Tumbleweed-Debug                          | No      | ----      | ----    |   99     | NONE   | https://download.opensuse.org/debug/tumbleweed/repo/oss/                                        |  
27 | repo-source                          | openSUSE-Tumbleweed-Source                         | No      | ----      | ----    |   99     | NONE   | https://download.opensuse.org/source/tumbleweed/repo/oss/                                       |  
28 | ring                                 | Ring 20210307 - x86_64 - ring                      | Yes     | ( p) Yes  | No      |   99     | rpm-md | https://dl.jami.net/internal/opensuse-tumbleweed                                                | 


[/FONT][/FONT]

Was working here on an VirtualBox Tumbleweed:

 mpv xxxxx.mp4
 (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vaapi] Failed to initialize VAAPI: unknown libva error
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
AO: [pulse] 44100Hz stereo 2ch float
VO: [x11] 1280x720 yuv420p
AV: 00:00:23 / 00:18:34 (2%) A-V:  0.000 Cache: 534s/150MB

Exiting... (Quit)

But not as many Repos enabled, no Factory, and not all to the same priority.

Also maybe it depends on the codec.

mpv --version
mpv 0.33.0+git.20210223T124404.09d7c75bfe Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on Feb 25 2021
FFmpeg library versions:
   libavutil       56.51.100
   libavcodec      58.91.100
   libavformat     58.45.100
   libswscale      5.7.100
   libavfilter     7.85.100
   libswresample   3.7.100
FFmpeg version: 4.3.1

Thanks for the reply, the error shows up if I simply run mpv:

/mnt> mpv 
mpv: symbol lookup error: /usr/lib64/libshaderc_shared.so.1: undefined symbol: _ZN8spvtools9Optimizer28RegisterVulka
nToWebGPUPassesEv

Is this the moment where one starts over with a clean installation?

Post:

zypper se -si mpv shaderc

My:

LANG=C zypper se -si mpv shaderc
Loading repository data...
Reading installed packages...

S  | Name                | Type    | Version                                   | Arch   | Repository
---+---------------------+---------+-------------------------------------------+--------+-----------
i  | libshaderc_shared1  | package | 2020.4-1.3                                | x86_64 | OSS
i+ | mpv                 | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | x86_64 | OSS
i  | mpv-bash-completion | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | noarch | OSS
i  | mpv-mpris           | package | 0.5-1.4                                   | x86_64 | OSS
S  | Name                | Type    | Version                                   | Arch   | Repository 
---+---------------------+---------+-------------------------------------------+--------+-------------------- 
i+ | libshaderc_shared1  | package | 2020.4-1.3                                | x86_64 | openSUSE:Factory 
i+ | libshaderc_shared1  | package | 2020.4-1.3                                | x86_64 | openSUSE:Tumbleweed 
i+ | mpv                 | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | x86_64 | openSUSE:Factory 
i+ | mpv                 | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | x86_64 | openSUSE:Tumbleweed 
i+ | mpv-bash-completion | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | noarch | openSUSE:Factory 
i+ | mpv-bash-completion | package | 0.33.0+git.20210223T124404.09d7c75bfe-1.1 | noarch | openSUSE:Tumbleweed 
i+ | mpv-mpris           | package | 0.5-1.4                                   | x86_64 | openSUSE:Factory 
i+ | mpv-mpris           | package | 0.5-1.4                                   | x86_64 | openSUSE:Tumbleweed



Hi
Too many unsupported repositories active, why Factory, why a test ring repo?

If a package your wanting is in a home repo, ask the repo owner to push to a development project and onto Tumbleweed?

So you can’t wait a few days for the likes of the Mozilla products to make it through QA and into the release?

Factory & Tumbleweed both? Is it good?

Thanks for the reply, quite frankly, I forget!
I try to keep track of why I add repositories but I seem to have missed that step a number of times.
Ring is for Jami: https://jami.net/, though I could probably get rid of it now.
In general I add additional repositories as some packages in official repo tend to lag up to weeks behind their equivalents, I’m not comfortable using an older Firefox version that may be missing critical security updates, days is optimistic in my experience.
That or the package is not available in official repos.
What is the difference between Factory and Tumbleweed? I thought they were one and the same?

In general I add additional repositories as some packages in official repo tend to lag up to weeks behind their equivalents, I’m not comfortable using an older Firefox version that may be missing critical security updates, days is optimistic in my experience.

They will be also backported…

Back on topic, seems to be resolved through:

libSPIRV-Tools-suse19 obs://build.opensuse.org/home:khnazile -> openSUSE

I’ve disabled Factory as a repository and ran [FONT=monospace][FONT=monospace]sudo zypper ref && sudo zypper dup --allow-vendor-change
[/FONT][/FONT]

Hi
So for the packages not in the official repo, check the changelog for an email address to contact the maintainer and ask if they will submit?

All depends on the severity of any CVE, if it’s that important, Tumbleweed has the update repository for this very scenario… if it’s still in the development repo, then as can be seen issues crop up, likewise if you allow a vendor change, you could pull in a package from any one of the enabled repos…

Factory and Tumbleweed, well yes and no, potential problems with the repositories, zypper resolver and mirrorbrain fighting each other to figure out the package to get, one repo, one solver, one mirror re-direct…

End of the day, it’s your system :wink:

Why every –allow-vendor-change?
Update only with

zypper dup

As far as I’ve wrapped my head around it (I haven’t) without it the packages are not pulled from the custom repo if the packages there are newer.

As far as I’ve wrapped my head around it (I haven’t) without it the packages are not pulled from the custom repo if the packages there are newer.

Why?
You are on Tumbleweed!