mpv fails on wayland: [destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 808669784

Bug #1875076 reported by Marius Gedminas
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mpv (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I upgraded my Ubuntu 19.10 laptop to 20.04 LTS and now mpv is unable to play any video. I've tried it with files that played fine on 19.10. All I get is

$ mpv http://intranet-host.example.com/somevideo.avi
 (+) Video --vid=1 (mpeg4 624x480 23.976fps)
 (+) Audio --aid=1 (mp3 2ch 44100Hz)
[vo/gpu/wayland] GNOME's wayland compositor is known to have many serious issues with mpv. Switch to GNOME's xorg session for the best experience.
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 624x480 yuv420p
[destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 808669784
AV: 00:00:00 / 00:21:58 (0%) A-V: 0.000 Cache: 4.6s/1MB
[vo/gpu/wayland] Error occurred on the display fd, closing

Exiting... (Quit)

I'm using an Ubuntu on Wayland session.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mpv 0.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 25 22:02:41 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-06-12 (317 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: mpv
UpgradeStatus: Upgraded to focal on 2020-04-24 (1 days ago)

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Forgot to mention: this laptop has Intel video (Mesa Intel® UHD Graphics 620 (WHL GT2)).

This looks like a matching Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955273

Revision history for this message
Marius Gedminas (mgedmin) wrote :

This looks like a matching upstream bug: https://github.com/mpv-player/mpv/issues/7516

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Apparently the root cause is mesa bug 1868520.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

The workaround mentioned in the mpv upstream issue works for me:

export MESA_LOADER_DRIVER_OVERRIDE=i965
mpv ...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mpv (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.