-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
Feature.asus zephyrus g16 gu605 my backlight and keyboard rules #1308
base: master
Are you sure you want to change the base?
Feature.asus zephyrus g16 gu605 my backlight and keyboard rules #1308
Conversation
- ssd -> laptop/ssd - added more fn keys - enabled modesetting
- added home and end fn keys - modesetting enabled by default - using laptop and laptop/ssd now
It seems that brightness adjustment works fine when running on dGPU only. However, I haven’t tested this personally (currently on vacation, will try it when I get back). If anyone can test and confirm this, perhaps we should add a |
would also lite to test it out. would prefer to test it with an up do date nixpkgs commit though and the current one has issues with my printer as well as some nvim features. |
@Moraxyc still on vacation? |
I tried to use only dgpu without adding these kernel parameters, and the backlight control was normal. So the answer is that we should determine whether to add these kernel parameters based on whether only dgpu is working. However, I don't know how to switch to dgpu-only state in nxios configurations. I entered the bios to switch manually, and the following content seems to be useless specialisation.dgpu-only.configuration = {
disabledModules = [
# Containing `boot.kernelParams = [];`
./brightness.nix
];
system.nixos.tags = [ "dgpu-only" ];
services.xserver.exportConfiguration = true;
services.xserver = {
videoDrivers = lib.mkForce [ "nvidia" ];
};
hardware = {
nvidia = {
powerManagement.enable = lib.mkForce false;
modesetting.enable = true;
prime = {
offload.enable = lib.mkForce false;
sync.enable = true;
};
};
};
}; |
@Moraxyc So should we merge this? |
@relief-melone Please add a comment to show that these parameters are used to enable backlight control when the dGPU is working in hybrid mode. After this, I think we can get the PR merged. |
Description of changes
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input