Arch LinuxでGTX 1070を実行するには?

Arch LinuxでGTX 1070を実行するには?

公式ウェブサイトから「NVIDIA-Linux-x86_64-367.27」ドライバをインストールしようとしましたが、次のエラーが発生しました。

PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

nvidia-installer command line:
    ./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Unable to load: nvidia-installer ncurses user interface

Using built-in stream user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
WARNING: You do not appear to have an NVIDIA GPU supported by the 375.20 NVIDIA Linux graphics driver installed in this system.  For further details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in the README available on the Linux driver download page at www.nvidia.com.
-> License accepted.
-> Installing NVIDIA driver version 375.20.
-> Performing CC sanity check with CC="/usr/bin/cc".
ERROR: The kernel header file '/lib/modules/4.8.4-1-ARCH/build/include/linux/kernel.h' does not exist.  The most likely reason for this is that the kernel source path '/lib/modules/4.8.4-1-ARCH/build' is incorrect.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

なぜこの警告が表示されるのかわかりません。

「警告:このシステムにインストールされている367.27 NVIDIA Linuxグラフィックドライバは、NVIDIA GPUをサポートしていないようです」

GPUはMSIから直接購入しました。

ベストアンサー1

私は読書を強くお勧めしますNVIDIAのアーチウィキNvidiaのウェブサイトから直接ドライバをダウンロードする代わりに。 Wikiの関連部分は次のとおりです。

GeForce 400シリーズカード以上[NVCx以上]の場合は、nvidiaまたはnvidia-ltsパッケージとnvidia-libglをインストールしてください。これらのパッケージが機能しない場合は、nvidia-betaAURにサポートを提供する最新のドライババージョンがある可能性があります。

だからインストールすればいいようですNvidiaパック

pacman -S nvidia

その後、別のパッケージを使用する必要があるかどうかを尋ねます。 Wikiによると、カードが必要です。Nvidia-libglパック。

おすすめ記事