This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

NVidia/nvidia-drivers

From Gentoo Wiki (test)
< NVidia
Jump to:navigation Jump to:search
This page is a translated version of the page NVidia/nvidia-drivers and the translation is 54% complete.
Outdated translations are marked like this.

The x11-drivers/nvidia-drivers package contains the proprietary graphics driver for NVIDIA graphic cards. An open source alternative is nouveau.

Portage Treeにあるx11-drivers/nvidia-driversはNVIDIAによって公開されていて、Linuxカーネルと共に動くようビルドされています。これらにはグラフィックスカードとのやりとりの大部分を行うバイナリ・ブロブが含まれています。ドライバーはカーネルモジュールとX11ドライバーの二つの部分で攻勢されています。この両方が一つのソフトウェアパッケージに含まれています。NVIDIAが行ったパッケージのしかたにより、インストール前にいくつか決めなければならない事柄があります。

x11-drivers/nvidia-driversはNVIDIAの最新のドライバーが含まれていて、大半のカードがサポートされています。カードの製造時期によっては対応するドライバーのいくつかのバージョンが含まれています。このパッケージはeclassを使用し、システムに含まれるカードの種類を特定した上で正しいバージョンのドライバーをインストールします。

ハードウェアの互換性

x11-drivers/nvidia-driversは幅広いNVIDIAのグラフィックスカードをサポートします。システムに含まれるカードに合わせられるよう、このパッケージには複数のバージョンがあります。 どのバージョンのx11-drivers/nvidia-driversを使うべきかを確認するには、NVIDIA公式ドキュメントである What's a legacy driver?を参照してください。 確認の際に便利なものとしてan interactive formがあります。システムに含まれるグラフィックスカードを入力すると、もっとも適したバージョンを教えてくれます。(なお、'Product Type'の入力欄にあるLegacyオプションにはご注意ください)

もしグラフィックスカードがレガシーカードと分かったならば、以下のような最近のnvidia-driversをマスクしてください。

FILE /etc/portage/package.maskバージョン 174 以上のドライバーをマスクする
>x11-drivers/nvidia-drivers-174

Gentooが71.86.xxバージョンを提供していないことを念頭に置いておいてください。もしこのドライバーを必要とするグラフィックスカードがシステム内にあるならば、nouveauドライバーを使うことが推奨されます。

インストール

カーネル

上記の通り、NVIDIAのカーネルドライバーは現在のカーネルに合わせてインストールされ、実行されます。カーネルモジュールとしてビルドされるので、カーネルはモジュールのロードに対応していなければなりません。(下記参照)

カーネルモジュール(nvidia.ko)は(バイナリ・ブロブとして一般的に知られている)グラフィックスチップを動かすプロプライエタリな部分と、(「のり」である)実行時にカーネルとプロプライエタリな部分の橋渡しをするオープンソースの部分から構成されます。これらがすべて協調して動作しないと、(カーネルパニックや未保存のデータが残っている状態でのXサーバーのクラッシュなどによる)データの損失につながります。また、(過熱やそのた電源管理の問題に代表される)ハードウェアの不具合も考えられます。

カーネルの互換性

時々、新しいカーネルのリリースによってドライバー用の内部ABIが変わることがあります。これは、それらのABIを利用するすべてのドライバーをこの変更に合わせなければならないことを意味します。オープンソースのドライバー、特にカーネルとともに頒布されるものに関しては、ドライバーやカーネルの他の部分をつなぐ一連の機能呼び出しを見直すことが容易で、この様な変更はほとんど手間な加えることができます。しかし、プロプライエタリなドライバーに関しては同じようにはいきません。内部ABIが変わるとき、プロプライエタリな部分によってどのように「のり」の部分が使われているか分からないため、ただ単に「のり」の部分を修正することは不可能です。うまく修正を重ねて順調に動いているようであっても、nvidia.koを新しい、サポートされていないカーネルで使うことにはデータの損失やハードウェアの不具合が起きるといったリスクが付随します。

