Almamu / linux-wallpaperengine

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

[BGFIX] Failed to initialize glfw #192

Open WinteruOfficiel opened 9 months ago

WinteruOfficiel commented 9 months ago

Wallpaper Engine Background(s)

Link(s) to the background(s) in the steam workshop or their background ID(s).

./linux-wallpaperengine --assets-dir /home/winteru/.local/share/Steam/steamapps/common/wallpaper_engine/assets 833227004
Using wallpaper engine's assets at "/home/winteru/.local/share/Steam/steamapps/common/wallpaper_engine/assets" based on --assets-dir parameter
Detected "scene.pkg" file at "/home/winteru/.local/share/Steam/steamapps/workshop/content/431960/833227004/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/winteru/.local/share/Steam/steamapps/workshop/content/431960/833227004/gifscene.pkg". Defaulting to normal folder storage
WARNING: Shader patches directory cannot be found, this might make some backgrounds not work properly
GLFW error 65544: Wayland: Failed to connect to display
Failed to initialize glfw
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to initialize glfw
zsh: IOT instruction (core dumped)  ./linux-wallpaperengine --assets-dir  833227004

Additional context

CMake threw this but finished okay

- Found FreeImage: headers at /usr/include, libraries at  :: /usr/lib/libfreeimage.so
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (PulseAudio).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
  CMakeModules/FindPulseAudio.cmake:30 (include)
  CMakeLists.txt:31 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PulseAudio: /usr/lib/libpulse.so (found suitable version "16.1.0", minimum required is "0.9.9") 
Almamu commented 9 months ago

Check if glfw-wayland is installed if you want to use Wayland support. This should be done automatically when you install glfw, but depending on your distro you might need to install it manually.

WinteruOfficiel commented 9 months ago

It says glfw-wayland-3.3.9-1 is up to date when I do pacmac install glfw-wayland . Sorry for late reply.