profiles/handhelds: Set priority to be lower than graphics profiles#212
Merged
vnepogodin merged 1 commit intomasterfrom Jan 19, 2026
Merged
profiles/handhelds: Set priority to be lower than graphics profiles#212vnepogodin merged 1 commit intomasterfrom
vnepogodin merged 1 commit intomasterfrom
Conversation
Currently per device profiles have the same priority as vendor graphics profiles (amd, intel). This can cause handheld profiles to be installed before graphics profiles, leading to conflict like below 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Using profile 'handheld.rog-ally' for device: 0000:00:14.3 (0601:1022:790e) ISA bridge Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Using profile 'amd' for device: 0000:09:00.0 (0300:1002:15bf) VGA compatible controller Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Installing handheld.rog-ally ..." ... 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: Enter a number (default=1):" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: There are 33 providers available for vulkan-driver:" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: Repository cachyos-znver4" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: 1) mesa-git 2) nvidia-utils" ... 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: looking for conflicting packages..." 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: warning: removing 'lib32-mesa-1:25.3.3-5' from target list because it conflicts with 'lib32-mesa-git-26.0.0_devel.216841.6d07a56c6a1-1'" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: mesa-git-26.0.0_devel.216841.6d07a56c6a1-1 and mesa-1:25.3.3-5 are in conflict. Remove mesa? [y/N] error: unresolvable package conflicts detected" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: error: failed to prepare transaction (conflicting dependencies)" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: mesa-git-26.0.0_devel.216841.6d07a56c6a1-1 and mesa-1:25.3.3-5 are in conflict" Lower the priority so that handheld profiles can be installed after graphics profiles. Signed-off-by: Eric Naim <dnaim@cachyos.org>
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.
Currently per device profiles have the same priority as vendor graphics profiles (amd, intel). This can cause handheld profiles to be installed before graphics profiles, leading to conflict like below
2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Using profile 'handheld.rog-ally' for device: 0000:00:14.3 (0601:1022:790e) ISA bridge Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Using profile 'amd' for device: 0000:09:00.0 (0300:1002:15bf) VGA compatible controller Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: > Installing handheld.rog-ally ..." ...
2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: Enter a number (default=1):" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: There are 33 providers available for vulkan-driver:" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: Repository cachyos-znver4" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: 1) mesa-git 2) nvidia-utils" ...
2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: looking for conflicting packages..." 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: warning: removing 'lib32-mesa-1:25.3.3-5' from target list because it conflicts with 'lib32-mesa-git-26.0.0_devel.216841.6d07a56c6a1-1'" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: mesa-git-26.0.0_devel.216841.6d07a56c6a1-1 and mesa-1:25.3.3-5 are in conflict. Remove mesa? [y/N] error: unresolvable package conflicts detected" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: error: failed to prepare transaction (conflicting dependencies)" 2026-01-18 - 18:18:16 [6]: [PYTHON JOB]: "chwd: :: mesa-git-26.0.0_devel.216841.6d07a56c6a1-1 and mesa-1:25.3.3-5 are in conflict"
Lower the priority so that handheld profiles can be installed after graphics profiles.