Closed abrushworkriot closed 1 month ago
Please create this issue in https://github.com/NixOS/nixpkgs as I don't maintain the package officially.
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.
@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.
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
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?
I am afraid there is nothing to do within the realm of the package.
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.
I'm experiencing a similar with chromium based browsers... Is it a common issue with nix/NixOS? linkt to thread
Is there an existing issue for this? (Please read the description)
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
```Operating System
Linux Desktop (Wayland)
Spotube version
3.8.1
Installation source
GitHub Releases (Binary)
Additional information
Downloaded from nixpkgs unstable branch.
Self grab