「System76 Oryx Pro」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(→‎Graphics: 一部翻訳)
 
70行目: 70行目:
 
== Graphics ==
 
== Graphics ==
   
This system comes complete with an integrated ([[Intel]]) and discrete ([[NVIDIA]]) graphics card. The external ports (DP over Mini-DP, DP over USB-C, HDMI) are tied to the discrete Nvidia card.
+
このノートパソコンには内蔵 ([[Intel]]) と外部 ([[Nvidia]]) グラフィックカードが同梱されています。外部ポート (DP over Mini-DP, DP over USB-C, HDMI) は外部 nvidia カードに接続されています。
   
 
* '''System76''': If you want to use the hybrid graphics mode developed by System76, follow the instructions in [[#OEM software]]. This seems to use [[PRIME]] behind the scenes.
 
* '''System76''': If you want to use the hybrid graphics mode developed by System76, follow the instructions in [[#OEM software]]. This seems to use [[PRIME]] behind the scenes.

2021年7月9日 (金) 15:29時点における最新版

起動

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
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.

ノート: However, as of 2021-04-06, this creates a malformed s76-i915-mkinitcpio.conf file, and a redundant (if you have system76-power.conf) system76-driver_i2c-nvidia-gpu.conf file. As such, this step may be skippable, for the time-being.

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)

ノート:
  • Officially, you need to reboot your device every time you change your switchable graphics setting; but it seems possible to switch to compute graphics from hybrid without rebooting.
  • Switching from hybrid to integrated will display as compute until you restart. This seems to be intended behavior.  (This note is here because at least one person was confused by this.) (There is a GitHub issue to change this here.)

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.)

Graphics

このノートパソコンには内蔵 (Intel) と外部 (Nvidia) グラフィックカードが同梱されています。外部ポート (DP over Mini-DP, DP over USB-C, HDMI) は外部 nvidia カードに接続されています。

  • System76: If you want to use the hybrid graphics mode developed by System76, follow the instructions in #OEM software. This seems to use PRIME behind the scenes.
  • Bumblebee: Some users have reported getting success with Bumblebee. Your mileage may vary if you are using a more complete DE like GNOME; this has only been tested with i3-wm.
  • NVIDIA: When in doubt, NVIDIA's proprietary drivers should always work.

Audio

Audio seems to work out of the box with a USB headset; however, it does not relay audio to the onboard speaker. The Pop!_OS kernel is patched to work with Realtek PCI's quirks; Arch's, are not. The following parameters can be added to /etc/modprobe.d/clevo-p950.conf to resolve this issue: options snd-hda-intel model=clevo-p950. This workaround provides headphone and speaker audio, but headset mics may not work. (source)

ノート: This issue seems to be new to the oryp7; the oryp6 and earlier have audio that works out of the box.

Suspend/hibernate

Out of the box, Arch Linux does not resume a previously suspended or hibernated session. To support hibernation, ensure that you have swap space equal to or greater than your system memory (RAM), and add "resume" to your /etc/mkinitcpio.conf file, per the instructions here.

NOTE: hibernation has yet to be tested on this device; but suspension seems to work... sometimes.

Function keys

Only keys with known functions are shown.
Multimedia keys
Key Visible? Marked? Effect
Fn+` Yes Yes XF86AudioPlay
Fn+F3 Yes Yes XF86AudioMute
Fn+F5 Yes Yes XF86AudioLowerVolume
Fn+F6 Yes Yes XF86AudioRaiseVolume
Display keys
Key Visible? Marked? Effect
Fn+F2 No Yes Toggles power to the display
Fn+F8 Yes Yes XF86MonBrightnessDown
Fn+F9 Yes Yes XF86MonBrightnessUp
Misc toggle keys
Key Visible? Marked? Effect
Fn+1 No No Toggles max state of fans
Fn+F1 Yes Yes XF86TouchpadToggle
Fn+F10 No Yes Toggles power to the webcam
Fn+F11 Yes Yes XF86RFKill
Fn+F12 No Yes Suspends the computer
Keyboard backlight keys
Key Visible? Marked? Effect
Fn+NumDivide No Yes Changes keyboard color
Fn+NumMultiply No Yes Toggles power to keyboard backlight
Fn+NumMinus No Yes Dims keyboard backlight
Fn+NumPlus No Yes Brightens keyboard backlight
Broken keys
Key Visible? Marked? Effect
Fn+F7 Yes Yes Keydown: semicolon.
Keyup: Super_L.
Fn+PrintScreen Yes Yes Passes through; should be SysRq.
Fn+Insert Yes Yes Passes through; should be ScrollLock.
Fn+PageUp Yes Yes Passes through; should be Pause.
Fn+PageDown Yes Yes Passes through; should be Break.

Troubleshooting

Bad thermals / excessive throttling

The oryp7, as with all System76 computers, comes with a fan curve designed to minimize noise. By default, your fans will only reach 100% at 90°C; but by the time you have reached that temperature, the CPU is already throttling hard. By setting a custom fan curve that reaches 100% at 70°C, you can easily avoid such unnecessary throttling. However, in order to customize the fan curve, you have to compile and flash the EC to your BIOS. Make sure to not set your lowest fan speed below 25% on the oryp7, as doing so will cause rattling (see #163);

There is also (as of 2021-04-20) a pull request to sync the CPU and GPU fans, which should maximize cooling (since both lie on the same heatpipe).

Both of these considerations have been merged into a pull request just for oryp7 computers here.

Note that even with these changes, your computer will still run very hot. You will need to repaste the oryp6/7 if you intend to use the CPU for long periods of time.

Another thing you can try is undervolting. However, due to Plundervolt, undervolting has been disabled in the firmware. There is an issue on GitHub requesting a toggle for this mitigation.

fancontrol not working

system76-acpi-dkmsAUR does not currently support runtime configuration of fan speeds, so pwmconfig and fancontrol will not work. There is an open feature request for this, though.

In the meantime, a custom fan curve can be configured by those willing to compile their BIOS manually. Quoth one of the devs: "The fan speed is controlled by the fan curve in the firmware: system76/ec@16778e4/src/board/system76/oryp7/board.mk. You can change the fan curve by changing the values in that file before you build firmware-open." You do not actually have to build firmware-open, though -- you can simply build and flash the ec itself. The command to flash is make BOARD=system76/oryp7 flash_internal.

Keyboard colors are set at random

Set your keyboard brightness to 100%. There is a known issue with the firmware on oryp6/oryp7 when the brightness is less than 100%.

prime-run not working

Try creating /etc/X11/xorg.conf.d/90-intel-nvidia.conf and adding the following to it: (source)

   Section "ServerLayout"
       Identifier "layout"
       Screen 0 "iGPU"
   EndSection
   
   Section "Device"
       Identifier "iGPU"
       Driver "modesetting"
       BusID "PCI:0:2:0"
   EndSection
   
   Section "Screen"
       Identifier "iGPU"
       Device "iGPU"
   EndSection
   
   Section "Device"
       Identifier "dGPU"
       Driver "nvidia"
       BusID "PCI:1:0:0"
   EndSection

Change the BusID fields above to match the first field in the output of this command: lspci | egrep "VGA | 3D" (you can omit leading zeroes). You will need to restart your X server for this to take effect.

Xorg fails to start with "No devices detected"

If you find (normally after an update & restart) that launching X (via startx or otherwise) does not work, you may confirm that the nvidia device is installed and working by doing the following:

Confirm the error in ~/.local/share/xorg/Xorg.0.log. The nvidia kernel module should successfully load. You may also confirm the error with dmesg or journalctl.

Check whether both integrated and discrete graphics cards are available:

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile] (rev a1)

If you do not see the second entry (or some similar NVIDIA card), make sure the card has been turned on by system76-powerAUR (use --help to explore options):

# system76-power graphics 

Check whether the discrete NVIDIA graphics card is powered on using system76-powerAUR:

# system76-power graphics power

To power the discrete NVIDIA graphics card on, supply "on" as an argument (i.e. system76-power graphics power on). After doing so and querying again, you should see:

# system76-power graphics power
on (discrete)

Once the card is powered on, it should show up in the output of lspci, and be detectable by Xorg, given that the appropriate NVIDIA driver is installed.

system76-firmware: EFI mount point not found

If using the new (replacement) EFI mount point /efi, ensure you have the mount present in etc/fstab. You may find the appropriate device to mount by using a combination of lsblk and fdisk -l.

# fdisk -l # List disks (one device will be designated as "EFI System")
# lsblk    # List devices and mount points, you should see the EFI system device, and confirm whether it is mounted/unmounted
# mount device /efi
#
# genfstab -U / # (optional) print fstab configuration for inclusion/merging into /etc/fstab

After doing the above, it might be a good idea to schedule a firmware update:

# system76-firmware-cli schedule

With grub

After scheduling a firmware update, ensure that GRUB is set to use the EFI partition like so:

# grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=grub
# cp /boot/grub/grub.cfg /boot/grub/grub.cfg.bak
# grub-mkconfig -o /boot/grub/grub.cfg

Restart to trigger the firmware update.

参照