Public bug reported:

 (+) Video --vid=1 (*) (h264 640x480 29.970fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit 
protocol. This means the screen can blank during playback.
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 640x480 yuv420p
[destroyed object]: error 7: failed to import supplied dmabufs: Arguments are 
inconsistent (for example, a valid context requires buffers not supplied by a 
[vo/gpu/wayland] Error occurred on the display fd, closing

Mpv crashes on system after running it when prime-select is on-demand
If we set prime-select intel then it works.

Seems to be same as https://github.com/mpv-player/mpv/issues/9393 as
using the workaround in the issue fixes the issue
(__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json)
and seems to be fixed in fedora in
https://bodhi.fedoraproject.org/updates/FEDORA-2021-0526645c86

one more thing to note is that eglinfo by default shows nvidia but using
the workaround makes it show Intel.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mpv 0.34.1-1ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 10 21:32:14 2022
InstallationDate: Installed on 2022-03-13 (28 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220312)
SourcePackage: mpv
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mpv (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug intel jammy nvidia wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968488

Title:
  mpv crashes when run on wayland session on nvidia/intel (optimus)
  system when prime-select is on-demand

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1968488/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to