FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13
  1. #1
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    F27: frequent wayland lockups

    After upgrading from F26 to F27 I have experienced lots of crashes where wayland session locks up and no button does anything, no magic keys or acpi powerbutton or anything helps. Reset button is needed to get the box up again.

    Usually this happens when firefox is open, a video plays in totem (or VLC) and I move a window or adjust the size of a window. Even mouse stops moving.

    GPU is Nvidia GTX 1050 with default Nouveau driver. The journalctl -k -b -1 outputs the last kernel log from the crash, last rows of it are:

    Code:
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: gr: TRAP ch 14 [007deee000 Xwayland[1788]]
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: gr: GPC0/TPC0/TEX: 80000041
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: gr: GPC0/TPC1/TEX: 80000041
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: gr: GPC1/TPC2/TEX: 80000041
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: fifo: read fault at 00041f5000 engine 00 [GR] client 01 [GPC0/T1_0] reason 02 [PTE] on channel 14 [007deee000 Xwayland[1788]]
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: fifo: channel 14: killed
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: fifo: engine 7: scheduled for recovery
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: Xwayland[1788]: channel 14 killed!
    joulu 18 18:04:40 htpc-fritz-box kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 122124 [ IBUS ]
    Any ideas what I should do? I may have to re-install F26 due to other upgrade issues as well, F27 just seems too unstable for my use.
    [edit: fixed a typo]
    Last edited by juhani; 18th December 2017 at 08:32 PM.

  2. #2
    Join Date
    Dec 2017
    Location
    United Kingdom
    Posts
    1

    Re: F27: frequent wayland lockups

    Just to add that I have the same issue after upgrading from F26 to F27. On F26 I had to use X.org as Wayland would give me a "grey screen of death" on login.
    On F27 that problem went away, but now I get lockups especially when resizing windows. I have a Geforce 960 and am using nouveau:

    # lspci | grep VGA
    01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

    After a crash:

    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: Xwayland[1731]: channel 14 killed!
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: fifo: channel 14: killed
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: fifo: read fault at 0005902000 engine 00 [GR] client 01 [GPC1/T1_0] reason 02 [PTE] on channel 14 [007d91a000 Xwayland[1731]]
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC1/TPC3/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC1/TPC2/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC1/TPC1/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC1/TPC0/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC0/TPC3/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC0/TPC2/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC0/TPC1/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: GPC0/TPC0/TEX: 80000041
    Dec 31 14:28:04 mymachine kernel: nouveau 0000:01:00.0: gr: TRAP ch 14 [007d91a000 Xwayland[1731]]

  3. #3
    Join Date
    Jan 2010
    Posts
    7,302

    Re: F27: frequent wayland lockups

    I found, (in the late double oughts) that this frequently happened with Nouveau. (F16-18? I don't remember). I hear different things about nouveau--that it's gotten much better or that it's still very bad. But the freezing lock up stuff was always fixed for me by giving up on nouveau and using NVidia. Unless you have strong philosophical reasons not to, I'd recommend trying that first.

    https://rpmfusion.org/Howto/NVIDIA?h...tegoryHowto%29

    (As far as I know, that's still the most popular way to do it. Currently, I have an Nvidia on CentOS, but I use elrepo, which is for CentOS/RH as opposed to Fedora).

  4. #4
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,163

    Re: F27: frequent wayland lockups

    Are you using Gnome and if so, with some extensions? Disable the extensions for a day or so. If Gnome is OK, restore the extensions, one by one over a few days to determine which of them causes gnome-shell to crash. I believe strongly, from personal experience, that gnome-shell is crashing for you.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  5. #5
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    Re: F27: frequent wayland lockups

    I have always used the default Fedora setup, which recently has been gnome on wayland. I have not enabled any additional extensions. I was traveling for a while, got home today and bang yet another crash after 15 minutes of use. This time I had rhythmbox playing a radio which continued to play even the UI stopped responding. Thus the kernel and other processes stayed alive. So your idea that it's gnome-shell that crashes might be possible. Should this be visible in some log like the kernel log? I wonder why the traditional Magic SysRq key does not work? Also why the ACPI powerbutton does nothing?

    Now I logged in with Gnome over Xorg just to have some experience on that. I could install Nvidia drivers but I have used Nouveau basically for a couple of reasons, no extra hassles on installing drivers and avoiding any related issues on upgrades. Also I don't want to taint the kernel with external modules. I do not game so I don't really need the performance.

  6. #6
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    Re: F27: frequent wayland lockups

    Tried to look for any extensions I might have enabled and forgot. Only one is the English - US Typing Booster. I had enabled that on F26 and later forgotten. Now I tried to open the settings menu for that and suddenly libgnomekbd crashed, I got it in crash reporter. I deleted that input method and left only the default Finnish language.

  7. #7
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,163

    Re: F27: frequent wayland lockups

    Your display of lines containing nouveau seem to indicate a video display problem. I have AMD and I have no issues ever with my 8 year old graphics card.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  8. #8
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    Re: F27: frequent wayland lockups

    It certainly looks like this is related to Nvidia GPU and the graphics stack, whether it is caused by nouveau or something that wayland does on top of that. Still, with F26 I had none of these issues and they started the day I upgraded to F27. So something changed there, the hardware has not changed. On the other hand I have now used the Gnome over Xorg for some days and have not had a single crash. It very much feels like the wayland has changed somehow, perhaps triggering a problem in nouveau. At least for now I will continue using Gnome over Xorg.

  9. #9
    Join Date
    May 2018
    Location
    United Kingdom
    Age
    38
    Posts
    3

    Re: F27: frequent wayland lockups

    Hi
    I'm having exactly the same issue.
    I use my Lenovo T420 laptop with 2 external monitors (leaving the laptop's display off) and Gnome on Wayland crashes very often during playing videos from youtube.
    I noticed that disconnecting one display last week (and keeping the laptop's display off) the problem seems to get fixed.
    Are you using a double-display setup? In that case you might have a try...

  10. #10
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    Re: F27: frequent wayland lockups

    No, I have only one monitor. Although I was suspecting at some point if this is related to resolution, it is 2560x1440. Maybe your finding points into that direction, laptops resolutions are usually lower.
    Otherwise for me it has been stable since I moved to Gnome over Xorg. I have not yet upgraded to F28, perhaps the nouveau or wayland has been updated and hopefully the issue has morphed some way.

  11. #11
    Join Date
    May 2018
    Location
    United Kingdom
    Age
    38
    Posts
    3

    Re: F27: frequent wayland lockups

    Quote Originally Posted by juhani
    No, I have only one monitor. Although I was suspecting at some point if this is related to resolution, it is 2560x1440. Maybe your finding points into that direction, laptops resolutions are usually lower.
    Otherwise for me it has been stable since I moved to Gnome over Xorg. I have not yet upgraded to F28, perhaps the nouveau or wayland has been updated and hopefully the issue has morphed some way.
    Hi
    Yes, I confirm that i switched from two 1920*1080 displays to a single one.
    "Maybe" it's resolution, video memory and so on...

    I still didn't try with xorg and two displays.

  12. #12
    Join Date
    May 2018
    Location
    United Kingdom
    Age
    38
    Posts
    3

    Re: F27: frequent wayland lockups

    I've been too much optimistic...
    Now it doesn't "crash" (Gnome doesn't restart) but it freezes.
    Just happened on my updated Fedora 28 on a single display.

  13. #13
    Join Date
    Dec 2017
    Location
    Finland
    Posts
    7

    Re: F27: frequent wayland lockups

    Hi

    It was always a lockup for me, it never restarted or did anything after the lockup. You could try selecting the Xorg session when you log in, there's no need to install anything special.
    Sad to hear it happened also on 28, my hope it might become better was too optimistic. I guess I will stick to 27 for now and not to upgrade at all. Well, until 29 becomes available and then reconsider.

Similar Threads

  1. Replies: 7
    Last Post: 7th July 2017, 09:27 PM
  2. bazzare lockups with ffox and Wayland
    By lsatenstein in forum F25 Development Forum
    Replies: 4
    Last Post: 14th October 2016, 08:13 AM
  3. Frequent Lockups, freezes running F18
    By rich52 in forum Hardware & Laptops
    Replies: 2
    Last Post: 7th February 2013, 10:44 PM
  4. Frequent lockups with F11
    By Tekno_Cowboy in forum Using Fedora
    Replies: 0
    Last Post: 21st July 2009, 05:52 PM
  5. frequent lockups!
    By jinx099 in forum Hardware & Laptops
    Replies: 4
    Last Post: 7th December 2006, 08:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •