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

Snap is not compatible with Wayland, but Wayland is the default on Ubuntu 17.10 #245

Closed
phw opened this issue Dec 12, 2017 · 12 comments
Closed

Comments

@phw
Copy link
Owner

phw commented Dec 12, 2017

Starting with Ubuntu 17.10 GNOME Wayland is the default desktop environment. But the Peek Snap does not support screen recording on Wayland since the Snap cannot access the GNOME screencast DBus service.

There are two workarounds for this:

  • Use X11 session instead of Wayland
  • Install Peek from PPA

A fix is needed since this is causing a very bad user experience for Ubuntu users installing from the Ubuntu store. But for now I have no good idea how to solve this.

See also #243

@umpirsky
Copy link

It causes entire system to freeze for me and only option is to hard reset.

@phw
Copy link
Owner Author

phw commented Jan 18, 2018

@umpirsky The freezing issue is another thing, please see #202 and the Gnome Shell Bug at https://bugzilla.gnome.org/show_bug.cgi?id=790008

@phw phw added this to the 1.2.2 milestone Jan 18, 2018
@phw
Copy link
Owner Author

phw commented Jan 18, 2018

I opened a discussion at https://forum.snapcraft.io/t/screen-recording-on-wayland/3563

@umpirsky
Copy link

Thanks @phw!

It's sad seeing Peek loosing customers because of Gnome Shell bug.

@phw
Copy link
Owner Author

phw commented Jan 18, 2018

@umpirsky It's not only affecting Peek, but screen recording on GNOME Wayland in general. But so far only Ubuntu seems to be affected.

@umpirsky
Copy link

umpirsky commented Jan 18, 2018

@phw I have installed a screen recorder that works fine on Wayland. Don't want to promote here, but if you want to check it out for educational purposes, I can share via email or here. It's open source too.

@phw
Copy link
Owner Author

phw commented Jan 18, 2018

@umpirsky Just to be clear, you have neither installed Peek nor the other screen recorder as a Snap, right? And you can tell what it is, that's not promotion and mentioning other screen recorders is for sure not banned here :)

@umpirsky
Copy link

@phw Ye, that might be the case, I experimented with the snap. :)

@phw
Copy link
Owner Author

phw commented Jan 18, 2018

Ok, we have currently two issues here:

  1. Starting the snap segfaults on Wayland. This should be solvable, I already made some progress here
  2. Once Peek starts recording will not work, since there is no screen recording interface for Snaps (see linked discussion above). Best thing I could do right now is show a dialog explaining the user to either use X11 or install Peek via PPA, Flatpak or AppImage.

Actually the situation is very dissatisfying. I am very close to just trash the Snap version again and stop dealing with this until the situation has significantly improved.

@umpirsky
Copy link

I like the dialog, if you can detect this bugs and prevent them, it will be good for the app and it's users.

Until they resolve it.

phw added a commit that referenced this issue Jan 19, 2018
@phw phw modified the milestones: 1.2.2, 1.3.0 Jan 23, 2018
@phw
Copy link
Owner Author

phw commented Mar 25, 2018

@phw phw closed this as completed Mar 25, 2018
@umpirsky
Copy link

Smart move.

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

No branches or pull requests

2 participants