Andre 
							
						 
					 
					
						
						
							
						
						51e51e6014 
					 
					
						
						
							
							chore: format repo using treefmt-nix and nixfmt-rfc-style  
						
						 
						
						
						
						
					 
					
						2025-06-04 12:35:54 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Peter Bittner 
							
						 
					 
					
						
						
							
						
						7d9552ef6b 
					 
					
						
						
							
							Replace symlink references by real path and delete symlink  
						
						 
						
						... 
						
						
						
						The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now. 
						
						
					 
					
						2025-05-05 11:17:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								BohdanQQ 
							
						 
					 
					
						
						
							
						
						b539957839 
					 
					
						
						
							
							update readme to mention power profile / nvidia-powerd troubleshooting  
						
						 
						
						
						
						
					 
					
						2025-01-20 07:42:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								BohdanQQ 
							
						 
					 
					
						
						
							
						
						1f23785afe 
					 
					
						
						
							
							lenovo-legion-16ach6h: enable nvidia.powerd to unlock more gpu power  
						
						 
						
						
						
						
					 
					
						2025-01-20 07:42:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jörg Thalheim 
							
						 
					 
					
						
						
							
						
						f372fa6cfa 
					 
					
						
						
							
							fix eval with 24.05  
						
						 
						
						
						
						
					 
					
						2024-11-06 05:49:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ayoub Nasr 
							
						 
					 
					
						
						
							
						
						19fba44ece 
					 
					
						
						
							
							lenovo-legion-16ach6h: Add nvidia architecture  
						
						 
						
						... 
						
						
						
						Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com > 
						
						
					 
					
						2024-09-04 09:23:19 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						1c84c314db 
					 
					
						
						
							
							16ach6h: Use the hardware.display module  
						
						 
						
						
						
						
					 
					
						2024-08-24 10:34:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Lyndon Sanche 
							
						 
					 
					
						
						
							
						
						231274268f 
					 
					
						
						
							
							gpu/amd: Remove loadInInitrd option  
						
						 
						
						... 
						
						
						
						Option is now in nixpkgs under `hardware.amdgpu.initrd.enable` as of
