-
-
Notifications
You must be signed in to change notification settings - Fork 734
Feature.asus zephyrus g16 gu605 my backlight and keyboard rules #1308
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
Conversation
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. |
Please undraft when the change is done. |
friendly ping @relief-melone |
f86003f
to
1754cdf
Compare
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at f1e52a0 |
Description of changes
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input