OK, there was an update today which updated a lot of Mesa stuff. I don’t even know what that all is except it appears to have something to do with multimedia. The update complained about various parts of Mesa not being supplied, and gave me options to uninstall packages, install packages with vendor change to openSUSE, and break dependencies. I was I thought smart enough to install packages with vendor change. Perhaps I wasn’t.
The update said there were running programs that should be restarted, so I restarted the media programs I usually have open, which are Exaile and SMPlayer.
So I was playing a video on SMPlayer an hour ago and it seemed choppy and stuttering somewhat, so I decided to reboot the system entirely to see if that would fix it on the assumption that perhaps other updated components were not loaded.
Instead now when I try to play the video with SMPlayer, the backend mpv video player dies with the following errors messages in the log.
/usr/bin/mpv --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-159d --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-config --no-fs --hwdec=no --sub-auto=fuzzy --ao=pulse, --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=25165848 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=ISO-8859-1 --vid=1 --sub-pos=100 --volume=53 --cache=auto --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/Data2/Work --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-params/aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
--audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /Data2/Work/Work2/NATO Testing Waters on Buffer Zone as Ukraine Offensive Grinds to Halt.mp4
Running mpv from command line gives similar error messages about the DRI driver:
rhack@localhost:/Data2/Work/Work2> mpv "NATO Testing Waters on Buffer Zone as Ukraine Offensive Grinds to Halt.mp4"
(+) Video --vid=1 (*) (h264 1280x720 30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
DRI driver not from this Mesa build ('23.1.6' vs '23.1.8')
failed to bind extensions
DRI driver not from this Mesa build ('23.1.6' vs '23.1.8')
failed to bind extensions
DRI driver not from this Mesa build ('23.1.6' vs '23.1.8')
failed to bind extensions
DRI driver not from this Mesa build ('23.1.6' vs '23.1.8')
failed to bind extensions
[vo/gpu] Failed to create GBM device.
[vo/gpu] Failed to setup GBM.
[vo/gpu] Failed to commit atomic request: No such file or directory
I did a little Google research and I see that this appears to be a problem that crops up with various Linux distros, including Tumbleweed in the past. I suspected that this issue might be a mismatch between openSUSE programs and packman programs, but it looks to me like all of the relevant programs are openSUSE installs, not packman. What I have installed for mpv and SMPlayer and Mesa are the following:
Information for package mpv:
----------------------------
Repository : Main Repository (OSS) (20230906)
Name : mpv
Version : 0.36.0+git20230826.83c0e980-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 3.5 MiB
Installed : Yes
Status : up-to-date
Source package : mpv-0.36.0+git20230826.83c0e980-1.1.src
Upstream URL : http://mpv.io
Summary : Advanced general-purpose multimedia player
Information for package smplayer:
---------------------------------
Repository : Main Repository (OSS) (20230906)
Name : smplayer
Version : 23.6.0-1.2
Arch : x86_64
Vendor : openSUSE
Installed Size : 4.4 MiB
Installed : Yes
Status : up-to-date
Source package : smplayer-23.6.0-1.2.src
Upstream URL : https://smplayer.info/
Summary : Complete frontend for MPV
Information for package Mesa:
-----------------------------
Repository : Main Repository (OSS) (20230906)
Name : Mesa
Version : 23.1.6-356.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 9.4 KiB
Installed : Yes
Status : up-to-date
Source package : Mesa-23.1.6-356.1.src
Upstream URL : https://www.mesa3d.org
Summary : System for rendering 3-D graphics
As you can see, I have Mesa Mesa-23.1.6-356.1.src installed and the error messages are complaining about “DRI driver not from this Mesa build (‘23.1.6’ vs ‘23.1.8’)”.
VLC appears to be unaffected.
How can I fix this? How can I get the right DRI drivers installed?