Package Details: optimus-manager-git 1:r763.01a04f9.python3.12-1

Git Clone URL: https://aur.archlinux.org/optimus-manager-git.git (read-only, click to copy)
Package Base: optimus-manager-git
Description: Allows using Nvidia Optimus laptop graphics
Upstream URL: https://github.com/Askannz/optimus-manager
Licenses: MIT
Conflicts: bumblebee, envycontrol, nvidia-exec, nvidia-switch, nvidia-xrun, optimus-manager, switcheroo-control
Provides: optimus-manager
Submitter: dude
Maintainer: Askannz (es20490446e)
Last Packager: es20490446e
Votes: 135
Popularity: 1.92
First Submitted: 2019-01-20 22:11 (UTC)
Last Updated: 2024-09-24 10:52 (UTC)

Dependencies (13)

Required by (4)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

konicks commented on 2021-02-28 11:50 (UTC)

config/xsetup-intel.sh seems to be gone in the actual package but not the PKGBUILD function, please patch it as in it's current form the package is un-buildable

Kr1ss commented on 2021-02-28 09:51 (UTC) (edited on 2021-02-28 10:00 (UTC) by Kr1ss)

I think

install -Dm755 config/xsetup-intel.sh "$pkgdir/etc/optimus-manager/xsetup-intel.sh"

in package()

needs to be removed, as that file has been renamed in the new release.

EDIT/

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.