项目 / pop-os/system76-power
pop-os/system76-power
行业候选
语言 Rust标签 —数据更新 2026-11-25 06:49:28 · 仓库 2026-11-22
一段话介绍
Power profile management for Linux
本站整理,非 GitHub 官方 description。
官方 description(GitHub API 原样)Power profile management for Linux
官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。
更多信息
以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。
我的用法
打开[仓库 README](https://github.com/pop-os/system76-power)了解集显、独立显卡、混合和计算等图形模式,以及均衡、性能、电池等电源配置的含义。该工具主要用于管理笔电或一体机的显卡与电源配置,切换图形模式后需重启才能生效。
特点或设计要点
图形模式包括只用集显、只用 NVIDIA 独显、混合模式(在集显为主的前提下把部分应用放到独显)以及计算模式(集显负责显示,独显作为计算设备)。电源配置则区分均衡、性能和电池。仓库说明还介绍了外接显示热插拔检测。[仓库 README](https://github.com/pop-os/system76-power)未提供独立安装步骤,使用前需结合所在系统的既有说明。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
GitHub 项目主页介绍
来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 3,975 字节。
# System76 Power Management
**system76-power** is a utility for managing graphics and power profiles.
## Switchable Graphics
Switchable graphics is a feature for laptops and all-in-one PCs. It is not
supported on desktops.
A reboot is **required** for changes to take effect after switching modes.
### Integrated
The integrated graphics controller on the Intel or AMD CPU is used exclusively.
Lower graphical performance with a longer battery life.
External displays connected to the dGPU ports cannot be used.
### NVIDIA
The dGPU (NVIDIA) is used exclusively.
Higher graphical performance at the expense of a shorter battery life.
Allows using external displays.
### Hybrid
Enables PRIME render offloading. The iGPU is used as the primary renderer, with
the ability to have specific applications render using the dGPU.
PRIME render offloading requires the 435.17 NVIDIA drivers or later.
Applications must use [GLVND] to take advantage of this feature, so may not
render on the dGPU even when requested. Vulkan applications must be launched
with `__NV_PRIME_RENDER_OFFLOAD=1` to render on the dGPU. GLX applications must
be launched with `__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia`
to render on the dGPU.
Display offload sinks ("reverse PRIME") require 450.57 NVIDIA drivers or later.
This feature allows using external displays while in this mode.
GPU support for run-time power management is required for the device to enter
a low power state when not used. Only Turing cards and newer fully implement
this functionality. Support for run-time power manage can be checked in the
`supported-gpus.json` file provided by the driver. e.g.:
```
$ cat /sys/bus/pci/devices/0000:01:00.0/device
0x1f15
$ jq '.chips[] | select(.devid=="0x1F15")' < /usr/share/doc/nvidia-driver-460/supported-gpus.json
{
"devid": "0x1F15",
"name": "GeForce RTX 2060",
"features": [
"dpycbcr420",
"dpgsynccompatible",
"hdmi4k60rgb444",
"hdmigsynccompatible",
"geforce",
"runtimepm",
"vdpaufeaturesetJ"
]
}
```
[GLVND]: https://gitlab.freedesktop.org/glvnd/libglvnd
### Compute
The integrated graphics controller is used exclusively for rendering. The dGPU
is made available as a compute node.
## Power Profiles
### Balanced
- Set the sync data to disk to 15s
- Enables laptop mode feature in kernel
- Enables SCSI/SATA link time power management
- Controls the Intel PState values if they exist
### Performance
- Uses settings from Balanced
- Uses ACPI Platform profile if the hardware is supported by the kernel
### Battery
- Uses settings from Performance
- Sets Screen brightness to a lower value
- Turns keyboard backlight off
## Hotplug detection
The dbus signal `HotPlugDetect` is sent when a display is plugged into a port
connected to the dGPU. If in integrated or compute mode, the
[GNOME extension] will prompt to switch to hybrid mode so the display
can be used.
[GNOME extension]: https://github.com/pop-os/gnome-shell-extension-system76-power
### Adding hotplug detection
#### Intel-based systems
The GPIO (sideband) port and pins for the display ports can be determined with
the schematics and output of [coreboot-collector]. The schematics will indicate
which GPIOs are display ports (`*_HPD`). The corresponding `GPP_*` entry in
`coreboot-collector.txt` will have the port/pin tuple.
##### Muxed DisplayPort
Some models have muxed DisplayPort ouput from mDP and USB-C. These units have a
separate data switch pin that is used to determine which output is used.
#### AMD-based systems
A MMIO region for FCH GPIO controls is used to detect external display plug
events. Display ports use `*_HPD` as Intel systems, but may not map to a
literal GPIO (e.g., `HDMI_HPD` maps to `DP3_HPD` on kudu6). Generating a diff
from coreboot-collector in NVIDIA mode before and after plugging in a display
should provide the GPIO number.
[coreboot-collector]: https://github.com/system76/coreboot-collector