This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Messed up Desktop KDE Neon - Display Bug

Tags: None
(comma "," separated)
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
Hi everyone,

I've been a real happy KDE Neon user so far and I'm quite excited about the fresh look and experience!
But now I'm having this quite annoying bug in my KDE Neon Desktop, where my whole desktop is displayed in the wrong place on every startup. I can manually fix it every time by going into the displaysettings and switching into another displayresolution and back again, but thats fairly annoying after some time.
And theres another side to the Bug: all my popup-menus such as start-menu, date & time, wifi-settings, audio-settings, etc are being displayed in totally random spots as well, which change all the time. So sometimes they're even off the edge of the screen which makes me unable to use them. :/ this is actually the most annying part of the bug.

Obviously I have been researching the internet for quite a while to look out to somebody whos had this issue before, but unfortunately without success so far. I've been trying couple of things to fix this, mainly following instructions from different posts all over the web. But this bug is teasing me for a while now so I cant reproduce everything I've tried. There seem to be so many screen-, display- and windowservices on KDE Plasma, so its kinda difficult to bugfix things without having a clue how things reall work there..

Also: Been havig the same issue on KDE Plasma 5.X when I was running it on Manjaro Linux last year. But then I switched to Linux Mint KDE.
So maybe my Laptop Specs will give any hint:

Type: Thinkpad T420s
CPU: Intel-Core i7 2,8 GHz
Graphics: Discrete NVIDIA NVS 4200M
+ Integrated Intel HD Graphics 3000

Graphics info from terminal:
Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
Display Server: X.Org 1.18.4 Drivers: (unloaded: fbdev,vesa) Resolution: 1600x900@60.01hz
GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 17.1.0-devel

Anyone any ideas on what to do/ what to look for on the internet?
thanks in advance for your help! will really apreciate any hint!
NoNameNoBlame
Karma
0
Maybe, this helps:

$ apt search bumblebee
Sorting... Done
Full Text Search... Done
bumblebee/xenial 3.2.1-10 amd64
NVIDIA Optimus support for Linux

bumblebee-dbg/xenial 3.2.1-10 amd64
NVIDIA Optimus support - debugging symbols

bumblebee-nvidia/xenial 3.2.1-10 amd64
NVIDIA Optimus support using the proprietary NVIDIA driver
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
@NoNameNoBlame
hey man thanks for the effort. so I went and checked my bumblebee-settings and tried to switch my graphics-drivers
but for some reason bumblebee wont recognize my nvidia-current package. so running on nouveau driver currently, but I've been using this driver a while before the bug popped up already, so im supposing the source of the problem to be somewhere else. and im fine with nouveau so far..


someone else an idea? apreciate any help!
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
UPDATE:

When I create a new user, the problem doesnt appear. so the problem must be somewhere in my configs, right?
But renaming/removing any of either .config .kde .local or .cache folders im my home directory didnt solve the problem, I've tried it with all of them at once.

does anyone know whereelse might be config-files to refresh ?
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
For some reason yesterday my desktop suddenly was fine for a while, even when restarting several times the deskop and all its widgets were in the right place. But then I started adding some widgets and during that process the plasmashell crashed, so it restarted automatically.
But it restarted into the buggy desktop again and all my problems came back. Now I'm focusing my bugsearch on the plasmashell.
when I manually restarted plasmashell with sudo restart plasmashell it gave me a list of outputs that to me look like a couple of things arent working correctly.

I will look through step by step, but incase some of you are real quick at finding suspicious lines, heres the output:

Code: Select all
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
Config timer connecting...
Setting the name of  0x1840450  to  "org.kde.ActivityManager.ActivityTemplates"
Setting the name of  0x183d9d0  to  "org.kde.ActivityManager.RunApplication"
Setting the name of  0x184fd20  to  "org.kde.ActivityManager.Resources.Scoring"
Creating directory:  "/home/chris/.local/share/kactivitymanagerd/resources/"
KActivities: Database connection:  "kactivities_db_resources_140234202364096_readwrite"
    query_only:          QVariant(qlonglong, 0)
    journal_mode:        QVariant(QString, "wal")
    wal_autocheckpoint:  QVariant(qlonglong, 100)
    synchronous:         QVariant(qlonglong, 1)
