You are not logged in.
I have a laptop that had been running KDE Plasma on X11 for almost 2 years and suddenly started crashing around a couple of months ago. I switched to wayland thinking it might be a temporary issue in the build but it has not resolved yet and hence trying to find if anyone else has experienced it or found a solution.
$ sudo lspci -v -s 0000:00:02.0 ; sudo lspci -v -s 0000:01:00.0
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Dell TigerLake-H GT1 [UHD Graphics]
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at 6164000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Capabilities: [320] Single Root I/O Virtualization (SR-IOV)
Kernel driver in use: i915
Kernel modules: i915
0000:01:00.0 3D controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
Subsystem: Dell GA107M [GeForce RTX 3050 Ti Mobile]
Flags: bus master, fast devsel, latency 0, IRQ 168
Memory at a0000000 (32-bit, non-prefetchable) [size=16M]
Memory at 6000000000 (64-bit, prefetchable) [size=4G]
Memory at 6100000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Capabilities: [bb0] Physical Resizable BAR
Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
Capabilities: [d00] Lane Margining at the Receiver <?>
Capabilities: [e00] Data Link Feature <?>
Kernel driver in use: nouveau
Kernel modules: nouveau
It did not create Xorg.0.log when I tried to run it via startx today. But the last Xorg.0.log does not have anything.
$ grep -E "(WW|EE)" /var/log/Xorg.0.log
[ 5.864] Current Operating System: Linux host 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.867] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 5.868] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 5.869] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[ 5.869] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 5.869] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 5.869] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 5.885] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 5.898] (WW) Warning, couldn't open module nv
[ 5.898] (EE) Failed to load module "nv" (module does not exist, 0)
[ 5.922] (WW) Falling back to old probe method for modesetting
[ 5.922] (WW) Falling back to old probe method for fbdev
[ 5.923] (EE) Unknown chipset: NV177
[ 6.215] (II) Initializing extension MIT-SCREEN-SAVER
[ 6.216] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 6.216] (EE) AIGLX error: unable to load driver i965
[ 6.560] (II) XINPUT: Adding extended input device "ELAN2D25:00 04F3:2D25" (type: TOUCHSCREEN, id 9)
I thought it might be some kde config I have. So today I tried after running mv .kde4 .kde4.saved ; mv .config/k* .config/plasma* .config.saved/ ; mv .local/share/k* .local/share.saved/
$ sudo coredumpctl list --since today
TIME PID UID GID SIG COREFILE EXE SIZE
Fri 2023-09-22 09:11:00 EDT 1759 1001 1001 SIGABRT present /usr/bin/kapplymousetheme 530.8K
Fri 2023-09-22 09:11:00 EDT 1765 1001 1001 SIGABRT present /usr/bin/ksplashqml 928.5K
Fri 2023-09-22 09:11:01 EDT 1796 1001 1001 SIGABRT present /usr/bin/kcminit 455.4K
Fri 2023-09-22 09:11:01 EDT 1816 1001 1001 SIGABRT present /usr/bin/kded5 519.1K
Fri 2023-09-22 09:11:01 EDT 1882 1001 1001 SIGABRT present /usr/bin/kglobalaccel5 524.2K
Fri 2023-09-22 09:11:01 EDT 1897 1001 1001 SIGABRT present /usr/bin/kglobalaccel5 522.7K
Fri 2023-09-22 09:11:02 EDT 1911 1001 1001 SIGABRT present /usr/bin/kglobalaccel5 522.0K
Fri 2023-09-22 09:11:02 EDT 1925 1001 1001 SIGABRT present /usr/bin/kglobalaccel5 522.6K
Fri 2023-09-22 09:11:02 EDT 1939 1001 1001 SIGABRT present /usr/bin/kglobalaccel5 524.2K
Fri 2023-09-22 09:11:51 EDT 1976 1001 1001 SIGABRT present /usr/bin/plasmashell 1.0M
Fri 2023-09-22 09:11:52 EDT 1991 1001 1001 SIGABRT present /usr/lib/org_kde_powerdevil 890.3K
Fri 2023-09-22 09:11:52 EDT 2050 1001 1001 SIGABRT present /usr/lib/DiscoverNotifier 766.5K
Fri 2023-09-22 09:11:52 EDT 2040 1001 1001 SIGABRT present /usr/bin/plasmashell 1.0M
Fri 2023-09-22 09:11:52 EDT 2067 1001 1001 SIGABRT present /usr/lib/org_kde_powerdevil 891.1K
Fri 2023-09-22 09:11:52 EDT 2145 1001 1001 SIGABRT present /usr/bin/plasmashell 1.0M
Fri 2023-09-22 09:11:52 EDT 2208 1001 1001 SIGABRT present /usr/lib/org_kde_powerdevil 891.3K
Fri 2023-09-22 09:11:52 EDT 2202 1001 1001 SIGABRT present /usr/bin/plasmashell 1.0M
Fri 2023-09-22 09:11:52 EDT 2296 1001 1001 SIGABRT present /usr/lib/org_kde_powerdevil 891.7K
Fri 2023-09-22 09:11:53 EDT 2325 1001 1001 SIGABRT present /usr/lib/org_kde_powerdevil 891.4K
$ sudo coredumpctl info 1759
PID: 1759 (kapplymousethem)
UID: 1001 (user)
GID: 1001 (user)
Signal: 6 (ABRT)
Timestamp: Fri 2023-09-22 09:11:00 EDT (7h ago)
Command Line: /usr/bin/kapplymousetheme breeze_cursors 24
Executable: /usr/bin/kapplymousetheme
Control Group: /user.slice/user-1001.slice/session-3.scope
Unit: session-3.scope
Slice: user-1001.slice
Session: 3
Owner UID: 1001 (user)
Boot ID: 9fdc0b4445b9461199d70f14ddf2a822
Machine ID: d21d92281c1a402d8908f69f36aff1cc
Hostname: host
Storage: /var/lib/systemd/coredump/core.kapplymousethem.1001.9fdc0b4445b9461199d70f14ddf2a822.1759.1695388260000000.zst (present)
Size on Disk: 530.8K
Message: Process 1759 (kapplymousethem) of user 1001 dumped core.
Stack trace of thread 1759:
#0 0x00007f286008e83c n/a (libc.so.6 + 0x8e83c)
#1 0x00007f286003e668 raise (libc.so.6 + 0x3e668)
#2 0x00007f28600264b8 abort (libc.so.6 + 0x264b8)
#3 0x00007f28608a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098)
#4 0x00007f2860f3f3f2 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f3f2)
#5 0x00007f2860f3fa69 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa69)
#6 0x00007f2860a9b695 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b695)
#7 0x00007f2860f3fb16 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb16)
#8 0x00007f2860f4084c _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x14084c)
#9 0x000055d0d2c06077 n/a (kapplymousetheme + 0x4077)
#10 0x00007f2860027cd0 n/a (libc.so.6 + 0x27cd0)
#11 0x00007f2860027d8a __libc_start_main (libc.so.6 + 0x27d8a)
#12 0x000055d0d2c06c95 n/a (kapplymousetheme + 0x4c95)
ELF object binary architecture: AMD x86-64
$ sudo coredumpctl info 1765
PID: 1765 (ksplashqml)
UID: 1001 (user)
GID: 1001 (user)
Signal: 6 (ABRT)
Timestamp: Fri 2023-09-22 09:11:00 EDT (7h ago)
Command Line: /usr/bin/ksplashqml Breeze
Executable: /usr/bin/ksplashqml
Control Group: /user.slice/user-1001.slice/session-3.scope
Unit: session-3.scope
Slice: user-1001.slice
Session: 3
Owner UID: 1001 (user)
Boot ID: 9fdc0b4445b9461199d70f14ddf2a822
Machine ID: d21d92281c1a402d8908f69f36aff1cc
Hostname: host
Storage: /var/lib/systemd/coredump/core.ksplashqml.1001.9fdc0b4445b9461199d70f14ddf2a822.1765.1695388260000000.zst (present)
Size on Disk: 928.5K
Message: Process 1765 (ksplashqml) of user 1001 dumped core.
Stack trace of thread 1765:
#0 0x00007f1f58a8e83c n/a (libc.so.6 + 0x8e83c)
#1 0x00007f1f58a3e668 raise (libc.so.6 + 0x3e668)
#2 0x00007f1f58a264b8 abort (libc.so.6 + 0x264b8)
#3 0x00007f1f592a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098)
#4 0x00007f1f5993f3f2 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f3f2)
#5 0x00007f1f5993fa69 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa69)
#6 0x00007f1f5949b695 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b695)
#7 0x00007f1f5993fb16 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb16)
#8 0x00007f1f5994084c _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x14084c)
#9 0x00005596ef4de0ec n/a (ksplashqml + 0x40ec)
#10 0x00007f1f58a27cd0 n/a (libc.so.6 + 0x27cd0)
#11 0x00007f1f58a27d8a __libc_start_main (libc.so.6 + 0x27d8a)
#12 0x00005596ef4de8f5 n/a (ksplashqml + 0x48f5)
ELF object binary architecture: AMD x86-64
$ sudo coredumpctl info 1796
PID: 1796 (kcminit_startup)
UID: 1001 (user)
GID: 1001 (user)
Signal: 6 (ABRT)
Timestamp: Fri 2023-09-22 09:11:01 EDT (7h ago)
Command Line: /usr/bin/kcminit_startup
Executable: /usr/bin/kcminit
Control Group: /user.slice/user-1001.slice/user@1001.service/session.slice/plasma-kcminit.service
Unit: user@1001.service
User Unit: plasma-kcminit.service
Slice: user-1001.slice
Owner UID: 1001 (user)
Boot ID: 9fdc0b4445b9461199d70f14ddf2a822
Machine ID: d21d92281c1a402d8908f69f36aff1cc
Hostname: host
Storage: /var/lib/systemd/coredump/core.kcminit_startup.1001.9fdc0b4445b9461199d70f14ddf2a822.1796.1695388261000000.zst (present)
Size on Disk: 455.4K
Message: Process 1796 (kcminit_startup) of user 1001 dumped core.
Stack trace of thread 1796:
#0 0x00007f051808e83c n/a (libc.so.6 + 0x8e83c)
#1 0x00007f051803e668 raise (libc.so.6 + 0x3e668)
#2 0x00007f05180264b8 abort (libc.so.6 + 0x264b8)
#3 0x00007f05188a0098 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0xa0098)
#4 0x00007f0518f3f3f2 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13f3f2)
#5 0x00007f0518f3fa69 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13fa69)
#6 0x00007f0518a9b695 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29b695)
#7 0x00007f0518f3fb16 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13fb16)
#8 0x00007f0518f4084c _ZN15QGuiApplicationC1ERiPPci (libQt5Gui.so.5 + 0x14084c)
#9 0x00005573c3a4e11d n/a (kcminit + 0x311d)
#10 0x00007f0518027cd0 n/a (libc.so.6 + 0x27cd0)
#11 0x00007f0518027d8a __libc_start_main (libc.so.6 + 0x27d8a)
#12 0x00005573c3a4eef5 n/a (kcminit + 0x3ef5)
ELF object binary architecture: AMD x86-64
Last edited by coolgoose54 (2023-09-24 22:38:13)
Offline
grep -E "(WW|EE)" /var/log/Xorg.0.log
That's not helpful, but it smells like you're using xf86-video-intel, get rid of that.
Also this seems a hybrid system w/ nouveau which doesn't support your Ampere chip - and that's just the problems I can sense from that excerpt… (ok, and you posted the lspci confirming the hybrid system)
The aborts are all over the place, get rid of xf86-video-intel, install nvidia and nvidia-utils, see whether the issue remains and post the entire X11 log.
Online
grep -E "(WW|EE)" /var/log/Xorg.0.log
That's not helpful, but it smells like you're using xf86-video-intel, get rid of that.
Also this seems a hybrid system w/ nouveau which doesn't support your Ampere chip - and that's just the problems I can sense from that excerpt… (ok, and you posted the lspci confirming the hybrid system)The aborts are all over the place, get rid of xf86-video-intel, install nvidia and nvidia-utils, see whether the issue remains and post the entire X11 log.
I thought my machine had primary card by Intel and secondary card by Nvidia. I am almost sure that I never installed nvidia on this machine and it worked some time ago. But still worth trying, I will uninstall xf86-video-intel and xf86-video-nouveau and then try installing nvidia and report back.
Offline
journal after removing xf86-video-intel and xf86-video-nouveau and installing nvidia and nvidia-utils: http://ix.io/4Hjk
No Xorg log file created in /var/log.
$ cat .xinitrc
#!/bin/sh
exec startplasma-x11
Last edited by coolgoose54 (2023-09-24 13:46:45)
Offline
Last link below, see what to include at least.
Sep 24 09:21:29 hostname kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
Sep 24 09:21:29 hostname kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Sep 24 09:21:29 hostname kernel: NVRM: This can occur when a driver such as:
NVRM: nouveau, rivafb, nvidiafb or rivatv
NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Sep 24 09:21:29 hostname kernel: NVRM: Try unloading the conflicting kernel module (and/or
NVRM: reconfigure your kernel without the conflicting
NVRM: driver(s)), then try loading the NVIDIA kernel module
NVRM: again.
Sep 24 09:21:29 hostname kernel: NVRM: No NVIDIA devices probed.
https://wiki.archlinux.org/title/NVIDIA#Installation - you skipped a step.
Also post your complete xorg log after fixing that.
Online
Last link below, see what to include at least.
Sep 24 09:21:29 hostname kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509 Sep 24 09:21:29 hostname kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s). Sep 24 09:21:29 hostname kernel: NVRM: This can occur when a driver such as: NVRM: nouveau, rivafb, nvidiafb or rivatv NVRM: was loaded and obtained ownership of the NVIDIA device(s). Sep 24 09:21:29 hostname kernel: NVRM: Try unloading the conflicting kernel module (and/or NVRM: reconfigure your kernel without the conflicting NVRM: driver(s)), then try loading the NVIDIA kernel module NVRM: again. Sep 24 09:21:29 hostname kernel: NVRM: No NVIDIA devices probed.
https://wiki.archlinux.org/title/NVIDIA#Installation - you skipped a step.
Also post your complete xorg log after fixing that.
I am logging to the console and running startx because sddm too hangs.
And journal : http://ix.io/4HjC
Last edited by coolgoose54 (2023-09-24 14:57:56)
Offline
xorg log looks fine.
Sep 24 10:48:04 hostname kcminit_startup[1474]: Failed to create wl_display (No such file or directory)
Sep 24 10:48:04 hostname kcminit_startup[1474]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Sep 24 10:48:04 hostname kcminit_startup[1474]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
printenv | curl -F 'f:1=<-' ix.io
You probably have QT_QPA_PLATFORM set to wayland?
Online
xorg log looks fine.
Sep 24 10:48:04 hostname kcminit_startup[1474]: Failed to create wl_display (No such file or directory) Sep 24 10:48:04 hostname kcminit_startup[1474]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found. Sep 24 10:48:04 hostname kcminit_startup[1474]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
printenv | curl -F 'f:1=<-' ix.io
You probably have QT_QPA_PLATFORM set to wayland?
That was it, thank you so much. I had a conditional in my .profile/.bashrc that was setting the variable if XDG_SESSION_TYPE was not x11 and I am assuming XDG_SESSION_TYPE must have changed around the time it started failing for me. If I remember correctly, I need the variable to run zoom on GNOME wayland.
Anyways, I will let it run for a few days and then decide if I should go back to xf86-video-intel/nouveau or stay with nvidia. Thanks.
Offline