Installing supergfxctl package from cachyos repo doesn’t work: system hangs everytime trying to switch from hybrid or Integrated.
While installing the same package from g14 repo provided by ASUS for archlinux, and present in official arch wiki, everything works as expected.
7840HS + RTX4060 legion laptop.
I checked both packages from both repos:
They declare the exact same version (5.2.4-1) but they are pretty different by themselves.
Different deps, build environment, different files included, and different binaries produced.
So is pretty strange to found all those differences on something that should be the same version.
I suggest to remove this package from the repo or keep it in sync with the official one from ASUS.
The actual g14 repo is not provided by asus btw, its just the asus-linux community that develops those tools.
Atleast when I had my G14, it was recommended to use the G14 repo for those packages. Not sure if the cachyos repo version is just the AUR package, which can just be badly packaged.
Thanks for the info,
Anyhow the g14 repo is officially linked in the ASUS website tutorial page, sorry if I mistaken something but on my eyes is the most official thing we have here.
I didn’t checked against the AUR package, need to do it.
I did this post mainly to help anyone that could have my same problem.
In the asus package there is a modprobe file to blacklist some modules that in the cachyrepo is not present. (though this is not something critical for me because i already blacklisted everything by myself before to install suupergfxctl).
Unfortunately, pacman doesn’t allow querying two versions of a package with the same name directly (such as pacman -Qil core/pkgname or pacman -Qil multilib/pkgname) because it assumes that each package name corresponds to only one package installed on the system, regardless of the repository it came from.
Anyhow, i managed to get both info also from pacman:
get info of supergfxctl package from cachyos repo:
❯ pacman -Sii cachyos/supergfxctl
Repository : cachyos
Name : supergfxctl
Version : 5.2.4-1
Description : A utility for Linux graphics switching on Intel/AMD iGPU + nVidia dGPU laptops
Architecture : x86_64
URL : https://gitlab.com/asus-linux/supergfxctl
Licenses : MPL-2.0
Groups : None
Provides : supergfxctl
Depends On : gcc-libs systemd
Optional Deps : None
Required By : plasma5-applets-supergfxctl plasma6-applets-supergfxctl
Optional For : asusctl rog-control-center
Conflicts With : supergfxctl-git optimus-manager
Replaces : None
Download Size : 1624,56 KiB
Installed Size : 6571,64 KiB
Packager : CachyOS <admin@cachyos.org>
Build Date : mer 20 nov 2024, 09:19:09
MD5 Sum : None
SHA-256 Sum : 43e6cab09f31a6ca38afaa5fb88d022b32e722892dd3d8c23402d939e44322d7
Signatures : F3B607488DB35A47
Extended Data : None
~
❯ pacman -Fl cachyos/supergfxctl
supergfxctl usr/
supergfxctl usr/bin/
supergfxctl usr/bin/supergfxctl
supergfxctl usr/bin/supergfxd
supergfxctl usr/lib/
supergfxctl usr/lib/systemd/
supergfxctl usr/lib/systemd/system-preset/
supergfxctl usr/lib/systemd/system-preset/supergfxd.preset
supergfxctl usr/lib/systemd/system/
supergfxctl usr/lib/systemd/system/supergfxd.service
supergfxctl usr/lib/udev/
supergfxctl usr/lib/udev/rules.d/
supergfxctl usr/lib/udev/rules.d/90-supergfxd-nvidia-pm.rules
supergfxctl usr/share/
supergfxctl usr/share/X11/
supergfxctl usr/share/X11/xorg.conf.d/
supergfxctl usr/share/X11/xorg.conf.d/90-nvidia-screen-G05.conf
supergfxctl usr/share/dbus-1/
supergfxctl usr/share/dbus-1/system.d/
supergfxctl usr/share/dbus-1/system.d/org.supergfxctl.Daemon.conf
i.e.: get info of supergfxctl package from g14 repo:
❯ pacman -Sii g14/supergfxctl
Repository : g14
Name : supergfxctl
Version : 5.2.4-1
Description : A utility for Linux graphics switching on Intel/AMD iGPU + nVidia dGPU laptops
Architecture : x86_64
URL : https://gitlab.com/asus-linux/supergfxctl
Licenses : MPL2
Groups : None
Provides : None
Depends On : dbus lsof
Optional Deps : None
Required By : plasma5-applets-supergfxctl plasma6-applets-supergfxctl
Optional For : asusctl rog-control-center
Conflicts With : tlp optimus-manager
Replaces : None
Download Size : 2045,08 KiB
Installed Size : 6780,84 KiB
Packager : dragonn <dragonn@op.pl>
Build Date : ven 4 ott 2024, 09:50:20
MD5 Sum : None
SHA-256 Sum : 28a89dd805cf96709ffef2dbbba99f94ca1b0945ad3240360b8e3a6547bcf4ec
Signatures : None
Extended Data : None
~
❯ pacman -Fl g14/supergfxctl
supergfxctl usr/
supergfxctl usr/bin/
supergfxctl usr/bin/supergfxctl
supergfxctl usr/bin/supergfxd
supergfxctl usr/lib/
supergfxctl usr/lib/modprobe.d/
supergfxctl usr/lib/modprobe.d/supergfxd-nvidiafb.conf
supergfxctl usr/lib/systemd/
supergfxctl usr/lib/systemd/system-preset/
supergfxctl usr/lib/systemd/system-preset/supergfxd.preset
supergfxctl usr/lib/systemd/system/
supergfxctl usr/lib/systemd/system/supergfxd.service
supergfxctl usr/lib/udev/
supergfxctl usr/lib/udev/rules.d/
supergfxctl usr/lib/udev/rules.d/90-supergfxd-nvidia-pm.rules
supergfxctl usr/share/
supergfxctl usr/share/X11/
supergfxctl usr/share/X11/xorg.conf.d/
supergfxctl usr/share/X11/xorg.conf.d/90-nvidia-screen-G05.conf
supergfxctl usr/share/dbus-1/
supergfxctl usr/share/dbus-1/system.d/
supergfxctl usr/share/dbus-1/system.d/org.supergfxctl.Daemon.conf