@@ -5,7 +5,7 @@ vendor_ids = "1002"
55device_ids = " 1435 163f"
66hwd_product_name_pattern = ' (Jupiter|Galileo)'
77priority = 6
8- packages = ' steamos-manager steamos-powerbuttond jupiter-fan-control steamdeck-dsp cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa rocm-opencl-runtime '
8+ packages = ' steamos-manager steamos-powerbuttond jupiter-fan-control steamdeck-dsp cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa'
99conditional_packages = """
1010 if grep -q 'Galileo' /sys/devices/virtual/dmi/id/product_name; then
1111 echo 'galileo-mura'
@@ -42,7 +42,7 @@ vendor_ids = "1002"
4242device_ids = " 15bf 15c8"
4343hwd_product_name_pattern = ' (ROG Ally).*'
4444priority = 6
45- packages = ' steamos-manager steamos-powerbuttond inputplumber cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa rocm-opencl-runtime '
45+ packages = ' steamos-manager steamos-powerbuttond inputplumber cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa'
4646post_install = """
4747 echo "Ally chwd installing..."
4848 echo "Installing audio profile..."
@@ -75,7 +75,7 @@ vendor_ids = "1002"
7575device_ids = " 15bf"
7676hwd_product_name_pattern = ' (83E1)'
7777priority = 6
78- packages = ' hhd hhd-ui adjustor cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa rocm-opencl-runtime '
78+ packages = ' hhd hhd-ui adjustor cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa'
7979post_install = """
8080 echo "Legion go chwd installing..."
8181 username=$(id -nu 1000)
@@ -109,7 +109,7 @@ vendor_ids = "1002"
109109device_ids = " 1681 15bf"
110110hwd_product_name_pattern = ' (83L3|83N6|83Q2|83Q3)'
111111priority = 6
112- packages = ' inputplumber steamos-manager steamos-powerbuttond cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa rocm-opencl-runtime '
112+ packages = ' inputplumber steamos-manager steamos-powerbuttond cachyos-handheld mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon opencl-mesa lib32-opencl-mesa'
113113post_install = """
114114 if [ -d /etc/limine-entry-tool.d ]; then
115115 cat << 'EOF' > /etc/limine-entry-tool.d/20-chwd.conf
@@ -137,18 +137,25 @@ vendor_ids = "8086"
137137device_ids = " 64a0 7d55"
138138hwd_product_name_pattern = ' (A2VM|A1M)'
139139priority = 6
140- packages = ' inputplumber steamos-manager steamos-powerbuttond cachyos-handheld mesa lib32-mesa vulkan-intel lib32-vulkan-intel intel-media-driver'
140+ packages = ' inputplumber steamos-manager steamos-powerbuttond cachyos-handheld mesa lib32-mesa vulkan-intel lib32-vulkan-intel intel-media-driver opencl-mesa lib32-opencl-mesa '
141141post_install = """
142142 echo "Claw chwd installing..."
143143 echo msi-wmi-platform > /usr/lib/modules-load.d/chwd-msi-claw.conf
144144 echo "Installing audio profile..."
145145 mkdir -p /etc/wireplumber/wireplumber.conf.d
146146 ln -s /usr/share/cachyos-handheld/msi-claw/wireplumber/alsa-card0.conf \
147147 /etc/wireplumber/wireplumber.conf.d
148+ echo "Installing OpenCL profile..."
149+ echo "export RUSTICL_ENABLE=iris" > /etc/profile.d/opencl.sh
150+ mkdir -p /etc/environment.d
151+ echo "RUSTICL_ENABLE=iris" > /etc/environment.d/30-opencl.conf
148152"""
149153post_remove = """
150154 echo "Claw chwd removing..."
151155 rm -f /usr/lib/modules-load.d/chwd-msi-claw.conf
152156 echo "Removing audio profile..."
153157 rm -f /etc/wireplumber/wireplumber.conf.d/alsa-card0.conf
158+ echo "Removing Opencl profile..."
159+ rm -f /etc/profile.d/opencl.sh
160+ rm -f /etc/environment.d/30-opencl.conf
154161"""
0 commit comments