-
Notifications
You must be signed in to change notification settings - Fork 44
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
Star Citizen - no audio #165
Comments
I have got it working by using lug-helper and launching it through Lutris instead https://github.com/LovingMelody/nix-citizen So it suggests that there is some config that is not working |
Truthfully, I am unsure what causes this. I haven't been able to recreate the issue, what channel nixpkgs are you on? |
I am on unstable. Here is my complete NixOS config if you want to look around (the desktop is referred to as |
Tried spinning up a VM of your machine but get stuck at your mars wallpaper. Anyways, can you try overriding nixpkgs for nix-gaming and see if this helps any? nix-gaming.inputs.nixpkgs.follows = "nixpkgs"; your sound settings look pretty similar to my own {
sound.enable = true;
sound.mediaKeys.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa = {
enable = true;
# Defaults to true
inherit (cfg) support32Bit;
};
pulse.enable = true;
jack.enable = true;
# Defaults to true
lowLatency.enable = cfg.lowLatency;
};
}; |
There's nothing wrong with the wallpaper, just unable to get the VM to work with the small amount of changes I made. Maybe #151 may fix issues like these (whole point of the project). Glad at least lutris is working for you. |
After discussing it on Discord we have found out the following:
Conclusion: forcing ALSA in Nix package is not a good idea, general conclusion is that ALSA is buggy and you should avoid it. But maybe there could be a way to make it configurable which audio driver is used so someone with my issue could force ALSA driver in their config something like this: { pkgs, nix-citizen, ...}:
let
pkgs-citizen = nix-citizen.packages${pkgs.system};
in
{
home.packages = [ ( pkgs-citizen.star-citizen.override { audioDriver = "alsa" } ) ];
} But I have no idea how to do it as I am very new to Nix. Thanks everyone for help, if you don't want to do this ^^ feel free to close the issue, I will be using Lutris in the meantime :) |
Alsa is being introduced from wine, |
@fufexan do you have any takes on change? Would affect quite a few other users since it would be the default for wine. |
@LovingMelody so what you're saying is that ALSA is buggy with SC and that we should have a dedicated wine without alsa support? |
Looks like we can set that up with |
I think all (or most) of those can be configured with winetricks. |
Tricks is defined to be able to be overridden in the flake as well as the dll overrides, nix-citizen flake will have the same thing, only thing done in nix-citizen is override the DXVK version |
Oh I didn't realize that. I have just verified that this is working:
🎉 🎉 🎉 Thanks for your help and patience :) |
@Sgiath is this issue able to be closed now? |
Probably, if everyone is OK with this workaround :) |
I have installed Star Citizen and it is running fine but I don't have any audio from the game. Weirdly enough I get the audio from the launcher but not from the game. Audio from other sources works without any issues. There is not even any output in EasyEffects or qpgraph.
Here is my audio setup:
Any idea what might be wrong?
The text was updated successfully, but these errors were encountered: