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

8i6 3rd gen: simple.c:920: snd_mixer_selem_get_enum_items: Assertion `elem' failed #34

Open
thomasheartman opened this issue Aug 17, 2022 · 0 comments

Comments

@thomasheartman
Copy link

Hi! 👋🏼 Thanks for what appears to be an incredibly useful package for using the Scarlett interfaces on Linux! 🙏🏼

Issue

When trying to start this up with a 3rd gen 8i6 interface connected, I get the following output:

scarlett-mixer: simple.c:920: snd_mixer_selem_get_enum_items: Assertion `elem' failed.
fish: Job 1, 'scarlett-mixer' terminated by signal SIGABRT (Abort)

When running it with a double --verbose flag, I get this output:

* hw:0 "Scarlett 8i6 USB"
Autodetect: Using "hw:0"
CMP 8
--- Device: Scarlett 8i6 USB
Matrix: in=0, out=0, off=0, stride=0
Matrix: input-select=0, select-stride=0
Inputs: ins=0 select-offset=0
Masters: n_mst=0 n_out-select=0
Switches: n_pad=0, n_hiz=0
hiz_map = {-1, -1, };
pad_map = {-1, -1, -1, -1, };
out_gain_map = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, };
out_gain_labels = {, , , , , , , , , , };
out_bus_map = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, };
---
--- Device: Scarlett 8i6 USB
Matrix: in=8, out=8, off=20, stride=8
Matrix: input-select=84, select-stride=1
Inputs: ins=10 select-offset=0
Masters: n_mst=0 n_out-select=6
Switches: n_pad=2, n_hiz=2
hiz_map = {15, 18, };
pad_map = {16, 19, -1, -1, };
out_gain_map = {10, 11, 12, 13, -1, -1, -1, -1, -1, -1, };
out_gain_labels = {Headphone 1L, Headphone 1R, Headphone 2L, Headphone 2R, SPDIF/L, SPDIF/R, , , , , };
out_bus_map = {92, 93, 94, 95, 97, 98, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, };
---
scarlett-mixer: simple.c:920: snd_mixer_selem_get_enum_items: Assertion `elem' failed.
fish: Job 1, 'scarlett-mixer --verbose --verb…' terminated by signal SIGABRT (Abort)

Do you know what might be going wrong here?

Technical details

  • OS: NixOS 22.11
  • Computer: Dell XPS 15
  • Interface: Focusrite Scarlett 8i6 3rd gen

Additional question

Regarding the meson build: I've never used that system before, so I had some issues with it not installing correctly. I got some help and by adding install: true to the executable funcion, it installs correctly. I don't know if this is an issue on non-NixOS systems, but I was wondering whether it's something you'd accept a PR for if it's interesting? If not, I'll just leave it in my fork 🤷🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant