Package Details: optimus-manager-openrc-git 1.3.1.r64.g28bdc14-1

Git Clone URL: (read-only, click to copy)
Package Base: optimus-manager-openrc-git
Description: Management utility to handle GPU switching for Optimus laptops (Git version)
Upstream URL:
Licenses: MIT
Conflicts: optimus-manager, optimus-manager-git
Provides: optimus-manager
Submitter: minusium
Maintainer: ueco
Last Packager: minusium
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-25 14:33 (UTC)
Last Updated: 2022-01-28 09:14 (UTC)

Required by (4)

Sources (1)

Latest Comments

rgomez commented on 2023-03-10 10:52 (UTC) (edited on 2023-03-10 11:00 (UTC) by rgomez)

This following git patch will fix PKGBUILD (composed with the updates available in the optimus-manager.git package):

diff --git a/PKGBUILD b/PKGBUILD
index ea80ee9..8466642 100644
@@ -2,7 +2,7 @@
 # Contributer: Robin Lange <robin dot langenc at gmail dot com>

 pkgdesc="Management utility to handle GPU switching for Optimus laptops (Git version)"
@@ -16,8 +16,11 @@ optdepends=('bbswitch: alternative power switching method'
             'acpi_call: alternative power switching method'
             'xf86-video-intel: provides the Xorg intel driver')
 makedepends=('python-setuptools' 'git')
-        'etc/optimus-manager/xorg-nvidia-gpu.conf'
+        'etc/optimus-manager/xorg/nvidia-mode/integrated-gpu.conf'
+        'etc/optimus-manager/xorg/nvidia-mode/nvidia-gpu.conf'
+        'etc/optimus-manager/xorg/hybrid-mode/integrated-gpu.conf'
+        'etc/optimus-manager/xorg/hybrid-mode/nvidia-gpu.conf'

@@ -59,9 +62,12 @@ package() {
   install -Dm644 login_managers/sddm/20-optimus-manager.conf "$pkgdir/etc/sddm.conf.d/20-optimus-manager.conf"
   install -Dm644 login_managers/lightdm/20-optimus-manager.conf  "$pkgdir/etc/lightdm/lightdm.conf.d/20-optimus-manager.conf"

-  install -Dm644 config/xorg-integrated-gpu.conf "$pkgdir/etc/optimus-manager/xorg-integrated-gpu.conf"
-  install -Dm644 config/xorg-nvidia-gpu.conf "$pkgdir/etc/optimus-manager/xorg-nvidia-gpu.conf"
+  install -Dm644 config/xorg/integrated-mode/integrated-gpu.conf "$pkgdir/etc/optimus-manager/xorg/integrated-mode/integrated-gpu.conf"
+  install -Dm644 config/xorg/nvidia-mode/nvidia-gpu.conf "$pkgdir/etc/optimus-manager/xorg/nvidia-mode/nvidia-gpu.conf"
+  install -Dm644 config/xorg/nvidia-mode/integrated-gpu.conf "$pkgdir/etc/optimus-manager/xorg/nvidia-mode/integrated-gpu.conf"
+  install -Dm644 config/xorg/hybrid-mode/integrated-gpu.conf "$pkgdir/etc/optimus-manager/xorg/hybrid-mode/integrated-gpu.conf"
+  install -Dm644 config/xorg/hybrid-mode/nvidia-gpu.conf "$pkgdir/etc/optimus-manager/xorg/hybrid-mode/nvidia-gpu.conf" 
   install -Dm755 config/ "$pkgdir/etc/optimus-manager/"
   install -Dm755 config/ "$pkgdir/etc/optimus-manager/"
   install -Dm755 config/ "$pkgdir/etc/optimus-manager/"

rgomez commented on 2023-03-10 10:12 (UTC) (edited on 2023-03-10 10:13 (UTC) by rgomez)

Package won't compile, seems like the structure for the files inside /etc/optimus-manager files have changed:

==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'config/xorg-integrated-gpu.conf': No such file or directory
==> ERROR: A failure occurred in package().

MarsSeed commented on 2022-02-07 14:06 (UTC) (edited on 2022-04-16 22:35 (UTC) by MarsSeed)

I don't need this version, but for anyone who does:

Optimus Manager package is broken because of missing (mismatching) dependency. (See my out-of-date flag message.)

Wrong Mesa dependency: extra/mesa-demos was split last year.

Needed /usr/bin/glxinfo is now part of extra/mesa-utils. Consequently, 'mesa-demos' is no longer required.

Solution - please declare the following dependency instead of mesa-demos:

  -or preferably- 

minusium commented on 2022-01-28 09:12 (UTC) (edited on 2022-01-28 09:12 (UTC) by minusium)

I don't use Arch Linux anymore. if anyone wants, take ownership of this package.