「Lenovo ThinkPad P52」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版より転載)
 
 
(2人の利用者による、間の23版が非表示)
1行目: 1行目:
 
[[Category:Lenovo]]
 
[[Category:Lenovo]]
[[es:Lenovo ThinkPad P52]]
+
[[en:Lenovo ThinkPad P52]]
[[ja:Lenovo ThinkPad P52]]
 
 
 
{| class="wikitable" style="float: right;"
 
{| class="wikitable" style="float: right;"
 
|-
 
|-
23行目: 21行目:
 
| Card reader || {{ic|10ec:525a}} || {{Yes}}
 
| Card reader || {{ic|10ec:525a}} || {{Yes}}
 
|-
 
|-
| Fingerprint reader || {{ic|06cb:009a}} || {{No}}
+
| Fingerprint reader || {{ic|06cb:009a}} || {{Yes}}
 
|}
 
|}
   
  +
Lenovo P52 はクアッドまたはヘックスコアの 第8世代 Intel プロセッサ搭載のラップトップです。
The Lenovo P52 is a quad or hex core Intel 8th generation Laptop.
 
   
== Pre-Installation ==
+
== インストール ==
   
  +
{{Warning|'''BIOSが破損''' される可能性のある設定がいくつかあります。設定は Arch のインストールに直接関係しませんが、リスクを理解した上で変更を設定してください。そこで、この警告をここに提示します。}}
Arch on a Lenovo P52 is an amazing combination.
 
   
  +
BIOS を '''V1.17 以降''' に更新してください。2019年3月の時点で v1.24 です。特定の設定を選択すると、以前のバージョンの BIOS が動作しなくなる可能性があります。
'''Before you begin:'''
 
There are some possible "BIOS BRICKING" settings. The settings are not directly related to installing Arch, but most Arch users will make configuration changes in the same areas where these settings can be modified. So I'm offering this warning here.
 
   
  +
# ハイブリットグラフィックスとディスクリートグラフィックス - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/P52-won-t-start-after-change-to-only-discrete-graphic-card/m-p/4265065
Make sure to update your BIOS to '''V1.17 or later''' current is v1.24 as of March 2019. Earlier versions of the BIOS may become inoperable if you select certain settings:
 
  +
# Thunderbolt 3 のサポート - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/Lenovo-P52-bricked-by-selecting-BIOS-thunderbolt-support-for/td-p/4207538?page=12
   
  +
{{Note|Lenovo のブータブル (CD) 更新オプションを使用して BIOS を更新するか、事前にパッケージ化された Windows インストールとソフトウェアを使用して、BIOS を更新し、BIOS が更新されたら Arch インストールを続行できます。}}
1) Hybrid vs discrete graphics - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/P52-won-t-start-after-change-to-only-discrete-graphic-card/m-p/4265065
 
   
  +
== グラフィックス ==
2) Thunderbolt 3 Support - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/Lenovo-P52-bricked-by-selecting-BIOS-thunderbolt-support-for/td-p/4207538?page=12
 
   
  +
