wallpaper-engine-kde-plugin icon indicating copy to clipboard operation
wallpaper-engine-kde-plugin copied to clipboard

Black screen on startup.

Open koemam13 opened this issue 3 years ago • 11 comments

Describe the bug
As stated in title. Screen keeps black and doesn't show the wallpaper. I've tried to change to other wallpapers and it kept being black. It sometimes flashes white when changing wallpapers.

Workshop link
1311951951

System Information

  • Kde: Plasma 5.25.1
  • Qt: 5.15.5
  • OS: Arch / Garuda
  • Installation Source: git

Additional context
Pc with open source drivers from AMD (installed card: Rx6800)

koemam13 avatar Jun 27 '22 13:06 koemam13

I'm also getting a black screen, and this is in my logs: qml: JSON.parse: Parse error

Different wallpaper, I recently updated to Qt 5.15.5, maybe it has something to do with that?

SuperFes avatar Jul 03 '22 05:07 SuperFes

I'm also getting a black screen, and this is in my logs: qml: JSON.parse: Parse error

Different wallpaper, I recently updated to Qt 5.15.5, maybe it has something to do with that?

I'm seeing those errors in my log as well, but it does work.

It wasn't at first, so I cloned the repo and build it myself, still wasn't working, just went through the README and did the log-out and login step, everything worked without any issue (but the error still appearing in the logs).

I'm using the MPV backend, I don't know if QtMultimedia works, but I'm not going to test it I guess.

JonathanxD avatar Jul 13 '22 20:07 JonathanxD

Hrm, I just noticed these too: ERROR Instance.cpp:209 VkResult is " ErrorOutOfHostMemory " ERROR VulkanRender.cpp:137 init vulkan failed

Wonder if this is the actual problem.

SuperFes avatar Jul 13 '22 21:07 SuperFes

Well, I have found and fixed my problem, I was readying my laptop (Gentoo install) for my new laptop that's coming soon (AMDGPU) and mesa installed icd's for the amd stuff and that's what broke vulkan, I just removed the AMD icds and now it works again.

I'm such a newb with vulkan.

SuperFes avatar Jul 13 '22 23:07 SuperFes

@SuperFes solution is not great - Vulcan is fully working for me.

The following happens for me when freshly cold-booting my PC:

  1. KDE startup screen shows up and finishes.
  2. KDE control bars fully appear on all screens.
  3. KDE desktop backgrounds fail to load, resulting in black and unresponsive desktop backgrounds (even right clicking won't work)

The only way to get everything (including this plugin) working again is ALT + F2 (KRunner) and entering plasmashell --replace, thus restarting Plasma Shell.

The following relevant logs are appearing in the syslog upon first start (when this occurs):

09:23	plasma_session	org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
09:23	plasmashell	kf.plasma.quick: Applet preload policy set to 1
09:23	plasmashell	qml: JSON.parse: Parse error
09:23	plasmashell	qml: load backend: backend/Scene.qml
09:23	plasmashell	file:///usr/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/PowerSource.qml:11:5: Unable to assign [undefined] to int
09:23	plasmashell	qml: JSON.parse: Parse error
09:23	plasmashell	qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
09:23	plasmashell	qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
09:23	plasmashell	qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
09:23	plasmashell	Plasma Shell startup completed
09:23	plasmashell	file:///usr/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/PowerSource.qml:11:5: Unable to assign [undefined] to int
09:23	plasmashell	qml: JSON.parse: Parse error
09:23	plasmashell	file:///usr/share/plasma/wallpapers/com.github.casout.wallpaperEngineKde/contents/ui/PowerSource.qml:11:5: Unable to assign [undefined] to int
09:23	plasmashell	qml: JSON.parse: Parse error
09:23	plasmashell	Both point size and pixel size set. Using pixel size.

If you're not using the Wallpaper Engine on any screen as background, KDE just starts as normal and without crashing.

Interestingly, the same lines are getting logged after replacing plasmashell - so I'm not able to directly identify the error message that's causing all of this. Maybe there is a log file I could check for more information?

My system info:

Wallpaper Engine Plasma: 0.5.4
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: X11

@catsout Can you please check what's going on here? Something is going wrong with many installs.

danir-de avatar Aug 19 '22 07:08 danir-de

I have the same issue as @danir-de , except that I am still able to right click and change the wallpaper. EDIT: My issue was likely caused by the Wallpaper Engine being installed on a Veracrypt-encrypted drive, which was only mounted after the login. So most likely unrelated to OP

ZhenyaPav avatar Sep 16 '22 17:09 ZhenyaPav

i have same problem here. but i remove /home/stone/.config/plasma-org.kde.plasma.desktop-appletsrc is file and reconfigure the wallpaper type as Wallpaper Engine for Kde and it work as expected

EDIT: before removing this file, the kde stock wallpaper is working unexpected as well (black screen)

forggy0113 avatar Nov 04 '22 09:11 forggy0113

/home/USERNAME/.cache create a folder called wescene here

USER123444123 avatar Jan 25 '23 08:01 USER123444123

I'm having this issue as well, editing ~/.config/plasma-org.kde.plasma.desktop-appletsrc and removing the wallpaper source lines and restarting plasmashell gets it to work until next reboot or until the system tries to sleep/lock. I have to set the wallpaper again after restarting plasmashell as I get the "your source may be broken" message in yellow on the desktop until I do so.

Normal wallpapers work as expected.

Taskbar is not visible as KDE desktop crashes for me, and fails to coredump. It is still alive enough for me to CTRL+ALT+T to get a terminal and do the above.

I've tried reinstalling this plugin a few times. I am running arch, so I've tried the AUR versions (git and normal release) and have tried building from source. The two AUR editions work as expected, but after this recent update I can no longer build this plugin from source, which is how I had originally installed it.

StonyTark1117 avatar Jul 11 '23 01:07 StonyTark1117

Operating System: Gentoo Linux 2.13
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 5.4.228-gentoo (64-bit)
Graphics Platform: X11

Previously: During boot, the KDE taskbar appears, but occasionally the desktop is black. When loading completes, the desktop is unresponsive, even though icons are visible. I have been killing the plasmashell process with

killall plasmashell

then restarting it. After restarting, it works.

Recently: Following the most recent update, the desktop is black every single time. Restarting plasmashell "resolves" it.

Modifications to the config files such as ~/.config/plasma-org.kde.plasma.desktop-appletsrc do not persist.

This issue is actually really old. I've observed it on and off for years. I admit to being a bit puzzled that it hasn't been fixed. That suggests that the problem is in the design.

pajot avatar Aug 04 '23 09:08 pajot

I have the same issue.

NAME="Manjaro Linux"
plasmashell 5.27.10
Qt: 5.15.11
KDE Frameworks: 5.113.0
kf5-config: 1.0

My workaround was: kbuildsycoca5 &>/dev/null && kquitapp5 plasmashell && kstart5 plasmashell &>/dev/null

rardcode avatar Dec 24 '23 06:12 rardcode