Package Details: system76-power 1.2.1-1

Git Clone URL: https://aur.archlinux.org/system76-power.git (read-only, click to copy)
Package Base: system76-power
Description: System76 Power Management
Upstream URL: https://github.com/pop-os/system76-power
Licenses: GPL
Provides: power-profiles-daemon
Submitter: ebobby
Maintainer: tleydxdy
Last Packager: tleydxdy
Votes: 13
Popularity: 0.68
First Submitted: 2018-07-05 23:47 (UTC)
Last Updated: 2024-08-22 18:09 (UTC)

Dependencies (7)

Required by (22)

Sources (2)

Latest Comments

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

wfleming commented on 2021-02-27 22:32 (UTC)

Should libusb be listed as a dependency in the PKGBUILD? I use aurto for managing my aur packages and aurto add system76-power errors saying it can't find libusb:

  thread 'main' panicked at 'Unable to find libusb-1.0: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libusb-1.0 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libusb-1.0.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'libusb-1.0\', required by \'virtual:world\', not found\n"', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/hidapi-1.2.5/build.rs:65:60

My understanding is that aurto builds packages in a chroot where it only installs necessary packages, so this is easy to miss since I bet a lot of people do generally have libusb installed already.

tleydxdy commented on 2021-02-17 02:05 (UTC)

Sorry, I was having build issues on my machine. btw, I am wondering if system76-acpi-dkms and system76-io-dkms should be listed as optdepends, and if I should move system76-dkms to optdepends, I seems like what is required differ by machine model, but I have yet to find out if this is the case one way or the other.

yochananmarqos commented on 2021-02-16 23:38 (UTC)

@tleydxdy: Are you planning on updating this? I'll take it over if you'd like.

acbaracuda commented on 2021-02-16 20:43 (UTC)

Is "system76-acpi-dkms" or the "acpi" package from the oficial repos needed for this to fully shut down the nvidia graphics card on a non system76 laptop? I know optimus manager uses bbswitch or acpi. I thought maybe this requires something similar.

yochananmarqos commented on 2021-01-11 02:07 (UTC) (edited on 2021-01-11 02:07 (UTC) by yochananmarqos)

@cvolton: No, it shouldn't.

Note: Packages in the AUR assume that the base-devel group is installed, i.e. they do not list the group's members as build dependencies explicitly.

https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

cvolton commented on 2021-01-11 01:41 (UTC)

Also on an unrelated note I believe pkgconfig should be added to the make dependencies, as it is not included in a base Arch install, yet it is required to compile the package

cvolton commented on 2021-01-11 01:25 (UTC)

So the GPU switching almost works correctly for me... I only use the intel and nvidia modes, I do not tend to use the hybrid mode as it is mostly useless for my use case. However, for some reason, the systemd service just disables power to the nvidia device during boot, which causes my laptop to boot in intel mode even if I set it to nvidia. What I have to do is system76-power graphics power on; modprobe nvidia and then reinitialize my x session. When that is done, my X session is fully running on NVIDIA. Which is good enough for my use case but it is still odd behavior.

tleydxdy commented on 2020-06-11 06:42 (UTC) (edited on 2020-06-11 06:45 (UTC) by tleydxdy)

Unless someone could port over the gpu-manager. Which doesn't seem hard, I just doesn't have a NVIDIA hybrid computer to test this on. I don't think messing with people's X11 config in a hacky way would be a great idea. I've added a note when installing the package to mention this issue. If there's something I missed please let me know.

Also, even if gpu-manager is ported, I'm not sure if it should be set as a dependency, since non NVIDIA users have no use for it (it seems)

alex404 commented on 2020-06-10 20:38 (UTC) (edited on 2020-06-10 20:41 (UTC) by alex404)

I couldn't get gpu switching on my Adder WS to work properly until I added the X11 config file described here.

According to the system76-power maintainer system76-power relies on gpu-manager provided by Ubuntu to generate these configs. It would be nice if there'd be a way to generate the appropriate configs for this package too.

Edit: I see others have already pointed this out. Anyway, maybe investigating gpu-manager would point to a general solution.

tachyon commented on 2020-02-24 10:29 (UTC)

@jcsanyi I tried what you suggested it did not work. The intel mode works perfectly but nvidia mode does not. Somehow /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf got removed on reboot or mode switching!

In intel mode, I verified that the nvidia card is powered down, as there is no entry related to nvidia card in the output of powertop. In the nvidia mode I can see that nvidia card is powered on, in the powertop output but glxinfo | grep -i "OpenGL renderer" shows:

OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)

Also I could not launch nvidia-settings in nvidia mode.