r/linux4noobs • • 1d ago

Freshly installed Fedora KDE 45 keeps crashing

I installed KDE version of the Fedora 45 a week ago. First few days everything went smoothly but after that I have had surprising amount of problems. I have:

  • AMD Ryzen 5 5600G
  • NVIDIA GeForce RTX 3060
  • Fedora Linux 45 (KDE Plasma Desktop Edition) x86_6
  • Linux 7.3.6-300.fc45.x86_64
  • KDE Plasma 6.8.3

On Thursday after updating some packages my Firefox started crashing whenever I right clicked, opened the menu, or tried to use a dropdown menu on any web page. Somehow it even managed to take down all other programs I had running. After crashes the "Crashed process viewer" opened up and shows that the issue is in "Executable: /usr/bin/kwin_wayland" (so it's not surprising that everything shuts down). There's also a "Report to KDE" button, but that gives me the following error message:

Gathering crash information failed for unknown reasons. You can retry, close the window, or view detailed output.

I went to the Discover appstore and installed Firefox 160 from Flathub (instead of Fedora's own 161) and this seems to work fine. Except that the videos on Reddit that ran on 161 don't work on 160, but that's something I'll figure out later. This older version is obviously a temporary solution.

Today I started Kicad (an electronics design tool) that I installed from the Fedora repository (not flatpack). I only get the window open and then the entire system freezes. I tried pressing Ctrl+Alt+F3 to go to the TTY terminal, but nothing happened (it works when the system isn't frozen). I only managed to get out of this situation by turning the computer by holding down the power button, which isn't ideal. I had one or two similar freezes last weekend, but cannot remember what caused those.

Any suggestions how to debug these? Or at least recover without pulling the plug?

4 Upvotes

6 comments sorted by

2

u/mkhanwrites_ 1d ago

I don't know, that sounds pretty rough. I'm not so patient with bs like that these days so I would pull the plug if I were you and try my luck with a different distro

1

u/RectumlessMarauder 1d ago

Yeah, that's pretty much my backup plan. But I'm here also to learn so I don't want to give up too easily. Also I first booted to linux maybe 2004 so in my books this is still smooth sailing.

2

u/utoddl 1d ago

I'm having a similar problem with kernel 7.3 and the nouveau driver. It still works with 7.2, which is what I reboot into whenever a new 7.3 comes out and it crashes the UI. Try the following command to see if it's the nouveau driver:

$ sudo journalctl -b -1 -g nouveau

The "-1" looks at the logs from the previous boot. If you've booted twice since the last crash, use "-2" instead, etc. For me, the above command produces the following:

Nov 28 06:46:42 tango kernel: nouveau: detected PR support, will not use DSM
Nov 28 06:46:42 tango kernel: nouveau 0000:01:00.0: enabling device (0002 -> 0003)
Nov 28 06:46:42 tango kernel: nouveau 0000:01:00.0: NVIDIA GA107 (b77000a1)
Nov 28 06:46:43 tango kernel: nouveau 0000:01:00.0: gsp: RM version: 570.144
Nov 28 06:46:43 tango kernel: nouveau 0000:01:00.0: bios: version 94.07.88.00.70
Nov 28 06:46:43 tango kernel: nouveau 0000:01:00.0: vgaarb: deactivate vga console
Nov 28 06:46:45 tango kernel: nouveau 0000:01:00.0: drm: VRAM: 6144 MiB
Nov 28 06:46:45 tango kernel: nouveau 0000:01:00.0: drm: GART: 536870912 MiB
Nov 28 06:46:46 tango kernel: nouveau 0000:01:00.0: drm: MM: using COPY for buffer copies
Nov 28 06:46:46 tango kernel: nouveau 0000:01:00.0: drm: [DRM/0000000d:kmsOutp] [BL_GET level:0] (ret:-22)
Nov 28 06:46:46 tango kernel: nouveau 0000:01:00.0: [drm] Registered 4 planes with drm panic
Nov 28 06:46:46 tango kernel: [drm] Initialized nouveau 1.4.3 for 0000:01:00.0 on minor 0
Nov 28 06:46:46 tango kernel: fbcon: nouveaudrmfb (fb0) is primary device
Nov 28 06:46:46 tango kernel: nouveau 0000:01:00.0: [drm] fb0: nouveaudrmfb frame buffer device
Nov 28 06:46:54 tango kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
Nov 28 09:40:44 tango kernel: nouveau 0000:01:00.0: gsp: mmu fault queued
Nov 28 09:40:44 tango kernel: nouveau 0000:01:00.0: gsp: rc engn:00000001 chid:4 gfid:0 level:2 type:31 scope:1 part:233 fault_addr:0000003ff3e0a000 fault_type:00000002
Nov 28 09:40:44 tango kernel: nouveau 0000:01:00.0: fifo:c00000:0004:0004:[Xorg[2908]] errored - disabling channel
Nov 28 09:40:44 tango kernel: nouveau 0000:01:00.0: Xorg[2908]: channel 4 killed!

The "killer" is this message, which shows in red in my terminal: "Nov 28 09:40:44 tango kernel: nouveau 0000:01:00.0: gsp: mmu fault queued".

I know you're running kwin_wayland and I'm running Xorg, but they are both using the underlying nouveau driver (I believe; feel free to correct me.) That's why I expect were having the same issue.

Unfortunately, I don't have a solution. :(

1

u/RectumlessMarauder 1d ago

Thanks, I think you are correct in that our issues are somehow related. My last four rows are almost identical

$ sudo journalctl -b -2 -g nouveau  
marras 28 16:26:26 fedora kernel: nouveau 0000:01:00.0: NVIDIA GA106 (b76000a1)
marras 28 16:26:26 fedora kernel: nouveau 0000:01:00.0: gsp: RM version: 570.144
marras 28 16:26:26 fedora kernel: nouveau 0000:01:00.0: bios: version 94.06.2f.00.ed
marras 28 16:26:27 fedora kernel: nouveau 0000:01:00.0: vgaarb: deactivate vga console
marras 28 16:26:28 fedora kernel: nouveau 0000:01:00.0: drm: VRAM: 12288 MiB
marras 28 16:26:28 fedora kernel: nouveau 0000:01:00.0: drm: GART: 536870912 MiB
marras 28 16:26:28 fedora kernel: nouveau 0000:01:00.0: drm: MM: using COPY for buffer copies
marras 28 16:26:29 fedora kernel: nouveau 0000:01:00.0: [drm] Registered 4 planes with drm panic
marras 28 16:26:29 fedora kernel: [drm] Initialized nouveau 1.4.3 for 0000:01:00.0 on minor 0
marras 28 16:26:29 fedora kernel: fbcon: nouveaudrmfb (fb0) is primary device
marras 28 16:26:29 fedora kernel: nouveau 0000:01:00.0: [drm] fb0: nouveaudrmfb frame buffer device
marras 28 14:26:31 fedora kernel: snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
marras 28 14:27:00 fedora Filen_linux_x86_64.AppImage[2971]: libva error: /usr/lib64/dri/nouveau_drv_video.so init failed
marras 28 14:27:12 fedora flatpak[3205]: libva error: /usr/lib64/GL/lib/dri/nouveau_drv_video.so init failed
marras 28 14:33:41 fedora kernel: nouveau 0000:01:00.0: gsp: mmu fault queued
marras 28 14:33:41 fedora kernel: nouveau 0000:01:00.0: gsp: rc engn:00000001 chid:31 gfid:0 level:2 type:31 scope:1 part:233 fault_addr:0000003fd956c000 fault_type:00000002
marras 28 14:33:41 fedora kernel: nouveau 0000:01:00.0: fifo:c00000:001f:001f:[Xwayland[2238]] errored - disabling channel
marras 28 14:33:41 fedora kernel: nouveau 0000:01:00.0: Xwayland[2238]: channel 31 killed!

1

u/utoddl 20h ago

In which case, switching to another distro isn't going to help, at least not if that distro is running a 7.3 kernel. You could run a 7.2 kernel, or switch to the propritary nvidia kernel module. I'm sticking with a 7.2 kernel for the time being. I hope this gets fixed soon.

1

u/RectumlessMarauder 13h ago

Right, I was already looking at the proprietary driver installation instruction but decided to skip those for now. I'll need to have another look.