新しい、互換性のないバージョンのカーネルがリリースされたとき、しばらくはサポートされる最新のカーネルを使用しつづけることが最善でしょう。NVIDIAが一般に公開してもいいと判断するプロプライエタリなドライバーを公開するのには通常数週間かかります。気長に待つべきです。もし新しいカーネルが絶対に必要ならば、nvidia-driversのebuildでepatch_userコマンドを使うこともできます。これによってnvidia-driversに何らかの修正を加えて、最新のサポートされていないカーネルでも動くようにすることができます。nvidia-driversのメンテナも、NVIDIA自体もこのような用法はサポートしないことを念頭に置いてください。ハードウェアの保証もおそらく無効になるでしょう。また、NVIDIAのみがまともにデバッグできるのでGentooのメンテナも修正を加えることはできません。(Gentoo、Upstreamの双方の)カーネルのメンテナはプロプライエタリなドライバー、ひいてはプロプライエタリなソフトウェアに「汚染」されたシステムの不調に対してサポートを提供しません。

もしgenkernel allによってカーネルが構築されたならば、準備は整っています。もしそうでなければ、以下が有効になっているかもう一度確認してください:

KERNEL Enable loadable module support
[*] Enable loadable module support --->

カーネル内のMemory Type Range Registerも有効にしてください。

KERNEL Enable MTRR support
Processor type and features --->
    [*] MTRR (Memory Type Range Register) support

システムにAGPグラフィックスカードがある場合は、カーネルのagpgartサポートを有効にすることもできます。モジュールとして有効にする他、カーネルに組み込むこともできます。もしagpgartモジュールが使用されなければ、ドライバーに含まれるNvAGPという独自のagpgartの実装が使用されます。システムによっては、こちらを使用する方がカーネル内のagpgartよりも高いパフォーマンスが得られ、その逆も場合もあります。使用しているシステムでどちらの方がよいパフォーマンスを得られるかを確認するとよいでしょう。分からない場合は、カーネル内のagpgartを使ってください。

KERNEL agpgartサポートを有効にする
Device Drivers --->
   Graphics support --->
      -*- /dev/agpgart (AGP Support) --->
Note
amd64では、IOMMUがagpgartの設定をします。
重要
x86 および AMD64 プロセッサでは、カーネル内蔵の フレームバッファ ドライバがNVIDIA製のバイナリドライバと競合します。これらのCPUに対してカーネルをコンパイルするときは、以下のようにしてカーネル内臓のドライバを完全に取り除いてください:
KERNEL カーネル内蔵ドライバのサポートを無効にする
Device Drivers --->
    Graphics support --->
        Frame buffer Devices --->
            <*> Support for frame buffer devices --->
            < >   nVidia Framebuffer Support
            < >   nVidia Riva support

nouveau ドライバを無効にすることもお忘れなく:

KERNEL
Device Drivers  --->
    Graphics support  --->
        < > Nouveau (nVidia) cards

フレームバッファーの代替品はuvesafbです。これはx11-drivers/nvidia-driversと平行してインストールすることができます。

重要
x86 および AMD64 プロセッサでは、uvesafb ドライバがNVIDIA製のバイナリドライバのバージョン361.28以降と競合します。

(U)EFIシステムでは uvesafb は動きません。またカーネルで "efifb" サポートを有効にする (CONFIG_FB_EFI=y) と、時々NVIDIAドライバの初期化に問題が発生することがあります。今のところ(U)EFIシステムで他に使えるフレームバッファはありません。

nvidia-drivers ebuild は /usr/src/linux のシンボリックリンクを元にカーネルバージョンを決定します。このシンボリックリンクが正しいソースを指し、きちんとコンフィグレーションができていることを確認してください。カーネルのコンフィグレーションについては Gentoo Handbook の "カーネルの設定" をお読みください。

First, choose the right kernel source using eselect. When using sys-kernel/gentoo-sources version 3.7.10 for instance, the kernel listing might look something like this:

root #eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.7.10-gentoo *
  [2]   linux-3.7.9-gentoo

In the above output, notice that the linux-3.7.10-gentoo kernel is marked with an asterisk (*) to show that it is the kernel that the symbolic link points to.

If the symlink is not pointing to the correct sources, update the link by selecting the number of the desired kernel sources, as in the example above.

root #eselect kernel set 1

設定

ドライバー

いよいよドライバをインストールします。まず Xサーバー設定ガイド に従い /etc/portage/make.confVIDEO_CARDS="nvidia" と設定します。そうするとXサーバーをインストールする際に、適切なバージョンの x11-drivers/nvidia-drivers をインストールしてくれます。

