Package Details: supergfxctl 5.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: supergfxctl
Description: A utility for Linux graphics switching on Intel/AMD iGPU + nVidia dGPU laptops
Upstream URL:
Licenses: MPL2
Conflicts: optimus-manager, supergfxctl-git
Provides: supergfxctl
Submitter: ModYokosuka
Maintainer: ModYokosuka
Last Packager: ModYokosuka
Votes: 10
Popularity: 0.40
First Submitted: 2022-02-07 17:19 (UTC)
Last Updated: 2024-03-18 13:18 (UTC)

Pinned Comments

ModYokosuka commented on 2022-08-01 18:26 (UTC)

If changes are required to this package please submit a pull request to

Latest Comments

ModYokosuka commented on 2024-01-25 21:13 (UTC)

I can't reproduce. Without more information being provided I can't verify the issue. Please open a ticket at the git repo listed in the pinned comment and provide as much detail about the issue as possible.

mpavleski commented on 2024-01-25 20:26 (UTC)

I think I tried rebuilding the package as well. Did not help. For the time being I will remain on 6.6 as well.

ModYokosuka commented on 2024-01-25 15:23 (UTC)

Did you force rebuild the package against the new kernel? What errors are being generated? I am still on 6.6 yet so I have not checked.

mpavleski commented on 2024-01-25 13:18 (UTC) (edited on 2024-01-25 13:18 (UTC) by mpavleski)

Since kernel 6.7.x supergfxctl is causing crashes on OS shutdown.

Did anyone experience this? HW is ASUS ROG Zephyrus G14 (GA402RK). I downgraded the kernel, it works normally again.

ModYokosuka commented on 2023-04-08 04:41 (UTC) (edited on 2023-04-08 05:10 (UTC) by ModYokosuka)

Regarding the base-devel issue raised by DuKol. So from my understanding PKGBUILDS should never include base-devel in the #makedepends per this section of the wiki.
Note: The package base-devel is assumed to be already installed when building with makepkg. Dependencies of this package should not be included in makedepends array.

It is assumed to be installed. This is why I have not included it in the PKGBUILD. If you are building inside a clean chroot, as I would recommend, please make sure you build base-devel into that chroot to meet the expectations.

DuKol commented on 2023-04-06 12:24 (UTC) (edited on 2023-04-06 13:32 (UTC) by DuKol)

Hello all, I'm trying to build the package hoping it could help me to resolve nonworking keyboard on Asus ExpertBook laptop, but I get the following error:

error: failed to run custom build command for `libudev-sys v0.1.4`

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`,\nor `pkg install pkg-config` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the libudev-sys crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."', /home/user/.cargo/registry/src/
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/
     1: core::panicking::panic_fmt
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/
     2: core::result::unwrap_failed
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/
     3: core::result::Result<T,E>::unwrap
     4: build_script_build::main
     5: core::ops::function::FnOnce::call_once

Is there any way out? And is it worth trying to make the internal keyboard work?

[SOLVED] even if not in dependencies, base-devel is required.

hifigraz commented on 2022-08-06 20:24 (UTC)

I had the same issue ...



solved the problem

ModYokosuka commented on 2022-08-01 18:26 (UTC)

If changes are required to this package please submit a pull request to

ModYokosuka commented on 2022-08-01 18:15 (UTC) (edited on 2022-08-01 18:17 (UTC) by ModYokosuka)

can you do a sha512sum on supergfxctl-4.0.5.tar.gz and compare it to this one. Also what size is the zip file you have gotten?

eeed34618ea9a9b7f974fc4ffd3eee8fc152b4e2974f51add7e2be622230f110550a7dc9f44acc389096c17453a93c3816251050763d727505f8f4aa89b55ba8 supergfxctl-4.0.5.tar.gz

TheSunCat commented on 2022-07-31 18:03 (UTC) (edited on 2022-07-31 18:03 (UTC) by TheSunCat)

Hi, this package is failing to install (using paru) with the following log:

==> Making package: supergfxctl 4.0.5-2 (Sun 31 Jul 2022 07:59:48 PM CEST)

==> Retrieving sources...

-> Found supergfxctl-4.0.5.tar.gz

==> Validating source files with sha512sums...

supergfxctl-4.0.5.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

error: failed to download sources for 'supergfxctl-4.0.5-2':