[Bug]: youtube-music does not opened
Preflight Checklist
- [X] I use the latest version of YouTube Music (Application).
- [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
- [X] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube
YouTube Music (Application) Version
3.5.1
Checklists
- [ ] I use the portable version of the YouTube Music Application.
- [ ] I can reproduce this issue in the official version of (WEB) YTM.
What operating system are you using?
Other Linux
Operating System Version
NixOS 24.05
What CPU architecture are you using?
x64
Last Known Working YouTube Music (Application) version
No response
Reproduction steps
- Open Youtube Music
Expected Behavior
A window of the application is opened.
Actual Behavior
No window is opened.
Enabled plugins
(None)
Additional Information
youtube-music is installed from the Nixpkgs repository.
When running youtube-music with strace. It stucks on:
madvise(0x3c40324d000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402e8a000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402df5000, 4096, MADV_DONTNEED) = 0
madvise(0x3c4004f1000, 4096, MADV_DONTNEED) = 0
madvise(0x3c4003d4000, 8192, MADV_DONTNEED) = 0
madvise(0x3c402a30000, 8192, MADV_DONTNEED) = 0
madvise(0x3c402a33000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402a35000, 4096, MADV_DONTNEED) = 0
madvise(0x3c400261000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402a8d000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402a8e000, 8192, MADV_DONTNEED) = 0
madvise(0x3c402a4d000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402a25000, 4096, MADV_DONTNEED) = 0
madvise(0x3c403305000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402b34000, 8192, MADV_DONTNEED) = 0
madvise(0x3c402b29000, 4096, MADV_DONTNEED) = 0
madvise(0x3c402b2a000, 8192, MADV_DONTNEED) = 0
madvise(0x3c402ab5000, 4096, MADV_DONTNEED) = 0
madvise(0x3c400638000, 20480, MADV_DONTNEED) = 0
madvise(0x3c0000cd000, 4096, MADV_DONTNEED) = 0
recvmsg(46, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}], 4, 0) = 0 (Timeout)
recvmsg(46, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=45, events=POLLIN}, {fd=46, events=POLLIN}], 4, 4000^C) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
https://github.com/NixOS/nixpkgs/blob/4e0c36e4dd53f35d5a6385bdae88895ec5832f70/pkgs/applications/audio/youtube-music/default.nix#L15
youtube-music included in Nixpkgs is using an older version (3.5.1). Are you experiencing the same issue if you are using the most recent version (3.5.3)?
https://github.com/NixOS/nixpkgs/blob/4e0c36e4dd53f35d5a6385bdae88895ec5832f70/pkgs/applications/audio/youtube-music/default.nix#L15
youtube-music included in Nixpkgs is using an older version (3.5.1). Are you experiencing the same issue if you are using the most recent version (3.5.3)?
Same with version 3.5.3 AppImage binary (runned through appimage-run).
I'm on NixOS (unstable) using youtube-music (3.5.1) from nixpkgs too, but I don't have this issue. Maybe try another wayland compositor, or DE, or even gamescope.
Also, youtube-music version in nixpkgs (NixOS-24.05) should be 3.3.6 instead of 3.5.1, right? https://github.com/NixOS/nixpkgs/blob/24.05/pkgs/applications/audio/youtube-music/default.nix#L18
If you're installing youtube-music from other input/channel to get version 3.5.1, then try using version 3.3.6 to see if it fails
nix run nixpkgs/nixos-24.05#youtube-music (using flakes)