NixOS/nixpkgs@6a0b6a6b74  
						
						
					 
					
						2024-06-29 07:55:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jörg Thalheim 
							
						 
					 
					
						
						
							
						
						083823b790 
					 
					
						
						
							
							gpu/amd: drop hardware.amdgpu.opencl option  
						
						 
						
						... 
						
						
						
						This now conflicts with nixpkgs. 
						
						
					 
					
						2024-06-20 14:48:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ayoub NASR 
							
						 
					 
					
						
						
							
						
						cde8f7e11f 
					 
					
						
						
							
							Lenovo 16ACH6H: use zenpower kernel module  
						
						 
						
						
						
						
					 
					
						2024-06-16 14:33:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								K900 
							
						 
					 
					
						
						
							
						
						291c3ee610 
					 
					
						
						
							
							treewide: drop hardware.amdgpu.amdvlk option  
						
						 
						
						... 
						
						
						
						This is now provided in nixpkgs (see https://github.com/NixOS/nixpkgs/pull/318175 ). 
						
						
					 
					
						2024-06-13 09:51:03 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								piousdeer 
							
						 
					 
					
						
						
							
						
						b081de56df 
					 
					
						
						
							
							16ach6h: re-enable edid for internal display only  
						
						 
						
						
						
						
					 
					
						2024-03-18 22:30:49 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fay Ash 
							
						 
					 
					
						
						
							
						
						74967732a5 
					 
					
						
						
							
							fix: comment out the edid module for legion-16ach6h  
						
						 
						
						... 
						
						
						
						It seems to break extra monitor modes 
						
						
					 
					
						2024-03-16 00:48:04 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						cc65e27670 
					 
					
						
						
							
							Better default for amdgpuBusId  
						
						 
						
						
						
						
					 
					
						2024-02-01 10:14:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						ed01236ece 
					 
					
						
						
							
							16ach6h: Comment out failing edid line  
						
						 
						
						... 
						
						
						
						Fixes  #795  
						
						
					 
					
						2024-02-01 10:14:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						07e43b0530 
					 
					
						
						
							
							16ach6h: Fix X11 setup  
						
						 
						
						... 
						
						
						
						Fixes  #628  
						
						
					 
					
						2024-02-01 10:14:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						58b17dc234 
					 
					
						
						
							
							16ach6h: Do not duplicate nvidia config  
						
						 
						
						
						
						
					 
					
						2024-02-01 10:14:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								bors[bot] 
							
						 
					 
					
						
						
							
						
						22ef358f5f 
					 
					
						
						
							
							Merge  #581  
						
						 
						
						... 
						
						
						
						581: lenovo 16ach6h: add amd cpu pstate r=Mic92 a=LostAttractor
Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com > 
						
						
					 
					
						2023-03-09 19:17:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								piousdeer 
							
						 
					 
					
						
						
							
						
						576be211f0 
					 
					
						
						
							
							lenovo/legion/16ach6h: disable thermald  
						
						 
						
						... 
						
						
						
						It's for Intel laptops. 16ach6h is not one of them. 
						
						
					 
					
						2023-02-19 23:45:40 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jörg Thalheim 
							
						 
					 
					
						
						
							
						
						445db26b88 
					 
					
						
						
							
							Update lenovo/legion/16ach6h/nvidia/default.nix  
						
						 
						
						
						
						
					 
					
						2023-02-09 09:04:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						8732ed0a36 
					 
					
						
						
							
							16ach6h: add amd cpu pstate  
						
						 
						
						
						
						
					 
					
						2023-02-08 18:58:59 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						be60a34c1a 
					 
					
						
						
							
							16ach6h: disable amdvlk and rocm-opencl for nvidia-only mode  
						
						 
						
						
						
						
					 
					
						2023-01-30 15:23:11 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						f83f6d1437 
					 
					
						
						
							
							16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation  
						
						 
						
						
						
						
					 
					
						2023-01-24 01:34:55 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jörg Thalheim 
							
						 
					 
					
						
						
							
						
						03c6d15152 
					 
					
						
						
							
							treewide: apply deadnix and statix  
						
						 
						
						
						
						
					 
					
						2022-12-31 11:57:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						ab165ab191 
					 
					
						
						
							
							Add standalone hybrid only and nvidia only modules  
						
						 
						
						
						
						
					 
					
						2022-12-19 23:10:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						b53fc0a785 
					 
					
						
						
							
							Add specialisation for “DDG" mode is enabled  
						
						 
						
						
						
						
					 
					
						2022-12-19 14:36:29 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						dea6ef85a1 
					 
					
						
						
							
							Enable hardware.nvidia.modesetting  
						
						 
						
						
						
						
					 
					
						2022-12-19 13:02:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						dc8f1fd6a8 
					 
					
						
						
							
							Enable hardware.nvidia.powerManagement  
						
						 
						
						... 
						
						
						
						Update default.nix 
						
						
					 
					
						2022-12-17 18:38:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ChaosAttractor 
							
						 
					 
					
						
						
							
						
						262146dc76 
					 
					
						
						
							
							Override edid of built-in display  
						
						 
						
						... 
						
						
						
						Fix the problem that the edid of the built-in display only provided 60hz mode when use Hybrid Graphics
It appears to be a Lenovo firmware issue and i try to fix it. This issue still reproducible on BIOS version GKCN58WW(22/12/16)
Lenovo Legion 5 Pro is a laptop which support a technology called "DDG" that can allow you switch between discrete graphics mode and hybrid mode (optiums).
In discrete graphics mode, the firmware provides the correct edid and anything works fine, the built-in display work well at 165hz.
But if switch to hybrid mode, the firmware provides a different edid, causing the built-in display only can work at 60hz.
So I extracted the edid file of discrete graphics mode and override the edid that built-in display provide to solve this problem.
Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com > 
						
						
					 
					
						2022-12-17 18:38:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						b441875a50 
					 
					
						
						
							
							Apply suggestion  
						
						 
						
						
						
						
					 
					
						2022-11-24 16:39:20 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						776287c483 
					 
					
						
						
							
							Add some data about the device used  
						
						 
						
						
						
						
					 
					
						2022-11-24 00:12:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								4JX 
							
						 
					 
					
						
						
							
						
						56bb7c93b3 
					 
					
						
						
							
							Add Lenovo Legion 5 Pro Gen 6  
						
						 
						
						
						
						
					 
					
						2022-11-23 20:47:27 +01:00