注意
ドライバは /etc/portage/make.confgtk USEフラグを指定してインストールすることもできます。これを指定すると media-video/nvidia-settings という、グラフィックカードを様々な角度からモニタ・設定できる便利なGUIツールがインストールされます。
重要
カーネルをビルドする時は毎回、NVIDIAのカーネルモジュールを再インストールしなければなりません。x11-drivers/nvidia-drivers のようにebuildでインストールされるモジュールを再ビルドするには、emerge @module-rebuild を実行するのが簡単です。

Once the installation has finished, run modprobe nvidia to load the kernel module into memory. If this is an upgrade, remove the previous module first.

root #lsmod | grep nvidia
root #rmmod nvidia
root #modprobe nvidia

To prevent from having to manually load the module on every bootup, have this done automatically each time the system is booted, so edit /etc/conf.d/modules and add nvidia to it.

重要
もし agpgart をモジュールとしてコンパイルしたら、/etc/conf.d/modules にも追加してください。

カーネルモジュールの署名 (任意)

注意
これは署名済みカーネルモジュールを使わないシステムには関係ない話なので、読み飛ばしても構いません。

セキュアブートのためのカーネル署名を行っている場合は、NVIDIAのカーネルモジュールも読み込む前に署名しなければなりません。

これはカーネル付属の perl スクリプトで次のように行えます:

root #perl /usr/src/linux/scripts/sign-file sha512 /usr/src/linux/signing_key.priv /usr/src/linux/signing_key.x509 /lib/modules/Kernel-Version-modules-path/video/nvidia-uvm.ko
root #perl /usr/src/linux/scripts/sign-file sha512 /usr/src/linux/signing_key.priv /usr/src/linux/signing_key.x509 /lib/modules/Kernel-Version-modules-path/video/nvidia.ko

ドライババージョン 358.09 以降では画面モード設定のために新しいモジュールが追加されたので、これも併せて署名しなければなりません。

root #perl /usr/src/linux/scripts/sign-file sha512 /usr/src/linux/signing_key.priv /usr/src/linux/signing_key.x509 /lib/modules/Kernel-Version-modules-path/video/nvidia-modeset.ko

正しく署名ができたら、ドライバはブート時に読み込まれるはずです。このモージュール署名の方法は nvidia-drivers に限らず、ほかのモジュールでも使えます。指定するモジュールのパスを変更するだけです。

X サーバー

Once the appropriate drivers are installed, configure the X server to use the nvidia driver instead of the default nv driver.

FILE /etc/X11/xorg.conf.d/nvidia.confExplicit nvidia driver section
Section "Device"
   Identifier  "nvidia"
   Driver      "nvidia"
EndSection

Run eselect so that the X server uses the NVIDIA GLX libraries:

root #eselect opengl set nvidia

パーミッション

The user(s) needing to access the video card will need to be added to the video group:

root #gpasswd -a larry video

Note that users will be able to run X without permission to the DRI subsystem, but acceleration will be disabled.

nvidiaサポートをシステム全体で有効にする

Some tools, such as media-video/mplayer and media-libs/xine-lib, use a local USE flag called xvmc which enables XvMCNVIDIA support, useful when watching high resolution movies. Add in xvmc in the USE variable in /etc/portage/make.conf or add it as USE flag to media-video/mplayer and/or media-libs/xine-lib in /etc/portage/package.use.

GeForce 8 series and later GPUs do come with VDPAU support which superseded XvMCNVIDIA support. See the VDPAU article for enabling VDPAU support.

There are also some applications that use the nvidia USE flag, so it might be a good idea to add it to /etc/portage/make.conf.

Then, run emerge -uD --newuse @world to rebuild the applications that benefit from the USE flag change.

nVidia 設定ツールを使う

NVIDIA also provides a settings tool. This tool allows the user to monitor and change graphical settings without restarting the X server and is available through Portage as part of x11-drivers/nvidia-drivers with the tools USE flag set.

OpenGL/OpenCL を有効にする

To enable OpenGL and OpenCL though the device, run:

root #eselect opengl set nvidia
root #eselect opencl set nvidia

Make sure that the Xorg server is not running during these changes.

使い方

カードをテストする

To test the NVIDIA card, fire up X and run glxinfo, which is part of the x11-apps/mesa-progs package. It should say that direct rendering is activated:

user $glxinfo | grep direct
direct rendering: Yes

To monitor the FPS, run glxgears.

トラブルシューティング

For an overview of the currently open bugs reported against the x11-drivers/nvidia-drivers package, take a look at the Gentoo bugtracker: known bugs.

FATAL: modpost: GPL-incompatible module *.ko uses GPL-only symbol

When the ebuild is complaining about the 'mutex_destroy' GPL-only symbol:

root #emerge nvidia-drivers
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'mutex_destroy' 

Be sure to disable CONFIG_DEBUG_MUTEXES in the kernel's .config file, as suggested by this forum thread.

Driver fails to initialize when MSI interrupts are enabled

The Linux NVIDIA driver uses Message Signaled Interrupts (MSI) by default. This provides compatibility and scalability benefits, mainly due to the avoidance of IRQ sharing. Some systems have been seen to have problems supporting MSI, while working fine with virtual wire interrupts. These problems manifest as an inability to start X with the NVIDIA driver, or CUDA initialization failures.

MSI interrupts can be disabled via the NVIDIA kernel module parameter NVreg_EnableMSI=0. This can be set on the command line when loading the module, or more appropriately via the distribution's kernel module configuration files (such as those under /etc/modprobe.d/).

例えば:

FILE /etc/modprobe.d/nvidia.confSetting nvidia NVreg_EnableMSI
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
  
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more 
# options see /usr/share/doc/nvidia-drivers-337.19/README 
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
# WHAT YOU ARE DOING.
# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
options nvidia NVreg_DeviceFileMode=0660 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1 NVreg_EnableMSI=0

4GB 以上のメモリを搭載したマシンで 2D アクセラレーションを使う

When NVIDIA 2D acceleration is giving problems, then it is likely that the system is unable to set up a write-combining range with MTRR. To verify, check the contents of /proc/mtrr:

root #cat /proc/mtrr

Every line should contain write-back or write-combining. When a line shows up with uncachable in it then it is necessary to change a BIOS setting to fix this.

Reboot and enter the BIOS, then find the MTRR settings (probably under "CPU Settings"). Change the setting from continuous to discrete and boot back into Linux. There is now no uncachable entry anymore and 2D acceleration now works without any glitches.

"no such device" appears when trying to load the kernel module

This is usually caused by one of the following issues:

  1. The system does not have a NVIDIA card at all. Check lspci output to confirm that the system has a NVIDIA graphics card installed and detected.
  2. The currently installed version of x11-drivers/nvidia-drivers does not support the installed graphics card model. Check the README file in /usr/share/nvidia-drivers-*/ for a list of supported devices, or use the driver search at http://www.geforce.com/drivers.
  3. Another kernel driver has control of the hardware. Check lspci -k to see if another driver like "nouveau" is bound to the graphics card. If so, disable or blacklist this driver.

Xorg says it can't find any screens

When after booting the system, it ends up with a black screen or a console prompt instead of the GUI; then press Ctrl+Alt+F2 to bring up a virtual console. Next, run:

root # /etc/init.d/xdm stop
user $ startx

to see the output of Xorg. If one of the first errors is that Xorg can't find any screens, then follow the following steps to resolve the issue.

It should be enough to run the following command before rebooting:

root # /opt/bin/nvidia-xconfig

But if that doesn't work, run lspci and notice that the video card starts off like this:

root #lspci
 . . .
01:00.0 VGA compatible controller: make and model of videocard
 . . . 

Take the first bit, 01.00.0 and put it in the /etc/X11/xorg.conf file with the BusID option:

FILE /etc/X11/xorg.conf
# this is not the whole file, only the part that needs edited
# the file should already exist after running nvidia-xconfig
 
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
EndSection

Direct rendering is not enabled

If direct rendering does not work, it may be because the kernel has Direct Rendering Manager enabled, which conflicts with the driver. See the direct rendering status by following instructions in the section Testing the card.

First, disable Direct Rendering Manager (CONFIG_DRM) in the kernel :

KERNEL Direct Rendering Manager を無効にする
Device drivers --->
    Graphics support --->
        < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

Next, rebuild x11-drivers/nvidia-drivers since the driver may have built against the kernel DRM symbols. It should fix the problem.

Video playback stuttering or slow

Lately there seems to be some breaking with playback of some types of video with the NVIDIA binary drivers, causing slow video playback or significant stuttering. This problem seems to be occurring within the Intel CPU Idle replacement instead of the common ACPI CPU idling method for certain CPU's.

Disable the Intel CPU idling method using intel_idle.max_cstate=0 on the kernel command line boot method, which should cause the kernel to automatically fall back to the normal or older ACPI CPU idling method. Also, disabling the NVIDIA Powermizer feature, or setting Powermizer to maximum performance within nvidia-settings has been said to help. Although the Intel CPU idling method recently was introduced as the default CPU idling method for i5 and i7 CPUs (versus using ACPI CPU idling) is the root cause here. This idling method significantly solves the problem, however some minimal stuttering or slow video is encountered if deinterlacing was enabled; this is when the video is likely already deinterlaced (ie. alias mplayer-nodeint with something similar to mplayer -vo vdpau:deint=0:denoise=0:nochroma-deint:colorspace=0:hqscaling=1, video.mpg as a work around.)

No vertical synchronization (no VSync, tearing) in OpenGL applications

Adding the following option to the screen section prevents tearing on GTX 660, 660 Ti, and probably some other GPUs (reference):

FILE /etc/X11/xorg.conf
Section "Section"
     . . .
    Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
     . . .
EndSection

上級者向け設定

Documentation

The x11-drivers/nvidia-drivers package also comes with comprehensive documentation. This is installed into /usr/share/doc and can be viewed with the following command:

user $less /usr/share/doc/nvidia-drivers-*/README.bz2

カーネルモジュールのパラメーター

The nvidia kernel module accepts a number of parameters (options) which can be used to tweak the behavior of the driver. Most of these are mentioned in the documentation. To add or change the values of these parameters, edit the file /etc/modprobe.d/nvidia.conf. Remember to run update-modules after modifying this file, and bear in mind to reload the nvidia module before the new settings take effect.

