Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.66k stars 61 forks source link

X error: BadWindow #80

Open arcogabbo opened 2 years ago

arcogabbo commented 2 years ago

Software runs fine but when i try to set the wallpaper as screen background this error shows up:

No scene.pkg file found at .../2770917518_gate_to_heaven/. Defaulting to normal folder storage
Found requested screen: HDMI-0 -> 0x0:1920x1080
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  40 (X_TranslateCoords)
  Resource id in failed request:  0x402a51
  Serial number of failed request:  228
  Current serial number in output stream:  228

Tried to search other issues with no luck. I'm currently on GNOME 40.4 on pop-os 21.10 . My graphics card is an Nvidia 960 4GB and i have proprietary drivers installed.

Any help is appreciated

Almamu commented 2 years ago

I will look a bit closer into it, but judging from your setup, I'd say most likely GNOME is the one causing this issue (as we don't really have support for those kind of complex systems right now).

t0mtee commented 2 years ago

Also having this. Running pop-os too, with GNOME. Here's my log:

Detected scene.pkg file at /home/osoa/Desktop/linux-wallpaperengine-main/build/SynthSunset/scene.pkg. Adding to list of searchable paths
Found assets folder alongside the binary: /home/osoa/Desktop/linux-wallpaperengine-main/build/assets
Found requested screen: HDMI-0 -> 0x0:1920x1080
Cannot initialize SDL audio system, SDL_GetError: Mixer not built with MP3 support
Continuing without audio support
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  40 (X_TranslateCoords)
  Resource id in failed request:  0x401337
  Serial number of failed request:  229
  Current serial number in output stream:  229
Semanual commented 2 years ago

Having the same problem, but this time with Linux Mint. Tried with Cinnamon, XFCE, GNOME and KDE, neither of them worked. Here's my log (it's the same for each of the DEs):

Detected scene.pkg file at /home/semanual/.steam/debian-installation/steamapps/workshop/content/431960/1868080461/scene.pkg. Adding to list of searchable paths
Found wallpaper engine's assets at /home/semanual/.steam/debian-installation/steamapps/common/wallpaper_engine/assets based on --assets-dir parameter
Found requested screen: DVI-I-0 -> 0x0:1600x900
[mp3 @ 0x55c4dea80ec0] Estimating duration from bitrate, this may be inaccurate
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Detected X error
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  40 (X_TranslateCoords)
  Resource id in failed request:  0x200044f
  Serial number of failed request:  198
  Current serial number in output stream:  198

My system info: image

AlexanderSchuetz97 commented 1 year ago

Hello there, This is also an issue on Debian running XFCE. image

The error is: image

MomentQYC commented 11 months ago

Zorin OS has the same problem.

./linux-wallpaperengine ~/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2656272925/ --assets-dir ./assets
Using wallpaper engine's assets at "./assets" based on --assets-dir parameter
No "scene.pkg" file found at "~/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2656272925/scene.pkg". Defaulting to normal folder storage
No "gifscene.pkg" file found at "~/snap/steam/common/.local/share/Steam/steamapps/workshop/content/431960/2656272925/gifscene.pkg". Defaulting to normal folder storage
Cannot find "/usr/local/share/linux-wallpaperengine". This folder is required for wallpaper engine to work
[cplayer] mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       56.31.100
[cplayer]    libavcodec      58.54.100
[cplayer]    libavformat     58.29.100
[cplayer]    libswscale      5.5.100
[cplayer]    libavfilter     7.57.100
[cplayer]    libswresample   3.5.100
[cplayer] ffmpeg version: 4.2.7-0ubuntu0.1
[cplayer] 
[cplayer] Configuration: ./waf configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv --zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-dvdnav --enable-libmpv-shared --enable-libsmbclient --enable-sdl2 --enable-sndio --disable-build-date --enable-dvbin
[cplayer] List of enabled features: 52arch aligned_alloc alsa asm atomics caca cdda cplayer cplugins debug-build drm drmprime dvbin dvdnav egl egl-drm egl-helpers egl-x11 fchmod ffmpeg gbm gbm.h gl gl-wayland gl-x11 glibc-thread-name glob glob-posix gnuc gpl iconv jack jpeg lcms2 libarchive libass libass-osd libav-any libavcodec libavdevice libavutil libbluray libdl libm libmpv-shared librt libsmbclient linux-fstatfs lua memfd_create optimize oss-audio plain-gl posix posix-or-mingw posix-spawn posix-spawn-native pthreads pulse rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video sndio stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vt.h wayland wayland-protocols x11 xv zlib
[libmpv_render] GL_VERSION='4.6 (Core Profile) Mesa 21.2.6'
[libmpv_render] Detected desktop OpenGL 4.6.
[libmpv_render] GL_VENDOR='Intel'
[libmpv_render] GL_RENDERER='Mesa Intel(R) UHD Graphics 620 (WHL GT2)'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.60'
[cplayer] Waiting for scripts...
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba8
[libmpv_render] Using FBO format rgba8.
[libmpv_render] No advanced processing required. Enabling dumb mode.
[libmpv_render] Loading hwdec driver 'vaapi-egl'
[libmpv_render/vaapi-egl] VAAPI hwdec only works with OpenGL or Vulkan backends.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'vdpau-gl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'drmprime-drm'
[libmpv_render/drmprime-drm] Failed to retrieve DRM fd from native display.
[libmpv_render] Loading failed.
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  15 (X_QueryTree)
  Resource id in failed request:  0xde1a520
  Serial number of failed request:  18
  Current serial number in output stream:  18
lovanto commented 6 months ago

image ubuntu here, got same problem