You are not logged in.
Plasma crashes immediately after logging in. There is black desktop and recent applications started. No task bar, menu, widgets. Task switcher in top left screen corner does work.
To fix this I upgraded plasma from [kde-unstable] repo, but it did not resolve the issue.
Below is my stack trace.
Oct 02 20:36:50 Skylake dbus-daemon[593]: [session uid=1000 pid=593] Activated service 'org.kde.kded5' failed: Process org.kde.kded5 received signal 6
Oct 02 20:36:50 Skylake systemd-coredump[924]: Process 893 (kded5) of user 1000 dumped core.
Stack trace of thread 893:
#0 0x00007efd2803cd7f raise (libc.so.6)
#1 0x00007efd28027672 abort (libc.so.6)
#2 0x00007efd26d327fc _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
#3 0x00007efd27452f6a _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5)
#4 0x00007efd2745342e _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5)
#5 0x00007efd26f2aa35 _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5)
#6 0x00007efd27454650 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5)
#7 0x00007efd27afeb9a _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5)
#8 0x00007efd281d61e7 kdemain (libkdeinit5_kded5.so)
#9 0x00007efd28029223 __libc_start_main (libc.so.6)
#10 0x000056306550005e _start (kded5)
Dolphin does work, but systemsettings5 crashes as well. Not sure if these problems are related:
$ systemsettings5
QCoreApplication::arguments: Please instantiate the QApplication object first
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
Interesting parts of qtdiag5 output:
$ qtdiag-qt5
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Qt 5.11.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.2.1 20180831) on "xcb"
OS: Arch Linux [linux version 4.18.11-arch1-1-ARCH]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE
Environment:
QT_AUTO_SCREEN_SCALE_FACTOR="0"
QT_SCREEN_SCALE_FACTORS="DVI-D-0=1.6;HDMI-0=1.6;DP-0=1.6;DP-1=1.6;DP-2=1.6;DP-3=1.6;DP-4=1.6;DP-5=1.6;"
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: /usr
DocumentationPath: /usr/share/doc/qt
HeadersPath: /usr/include/qt
LibrariesPath: /usr/lib
LibraryExecutablesPath: /usr/lib/qt/libexec
BinariesPath: /usr/bin
PluginsPath: /usr/lib/qt/plugins
ImportsPath: /usr/lib/qt/imports
Qml2ImportsPath: /usr/lib/qt/qml
ArchDataPath: /usr/lib/qt
DataPath: /usr/share/qt
TranslationsPath: /usr/share/qt/translations
ExamplesPath: /usr/share/doc/qt/examples
TestsPath: /usr/tests
SettingsPath: /etc/xdg
File selectors (increasing order of precedence):
en_DK unix linux arch
Network:
Using "OpenSSL 1.1.1 11 Sep 2018", version: 0x1010100f
Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition
Style hints:
mouseDoubleClickInterval: 400
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRate: 30
cursorFlashTime: 1000
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.7
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls)
singleClickActivation: 1
Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 0
Fonts:
General font : "Noto Sans" 11
Fixed font : "Hack" 9
Title font : "Noto Sans" 11
Smallest font: "Noto Sans" 8
Screens: 1, High DPI scaling: active
# 0 "DP-4" Depth: 24 Primary: yes
Manufacturer: Ancor Communications Inc
Model: ROG PG27AQ
Serial number: #ASNhaqgXJiX
Geometry: 2400x1350+0+0 (native: 3840x2160+0+0) Available: 2400x1350+0+0
Physical size: 598x336 mm Refresh: 59 Hz Power state: 0
Physical DPI: 101.94,102.054 Logical DPI: 96.25,96.25 (native: 154,154) Subpixel_None
High DPI scaling factor: 1.6 DevicePixelRatio: 1.6 Pixel density: 2
Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
LibGL Vendor: NVIDIA Corporation
Renderer: GeForce GTX 1070/PCIe/SSE2
Version: 4.6.0 NVIDIA 410.57
Shading language: 4.60 NVIDIA
Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Depth buffer: 24
Profile: None (QOpenGLFunctions_4_6)
Vulkan instance available
Supported instance extensions:
VK_KHR_device_group_creation, version 1
VK_KHR_display, version 21
VK_KHR_external_fence_capabilities, version 1
VK_KHR_external_memory_capabilities, version 1
VK_KHR_external_semaphore_capabilities, version 1
VK_KHR_get_display_properties2, version 1
VK_KHR_get_physical_device_properties2, version 1
VK_KHR_get_surface_capabilities2, version 1
VK_KHR_surface, version 25
VK_KHR_xcb_surface, version 6
VK_KHR_xlib_surface, version 6
VK_EXT_acquire_xlib_display, version 1
VK_EXT_debug_report, version 9
VK_EXT_debug_utils, version 1
VK_EXT_direct_mode_display, version 1
VK_EXT_display_surface_counter, version 1
Supported layers:
VK_LAYER_VALVE_steam_overlay_32, version 1, spec version 1.0.3, Steam Overlay Layer
VK_LAYER_VALVE_steam_overlay_64, version 1, spec version 1.0.3, Steam Overlay Layer
VK_LAYER_LUNARG_standard_validation, version 1, spec version 1.0.82, LunarG Standard Validation Layer
Available physical devices:
API version 1.1.82, vendor 0x10DE, device 0x1B81, GeForce GTX 1070, type 2, driver version 410.228.0
UPDATE:
Grepping I found out that I had
XDG_SESSION_TYPE=wayland
GDK_BACKEND=wayland,x11
in /etc/environment. Not sure why and what put it there. I removed these and it is now fine.
Thanks to all!
Last edited by merilius (2018-10-06 11:37:37)
Offline
Why are you trying to start a wayland session? That won't work with the nvidia drivers.
Offline
I had a working installation of plasma for a while. Never needed to config anything. I wasn't even aware if it uses Wayland or Xorg.
Now it stopped working for no other reason than an update. Same GPU, always nvidia drivers.
I uninstalled plasma-wayland-session, but it did not help. Actually, I don't think I am running (or have been running) plasma under Wayland at all.
The thing is it does start. Displays windows, adds borders to these windows, allows windows to be moved including a wobbly window effect. But there are no panels, widgets, menu. The background is black. AND there is the crash of kded5 explicitly in the journal.
If no one has an idea I am going to report it as a bug.
Last edited by merilius (2018-10-04 21:50:14)
Offline
Your logs show that you *are* running wayland, intentional or not. What are the outputs of
echo $XDG_SESSION_TYPE
and
echo $XDG_CURRENT_DESKTOP
? How are you starting Plasma?
Offline
@arojas. Thanks, you are right.
$ echo $XDG_SESSION_TYPE
wayland
$ echo $XDG_CURRENT_DESKTOP
KDE
I tried launching Plasma via LXDM and GDM. DE is set to "Plasma". There are no explicit "Plasma (wayland)" or "Plasma (Xorg)" options to choose from.
And there is Xorg running actually
/usr/lib/Xorg -background none :0 vt01 -nolisten tcp -novtswitch -auth /var/run/lxdm/lxdm-:0.auth
$ cat /usr/share/xsessions/plasma.desktop | grep -v Comment | grep -v Name
[Desktop Entry]
Type=XSession
Exec=/usr/bin/startkde
TryExec=/usr/bin/startkde
X-KDE-PluginInfo-Version=5.13.90
$ ls /usr/share/xsessions/
cinnamon2d.desktop gnome-classic.desktop gnome-xorg.desktop lxqt.desktop openbox.desktop plasma.desktop
cinnamon.desktop gnome.desktop kodi.desktop mate.desktop openbox-kde.desktop
$ ls /usr/share/wayland-sessions/
gnome.desktop weston.desktop
UPDATE:
Grepping I found out that I had
XDG_SESSION_TYPE=wayland
GDK_BACKEND=wayland,x11
in /etc/environment. Not sure why and what put it there. I removed these and it is now fine.
Thanks to all!
Last edited by merilius (2018-10-06 11:36:30)
Offline