Neon Crashing and freezing, ready to give up

I first installed KDE Neon 5.25 in June 2023, one of three Linux distros I use. When it upgraded to version 6, it would freeze on bootup and required a hard restart almost half the time.

On another forum, it was suggested that my Nvidia card collides with Wayland. When I switched to X11, the bootup crashes went way down, but it still crashes in unpredictable ways. When I open system monitor, when I have six windows open, and sometimes when I reboot after updating. I thought, be patient, maybe one of these updates will fix the problem.

Just yesterday, and for me the last straw, it froze when I put it to sleep and never woke up.

Which crash logs will show me the issue? If the problem is the Nvidia card, I would just as soon replace Neon (top candidate is Pop! OS with Nvidia drivers). I like Plasma, but do not really depend on Neon. No distro is worth this much headache.

1 Like

What is your Nvidia drivers version? Also, what card are you using? What are showing up in your journalctl logs?

The card is G92, GeoForce GTS 240. An older model, but I donā€™t need more power than that.
Not sure about the drivers, but I presume nouveau, because I never installed proprietary drivers.
I am not in Neon now, so I can run the command and post the results. Is the command purely journalctl?

1 Like

I think that says itā€¦ IIRC, Nouveau drivers doesnā€™t work well with Wayland. Also, I think until NVK comes in, you should give the proprietary or open-kernel drivers a try.

Yes, itā€™s journalctl

Maybe a foolish question, but if it crashes and I reboot, wonā€™t that command only record events AFTER the crash?

1 Like

It records everything, every log the kernel ever emitts

Then I should copy only those lines around the moment of crashing. Iā€™ll boot into it and try to replicate a crash, then reboot and copy those lines.

1 Like

Sure, and if you see anything, related to Nvidia, be sure itā€™s with Nouveau.

Here is the output, using only the likely lines.

