「System76 Oryx Pro」の版間の差分
Kusanaginoturugi (トーク | 投稿記録) (→ドライバー: == OEM software == を挿入) |
Kusanaginoturugi (トーク | 投稿記録) 細 (→OEM software) |
||
6行目: | 6行目: | ||
== OEM software == |
== OEM software == |
||
+ | |||
− | |
||
System76 develops a special distribution (Pop!_OS) for their computers, and it comes with many tweaks and tools to ensure a seamless end-user experience. Arch does not have these out of the box; and unfortunately, sometimes their computers do not work right without them. Thankfully, it is possible to get the same first-class hardware support in Arch Linux that you have in Pop!_OS -- it just takes a little elbow grease. |
System76 develops a special distribution (Pop!_OS) for their computers, and it comes with many tweaks and tools to ensure a seamless end-user experience. Arch does not have these out of the box; and unfortunately, sometimes their computers do not work right without them. Thankfully, it is possible to get the same first-class hardware support in Arch Linux that you have in Pop!_OS -- it just takes a little elbow grease. |
||
+ | |||
− | |
||
=== Packages === |
=== Packages === |
||
+ | |||
− | |
||
All necessary packages can be found in the [[AUR]]. It is recommended to install everything in the list below. |
All necessary packages can be found in the [[AUR]]. It is recommended to install everything in the list below. |
||
+ | |||
− | |
||
; Modules |
; Modules |
||
* {{AUR|system76-dkms}} |
* {{AUR|system76-dkms}} |
||
* {{AUR|system76-acpi-dkms}} |
* {{AUR|system76-acpi-dkms}} |
||
* {{AUR|system76-io-dkms}} |
* {{AUR|system76-io-dkms}} |
||
+ | |||
− | |
||
; Daemons |
; Daemons |
||
* {{AUR|system76-driver}} |
* {{AUR|system76-driver}} |
||
* {{AUR|system76-power}} <small>(needed for System76 switchable graphics)</small> |
* {{AUR|system76-power}} <small>(needed for System76 switchable graphics)</small> |
||
* {{AUR|system76-firmware-daemon}} <small>(seems to be needed for things like audio to work right)</small> |
* {{AUR|system76-firmware-daemon}} <small>(seems to be needed for things like audio to work right)</small> |
||
+ | |||
− | |
||
; Other |
; Other |
||
* {{AUR|system76-firmware}} <small>(required if you want to update your BIOS)</small> |
* {{AUR|system76-firmware}} <small>(required if you want to update your BIOS)</small> |
||
* {{AUR|firmware-manager}} <small>(required if you want to know when there is a BIOS update available)</small> |
* {{AUR|firmware-manager}} <small>(required if you want to know when there is a BIOS update available)</small> |
||
* {{AUR|sys76-kb}} <small>(if you want to change your keyboard's backlight color)</small> |
* {{AUR|sys76-kb}} <small>(if you want to change your keyboard's backlight color)</small> |
||
+ | |||
− | |
||
(There are also "-git" versions of many of these packages, if you wish to stay bleeding edge.) |
(There are also "-git" versions of many of these packages, if you wish to stay bleeding edge.) |
||
+ | |||
− | |
||
=== Settings === |
=== Settings === |
||
+ | |||
− | |
||
Once you have installed the above, you will need to tell your computer to use them. |
Once you have installed the above, you will need to tell your computer to use them. |
||
+ | |||
− | |
||
==== Services ==== |
==== Services ==== |
||
+ | |||
− | |
||
Enable the following services with {{ic|systemctl enable}}: ([https://www.reddit.com/r/System76/comments/mijm9i/arch_linux_on_system76_laptop_with_switchable/gtcl3o4/?utm_source=share&utm_medium=web2x&context=3 source]) |
Enable the following services with {{ic|systemctl enable}}: ([https://www.reddit.com/r/System76/comments/mijm9i/arch_linux_on_system76_laptop_with_switchable/gtcl3o4/?utm_source=share&utm_medium=web2x&context=3 source]) |
||
* {{ic|system76}} |
* {{ic|system76}} |
||
* {{ic|system76-firmware-daemon}} |
* {{ic|system76-firmware-daemon}} |
||
* {{ic|system76-power}} |
* {{ic|system76-power}} |
||
+ | |||
− | |
||
==== Drivers ==== |
==== Drivers ==== |
||
+ | |||
− | |
||
To make sure all drivers are being loaded correctly, run {{ic|system76-driver-cli}}; this will automatically add necessary rules to {{ic|/etc/modprobe.d}}, and execute {{ic|mkinitcpio}}. |
To make sure all drivers are being loaded correctly, run {{ic|system76-driver-cli}}; this will automatically add necessary rules to {{ic|/etc/modprobe.d}}, and execute {{ic|mkinitcpio}}. |
||
+ | |||
− | |
||
{{Note|However, as of 2021-04-06, [https://github.com/pop-os/system76-driver/issues/197 this creates a malformed s76-i915-mkinitcpio.conf file], and a redundant (if you have {{ic|system76-power.conf}}) {{ic|system76-driver_i2c-nvidia-gpu.conf}} file. As such, this step may be skippable, for the time-being.}} |
{{Note|However, as of 2021-04-06, [https://github.com/pop-os/system76-driver/issues/197 this creates a malformed s76-i915-mkinitcpio.conf file], and a redundant (if you have {{ic|system76-power.conf}}) {{ic|system76-driver_i2c-nvidia-gpu.conf}} file. As such, this step may be skippable, for the time-being.}} |
||
+ | |||
− | |
||
==== Switchable graphics ==== |
==== Switchable graphics ==== |
||
+ | |||
− | |
||
To enable switchable graphics, run {{ic|system76-power graphics hybrid}} once; and then put {{ic|prime-run}} before every application you want to start with your dGPU. Note that this will only work for applications that use [https://gitlab.freedesktop.org/glvnd/libglvnd GLVND]. ([https://github.com/pop-os/system76-power#readme source]) |
To enable switchable graphics, run {{ic|system76-power graphics hybrid}} once; and then put {{ic|prime-run}} before every application you want to start with your dGPU. Note that this will only work for applications that use [https://gitlab.freedesktop.org/glvnd/libglvnd GLVND]. ([https://github.com/pop-os/system76-power#readme source]) |
||
+ | |||
− | |
||
{{Note| |
{{Note| |
||
* Officially, you need to reboot your device every time you change your switchable graphics setting; but it seems possible to switch to {{ic|compute}} graphics from {{ic|hybrid}} without rebooting. |
* Officially, you need to reboot your device every time you change your switchable graphics setting; but it seems possible to switch to {{ic|compute}} graphics from {{ic|hybrid}} without rebooting. |
||
* Switching from {{ic|hybrid}} to {{ic|integrated}} will display as {{ic|compute}} until you restart. This seems to be intended behavior. <small>(This note is here because [https://aur.archlinux.org/packages/system76-power/#comment-796800 at least one person] was confused by this.)</small> <small>(There is a GitHub issue to change this [https://github.com/pop-os/system76-power/issues/242 here].)</small> |
* Switching from {{ic|hybrid}} to {{ic|integrated}} will display as {{ic|compute}} until you restart. This seems to be intended behavior. <small>(This note is here because [https://aur.archlinux.org/packages/system76-power/#comment-796800 at least one person] was confused by this.)</small> <small>(There is a GitHub issue to change this [https://github.com/pop-os/system76-power/issues/242 here].)</small> |
||
}} |
}} |
||
+ | |||
− | |
||
To verify whether switchable graphics is working, run {{ic|glxinfo}} and {{ic|prime-run glxinfo}}. These commands should succeed and have different vendors. If the latter command fails, go to [[#prime-run not working]]. (Note that you can limit the output to just the relevant information by appending {{ic| {{!}} grep -i vendor}} to the aforementioned commands.) |
To verify whether switchable graphics is working, run {{ic|glxinfo}} and {{ic|prime-run glxinfo}}. These commands should succeed and have different vendors. If the latter command fails, go to [[#prime-run not working]]. (Note that you can limit the output to just the relevant information by appending {{ic| {{!}} grep -i vendor}} to the aforementioned commands.) |
||
+ | |||
− | |
||
==== Keyboard RGBs ==== |
==== Keyboard RGBs ==== |
||
+ | |||
− | |
||
You can control the brightness and color of your keyboard's LEDs. To do so, simply run {{ic|sys76-kb set -b $B -c $C}}, with {{ic|$B}} being how bright you want the keyboard (on a scale of 0-255) and {{ic|$C}} being a 6-digit color hex (''eg'', "ffffff"). Since the keyboard's LEDs are controlled from the commandline, it is possible to script patterns and light shows. |
You can control the brightness and color of your keyboard's LEDs. To do so, simply run {{ic|sys76-kb set -b $B -c $C}}, with {{ic|$B}} being how bright you want the keyboard (on a scale of 0-255) and {{ic|$C}} being a 6-digit color hex (''eg'', "ffffff"). Since the keyboard's LEDs are controlled from the commandline, it is possible to script patterns and light shows. |
||
+ | |||
− | |
||
Note that these settings are not maintained across boots; so you will need to reapply them on startup. |
Note that these settings are not maintained across boots; so you will need to reapply them on startup. |
||
+ | |||
− | |
||
=== BIOS updates === |
=== BIOS updates === |
||
+ | |||
− | |
||
To check your current BIOS version and whether there is a new version available, run {{ic|firmware-manager}} as root. Keep in-mind that this is a GTK application, so you need to be running X or Wayland for it to run. (It has no CLI -- it does not even respond to {{ic|--help}}.) |
To check your current BIOS version and whether there is a new version available, run {{ic|firmware-manager}} as root. Keep in-mind that this is a GTK application, so you need to be running X or Wayland for it to run. (It has no CLI -- it does not even respond to {{ic|--help}}.) |
||
2021年7月9日 (金) 15:22時点における版
目次
起動
System76 Oryx Pro には2つの NVMe M.2 スロットと2.5インチ SSD/HDD 用の空間が存在します。NVMe からの起動には EFI の使用が不可欠で、SATA/AHCI での起動はできません。基本的にこのノートパソコンでは EFI を使うのが安全です。
OEM software
System76 develops a special distribution (Pop!_OS) for their computers, and it comes with many tweaks and tools to ensure a seamless end-user experience. Arch does not have these out of the box; and unfortunately, sometimes their computers do not work right without them. Thankfully, it is possible to get the same first-class hardware support in Arch Linux that you have in Pop!_OS -- it just takes a little elbow grease.
Packages
All necessary packages can be found in the AUR. It is recommended to install everything in the list below.
- Modules
- Daemons
- system76-driverAUR
- system76-powerAUR (needed for System76 switchable graphics)
- system76-firmware-daemonAUR (seems to be needed for things like audio to work right)
- Other
- system76-firmwareAUR (required if you want to update your BIOS)
- firmware-managerAUR (required if you want to know when there is a BIOS update available)
- sys76-kbAUR (if you want to change your keyboard's backlight color)
(There are also "-git" versions of many of these packages, if you wish to stay bleeding edge.)
Settings
Once you have installed the above, you will need to tell your computer to use them.
Services
Enable the following services with systemctl enable
: (source)
system76
system76-firmware-daemon
system76-power
Drivers
To make sure all drivers are being loaded correctly, run system76-driver-cli
; this will automatically add necessary rules to /etc/modprobe.d
, and execute mkinitcpio
.
Switchable graphics
To enable switchable graphics, run system76-power graphics hybrid
once; and then put prime-run
before every application you want to start with your dGPU. Note that this will only work for applications that use GLVND. (source)
To verify whether switchable graphics is working, run glxinfo
and prime-run glxinfo
. These commands should succeed and have different vendors. If the latter command fails, go to #prime-run not working. (Note that you can limit the output to just the relevant information by appending | grep -i vendor
to the aforementioned commands.)
Keyboard RGBs
You can control the brightness and color of your keyboard's LEDs. To do so, simply run sys76-kb set -b $B -c $C
, with $B
being how bright you want the keyboard (on a scale of 0-255) and $C
being a 6-digit color hex (eg, "ffffff"). Since the keyboard's LEDs are controlled from the commandline, it is possible to script patterns and light shows.
Note that these settings are not maintained across boots; so you will need to reapply them on startup.
BIOS updates
To check your current BIOS version and whether there is a new version available, run firmware-manager
as root. Keep in-mind that this is a GTK application, so you need to be running X or Wayland for it to run. (It has no CLI -- it does not even respond to --help
.)
ドライバー
System76 Oryx Pro には Linux で Oryx Pro が上手く動作するように補助を行うようカスタマイズされたユーティリティやデーモンが存在します。ドライバー (グラフィカル, io, ファン) の設定やファームウェアのアップデート、LED 制御などが含まれます。
System76 では、マシンにプリインストールされる Pop OS! という名前のディストリビューションを開発しています。ドライバーやグラフィカル設定を Pop OS! と揃えることで、一番良い設定を得ることができるでしょう。
ドライバーは AUR からインストールできます:
- system76-driverAUR
- system76-dkmsAUR
- system76-io-dkmsAUR
- system76-firmware-daemonAUR
- system76-powerAUR
上記のパッケージの -git 版も存在します。最新バージョンが必要な場合はそちらをインストールしてください。
グラフィカル
このノートパソコンには内蔵 (intel) と外部 (nvidia) グラフィックカードが同梱されています。外部ポート (DP over Mini-DP, DP over USB-C, HDMI) は外部 nvidia カードに接続されています。Bumblebee で動作するという報告が存在します。
上手く動かない場合、bumblebee を削除して nvidia のプロプライエタリドライバーをインストールしてみてください。
i3 で動作を確認しているため、GNOME などのデスクトップ環境では挙動が変わるかもしれません。
オーディオ
USB ヘッドセットで問題なく動作しますが、オンボードスピーカーに音声を流しません。このセクションは書き途中です。
サスペンド/ハイバネート
デフォルトでは Arch Linux はサスペンド・ハイバネートされたセッションを復元しません。このセクションは書き途中です。