FS#62526 - [totem] Totem or Gnome-MPV do not play video in Gnome Wayland session
Attached to Project:
Arch Linux
Opened by Steffen Sindzinski (SteffenS) - Thursday, 02 May 2019, 04:50 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 19:46 GMT
Opened by Steffen Sindzinski (SteffenS) - Thursday, 02 May 2019, 04:50 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 19:46 GMT
|
Details
Description:
Totem or Gnome-MPV do not play video in Gnome Wayland session. It starts but when trying to play video an error comes up. In Gnome Xorg session all works well. I am using Nouveau driver. VLC and MPV work fine. I tried both packages from Extra and Flathub. On my Antergos PC also with latest packages it works fine but on a fresh Arch linux install on same machine same happens. My system was working fine until one month or so. Additional info: Totem 3.32.0-1 gnome-mpv 0.16-1 xf84-video-nouvau 1.0.16-1 5.0.10-arch1-1-ARCH Gdk-Message: 06:39:12.325: Error 71 (Protokollfehler) dispatching to Wayland display. |
This task depends upon
Is this issue still valid?
- What is the Problem?
On Wayland: Totem (Gnome Videos) Errors when Starting itself saying "Internal data stream error", and then freezes when opening some video formats (MP4 by sure, I didn't try all video formats) with it.
On XORG: It opens without error, but then freezes when opening a file with it, again.
The problem reproduces both on native packages and also flatpak.
- Hardware: Laptop, Dell Precision 3510, 16GB RAM, 250GB SSD internal storage
- CPU: Intel i7-6820HQ (8) @ 3.600GHz
- GPU1: Intel HD Graphics 530
- GPU2: AMD ATI Radeon HD 8830M / R7 250
- Distro: Arch Linux (Manual)
- Kernel: `linux-zen 6.3.2.zen1-1` AND `linux-cachyos 6.3.3-1` (Reproduces on the both)
- Desktop Environment: `gnome-shell 1:44.1-3.1`
- Other Related packages: `wayland 1.22.0-1.1` AND `xorg-server 21.1.8-1.1` (Reproduces almost on the both), `flatpak 1:1.15.4-1`
- Software version: `totem 43.0-2.1`
- Dependencies:
```
totem-pl-parser 3.26.6-2.1
iso-codes 4.15.0-1
libpeas 1.36.0-2.1
grilo 0.3.16-1.1
gsettings-desktop-schemas 44.0-1
python-gobject 3.44.1-3.1
gnome-desktop 1:44.0-1.1
gst-plugins-base 1.22.2-1.1
gst-plugins-good 1.22.2-1.1
gst-plugins-bad 1.22.2-1.1
gst-plugin-gtk 1.22.2-1.1
libhandy 1.8.2-1.1
libportal-gtk3 0.6-1.1
```
- Optional Dependencies:
```
gst-plugins-ugly 1.22.2-1.1
gst-libav 1.22.2-1.1
grilo-plugins 1:0.3.16-1.1
```
- The last time that I didn't have this bug? I don't remember!
- Is this problem Totem specific? Yes! I don't have this problem with `clapper`, `MPV`, `VLC` and `Celluloid`
- How to reproduce the bug? Just opening totem in my system or trying to open a video file with it.
- `journalctl` logs:
```
May 18 16:20:02 arash-arch totem[18649]: gst_buffer_get_meta: assertion 'buffer != NULL' failed
May 18 16:20:02 arash-arch totem[18649]: gst_buffer_get_meta: assertion 'buffer != NULL' failed
May 18 16:20:02 arash-arch dbus-daemon[425]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.153' (uid=1000 pid=18649 comm="/usr/bin/totem --gapplication-service")
May 18 16:20:02 arash-arch dbus-daemon[425]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.154' (uid=1000 pid=18649 comm="/usr/bin/totem --gapplication-service")
May 18 16:20:02 arash-arch dbus-daemon[425]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.155' (uid=1000 pid=18649 comm="/usr/bin/totem --gapplication-service")
May 18 16:20:02 arash-arch dbus-daemon[1003]: [session uid=1000 pid=1003] Activating service name='com.intel.dleyna-server' requested by ':1.352' (uid=1000 pid=18649 comm="/usr/bin/totem --gapplication-service")
```
- log of running `totem` from terminal:
```
(totem:20086): GStreamer-CRITICAL **: 16:23:47.526: gst_buffer_get_meta: assertion 'buffer != NULL' failed
(totem:20086): GStreamer-CRITICAL **: 16:23:47.542: gst_buffer_get_meta: assertion 'buffer != NULL' failed
```
- log of running `totem --gst-debug-level=4`: Attached
https://gitlab.gnome.org/GNOME/totem/-/issues/585
1. Ensure that gstreamer-vaapi is not installed, as it's really buggy.
2. Run totem with LIBGL_ALWAYS_SOFTWARE=1 to not use software implementation.
3. You could try to run totem with GDK_GL=gles, but the colors are messed up now due to a bug.
So I'm closing this task as we can't fix these upstream bugs.