Rebootless graphics switching

This changes out how the current graphics switching works, enabling
asusd to stop/start the display-manager to enable/disable PCI devices
and add/remove drivers as required.

All existing graphics modes and commands still work as normal.

G-Sync enable is now only through the bios setting, and on reboot
will set all relevant settings to Nvidia mode.
This commit is contained in:
Luke D Jones
2021-03-07 22:13:29 +13:00
parent 4efb2caa56
commit 176ab0a639
18 changed files with 501 additions and 409 deletions

4
Cargo.lock generated
View File

@@ -33,7 +33,7 @@ dependencies = [
[[package]]
name = "asusctl"
version = "3.0.0"
version = "3.1.0"
dependencies = [
"gumdrop",
"rog_dbus",
@@ -187,7 +187,7 @@ dependencies = [
[[package]]
name = "daemon"
version = "3.0.1"
version = "3.1.0"
dependencies = [
"env_logger",
"intel-pstate",