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

linux config: enable Creative Soundblaster DSP loading #83658

Closed
wants to merge 1 commit into from

Conversation

Emantor
Copy link
Member

@Emantor Emantor commented Mar 29, 2020

Motivation for this change

Since we select everything as a module, snd_hda_codec_ca0132 is built as
well. DSP loading is not enabled by default, but without it the
soundcard produces timeouts within ALSA and does not emit sound.
Explicitly enable the firmware loading to ensure Soundblaster
Z/Zx/ZxR/Recon devices can be used with NixOS.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@Emantor
Copy link
Member Author

Emantor commented Mar 29, 2020

Debian and Arch enable this as well. I noticed this while switching to NixOS from Arch Linux.

@Emantor
Copy link
Member Author

Emantor commented Mar 29, 2020

Takashi applied the patch to the sound tree to add default y. This can eventually be removed when all kernels default to y.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/136

Since we select everything as a module, snd_hda_codec_ca0132 is built as
well. DSP loading is not enabled by default, but without it the
soundcard produces timeouts within ALSA and does not emit sound.
Explicitly enable the firmware loading to ensure Soundblaster
Z/Zx/ZxR/Recon devices can be used with NixOS.
The patch to enable this by default in the kernel is staged for 5.8.
@flokli
Copy link
Contributor

flokli commented Apr 2, 2020

Sorry for the delay. Tested building linux and linux_latest.

@flokli
Copy link
Contributor

flokli commented Apr 2, 2020

So, this merged into staging, but GitHub seems to have hiccups.

@flokli flokli closed this Apr 2, 2020
@Emantor Emantor deleted the topic/kernel-snd-ca0132 branch April 3, 2020 03:50
primeos pushed a commit to primeos/nixpkgs that referenced this pull request Apr 3, 2020
linux config: enable Creative Soundblaster DSP loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants