Commit graph

57 commits

Author SHA1 Message Date
Aires 13dee7858d Merge remote-tracking branch 'upstream/master'
Some checks failed
Test / tests (nixos-24.05) (push) Has been cancelled
Test / tests (nixos-unstable) (push) Has been cancelled
2024-07-17 09:11:03 -04: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
Aires 2575b7552f Missing paren
Some checks failed
Test / tests (push) Failing after 13s
2024-05-29 12:28:56 -04:00
Aires 927057e56e Bug: Accidentally inverted Lenovo 16ARHA7 kernel version check
Some checks failed
Test / tests (push) Failing after 14s
2024-05-29 12:25:41 -04:00
Aires 888d915fe8 Update readme for 16arha7 2024-05-26 08:34:32 +00:00
Aires 816528f00e Add kernel version check for Lenovo 16ARHA7 speaker fix 2024-05-26 08:34:32 +00:00
Aires 98564f268e Update readme for 16arha7
Some checks are pending
Test / tests (push) Waiting to run
2024-05-23 23:46:30 -04:00
Aires 85cc877626 Add kernel version check for Lenovo 16ARHA7 speaker fix 2024-05-23 20:49:09 -04:00
Robin Wils 6e7667c75d
Add hardware config for lenovo t5 26amr5 (#938)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-05-19 19:19:36 +02:00
Aires 753176b57b Add fingerprint support for Lenovo Legion 16ARHA7 2024-05-05 05:03:35 +00:00
Andre 805adee81c
Add Lenovo legion 16ARHA7 (#906)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-04-10 10:52:19 +02:00
yuannan f3b959627b removed edid 2024-04-05 13:47:45 +00:00
yuannan a7825c5b9a 15ach6h 2024-04-05 13:47:45 +00: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
mevatron 5bf829d72c Update lenovo/legion/16aph8/default.nix
Thanks for the tip!

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-01-02 20:44:50 +00:00
Will Lucas a5028e96cc Small cleanup 2024-01-02 20:44:50 +00:00
Will Lucas 0f29eb0b0f Force to only "nvidia" for xserver.videoDrivers to avoid blank screen issues 2024-01-02 20:44:50 +00:00
Will Lucas d10b795823 Disable modesetting 2024-01-02 20:44:50 +00:00
Will Lucas 158afdeaf8 Corrected nix-info from an earlier build 2024-01-02 20:44:50 +00:00
Will Lucas c2f991b91e Added support for Lenovo Legion Slim 5 (16APH8)
Added PPD after researching the Framework laptops with AMD 7000 series
2024-01-02 20:44:50 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +00:00
Alojzy Leszcz 51c532cc50
Lenovo Legion 16achg6: Fix gpu configuration to work with both x11/wayland (#802)
Co-authored-by: Alojzy Leszcz <aleszcz@pm.me>
2023-12-25 20:59:25 +01:00
Alojzy Leszcz 7763c6fd1f
Lenovo Legion 16achg6 support (#796) 2023-12-13 08:40:08 +01:00
SnIcK 39eac9bf9a
added 16IRX8H Lenovo Legion 7i Pro (2023) (#660)
* added 16IRX8H Lenovo Legion 7i Pro (2023)

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-07-11 08:20:24 +01:00
Ryan Horiguchi 7f46848ea6 lenovo legion 7 slim 15ach6: remove brightness service 2023-07-09 23:39:48 +02:00
Ulrik Strid d2f0dce97b Lenovo legion 7i 16ithg6: add hidpi settings 2023-04-05 16:56:09 +02:00
Ryan Horiguchi a0eda74ee0
lenovo legion 7 slim 15ach6: add hidpi settings 2023-03-25 14:23:33 +01: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
bors[bot] 44ae00e02e
Merge #550
550: Add amdvlk and opencl options to amdgpu & Fix proton crash when Dual-Direct GFX enabled for lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-09 09:06:46 +00: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
Winston R. Milling 68136fdd0a
Lenovo Y530-15ICH Initial Commit 2023-01-29 14:48:35 -06: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