このラップトップには、[[Bumblebee#Output wired to the NVIDIA chip|NVIDIA チップに直接配線された]]外部ディスプレイポートがあります。大まかに言うと、これは外部ディスプレイを使用するには、専用 GPU を有効にする必要があるという事です。幸い、統合グラフィックスと専用グラフィックスを動的に切り替えることは可能ですが、これは modesetting ドライバではなく Intel DDX ドライバ {{pkg|xf86-video-intel}} を使用することによってのみ可能です。
Note: You can update the BIOS using the bootable (CD) update option from Lenovo, or just update the BIOS using the pre-packaged Windows installation and software and then continue with Arch installation once the BIOS is updated.
 
   
  +
ラップトップは、ハイブリットグラフィックスまたは専用グラフィックスのみの 2 つのモードのうちの 1 つで使用できます。
== Graphics ==
 
   
  +
統合 Intel UHD 630 GPU(パイブリットグラフィックスの一部)を使用するには、[[Mkinitcpio#MODULES|mkinitcpio]] のモジュールとして、{{ic|i915}} モジュールを {{ic|initramfs}} に追加する必要があります。これを行うには {{ic|/etc/mkinitcpio.conf}} で次のように設定します。
This laptop has its external display ports [[Bumblebee#Output wired to the NVIDIA chip|directly wired to the NVIDIA chip]]. In loose terms this means that the dedicated GPU must be enabled in order for external displays to be used. Luckily, it is possible to do dynamic switching between the integrated and dedicated graphics, but this is only possible by using the Intel DDX driver {{pkg|xf86-video-intel}} as opposed to modesetting.
 
 
The laptop can be used in one of two modes: Hybrid Graphics, or Dedicated Graphics only.
 
 
In order to use the integrated Intel UHD 630 GPU (as part of Hybrid Graphics) you need to add the {{ic|i915}} module to your {{ic|initramfs}} by adding it as a module in your [[Mkinitcpio#MODULES|mkinitcpio]]. This is done by setting the following on {{ic|/etc/mkinitcpio.conf}}:
 
   
 
{{hc|/etc/mkinitcpio.conf|2=
 
{{hc|/etc/mkinitcpio.conf|2=
56行目: 50行目:
 
}}
 
}}
   
  +
上記を追加しないと、{{ic|initramfs}} をロードしようとしたときに動かなくなり、システムが起動できなくなります。
Failure to add the above will leave you stuck when trying to load the {{ic|initramfs}} and your system will not be able to boot.
 
   
  +
{{ic|Dedicated Graphics}} のみを使用することで、上記のモジュールなしで済ますことができる場合があります(UEFI の設定を変更することで可能です)。
It might be possible to make do without the module above by using the {{ic|Dedicated Graphics}} only (this can be done by changing the setting in UEFI).
 
   
  +
=== bumblebee とプロプライエタリドライバ ===
=== Proprietary driver with bumblebee ===
 
   
  +
この設定では、一部のアプリケーションでは統合 GPU が使用されますが{{ic|optirun}} または {{ic|primusrun}} ランチャーを使用して、ディスクリート GPU でレンダリングできます。詳しい手順については、[[Bumblebee]] を参照してください。適切な V-sync サポートがないため、この方法ではディスクリート GPU でレンダリングされたアプリケーションにティアリングが発生します。また、ディスクリート GPU と統合 GPU の間でデータを非効率に移動させる結果、いくつかのオーバーヘッドが発生しますが、Nvidia GPU は Nouvearu を使用した場合よりはるかに優れたパフォーマンスを発揮します。
With this setup the integrated GPU is used by default but some applications can be rendered on the discrete GPU with the {{ic|optirun}} or {{ic|primusrun}} launchers. See [[Bumblebee]] for detailed instructions. The lack of proper v-sync support means that with this method applications rendered on the discrete GPU exhibit tearing. There is also some overhead introduced as a result of moving data inefficiently between the discrete and integrated GPUs, but the Nvidia GPU performs much better than it does with Nouveau.
 
   
To get this working you will need {{ic|bumblebee}}, {{ic|bbswitch}}, {{ic|nvidia}} and {{ic|xf86-video-intel}}.
+
これを動作させるには、{{ic|bumblebee}}, {{ic|bbswitch}}, {{ic|nvidia}}, {{ic|xf86-video-intel}} が必要です。
   
  +
そして、以下の設定ファイルをセットしてください。
Then set the following configuration files.
 
   
 
{{hc|/etc/X11/xorg.conf.d/intel.conf|2=
 
{{hc|/etc/X11/xorg.conf.d/intel.conf|2=
106行目: 100行目:
 
}}
 
}}
   
  +
(既にこれらのいずれかがあると思われるので、必要に応じて調整/追加してください。最後のダミーデバイスは必須です。):
(you probably already have one of these so adjust/add as needed - the dummy device at the end is essential!!):
 
   
 
{{hc|/etc/bumblebee/xorg.conf.nvidia|2=
 
{{hc|/etc/bumblebee/xorg.conf.nvidia|2=
143行目: 137行目:
 
}}
 
}}
   
  +
この段階で、マシンを再起動します。すると、通常通り {{ic|optirun}} で GPU 上のアプリケーションを実行できるはずです。例えば {{ic|optirun glxgears}} などです。外部ディスプレイを使いたい場合は、{{ic|optirun}} でアプリを実行してから {{ic|intel-virtual-output -f}} を実行して GPU をオンにし続ける必要があります。(これは実行されたままで、外部ディスプレイポートを使用可能な仮想出力にバインドします) この段階で、外部ポートを見たり使ったりできるようになるはずです。
At this stage, restart your machine. Then you should be able to run applications on the GPU as you normally would with {{ic|optirun}}, e.g., {{ic|optirun glxgears}}. If you want to use the external displays you need to keep your GPU on by running an app on {{ic|optirun}} and then running {{ic|intel-virtual-output -f}} (this will stay running and binds the external display ports to virtual outputs that you can use). At this stage you should be able to see and use the external ports.
 
  +
  +
== 指紋認証リーダー ==
  +
  +
[[Lenovo_ThinkPad_T480s]] を参照 - {{AUR|python-validity}} で動作しますが、[[Fprint|libfprint]] では動作しません。
   
== Touchpad ==
+
== タッチパッド ==
   
Every once in a while Linux kernel upgrades will cause issues where the Touchpad and Trackpoint stop working. Booting with kernel parameter {{ic|1=psmouse.elantech_smbus=0}} seems to fix it. {{Bug|59714#comment174924}}
+
Linux カーネルをアップグレードすると、タッチパッドとトラックポイントが機能しなくなるという問題が発生することがあります。カーネルパラメータ {{ic|1=psmouse.elantech_smbus=0}} で起動すると修正されるようです。{{Bug|59714#comment174924}}

2023年5月29日 (月) 11:31時点における最新版

Hardware PCI/USB ID Working?
GPU (Intel) Yes
GPU (Nvidia) Yes
Wireless Yes
Bluetooth 8087:0aaa Yes
Audio 10de:0fb9 Yes
Touchpad Yes
Webcam 5986:2113 Yes
Card reader 10ec:525a Yes
Fingerprint reader 06cb:009a Yes

Lenovo P52 はクアッドまたはヘックスコアの 第8世代 Intel プロセッサ搭載のラップトップです。

インストール

警告: BIOSが破損 される可能性のある設定がいくつかあります。設定は Arch のインストールに直接関係しませんが、リスクを理解した上で変更を設定してください。そこで、この警告をここに提示します。

BIOS を V1.17 以降 に更新してください。2019年3月の時点で v1.24 です。特定の設定を選択すると、以前のバージョンの BIOS が動作しなくなる可能性があります。

  1. ハイブリットグラフィックスとディスクリートグラフィックス - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/P52-won-t-start-after-change-to-only-discrete-graphic-card/m-p/4265065
  2. Thunderbolt 3 のサポート - https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/Lenovo-P52-bricked-by-selecting-BIOS-thunderbolt-support-for/td-p/4207538?page=12
ノート: Lenovo のブータブル (CD) 更新オプションを使用して BIOS を更新するか、事前にパッケージ化された Windows インストールとソフトウェアを使用して、BIOS を更新し、BIOS が更新されたら Arch インストールを続行できます。

グラフィックス

このラップトップには、NVIDIA チップに直接配線された外部ディスプレイポートがあります。大まかに言うと、これは外部ディスプレイを使用するには、専用 GPU を有効にする必要があるという事です。幸い、統合グラフィックスと専用グラフィックスを動的に切り替えることは可能ですが、これは modesetting ドライバではなく Intel DDX ドライバ xf86-video-intel を使用することによってのみ可能です。

ラップトップは、ハイブリットグラフィックスまたは専用グラフィックスのみの 2 つのモードのうちの 1 つで使用できます。

統合 Intel UHD 630 GPU(パイブリットグラフィックスの一部)を使用するには、mkinitcpio のモジュールとして、i915 モジュールを initramfs に追加する必要があります。これを行うには /etc/mkinitcpio.conf で次のように設定します。

/etc/mkinitcpio.conf
...
MODULES=(i915)

上記を追加しないと、initramfs をロードしようとしたときに動かなくなり、システムが起動できなくなります。

Dedicated Graphics のみを使用することで、上記のモジュールなしで済ますことができる場合があります(UEFI の設定を変更することで可能です)。

bumblebee とプロプライエタリドライバ

この設定では、一部のアプリケーションでは統合 GPU が使用されますがoptirun または primusrun ランチャーを使用して、ディスクリート GPU でレンダリングできます。詳しい手順については、Bumblebee を参照してください。適切な V-sync サポートがないため、この方法ではディスクリート GPU でレンダリングされたアプリケーションにティアリングが発生します。また、ディスクリート GPU と統合 GPU の間でデータを非効率に移動させる結果、いくつかのオーバーヘッドが発生しますが、Nvidia GPU は Nouvearu を使用した場合よりはるかに優れたパフォーマンスを発揮します。

これを動作させるには、bumblebee, bbswitch, nvidia, xf86-video-intel が必要です。

そして、以下の設定ファイルをセットしてください。

/etc/X11/xorg.conf.d/intel.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "intel"
    Inactive       "nvidia"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "dummy"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
EndSection
 
Section "Screen"
    Identifier     "intel"
    Device         "intel"
    Monitor        "Monitor0"
EndSection

Section "Device"
    Identifier  "intel"
    Driver      "intel"
    Option      "TearFree" "true"
    Option      "DRI" "3"
    BusId       "PCI:0:2:0"
EndSection

(既にこれらのいずれかがあると思われるので、必要に応じて調整/追加してください。最後のダミーデバイスは必須です。):

/etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"

    # Inventions
    Screen      0 "nvidia"
    Inactive    "intel"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID "PCI:1:0:0"
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "true"
    Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
    Identifier "intel"
    Driver "dummy"
    BusID "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

この段階で、マシンを再起動します。すると、通常通り optirun で GPU 上のアプリケーションを実行できるはずです。例えば optirun glxgears などです。外部ディスプレイを使いたい場合は、optirun でアプリを実行してから intel-virtual-output -f を実行して GPU をオンにし続ける必要があります。(これは実行されたままで、外部ディスプレイポートを使用可能な仮想出力にバインドします) この段階で、外部ポートを見たり使ったりできるようになるはずです。

指紋認証リーダー

Lenovo_ThinkPad_T480s を参照 - python-validityAUR で動作しますが、libfprint では動作しません。

タッチパッド

Linux カーネルをアップグレードすると、タッチパッドとトラックポイントが機能しなくなるという問題が発生することがあります。カーネルパラメータ psmouse.elantech_smbus=0 で起動すると修正されるようです。FS#59714#comment174924