「Supergfxctl」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版から転載)
 
(一部翻訳)
2行目: 2行目:
 
[[Category:ASUS]]
 
[[Category:ASUS]]
 
[[en:supergfxctl]]
 
[[en:supergfxctl]]
{{Expansion|This article needs expanding with instructions for non NVIDIA based hybrid laptops.}}
 
 
{{Related articles start}}
 
{{Related articles start}}
 
{{Related|ASUS Linux}}
 
{{Related|ASUS Linux}}
8行目: 7行目:
 
{{Related articles end}}
 
{{Related articles end}}
   
  +
{{AUR|supergfxctl}} は、[https://wiki.archlinux.org/title/ASUS_Linux ASUS Linux] が提供する便利なユーティリティです。ハイブリッドラップトップで GPU スイッチング機能を管理するのに役立ちます。
{{AUR|supergfxctl}} is a useful utility provided by [[ASUS Linux]]. It helps with managing GPU switching functionality on hybrid laptops.
 
   
  +
supergfxctl は当初、ASUS [[NVIDIA Optimus|Optimus]] ラップトップを念頭に置いて設計されましたが、その後、[[ハイブリッドグラフィック]] を備えた任意のラップトップで機能するスタンドアロン ツールに進化しました。
While supergfxctl was originally designed with ASUS [[Optimus]] laptops in mind, it has since evolved into a standalone tool that functions with any laptops with [[hybrid graphics]].
 
   
 
== Pre-Installation ==
 
== Pre-Installation ==

2023年3月25日 (土) 15:58時点における版

関連記事

supergfxctlAUR は、ASUS Linux が提供する便利なユーティリティです。ハイブリッドラップトップで GPU スイッチング機能を管理するのに役立ちます。

supergfxctl は当初、ASUS Optimus ラップトップを念頭に置いて設計されましたが、その後、ハイブリッドグラフィック を備えた任意のラップトップで機能するスタンドアロン ツールに進化しました。

Pre-Installation

For Optimus laptops make sure that the NVIDIA drivers are installed. Do not install xf86-video-intel. Remove optimus-managerAUR and bumblebee if they are installed and make sure no residual configs for NVIDIA, Intel and the PRIME managers are located in the following locations.

/etc/X11/xorg.conf.d/
/etc/modprobe.d/
/etc/udev/rules.d/

Initramfs and kernel parameters

Do not include i915 or any of the NVIDIA modules in your early start up filesystem. Doing so can affect the discrete GPUs ability to properly power down.

Edit /etc/mkinitcpio.conf and remove i915 and all NVIDIA modules from the modules section then regenerate the initramfs.

Installation

Installation can be done through ASUS Linux's own repository. You can also install the supergfxctlAUR package. Then, enable supergfxd.service.

ノート: You only need to install this tool if you have a hybrid GPU laptop.

Usage

Supergfxctl supports the following modes, Integrated, Hybrid and VFIO. It also has the ability to detect if a mux switch is in use for Dedicated mode.

Show supported modes

The following command is used to display all the modes your laptop supports:

$ supergfxctl -s

Get current mode

The following command is used to query the current GPU mode:

$ supergfxctl -g

Switch modes

The following command is used to switch the current GPU mode to Hybrid:

$ supergfxctl -m hybrid

Using supergfxctl for GPU passthrough (VFIO)

VFIO GPU passthrough can be enabled by editing /etc/supergfxd.conf. In this configuration file, it is also recommended to change the hotplug_type value to Asus, instead of None as is documented upstream.

/etc/supergfxd.conf

{
"vfio_enable": true,
..
"hotplug_type": "Asus"
}

Using supergfxctl and the MUX switch

If your laptop comes with a multiplexer switch then utilizing the MUX switch will give lower latency and more performance in video games when it is used as compared to using PRIME.

If the system is in Hybrid mode, prime-run from nvidia-prime can be used to run programs on the discrete GPU. This does not break applications while the MUX switch is enabled, so it can be used wherever more graphics performance is needed.

Using the MUX switch requires that you are running asusctl, for details please see asusctl#Using the MUX switch.

Graphical utilities

Users of Gnome & KDE can make use of desktop environment add-ons to control supergfxctl from their desktop. The following is a list of these including links:

Name Desktop Link
supergfxctl-gex Gnome https://extensions.gnome.org/extension/5344/supergfxctl-gex/
plasma5-applets-supergfxctl KDE Plasma plasma5-applets-supergfxctlAUR
rog-control-center Any rog-control-centerAUR