[Bug]: youtube-music does not opened #2453

Closed
opened 2024-09-29 08:37:50 +00:00 by 0komo · 3 comments
0komo commented 2024-09-29 08:37:50 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.5.1

Checklists

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

  1. 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)
### Preflight Checklist - [X] I use the latest version of YouTube Music (Application). - [X] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) 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](https://music.youtube.com). ### 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 1. 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) ```
JellyBrick commented 2024-09-29 22:29:56 +00:00 (Migrated from github.com)

4e0c36e4dd/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)?
0komo commented 2024-09-30 05:02:52 +00:00 (Migrated from github.com)

4e0c36e4dd/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).

> 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`).
h-banii commented 2024-09-30 20:55:23 +00:00 (Migrated from github.com)

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)

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)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#2453
No description provided.