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

peek hangs display under Ubuntu 17.10 Wayland #202

Closed
jikamens opened this issue Oct 26, 2017 · 12 comments
Closed

peek hangs display under Ubuntu 17.10 Wayland #202

jikamens opened this issue Oct 26, 2017 · 12 comments
Milestone

Comments

@jikamens
Copy link

jikamens commented Oct 26, 2017

I have peek 1.1.0-0~ppa16~ubuntu17.10.1 from the PPA repository.

I'm on Ubuntu 17.10 64-bit.

When I attempt to record a GIF with peek under Wayland, it counts down and then my display hangs. I can't even switch VTs, so the only thing I can do at this point is power-cycle my laptop. I know it's just the display hanging, not everything, because the music I'm listening to continues to play.

This occurs whether or not I set GDK_BACKEND to x11 before launching peek.

I understand that an app shouldn't be able to cause the display server to hang, so there's also a Wayland bug here that should be addressed, but still, it would be nice if peek didn't trigger that bug. :-/

@jikamens
Copy link
Author

@DougBeney
Copy link

Thanks for posting. I'm experiencing the same issue on 17.10.

@phw phw added the bug label Oct 30, 2017
@phw
Copy link
Owner

phw commented Oct 30, 2017

As Peek is only using the built-in screen recording capabilities of Gnome Shell this is most likely a Gnome Shell bug (as also noted in the launchpad bug).

Can you try recording a video in GNOME Shell itself and see if this also freezes your display? The default keyboard shortcut for this is Shift + Ctrl+ Alt + R, but this can be changed in Gnome's keyboard settings. Recordings are saved in your Video folder.

@jikamens
Copy link
Author

Can you try recording a video in GNOME Shell itself and see if this also freezes your display? The default keyboard shortcut for this is Shift + Ctrl+ Alt + R...

Works fine, doesn't freeze display.

@DougBeney
Copy link

DougBeney commented Oct 30, 2017

Can you try recording a video in GNOME Shell itself and see if this also freezes your display? The default keyboard shortcut for this is Shift + Ctrl+ Alt + R...

That seems to be the problem for me. Freezes display exactly like in Peek.

@kevzlou7979
Copy link

+1 this is happening to me also. And there's no option to close it.

@phw phw added this to the 1.2.0 milestone Nov 3, 2017
@EECSGEEK
Copy link

EECSGEEK commented Nov 7, 2017

How can I get the setting/preferance windows about peek?
I can't find the FPS setting on peek.
I try 'peek --help-all' but no answer
--Ubuntu17.10_amd64

@phw
Copy link
Owner

phw commented Nov 7, 2017

@EECSGEEK The preferences are available from the app menu. On GNOME Shell this is available by clicking on the application name ("Peek") in the upper status bar on the left. On Unity it works the same. If the app menu is disabled by configuration or if you are using a DE that does not support the app menu, it will be shown in the Peek window's headerbar (there will be a Peek icon which will open the app menu).

@EECSGEEK
Copy link

EECSGEEK commented Nov 7, 2017

@phw
Thank you!I find the little triangle icon on top menu.

@jikamens
Copy link
Author

jikamens commented Nov 7, 2017

Why is there a discussion about opening the preferences window in an issue which has nothing to do with that?

@phw phw added the upstream label Nov 7, 2017
@phw
Copy link
Owner

phw commented Nov 7, 2017

I tried to reproduce this with Ubuntu 17.10 under wayland, but it works for me without issue. Anyway, this is pretty sure a Gnome Shell bug. Peek itself does nothing else but instruct Gnome Shell to start recording.

There is a upstream report at https://bugzilla.gnome.org/show_bug.cgi?id=790008 . I would recommend you add details about your system to this bug report, that might help the Gnome developers to track this down. Maybe you all have a common setup, this could e.g. be video card / driver related.

As a workaround switch to X.org for now. Closing as upstream issue.

@fatso83
Copy link
Contributor

fatso83 commented Jan 30, 2018

To save other people a search, here's a link to how you fix the issue by switching to Xorg

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

6 participants