Service started, version: 7.0.0
Cleaning up...
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
detected kglobalaccel restarting, re-registering all shortcut keys
The desktop entry file "/usr/share/applications/evolution-data-server-uoa.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/evolution-data-server-uoa.desktop"
The desktop entry file "/usr/share/applications/display-im6.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/display-im6.desktop"
The desktop entry file "/usr/share/applications/display-im6.q16.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/display-im6.q16.desktop"
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
No metadata file in the package, expected it at: "/home/chris/.local/share/wallpapers/"
No metadata file in the package, expected it at: "/home/chris/.local/share/wallpapers/"
No metadata file in the package, expected it at: "/home/chris/.local/share/wallpapers/"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
klauncher not running... launching kdeinit
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 2604, result = 0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: opened connection to :0
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Couldn't find node arrow-down. Skipping rendering.
Couldn't find node arrow-up. Skipping rendering.
Couldn't find node arrow-right. Skipping rendering.
Couldn't find node arrow-left. Skipping rendering.
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/kf5/kconf_update' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/kconf_update'
kdeinit5: PID 2615 terminated.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
The image "widgets/viewitem" doesn't contain any of the prefixes ("")
Notifications service registered
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
qml: disabling redshift
qml: renderModeString:
qml: disabling redshift
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Cannot read property 'padding' of null
The image "widgets/tasks" doesn't contain any of the prefixes ("")
The image "widgets/tasks" doesn't contain any of the prefixes ("")
The image "widgets/tasks" doesn't contain any of the prefixes ("")
The image "widgets/tasks" doesn't contain any of the prefixes ("")
The image "widgets/tasks" doesn't contain any of the prefixes ("")
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:44:32: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:44:32: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:44:32: Unable to assign [undefined] to int
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:78:27: Unable to assign [undefined] to QStringList
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/main.qml:37: TypeError: Cannot read property 'DateTime' of undefined
Loading Calendar plugin HolidaysEventsPlugin(0x3f56940)
Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication.
Loading Calendar plugin PimEventsPlugin(0x3f58070)
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
qml: clearing connected sources, stop source was: killall redshift; redshift -x
qml: enabling redshift with command: redshift -l 49.194:8.0987 -t 5750:2750 -b 1:1 -g 1:1:1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
System tray daemon not reachable
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:365: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:364: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:363: TypeError: Cannot read property 'padding' of null
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ScrollView.qml:362: TypeError: Cannot read property 'padding' of null
Plasma Shell startup completed
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/plasma-popupapplet.desktop, tried ("/home/chris/.local/share", "/usr/local/share", "/usr/share")
libkcups: 0
libkcups: 0
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "AllDevices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "Devices"
networkmanager-qt: void NetworkManager::NetworkManagerPrivate::propertiesChanged(const QVariantMap&) Unhandled property "GlobalDnsConfiguration"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "S390Subchannels"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "LldpNeighbors"
networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Real"
Currrent active notifications: QHash()
Guessing partOf as: 0
 New Notification:  "TP-LINK_7A4B6A" "Die Verbindung TP-LINK_7A4B6A wurde aktiviert" -1 & Part of: 0
Couldn't find node shadow. Skipping rendering.



thanks in advance for any help :)
NoNameNoBlame
Karma
0
Don't do this as 'root' with 'sudo:
Login is initialized only for normal user after desktop login:

##########################
# Normal User: Login-Environment initialized
$ set | grep XDG
XDG_CONFIG_DIRS=/etc/xdg/xdg-/usr/share/xsessions/plasma:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=/usr/share//usr/share/xsessions/plasma:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7

[2: (0 0)]1[<normal_user>@neon..:/home/<normal_user>/]
##########################
# <SuperUser>/root: Nothing there!!!
$ sudo su -

[1: (0)]1[root@neon..:/root/]
# set | grep XDG
<NOTHING/EMPTY> <===!!!
[2: (0 1)]1[root@neon..:/root/]
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
Okay so I made a whole new system-setup. I'm now trying Kubuntu 17.4 on Plasma 5.9.4 but the same problem occured as soon as I started adding
widgets to my Plasma Desktop. Since I only started adding Widgets ~ 10 days after my new system installation I know for sure that the bug was caused by adding widgets to my desktop. (already had widgets in the system panel before, without causing any problems)

@nonamenoblame:
please excuse my ignorance, i'm still new to linux so im not sure what I'm supposed to do with the code you posted. was this meant to go somewhere into a config file?
Since im on Kubuntu now, I guess it will be obsolete anyways.

does anyone have an idea how to prevent my desktop-problem?
NoNameNoBlame
Karma
0
You asked:
im not sure what I'm supposed to do with the code you posted.
was this meant to go somewhere into a config file?

I answer:
You did make a typical beginner's mistake, that I made myself when
I still didn't understand how this all works.

I wanted to warn You away from taking steps that You as a beginner
most probably cannot know.

####

I give You another example for the basic idea I wanted You to understand:

If You start "KDE Partition Manager" normally after normal login
it uses the configuration files in Your HOME directory.

If You start it as 'root'-user (by using: 'sudo partitionmanager')
it still uses Your configuration files, but now they are taken ownership of
by the user 'root'.

They should be like this

$ command ls -l .config/partitionmanagerrc
-rw------- 1 You You 1 Apr 23 16:11 .config/partitionmanagerrc

but after using 'sudo' they will look like this:

$ command ls -l .config/partitionmanagerrc
-rw------- 1 root root 1 Apr 23 16:11 .config/partitionmanagerrc

which means: From now on, You won't have access.

The topic here is: Unforeseen consequences of using 'sudo'.
User avatar
chris neon
Registered Member
Posts
7
Karma
0
OS
Thanks NoNameNoBlame for explaining, I think I'm now understanding this better.

As far as I can translate this to my knowledge level I should probably check before I use
sudo for any action that I wanna have done within my system.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]