Nov 07 21:02:33 cliff-neon drkonqi-coredump-processor[1331]: ā€œ/usr/bin/plasma-discoverā€ 1245 "/var/lib/system>
Nov 07 21:02:33 cliff-neon drkonqi-coredump-processor[1331]: ā€œ/usr/bin/kwin_x11ā€ 994 "/var/lib/systemd/coredu>
Nov 07 21:02:33 cliff-neon drkonqi-coredump-processor[1331]: ā€œ/app/extra/zoom/zoom.realā€ 15970 "/var/lib/syst>
Nov 07 21:02:33 cliff-neon drkonqi-coredump-processor[1331]: ā€œ/app/extra/zoom/zoom.realā€ 14595 "/var/lib/syst>
Nov 07 21:02:11 cliff-neon systemd[1]: systemd-localed.service: Deactivated successfully.
Nov 07 21:02:05 cliff-neon systemd[1]: systemd-timedated.service: Deactivated successfully.
Nov 07 21:01:59 cliff-neon dbus-daemon[600]: [system] Failed to activate service ā€˜org.bluezā€™: timed out (serv>
Nov 07 21:01:59 cliff-neon kded6[1267]: kf.bluezqt: PendingCall Error: "Did not receive a reply. Possible cau>
Nov 07 21:01:56 cliff-neon PackageKit[1526]: get-updates transaction /3729_badcbbda from uid 1000 finished wi>
Nov 07 21:01:56 cliff-neon packagekitd[1526]: pk_package_set_update_severity: assertion 'update_severity == P>
Nov 07 21:01:56 cliff-neon packagekitd[1526]: Entering ResolveByKeep
Nov 07 21:01:56 cliff-neon packagekitd[1526]: Done
Nov 07 21:01:56 cliff-neon packagekitd[1526]: Starting 2 pkgProblemResolver with broken count: 0
Nov 07 21:01:55 cliff-neon packagekitd[1526]: Starting pkgProblemResolver with broken count: 0
Nov 07 21:01:50 cliff-neon systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Nov 07 21:01:50 cliff-neon systemd-timesyncd[527]: Initial clock synchronization to Thu 2024-11-07 21:01:50.4>
Nov 07 21:01:50 cliff-neon systemd-timesyncd[527]: Contacted time server 185.125.190.58:123 (ntp.ubuntu.com).
Nov 07 21:01:44 cliff-neon systemd[1094]: Started app-org.kde.konsole@f1c81e496629467aa9c07280112add0d.servic>
Nov 07 21:01:43 cliff-neon systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 07 21:01:43 cliff-neon systemd[1]: snapd.service: Deactivated successfully.
Nov 07 21:01:43 cliff-neon snapd[1561]: daemon stop requested to wait for socket activation
Nov 07 21:01:43 cliff-neon snapd[1561]: overlord.go:515: Released state lock file
Nov 07 21:01:43 cliff-neon PackageKit[1526]: get-updates transaction /3728_aceebaed from uid 1000 finished wi>
Nov 07 21:01:43 cliff-neon packagekitd[1526]: pk_package_set_update_severity: assertion 'update_severity == P>
Nov 07 21:01:43 cliff-neon packagekitd[1526]: Entering ResolveByKeep
Nov 07 21:01:42 cliff-neon packagekitd[1526]: Done
Nov 07 21:01:42 cliff-neon packagekitd[1526]: Starting 2 pkgProblemResolver with broken count: 0
Nov 07 21:01:42 cliff-neon packagekitd[1526]: Starting pkgProblemResolver with broken count: 0
Nov 07 21:01:41 cliff-neon systemd[1094]: app-org.kde.discover@d3f16ac4fe7d4d2a8d50b2ce31b956bb.service: Cons>
Nov 07 21:01:41 cliff-neon PackageKit[1526]: resolve transaction /3727_abeacdcd from uid 1000 finished with s>
Nov 07 21:01:40 cliff-neon PackageKit[1526]: resolve transaction /3726_baacbccd from uid 1000 finished with s>
Nov 07 21:01:40 cliff-neon snapd[1561]: daemon.go:550: done waiting for running hooks
Nov 07 21:01:40 cliff-neon snapd[1561]: daemon.go:548: gracefully waiting for running hooks
Nov 07 21:01:39 cliff-neon PackageKit[1526]: get-updates transaction /3725_adbaecdd from uid 1000 finished wi>
Nov 07 21:01:39 cliff-neon packagekitd[1526]: pk_package_set_update_severity: assertion 'update_severity == P>
Nov 07 21:01:39 cliff-neon packagekitd[1526]: Entering ResolveByKeep
Nov 07 21:01:38 cliff-neon packagekitd[1526]: Done
Nov 07 21:01:38 cliff-neon packagekitd[1526]: Starting 2 pkgProblemResolver with broken count: 0
Nov 07 21:01:38 cliff-neon packagekitd[1526]: Starting pkgProblemResolver with broken count: 0
Nov 07 21:01:38 cliff-neon systemd[1]: Started systemd-localed.service - Locale Service.
Nov 07 21:01:38 cliff-neon dbus-daemon[600]: [system] Successfully activated service ā€˜org.freedesktop.locale1ā€™
Nov 07 21:01:38 cliff-neon systemd[1]: Starting systemd-localed.service - Locale Serviceā€¦
Nov 07 21:01:38 cliff-neon dbus-daemon[600]: [system] Activating via systemd: service name='org.freedesktop.l>
Nov 07 21:01:38 cliff-neon kernel: usb 1-1.2.6: current rate 16000 is different from the runtime rate 48000

Try this,

journalctl -o verbose and try to write it in a file, because the lines get cut in the last in this.

Canā€™t see any error here. But, one thing, there seems to be issues with discover. Can you just once try installing a proprietary driver for NVIDIA?

Sorry for the naive detail, but can I write the output to a file without paging through the lines?

Soumya-ji, It only seems like a problem because Discover was refreshing the list of updates when I opened the terminal. I ignored it because I had more important stuff to do.

1 Like

I think the bigger problem is something different. I am also not sure, why the crash reporter isnā€™t collecting any logsā€¦

I recreated the crash by simply opening System Monitor. The window flashed, different colors appeared and after a minute it had frozen. Telltale clues of a GPU issue.

Try this,

journalctl -p err | tee crash.log

This will only print logs that have high priority errors and the log will be written to a file named crash.log, which you can later upload to dpaste or somewhere. Similarly you can do,

journalctl -b | tee crash.log

This will show every log since last boot.

Do you regularly update your system? Also, it seems nouveau problem itā€™s

Jul 02 09:03:24 cliff-neon kernel: nouveau 0000:01:00.0: chrome[6738]: channel failed to initialise, -17
Jul 02 09:03:24 cliff-neon kernel: nouveau 0000:01:00.0: vp: init failed, -2
Jul 02 09:05:40 cliff-neon kernel: nouveau 0000:01:00.0: fifo: CACHE_ERROR - ch 19 [Renderer[7323]] subc 0 mthd 0060 data beef0201
Jul 02 09:06:13 cliff-neon kernel: nouveau 0000:01:00.0: chrome[8330]: channel failed to initialise, -17
Jul 02 09:06:13 cliff-neon kernel: nouveau 0000:01:00.0: vp: init failed, -2

At least one or 2 times a week
And you were saying about the nouveau problem?

Yes, Nouveau isnā€™t really a driver to be daily drivedā€¦ until NVIDIA doesnā€™t support your GPU at all. Itā€™s there just to get the display light up.