th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
8.99k stars 512 forks source link

Does not run on wayland + Hyprland but does on Xorg #1164

Closed check-m4te closed 1 year ago

check-m4te commented 1 year ago

When I run it on xorg it works perfectly but when I try in Hyprland (same PC, Nvidia GTX 1060) it does not open. The terminal where I wrote youtube-music hides and when I do killall youtube-music the terminal reappears with the following output

[104299:0528/183633.862414:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[104299:0528/183633.862501:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
Loaded plugin - navigation
Loaded plugin - adblocker
src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 538982482

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 943215175

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094158

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 842094169

src/gbm_drv_common.c:57: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

APPIMAGE env is not defined, current application is not an AppImage
checkForUpdatesAndNotify called, downloadPromise is null
[104299:0528/183637.816606:ERROR:network_service_instance_impl.cc(521)] Network service crashed, restarting service.
[104299:0528/183637.827367:ERROR:zygote_communication_linux.cc(291)] Failed to send GetTerminationStatus message to zygote
[104299:0528/183637.846606:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.848704:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.849224:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.849588:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.849985:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.850321:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.851304:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.851717:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.852148:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002
[104299:0528/183637.852157:FATAL:gpu_data_manager_impl_private.cc(440)] GPU process isn't usable. Goodbye.

Same thing when running yarn start on the repo EDIT: It does show the tray icon, but never the window

JellyBrick commented 1 year ago

Check this: https://www.reddit.com/r/hyprland/comments/14bpjuy/no_such_interface_orgfreedesktopportalfilechooser/