Skip to content

profiles/handhelds: Set priority to be lower than graphics profiles#212

Merged
vnepogodin merged 1 commit intomasterfrom
fix/handheld-priority
Jan 19, 2026
Merged

profiles/handhelds: Set priority to be lower than graphics profiles#212
vnepogodin merged 1 commit intomasterfrom
fix/handheld-priority

Conversation

@1Naim
Copy link
Member

@1Naim 1Naim commented Jan 19, 2026

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.

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>
Copy link
Member

@vnepogodin vnepogodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vnepogodin vnepogodin merged commit 6bb6246 into master Jan 19, 2026
1 of 2 checks passed
@vnepogodin vnepogodin deleted the fix/handheld-priority branch January 19, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments