Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotube crashes on start after updating from 3.7.0->3.8.1: Unknown GPU error #1904

Closed
1 of 2 tasks
abrushworkriot opened this issue Sep 20, 2024 · 8 comments
Closed
1 of 2 tasks
Labels
bug Something isn't working invalid/out-of-scope This doesn't seem right (or out of scope) Linux Linux related issue

Comments

@abrushworkriot
Copy link

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

When I launch Spotube in console I get:
ac: Unknown GPU, using 0 for raster_config Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered) fish: Job 1, 'spotube' terminated by signal SIGSEGV (Address boundary error)

Expected Behavior

App should launch successfully

Steps to reproduce

No response

Logs

Logs
<Replace this line by pasting your logs here>

Operating System

Linux Desktop (Wayland)

Spotube version

3.8.1

Installation source

GitHub Releases (Binary)

Additional information

Downloaded from nixpkgs unstable branch.

          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖            username@nixos
          ▜███▙       ▜███▙  ▟███▛            -----------
           ▜███▙       ▜███▙▟███▛             OS: NixOS 24.05.4997.086b448a5d54 (Uakari) x86_64
            ▜███▙       ▜██████▛              Host: LENOVO LNVNB161216
     ▟█████████████████▙ ▜████▛     ▟▙        Kernel: 6.6.51
    ▟███████████████████▙ ▜███▙    ▟██▙       Uptime: 1 day, 21 hours, 51 mins
           ▄▄▄▄▖           ▜███▙  ▟███▛       Packages: 2766 (nix-system), 664 (nix-user), 159 (nix-default)
          ▟███▛             ▜██▛ ▟███▛        Shell: bash 5.2.32
         ▟███▛               ▜▛ ▟███▛         Resolution: 1920x1080
▟███████████▛                  ▟██████████▙   DE: Hyprland (Wayland)
▜██████████▛                  ▟███████████▛   Terminal: alacritty
      ▟███▛ ▟▙               ▟███▛            CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 4.463GHz
     ▟███▛ ▟██▙             ▟███▛             GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
    ▟███▛  ▜███▙           ▝▀▀▀▀              GPU: AMD ATI Radeon RX 6600/6600 XT/6600M
    ▜██▛    ▜███▙ ▜██████████████████▛        Memory: 4869MiB / 27921MiB
     ▜▛     ▟████▙ ▜████████████████▛
           ▟██████▙       ▜███▙
          ▟███▛▜███▙       ▜███▙
         ▟███▛  ▜███▙       ▜███▙
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘

Self grab

  • I'm ready to work on this issue!
@abrushworkriot abrushworkriot added the bug Something isn't working label Sep 20, 2024
@KRTirtho KRTirtho added the Linux Linux related issue label Oct 1, 2024
@KRTirtho
Copy link
Owner

KRTirtho commented Oct 1, 2024

Please create this issue in https://github.com/NixOS/nixpkgs as I don't maintain the package officially.

@KRTirtho KRTirtho closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@KRTirtho KRTirtho added the invalid/out-of-scope This doesn't seem right (or out of scope) label Oct 1, 2024
@jakubkaczor
Copy link

jakubkaczor commented Oct 1, 2024

I have experienced the same issue on both, Arch Linux package and Nix package, so I am not sure if it's package related. I didn't use Spotube before continuously, so I cannot tell when the issue raised, but somewhere in the past, Spotube worked on my setup.

@abrushworkriot
Copy link
Author

@jakubkaczor It worked for me for something like june and everything was more or less fine.
I started to get this error after updating from 3.7.0, so it's one of the three releases. I didn't get deep into changelogs, so I don't know what caused this, but the error suggest it being related to GPU support. I don't think packaging is to blame here.

@jakubkaczor
Copy link

I have found the cause of the problem. The Spotube versions I tested were either from nixpkgs-unstable or AUR, but I used it with an incompatible version of the Mesa driver, that is, from nixpkgs 24.05. For more details, you can read my comment in the analogous Hyprland issue.

@abrushworkriot, I am not sure if nixGL is meant to be used also on NixOS, but if you want to run Spotube from nixpkgs-unstable, try by invoking

nix run --override-input nixpkgs nixpkgs/nixpkgs-unstable --impure github:nix-community/nixGL -- spotube

@abrushworkriot
Copy link
Author

Thank you. I'll see once nixpkgs unstable gets up to date with newest release.
Do you think anything can be done about it so it works properly? Did you report the issue to pkg maintainers?

@jakubkaczor
Copy link

I am afraid there is nothing to do within the realm of the package.

@abrushworkriot
Copy link
Author

The command you gave me does indeed work. Thank you!
I bet there is a way to write a derivation that makes it work but I'm a noob with Nix, so probably not gonna have luck attempting it.

@le0nAg
Copy link

le0nAg commented Oct 23, 2024

I'm experiencing a similar with chromium based browsers... Is it a common issue with nix/NixOS?
linkt to thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid/out-of-scope This doesn't seem right (or out of scope) Linux Linux related issue
Projects
None yet
Development

No branches or pull requests

4 participants