Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu/Debian 22.04 LTS with wayland disabled: GstMediaPlayer Error from element sink: Failed to initialize OpenGL with Gtk #273

Closed
robertolumbreras opened this issue Jun 28, 2022 · 7 comments
Labels
Milestone

Comments

@robertolumbreras
Copy link

I tried xibo-player on Debian 11/stable (bullseye) and Ubuntu 22.04 LTS + Gnome with same result: player screen is black when playing videos and the following error shows up in the terminal:

[13:38:39.461] [15211] [error]: [GstMediaPlayer] Error from element sink: Failed to initialize OpenGL with Gtk

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy

snap list

Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core18 20220428 2409 latest/stable canonical✓ base
core20 20220527 1518 latest/stable canonical✓ base
firefox 101.0.1-1 1443 latest/stable/… mozilla✓ -
gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 161 latest/stable canonical✓ -
gnome-3-38-2004 0+git.891e5bc 112 latest/stable/… canonical✓ -
gtk-common-themes 0.1-79-ga83e90c 1534 latest/stable/… canonical✓ -
snap-store 41.3-60-gfe4703a 582 latest/stable/… canonical✓ -
snapd 2.56 16010 latest/stable canonical✓ snapd
snapd-desktop-integration 0.1 14 latest/stable/… canonical✓ -
xibo-player 1.8-R6 108 latest/stable xibosignage -

@dasgarner
Copy link
Member

Is that using Wayland or X11?

We know of an issue with Wayland - see #268

@robertolumbreras
Copy link
Author

Yes, it's wayland, you are right, it may be the same issue, but the error I got is different.
I've just tried with X11 (set WaylandEnable=false in /etc/gdm3/daemon.conf) but then xibo-player doesn't start because it cannot connect to display :0
I tried reinstalling xibo-player but it didn't solve it.
I still doesn't understand the snap stuff so I'm stuck with it.

@dasgarner
Copy link
Member

You might try switching to the beta channel as we do have some fixes in there, but i'm not hopeful to be honest.

snap refresh xibo-player --channel=beta

If that doesn't work, then if you would kindly grab the exact error by starting the player from the terminal, i'll put this on the queue to look at.

@robertolumbreras
Copy link
Author

Hi,
Same result with the beta channel. Here you have the output running xibo-player from the terminal.

log-xibo-beta.txt

@dasgarner dasgarner changed the title not working on Ubuntu/Debian: GstMediaPlayer Error from element sink: Failed to initialize OpenGL with Gtk Ubuntu/Debian 22.04 LTS with wayland disabled: GstMediaPlayer Error from element sink: Failed to initialize OpenGL with Gtk Jun 30, 2022
@dasgarner dasgarner added this to the 1.8 R8 milestone Jun 30, 2022
@dasgarner
Copy link
Member

We've built a version of the player against core20 instead of core18, which has made video play under Wayland. You could try the player version in edge, although we are working through some other issues with it too #267

@robertolumbreras
Copy link
Author

robertolumbreras commented Jul 14, 2022 via email

@dasgarner
Copy link
Member

Thank you for testing that - it is good to know that it works under Wayland now (hardware decoding aside).

I'll mention issue #140 here so that we have a record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants