!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

119 Members
25 Servers

Load older messages


SenderMessageTime
15 Sep 2022
@zeorin:matrix.orgXandor SchieferHey all, every time I reboot my sound is in stereo mode instead of 5.1, how do I get it to persist?11:13:49
@zeorin:matrix.orgXandor Schiefer I'm using pipewire. I currently use alsamixer to switch to 6 channel and then restart pipewire and pipewire-pulse services. 11:15:07
@sjfloat:matrix.orgsjfloatI'm not sure, but I suspect it needs to be configured in your system config.11:24:47
@m_algery:leohoo.xyz@m_algery:leohoo.xyz joined the room.12:44:54
@m_algery:leohoo.xyz@m_algery:leohoo.xyz left the room.12:44:55
20 Sep 2022
@ctem:matrix.orgctem Hi all, has anyone tried ossia score (e.g., with this PR)? Wondering if anyone got LV2 support working. 12:52:56
23 Sep 2022
@ctem:matrix.orgctem

For anyone curious, LV2 support is in fact enabled when built from the package in the PR, but LV2 plugin paths are not configurable from the GUI. For plugins to show up, the LV2_PATH environment variable needs to be set. In my case using home manager, it's something like /etc/profiles/per-user/username/lib/lv2:$LV2_PATH. Plugins are usable, and their parameters are exposed in score's inspector panel, but launching any plugin's custom UI currently results in error:

suil error: Unable to wrap UI type <http://lv2plug.in/ns/extensions/ui#X11UI> as type <http://lv2plug.in/ns/extensions/ui#Qt5UI>

Score's lead dev wondered if this an issue between suil and Nix, noting that the error indicates that suil can't find /usr/lib/suil-0/libsuil_x11_in_qt5.so. Other programs in nixpkgs that depend on suil (e.g. Ardour) seem to have no trouble displaying plugin UIs, however. There's also nothing special in the packages wrt suil; suil is simply specified as a build input.

Any thoughts?

14:05:16
@ctem:matrix.orgctem *

For anyone curious, LV2 support is in fact enabled when built from the package in the PR, but LV2 plugin paths are not configurable from the GUI. Depending on your system configuration, the LV2_PATH environment variable may need to be set for plugins to show up. In my case using home manager, it's something like /etc/profiles/per-user/username/lib/lv2:$LV2_PATH.

Plugins are usable, and their parameters are exposed in score's inspector panel, but launching any plugin's custom UI currently results in error:

suil error: Unable to wrap UI type <http://lv2plug.in/ns/extensions/ui#X11UI> as type <http://lv2plug.in/ns/extensions/ui#Qt5UI>

Score's lead dev wondered if this an issue between suil and Nix, noting that the error indicates that suil can't find /usr/lib/suil-0/libsuil_x11_in_qt5.so. Other programs in nixpkgs that depend on suil (e.g. Ardour) seem to have no trouble displaying plugin UIs, however. There's also nothing special in the packages wrt suil; suil is simply specified as a build input.

Any thoughts?

14:07:39
26 Sep 2022
@yuu:matrix.orgYuu YinThat path does not exist on nix/nixos. It should look into the /nix/store instead. So patch suil to look into whatever package has that so file15:30:24
@yuu:matrix.orgYuu Yin ctem: use nix-locate 15:30:46
28 Sep 2022
@ctem:matrix.orgctem

Thanks @yuu :) The so file is actually part of suil itself. The following cmakeFlags are also included in the package in the PR:

    "-DSuil_INCLUDE_DIR=${suil}/include/suil-0"
    "-DSuil_LIBRARY=${suil}/lib/libsuil-0.so"

This all led me to believe it was an implementation bug of some kind, but I finally realized that the suil package was for Qt 4, while score was being built against Qt 5. I simply replaced it with suil-qt5 and it worked as expected.

10:25:14
@ctem:matrix.orgctem *

Thanks yuu :) The so file is actually part of suil itself. The following cmakeFlags are also included in the package in the PR:

    "-DSuil_INCLUDE_DIR=${suil}/include/suil-0"
    "-DSuil_LIBRARY=${suil}/lib/libsuil-0.so"

This all led me to believe it was an implementation bug of some kind, but I finally realized that the suil package was for Qt 4, while score was being built against Qt 5. I simply replaced it with suil-qt5 and it worked as expected.

10:25:33
@magnetophon:matrix.orgmagnetophon joined the room.13:29:16
@magnetophon:matrix.orgmagnetophonHi all! I just learned about this place from ctem, https://github.com/NixOS/nixpkgs/pull/174802#issuecomment-1260697456 Good to know this exists, thanks!13:36:01
@magnetophon:matrix.orgmagnetophonI've been packaging quite a lot of audio stuff for nixos and am one of the people behind https://github.com/musnix/musnix13:37:34
@sjfloat:matrix.orgsjfloat Hey magnetophon, I think I know you from discussion elsewhere. 13:37:38
@magnetophon:matrix.orgmagnetophonLately not very active though.13:37:49
@sjfloat:matrix.orgsjfloatSame13:37:59
@sjfloat:matrix.orgsjfloatI'm very ambitious. But also tired and busy :)13:38:25
@magnetophon:matrix.orgmagnetophonHi sjfloat!13:38:36
@sjfloat:matrix.orgsjfloat👋13:39:00
@sjfloat:matrix.orgsjfloatI really want to get back to the idea of contributing to the wiki.13:39:44
@sjfloat:matrix.orgsjfloatI think it's still kind of hard to find your way if you're doing anything out of the ordinary.13:40:13
@yuu:matrix.orgYuu Yin ctem: nice 💯 13:54:19
@ctem:matrix.orgctem

magnetophon: Happy to have you here :) I have massive respect for all the work you’ve in done nixpkgs. Most of the audio-related packages used in my configuration have your name associated w/them. I’m also using musnix.

sjfloat : I think your desire to contribute to the wiki is a very noble one. It might be worthwhile to discuss a bit with Valentin from Tweag, @fricklerhandwerk:matrix.org, who has been leading the Nix documentation team (starting with Summer of Nix) and may have some opinions regarding where/how best to contribute the kind of documentation you’re thinking about.

For my part, I’m happy to help where I can. I’ve been in audio production (using proprietary tools) a long time and only somewhat recently gathered the resolve to transition to a NixOS-based infrastructure. That is to say, I probably still have more questions than answers at this point! (For example, I’m still trying to figure out how to get the Carla patchbay plugins to actually work in patchbay mode; depending on the DAW, they either load fixed in continuous rack mode or are simply broken...and so on!).

14:26:25
@magnetophon:matrix.orgmagnetophonctemThat's great to hear, thank you! Of course I was mainly scratching my own itch! :)14:28:14
@sjfloat:matrix.orgsjfloatI have had some interaction with the wiki maintainers about what we're trying to do here. They were very open to it and helpful.14:28:23
@sjfloat:matrix.orgsjfloatAnd then I failed to follow through 🙄14:29:20
@ctem:matrix.orgctemHaha, it happens to us all. As for minijackson's idea of an audio production nixpkgs workgroup, I wonder how that might shape up.14:30:28
@magnetophon:matrix.orgmagnetophon> And then I failed to follow through 🙄 No worries, step by step!14:30:34

Show newer messages


Back to Room ListRoom Version: 9