Package Details: optimus-manager 1.5-4

Git Clone URL: https://aur.archlinux.org/optimus-manager.git (read-only, click to copy)
Package Base: optimus-manager
Description: Management utility to handle GPU switching for Optimus laptops
Upstream URL: https://github.com/Askannz/optimus-manager
Licenses: MIT
Conflicts: optimus-manager-git
Provides: optimus-manager
Submitter: Askannz
Maintainer: Askannz
Last Packager: Askannz
Votes: 124
Popularity: 1.11
First Submitted: 2018-11-17 05:42 (UTC)
Last Updated: 2023-07-29 00:30 (UTC)

Dependencies (12)

Sources (1)

Pinned Comments

Askannz commented on 2023-06-18 07:37 (UTC)

Announcement about the current state of optimus-manager and the future of its development: https://github.com/Askannz/optimus-manager/issues/543

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

anjanik012 commented on 2021-02-28 07:08 (UTC) (edited on 2021-02-28 07:09 (UTC) by anjanik012)

I also got the same error as @Xarius.

siliconmeadow commented on 2021-02-28 06:06 (UTC)

I just got the same as @xarius:

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  optimus-manager-1.4-1

  1 optimus-manager                          (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/rsheppard/.cache/yay/optimus-manager
:: Downloaded PKGBUILD (1/1): optimus-manager
  1 optimus-manager                          (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: optimus-manager
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:41 GMT)
==> Retrieving sources...
  -> Cloning optimus-manager git repo...
Cloning into bare repository '/home/rsheppard/.cache/yay/optimus-manager/optimus-manager'...
remote: Enumerating objects: 174, done.
remote: Counting objects: 100% (174/174), done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 4809 (delta 107), reused 106 (delta 62), pack-reused 4635
Receiving objects: 100% (4809/4809), 904.10 KiB | 1.65 MiB/s, done.
Resolving deltas: 100% (2955/2955), done.
==> Validating source files with sha256sums...
    optimus-manager ... Skipped
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:45 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating optimus-manager git repo...
Fetching origin
==> Validating source files with sha256sums...
    optimus-manager ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of optimus-manager git repo...
Cloning into 'optimus-manager'...
done.
Switched to a new branch 'makepkg'
==> Sources are ready.
==> Making package: optimus-manager 1.4-1 (Sun 28 Feb 2021 04:46:49 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/optimus_manager
copying optimus_manager/envs.py -> build/lib/optimus_manager
copying optimus_manager/var.py -> build/lib/optimus_manager
copying optimus_manager/__init__.py -> build/lib/optimus_manager
copying optimus_manager/config.py -> build/lib/optimus_manager
copying optimus_manager/daemon.py -> build/lib/optimus_manager
copying optimus_manager/kernel_parameters.py -> build/lib/optimus_manager
copying optimus_manager/kernel.py -> build/lib/optimus_manager
copying optimus_manager/log_utils.py -> build/lib/optimus_manager
copying optimus_manager/pci.py -> build/lib/optimus_manager
copying optimus_manager/xorg.py -> build/lib/optimus_manager
copying optimus_manager/checks.py -> build/lib/optimus_manager
copying optimus_manager/sessions.py -> build/lib/optimus_manager
copying optimus_manager/acpi_data.py -> build/lib/optimus_manager
copying optimus_manager/processes.py -> build/lib/optimus_manager
creating build/lib/optimus_manager/hacks
copying optimus_manager/hacks/manjaro.py -> build/lib/optimus_manager/hacks
copying optimus_manager/hacks/__init__.py -> build/lib/optimus_manager/hacks
creating build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_xorg_start.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_daemon_stop.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_resume.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/__init__.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_suspend.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/post_xorg_start.py -> build/lib/optimus_manager/hooks
copying optimus_manager/hooks/pre_daemon_start.py -> build/lib/optimus_manager/hooks
creating build/lib/optimus_manager/client
copying optimus_manager/client/__init__.py -> build/lib/optimus_manager/client
copying optimus_manager/client/client_checks.py -> build/lib/optimus_manager/client
copying optimus_manager/client/args.py -> build/lib/optimus_manager/client
copying optimus_manager/client/utils.py -> build/lib/optimus_manager/client
copying optimus_manager/client/error_reporting.py -> build/lib/optimus_manager/client
copying optimus_manager/config_schema.json -> build/lib/optimus_manager
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'config/xsetup-intel.sh': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: optimus-manager

Xarius commented on 2021-02-28 04:42 (UTC) (edited on 2021-02-28 04:43 (UTC) by Xarius)

Ending up with the following error when trying to update to 1.4-1 using paru or yay: ==> Entering fakeroot environment... ==> Starting package()... install: cannot stat 'config/xsetup-intel.sh': No such file or directory

zwastik commented on 2021-01-02 15:02 (UTC) (edited on 2021-01-02 15:02 (UTC) by zwastik)

sudo prime-switch

...
modprobe: ERROR: Error running install command '/usr/bin/false' for module   ipmi_devintf: retcode 1
modprobe: ERROR: Error running install command '/bin/false' for module nvidia: retcode 1
modprobe: ERROR: could not insert 'nvidia': Invalid argument
...

liOnux commented on 2020-12-04 10:53 (UTC) (edited on 2020-12-04 11:03 (UTC) by liOnux)

Hi,

After Python update, I used these commands to recompile optimus-manager :

yay -S optimus-manager && yay -S optimus-manager-qt

ameed commented on 2020-12-03 20:36 (UTC)

Confirming the experiences reported by DAMO238 and LIN_X42; the symptom for me was a black screen on system startup, and I fixed it with a makepkg -sif. This is because the package() function in the PKGBUILD is what installs the Python module, so you have to rebuild the package to install it to Python 3.9.

DAMO238 commented on 2020-12-03 12:13 (UTC)

If you are getting a ModuleNotFoundError when trying to start up the optimus-manager systemd service, just rebuild the package and it should work again.

LIN_X42 commented on 2020-12-02 10:44 (UTC)

rebuild the package to port it from python3.8 to python3.9.

SoongVilda commented on 2020-07-21 20:05 (UTC)

Thank you for this project. I can easily switch between the nvidia and intel GPU. Instructions is clear and simple to understand. Dell inspiron 15 7567 running under Manjaro with KDE.