I switched from Xorg to Wayland for my gnome shell following the steps found here:
This works, but locking the screen or turning the monitor off and on leads to a black screen unresponsive to keyboard and mouse input. I have to reboot if I want to get back to the desktop. Is this a known bug, or at least one that other people are experiencing? Looking for a solution since I can’t really afford this behavior.
I think it is not wayland related bug because even x based window system hit this issue too. We are investigating it.
Are you connected any debug board?
Please try to remove them and check issue exist or not. Thanks!
I am not connected to any debug board, but when the issue does happen (only with Wayland for me) I can still access the serial console and log in through putty on another computer (https://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/). This leads me to believe that it is related to the gnome shell in particular.
When I go to lock the screen, I see the animation for the lock screen image scrolling from the top to the bottom of the screen and once it hits the bottom the screen goes black. It seems like gnome encounters some issue when trying to display the screensaver.
Glad to hear I’m not the only one seeing the issue.
We will investigate issue and update to you.
This issue would be fixed in future release.
Is there any workaround that I can do while waiting for the future release? Not sure the release will come out before my product needs to be done.
Currently, NO, and the next release was scheduled to be published before the end of this year.
This post is resolved since it is a known bug that will be fixed in a future release.
Switching to the Weston compositor instead of Gnome fixed this problem for me, at the cost of losing the Gnome desktop shell ( which is unneeded in my instance ).
Starting the Weston compositor as a desktop shell:
- Open a virtual console ( e.g. Ctrl + Alt + f3 ) and log in
- If starting from boot, stop the gdm3 service. Weston will crash if it is running.
sudo service gdm3 stop
- Set up and start weston
chmod 700 /tmp/xdg
sudo -E weston