Commit graph

16 commits

Author SHA1 Message Date
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
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
Tristan Daniël Maat cdd049a353
treewide: Migrate to new nvidia modules 2022-11-13 01:55:13 +00:00
Ryan Horiguchi 122ae8476a
Fix legion 7 slim 15ach6 2022-07-18 08:52:34 +02:00
Ulrik Strid 9ec5f52ea2 Add lenovo legion 7 16ITHg6 2022-06-23 09:30:05 +02:00
Ryan Horiguchi 27e7087af5
Add lenovo legion 7 slim 15ach6 2022-03-23 13:44:38 +01:00
Nicholas Sielicki 72d4903998 add lenovo legion 5 15ARH05H 2022-03-06 20:40:20 +00:00