fix(profiles): match NVIDIA PRIME profiles on convertibles - #276
Merged
Conversation
12458
force-pushed
the
profiles/prime-chassis-type-31
branch
from
August 30, 2026 15:32
857ff49 to
55a7d55
Compare
Chassis type 31 was missing from the laptop allowlist, so hybrid 2-in-1s got the desktop profile and a blank Plymouth/LUKS screen. Fixes CachyOS#270
12458
force-pushed
the
profiles/prime-chassis-type-31
branch
from
August 30, 2026 15:32
55a7d55 to
5eb6370
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
.primeNVIDIA profiles only matched DMI chassis types 8–11 (Portable, Laptop, Notebook, Hand Held). Convertibles report chassis type 31, so hybrid Intel + NVIDIA 2-in-1s were assigned the desktop profile instead.The desktop profile writes
/etc/mkinitcpio.conf.d/10-chwd-kms.conf, which removes thekmshook. On systems where the internal panel is driven by the iGPU, Plymouth/LUKS then starts with only the NVIDIA driver loaded, resulting in a blank screen.chwd -i nvidia-open-dkms.prime -falso failed because-fdoes not bypass the chassis filter, so the profile was never made available.Add chassis type 31 to
nvidia-open-dkms.prime,nvidia-dkms-580xx.prime, andnvidia-dkms-470xx.prime.Tested on an HP Spectre x360 16-aa0xxx (chassis type 31,
8086:7d55+10de:28a1). After the change,chwd --listofferednvidia-open-dkms.primeat priority 11. Installing it removed10-chwd-kms.conf, and thekmshook ran during the initramfs rebuild.Fixes #270