NVIDIA 430.09はLinuxヘッダファイルを取得しません。

NVIDIA 430.09はLinuxヘッダファイルを取得しません。

GTX 1650があり、Manjaro 64ビットとカーネル58を使用していますが、次のようにドライバ430.09をインストールしようとすると、次のようになります。

sudo ./NVIDIA-Linux-x86_64-430.09.run --kernel-source-path /usr/include/linux/
ERROR: The kernel header file '/usr/include/linux//include/linux/kernel.h' does
       not exist.  The most likely reason for this is that the kernel source
       path '/usr/include/linux/' is incorrect.

私が使用している場合:

sudo ./NVIDIA-Linux-x86_64-430.09.run --kernel-source-path /usr/

ERROR: The kernel source path '/usr/' is invalid.  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

/usr/include/linux/カーネルソースパスをどのように使用できますか?試み 1: 455.28 を使用してインストールしましたが、同じ問題が発生しました。

ベストアンサー1

この--kernel-source-pathオプションにはインストールされたカーネルのヘッ​​ダーが必要ですが/usr/include/linux/

通常、次のようにします。

sudo ./NVIDIA-Linux-x86_64-430.09.run --kernel-source-path=/lib/modules/${kernel-version}/source

おすすめ記事