catsout / wallpaper-engine-kde-plugin

A kde wallpaper plugin integrating wallpaper engine
https://store.kde.org/p/1475528/
GNU General Public License v2.0
1.81k stars 79 forks source link

Getting a blackscreen, regardless of what Image / Wallpaper I pick #145

Open DestinyofYeet opened 2 years ago

DestinyofYeet commented 2 years ago

Describe the bug
Regardless of what image I pick, I just get a black screen.

Workshop link
Animated one Image

System Information

Additional context
Add any other context about the problem here. [e.g. screenshots/logs] Well, It's just a black screen with no background.

catsout commented 2 years ago

Please also try video wallpaper.
And put your gpu and driver info here.

Ghibbi64 commented 2 years ago

Si prega di provare anche lo sfondo del video. E metti qui le informazioni sulla tua gpu e driver.

I have the same problem, i also try with the video one and I'm using the stock amdgpu driver included in kde (i don't install them, maybe should i?)

Ghibbi64 commented 2 years ago

Si prega di provare anche lo sfondo del video. E metti qui le informazioni sulla tua gpu e driver.

I'm using last version of arch

catsout commented 2 years ago

@Ghibbi64 Put the output of glxinfo -B here.

Ghibbi64 commented 2 years ago

Sorry for the wait.

name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: AMD (0x1002) Device: AMD Radeon RX 570 Series (POLARIS10, DRM 3.44.0, 5.16.16-arch1-1, LLVM 13.0.1) (0x67df) Version: 21.3.7 Accelerated: yes Video memory: 4096MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.6 Max compat profile version: 4.6 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 3647 MB, largest block: 3647 MB VBO free aux. memory - total: 4034 MB, largest block: 4034 MB Texture free memory - total: 3647 MB, largest block: 3647 MB Texture free aux. memory - total: 4034 MB, largest block: 4034 MB Renderbuffer free memory - total: 3647 MB, largest block: 3647 MB Renderbuffer free aux. memory - total: 4034 MB, largest block: 4034 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 4096 MB Total available memory: 8192 MB Currently available dedicated video memory: 3647 MB OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 570 Series (POLARIS10, DRM 3.44.0, 5.16.16-arch1-1, LLVM 13.0.1) OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.7 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.7 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

catsout commented 2 years ago

@Ghibbi64
Do you all get black screen when using qtmultimedia, mpv, scene?

Ghibbi64 commented 2 years ago

@Ghibbi64 Do you all get black screen when using qtmultimedia, mpv, scene?

i just reinstall it and now it works only with mpv, so qt and scene doesnt work, so i can only watch videos.

catsout commented 2 years ago

The qtmultimedia may need some packages to support more video format.

Look https://github.com/catsout/wallpaper-engine-kde-plugin/issues/137 to see how to debug scene.

Ghibbi64 commented 2 years ago

The qtmultimedia may need some packages to support more video format.

Look #137 to see how to debug scene.

and for the scenes? (i mean all the other wallpaper that arent just video)

catsout commented 2 years ago

For all scene wallpapers.
Just use mpv on video wallpaper.
If you can't use web wallpaper, please check the lib check on About page of the plugin.

Ghibbi64 commented 2 years ago

For all scene wallpapers. Just use mpv on video wallpaper. If you can't use web wallpaper, please check the lib check on About page of the plugin.

i checked all the lib on About and there are no missing lib, but i can only use .mp4 wallpapers, not the others

DestinyofYeet commented 2 years ago

Now it says this, without me doing anything.

image

DestinyofYeet commented 2 years ago

Interesting. After removing it, then installing it per github again, it stopped complaining about the lib Plugin and I found out only a few backgrounds actually work. I switched between the qt and the mpv backend, but in terms of compatibility of backgrounds it doesn't change anything.

Like this one works But for some reason this doesn't

this one works too while this one doesn't

@catsout do you know where the differences in the backgrounds are?

Deliphin commented 2 years ago

I believe I also have this issue on my laptop.

With all scenes I tested, I get nothing but a black screen; No yellow text error like what DestinyofYeet gets. Currently I'm running from following the instructions on this github. Earlier when I used the store.kde.org release, I did get that yellow text error. But I don't when compiling from here, I just get a black screen with all scenes.

Videos work though. Both QtMultimedia and mpv work fine for me.