警告
これらのカーネルオプションはハードウェアがサポートしない機能も有効化できるため、この作業は十分に注意しなければなりません。設定値を間違えちゃった、では済まないかもしれません。その変更が本当に必要なのか、設定値は正しいのかをよく確かめない限り、変更を加えてはいけません。
Attribute Default Description
NVreg_DeviceFileUID 0 Modify the user ID for the device file. The default value sets it to the root user. Setting this to another user ID will make the driver module create the device file with access available to that user ID.
NVreg_DeviceFileGID 27 Modify the Group ID for the device file. The default value sets it to the video group.
NVreg_DeviceFileMode Undefined Set the permissions for the device file. A value of 0660 grants the owner and group-owner read-write access while other users cannot access the device file.
NVreg_ModifyDeviceFiles 1 Instruct the driver to enable or disable dynamic device file management.
NVreg_EnablePCIeGen3 0 Enable PCIe Gen 3.x support. If the system supports this 8GT high speed bus then enable it with this module option flag. When this is enabled but the system does not support Gen 3.0, the behavior of the system can become irratic and unstable. Some have even reported damage to hardware enabling this when it is not properly supported. By default the Nvidia driver is set to use PCIe Gen 2.x for compatibility reasons.
NVreg_UsePageAttributeTable 0 This is one of the latest and newest additions to the Nvidia driver modules option. It allows the driver to take full advantage of the PAT technology - a newer way of allocating memory, replacing the older Memory Type Range Register (MTRR) method. The PAT method creates a partition type table at a specific address mapped inside the register and utilizes the memory architecture and instruction set more efficiently and faster. If the computer supports PAT and the feature is enabled in the kernel then this flag can be enabled. Without PAT support, users may experience unstable performance and even crashes if this is enabled. So be careful with these options.
NVreg_EnableVia4x 0 Enable AGP 4x mode in the the NVIDIA driver on Via-chipset-powered systems. Some of these hardware configurations would not work properly in AGP 4x mode when others would. The default leaves it at AGP 2x mode.
NVreg_EnableALiAGP 0 On ALi1541 and ALi1647 chipsets, AGP support is by default disabled by the NVIDIA drivers. The value specifies the speed factor to use, so the values 1, 2, 4 and 8 represent AGP 1x, 2x, 4x and 8x respectively. NVIDIA does not recommend changing the value as it may lead to unstable systems.
NVreg_ReqAGPRate Unspecified Forces the AGP mode on the driver. For instance, a value of 1 means AGP 1x, while a value of 4 means AGP 4x.
NVreg_NvAGP Changes the AGP Gart mode setting. Possible values are: 0 (Disable), 1 (Enable using NVIDIAs internal AGP-Gart), 2 (Enable using the Linux kernel AGP-Gart) and 3 (Enable and use any available, but try th NVIDIA internal one first).
NVreg_EnableAGPSBA 0 Disables (0) or enables (1) AGP Side Banding. For stability reasons, the setting is by default disabled, but the setting can be enabled for testing and debugging purposes. This is not supported by NVIDIA though.
NVreg_EnableAGPFW 0 Enables AGP Fast-Writes when set to 1. Depending on the system's chipset this may cause stability issues if enabled.
NVreg_Mobile 0 Through this setting, users can force the EDID information for particular systems. This workaround is provided for mobile GPU's where EDID information is either non-functional or disabled. Potential values are 0 (Auto detection of the correct setting), 1 (Dell notebooks), 2 (non-Compa1 Toshiba laptops), 3 (All other notebooks/laptops), 4 (Compa1 Toshiba laptops) or 5 (Gateway machines).
NVreg_RemapLimit 60 Maximum amount of system memory remapping. It specifies the amount of memory that the driver will be allowed to remap through the IOMMU/SWIOTLB on a 64-bit system. Only use it if the IOMMU or SMIOTLB is larger than 64mb. NVIDIA recommends to subtract 4mb from the total amount of memory to use. For instance, the default value is 60 which is in fact 64mb. To set it to 128mb, set the value to 124.
NVreg_UpdateMemoryTypes 0 Tweak the use of page table attributes. Possible values are: 0 (Nvidias logic mechanism), 1 (Enable the use of changed page table attributes) and 2 (Disable the use of page table attributes).
NVreg_InitializeSystemMemoryAllocations 1 Tell the NVIDIA driver to clear system memory allocations prior to using it for the GPUs. Disabling can give a slight performance boost but at the cost of increased security risks. By default the driver will wipe the allocated by zeroing out its content.
NVreg_UseVBios 1 Enable or disable the use of the video BIOS int10 code. Set to 0 to disable.
NVreg_RMEdgeIntrCheck Unspecified Enable or disable checking for edge-triggered interrupts.
NVreg_EnableMSI 0 Enable or disable PCIe-MSI capabilities. Enable this to use MSI interrupts instead of wired interrupts.
NVreg_MapRegistersEarly 0 If set to 1, allow the driver to map the memory locations early when the system is probing the hardware instead of the default option of doing this when loaded by modprobe or during startx. This is a debugging feature.
NVreg_RegisterForACPIEvents 1 Enable the driver to register with the ACPI of the system to receive ACPI events. This can be disabled (0) when issues occur with ACPI or while debugging an issue.

Edit the /etc/modprobe.d/nvidia.conf file, and afterwards update the module information:

root #update-modules

nvidia モジュールをアンロードして...

root #modprobe -r nvidia

...もう一度読み込みます:

root #modprobe nvidia

X の高度な設定

The GLX layer also has a plethora of options which can be configured. These control the configuration of TV out, dual displays, monitor frequency detection, etc. Again, all of the available options are detailed in the documentation.

To use any of these options, list them in the relevant Device section of the X config file (usually /etc/X11/xorg.conf). For example, to disable the splash logo:

FILE /etc/X11/xorg.confDisable the splash logo
Section "Device"
  Identifier "nVidia Inc. GeForce2"
  Driver     "nvidia"
  Option     "NoLogo" "true"
  VideoRam   65536
EndSection

参考


This page is based on a document formerly found on our main website gentoo.org.
The following people contributed to the original document: Sven Vermeulen (SwifT), Joshua Saddler (nightmorph), M Curtis Napier and Chris Gianelloni
They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.