1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-24 03:49:43 +01:00
Commit graph

6 commits

Author SHA1 Message Date
Jörg Thalheim
f372fa6cfa fix eval with 24.05 2024-11-06 05:49:31 +00:00
4JX
1c84c314db 16ach6h: Use the hardware.display module 2024-08-24 10:34:12 +00:00
piousdeer
b081de56df 16ach6h: re-enable edid for internal display only 2024-03-18 22:30:49 +07:00
4JX
ed01236ece 16ach6h: Comment out failing edid line
Fixes #795
2024-02-01 10:14:09 +00:00
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01: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