Arch Linux KDE Plasma: 5.24.4 KDE Frameworks: 5.92.0 Qt: 5.15.3 Kernel: 5.16.16-zen1-1-zen (64-bit) Graphics Platform: X11 (I also tested Wayland, no change) Processor: 12 x Intel Core i7-9750H CPU @ 2.60GHz Graphics Processor: Mesa Intel UHD Graphics 630 (I also have a GTX 1650, but it's disabled for VFIO)

I have all the required libs installed. In the About tab, all of them show as checked.

❯ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics 630 (CFL GT2) (0x3e9b)
    Version: 22.0.1
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Not related to my problem: I read on another issue that you don't have an AMD card to test with. If you want to run tests on AMD, I can run them for you, as I also have a desktop with a 5700 XT. I haven't yet tested this plugin on it though, as it only runs windows atm.

catsout commented 2 years ago

@Deliphin https://github.com/catsout/wallpaper-engine-kde-plugin/issues/147

Deliphin commented 2 years ago

@Deliphin #147

❯ pacman -Ss vulkan- | grep installed
extra/nvidia-utils 510.60.02-1 [installed]
extra/spirv-tools 2022.1-1 (vulkan-devel) [installed]
extra/vulkan-headers 1:1.3.211-1 (vulkan-devel) [installed]
extra/vulkan-icd-loader 1.3.208-1 [installed]
extra/vulkan-intel 22.0.1-3 [installed]
extra/vulkan-tools 1.3.207-1 (vulkan-devel) [installed]
multilib/lib32-nvidia-utils 510.60.02-1 [installed]
multilib/lib32-vulkan-icd-loader 1.3.208-1 [installed]
multilib/lib32-vulkan-intel 22.0.1-3 [installed]
❯ sudo pacman -S extra-cmake-modules plasma-framework gst-libav base-devel mpv python-websockets qt5-declarative qt5-websockets qt5-webchannel vulkan-headers
[sudo] password for ariasla:               
warning: extra-cmake-modules-5.92.0-1 is up to date -- reinstalling
warning: plasma-framework-5.92.0-2 is up to date -- reinstalling
warning: gst-libav-1.20.1-1 is up to date -- reinstalling
:: There are 24 members in group base-devel:
:: Repository core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) file  7) findutils  8) flex  9) gawk  10) gcc  11) gettext  12) grep  13) groff  14) gzip  15) libtool  16) m4  17) make
   18) pacman  19) patch  20) pkgconf  21) sed  22) sudo  23) texinfo  24) which

Enter a selection (default=all): 
warning: autoconf-2.71-1 is up to date -- reinstalling
warning: automake-1.16.5-1 is up to date -- reinstalling
warning: binutils-2.38-3 is up to date -- reinstalling
warning: bison-3.8.2-3 is up to date -- reinstalling
warning: fakeroot-1.28-1 is up to date -- reinstalling
warning: file-5.41-1 is up to date -- reinstalling
warning: findutils-4.9.0-1 is up to date -- reinstalling
warning: flex-2.6.4-3 is up to date -- reinstalling
warning: gawk-5.1.1-1 is up to date -- reinstalling
warning: gcc-11.2.0-4 is up to date -- reinstalling
warning: gettext-0.21-2 is up to date -- reinstalling
warning: grep-3.7-1 is up to date -- reinstalling
warning: groff-1.22.4-7 is up to date -- reinstalling
warning: gzip-1.12-1 is up to date -- reinstalling
warning: libtool-2.4.7-1 is up to date -- reinstalling
warning: m4-1.4.19-1 is up to date -- reinstalling
warning: make-4.3-3 is up to date -- reinstalling
warning: pacman-6.0.1-4 is up to date -- reinstalling
warning: patch-2.7.6-8 is up to date -- reinstalling
warning: pkgconf-1.8.0-1 is up to date -- reinstalling
warning: sed-4.8-1 is up to date -- reinstalling
warning: sudo-1.9.10-1 is up to date -- reinstalling
warning: texinfo-6.8-2 is up to date -- reinstalling
warning: which-2.21-5 is up to date -- reinstalling
warning: mpv-1:0.34.1-4 is up to date -- reinstalling
warning: python-websockets-10.2-1 is up to date -- reinstalling
warning: qt5-declarative-5.15.3+kde+r20-1 is up to date -- reinstalling
warning: qt5-websockets-5.15.3+kde+r3-1 is up to date -- reinstalling
warning: qt5-webchannel-5.15.3+kde+r3-1 is up to date -- reinstalling
warning: vulkan-headers-1:1.3.211-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

I have vulkan-intel, vulkan-tools, and the lib32 vulkan stuff. I have all the dependencies listed in your Arch dependency list. Though just in case, I did reinstall all these packages, rebooted, and had no change. In the same test, I also appended export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.i686.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json to my /etc/profile, so that also didn't help.

catsout commented 2 years ago

@Deliphin Please test with https://github.com/catsout/wallpaper-engine-kde-plugin/issues/137#issuecomment-1074908532
sceneviewer-qml --valid-layer

Deliphin commented 2 years ago

@Deliphin Please test with #137 (comment) sceneviewer-qml --valid-layer

Following these instructions, I somehow managed to get it working. Not exactly sure what I did to do that, sadly. I took a break and stuff just kinda worked before I continued trying stuff, lol.

In case if it helps anyone else, here's what little I can remember I did: made a new git clone of the entire git repo instead of using my original one. I found #135, and I installed renderdoc from AUR, and vulkan-devel from Arch repos. (testing immediately after install didn't work it, but maybe it did after a logout/login?) (These dependencies aren't on the AUR package yet, nor in the main readme.) I also recreated the proper directories and files required outside of steam's folder, so I could do stuff without messing with my actual wallpaper engine stuff. (Turned out not necessary. Also has no chance of being the fix because it works fine with the real directories.)

There's like a half dozen other things I tried that I can't remember, sadly. And again for all I know, it could have been my fault. Wish I could tell you what specifically actually fixed it. Thanks though.


I do want to recommend that you put those instructions to get the windowed sceneviewer in the main readme. It could be helpful to people working on new wallpapers and want to efficiently test if they work on your plugin.

froggologies commented 2 years ago

I was had the same problem. Only the video and web that work, for the scene is only blank black screen. In my case, I get it working by installing renderdoc, vulkan-devel group, and vulkan-radeon.