- Nouveau
- Contents
- Installation
- Loading
- Enable early KMS
- Tips and tricks
- Keep NVIDIA driver installed
- Installing the latest development packages
- Dual head
- Setting console resolution
- Power management
- Fan control
- Optimus
- Vertical Sync
- Troubleshooting
- Disable MSI
- Phantom output issue
- Kernel parameters
- Xorg configuration
- Xrandr
- Random lockups with kernel error messages
- Flat Panel Table Invalid
- Nouveau
- nouveau
- Содержание
- Разработка
- Реверс‐инжиниринг
- Примечания
- Ссылки
- Полезное
- Смотреть что такое «Nouveau» в других словарях:
Nouveau
This article covers the open-source Nouveau driver for NVIDIA graphics cards. For information about the proprietary driver, see NVIDIA.
Find your card’s code name (a more detailed list is available on Wikipedia), and compare it with the feature matrix for supported features.
Contents
Installation
Install the mesa package, which provides the DRI driver for 3D acceleration.
- For 32-bit application support, also install the lib32-mesa package from the multilib repostory.
- For the DDX driver (which provides 2D acceleration in Xorg), install the xf86-video-nouveau package.
Loading
The Nouveau kernel module should load automatically on system boot. If it does not happen, then:
- Make sure you do not have nomodeset or vga= as a kernel parameter, since Nouveau requires kernel mode-setting.
- Also, check that you do not have Nouveau disabled using any modprobe blacklisting technique within /etc/modprobe.d/ or /usr/lib/modprobe.d/ .
- If all above still fails to load nouveau check dmesg for an opcode error. Add nouveau.config=NvBios=PRAMIN to your Kernel parameters to prevent module unloading.[1]
- Check if /etc/X11/xorg.conf exists and is referencing nvidia driver. It is probably a good idea to rename the file.
Enable early KMS
Kernel mode setting (KMS) is required by the Nouveau driver. By default, the KMS is done after the other kernel modules are loaded. You will see the text «Loading modules» and the size of the text may change, possibly with an undesirable flicker. See the Nouveau KernelModeSetting page for more details.
It is also possible to start the KMS as early as possible in the boot process, when the initramfs is loaded.
To do this, add nouveau to the MODULES array in /etc/mkinitcpio.conf (module names are separated by spaces):
If you are using a custom EDID file, you should embed it into initramfs as well:
Re-generate the initial ramdisk image:
If you are experiencing troubles with Nouveau leading to rebuild nouveau-drm several times for testing purposes, do not add nouveau to the initramfs. It is too easy to forget to rebuild the initramfs and it will just make any testing harder. Just use «Late start» until you are confident the system is stable. There might be additional problems with initramfs if you need a custom firmware (generally not advised).
Tips and tricks
Keep NVIDIA driver installed
If you want to keep the proprietary NVIDIA driver installed (and are not using OpenGL), but want to use the Nouveau driver, comment out nouveau blacklisting in /etc/modprobe.d/nouveau_blacklist.conf , /usr/lib/modprobe.d/nvidia.conf , or /usr/lib/modprobe.d/nvidia-dkms.conf modifying it as follows:
And tell Xorg to load nouveau instead of nvidia by creating the file /etc/X11/xorg.conf.d/20-nouveau.conf with the following content:
If you already used the NVIDIA driver, and want to test Nouveau without reboot, make sure the ‘nvidia’ module is no longer loaded:
Then load the ‘nouveau’ module:
And check that it loaded fine by looking at kernel messages:
Installing the latest development packages
To get the latest Nouveau improvements
Dual head
See Multihead#RandR how to setup multiple monitors by using RandR.
Setting console resolution
You can pass the resolution to nouveau with the video= kernel line option (see KMS).
Power management
The lack of proper power management in the nouveau driver is one of the most important causes of performance issues, since most cards will remain in their lower power state with lower clocks during their use. Experimental support for GPU reclocking is available for some cards (see the Nouveau PowerManagement page) and since kernel 4.5 can be controlled through a debugfs interface located at /sys/kernel/debug/dri/*/pstate .
For example, to check the available power states and the current setting for the first card in your system, run:
It is also possible to manually set/force a certain power state by writing to said interface:
Fan control
If it is implemented for your card you can configure fan control via /sys .
pwm1_enable can be set to 0, 1 or 2 meaning NONE, MANUAL and AUTO fan control. If set to manual fan control, you can set pwm1 manually, for example to 40 for 40%.
You can also set it by udev rule:
Optimus
You have two solutions to use Optimus on a laptop (aka hybrid graphics, when you have two GPUs on your laptop): bumblebee and PRIME
Vertical Sync
The factual accuracy of this article or section is disputed.
Xorg compositors are prone to show issues with Nouveau. Unlike most of them, Picom offers lots of options to tweak for a smoother and tearing free result. A configuration which is expected to deliver a good result would be the following:
Troubleshooting
Add drm.debug=14 and log_buf_len=16M to your kernel parameters to turn on video debugging:
Create verbose Xorg log:
View loaded video module parameters and values:
Disable MSI
If you are still having problems loading the module or starting X server append nouveau.config=NvMSI=0 to your Kernel parameters.
Phantom output issue
It is possible for the nouveau driver to detect «phantom» outputs. For example, both VGA-1 and LVDS-1 are shown as connected but only LVDS-1 is present.
This causes display problems and/or prevent suspending on lid closure.
Kernel parameters
The problem can be overcome by disabling the phantom output (VGA-1 in the examples given) with Kernel parameters:
Where d = disable.
The nouveau kernel module also has an option to disable TV-out detection [2]:
Xorg configuration
The phantom output can be disabled in Xorg by adding the following to /etc/X11/xorg.conf.d/20-nouveau.conf :
Xrandr
Xrandr can disable the output:
This can be added to the xinit configuration.
Random lockups with kernel error messages
Specific Nvidia chips with Nouveau may give random system lockups and more commonly throw many kernel messages, seen with dmesg. Try adding the nouveau.noaccel=1 kernel parameter. See Fedora:Common kernel problems#Systems with nVidia adapters using the nouveau driver lock up randomly for more information.
As an alternative you can also use the QT_XCB_FORCE_SOFTWARE_OPENGL=1 environment variable to disable OpenGL acceleration in Qt applications.
Flat Panel Table Invalid
This article or section needs expansion.
NVIDIA graphics cards with recent chipsets can cause startup issues — this includes X11 being unable to start and lspci freezing indefinitely[3][4][5][6][7].
This can break live distributions/installation media. This can be detected either by running lspci, or checking the systemd journal for the error:
The system may start if the Nouveau driver is disabled by passing the following kernel parameters:
The Nouveau driver can then be loaded using
The system should then function correctly. If you have another Nvidia graphics card, or just want to be safe, you can disable the offending card using:
The NVIDIA proprietary driver currently works correctly (version 381).
Источник
Nouveau
nouveau
nouveau | |
Тип | драйверы |
ОС | Linux (ядро)/X11 (AMD64, x86, PowerPC), BSD/X11 [1] |
Лицензия | MIT (драйверы), MIT и GNU GPL Direct Rendering Manager [1] |
Сайт | http://nouveau.freedesktop.org/ |
nouveau ([nuvo]) — проект по созданию свободных драйверов видеокарт корпорации NVIDIA с поддержкой ускорения вывода трёхмерной графики. Изначально основан на распространяемом по свободной лицензии, но нечитаемом 2D драйвере от NVIDIA «nv».
Название « nouveau » обозначает «новый» на французском языке, и было, по словам Stéphane Marchesin, предложено автозаменой IRC‑клиента вместо «nv». [2]
Содержание
Разработка
К 2007-11-22 реализованы почти все функции 2D, [3] в основном, для карт семейства NV40. Однако драйвер с поддержкой только 2D отдельно, скорее всего, выпущен не будет. [4] [5]
В феврале 2008 в 3D‑ветви драйвера для Gallium3D, не предназначенной даже для тестирования (за исключением тех, кто может помочь исправлениями и нахождения патча, внёсшего ещё не исправленный баг), с некоторыми видеокартами NV40 можно было добиться приемлемой работы некоторых трёхмерных игр. [6] [7]
Произведён переход на Gallium 3D, работа над поддержкой DRI прекращена. [4] [5] [8]
Общий менеджер памяти пока не используется, поэтому программы, использующие OpenGL, могут работать нестабильно. [9] Планировалось использовать TTM, но со временем появилось ещё несколько менеджеров памяти, и были обнаружены проблемы с производительностью при использовании TTM. В октябре 2008 ведётся перевод драйвера с TTM на интерфейсы менеджера памяти GEM (англ.), разрабатываемого корпорацией Intel, и внутренности TTM. [10]
Реверс‐инжиниринг
Реверс-инжиниринг производится с помощью специальной утилиты REnouveau, которая выводит на экран определённые изображения с использованием проприетарного (собственнического) 3D драйвера от NVIDIA, и считывает из памяти видеоадаптера изменившиеся данные. [11]
Также разрабатывается mmio-trace, следящая за доступом драйвера к памяти (MMIO (англ.)). [12]
Примечания
- ↑ 12FAQ (англ.) . nouveau Wiki. Проверено 5 ноября 2007.
- ↑The state of Nouveau, part I (англ.) . LWN.net (2008-02-15). Проверено 7 марта 2008.
- ↑KoalaBRNouveau Companion 31 (англ.) (2007-11-22). Проверено 22 ноября 2007.
- ↑ 12The state of Nouveau, part 2 (англ.) . LWN.net (2008-02-26). Проверено 7 марта 2008.
- ↑ 12Nouveau Companion 36 (англ.) (2008-03-07). Проверено 7 марта 2008.
- ↑KoalaBRNouveau Companion 35 (англ.) (2008-02-13). Проверено 16 февраля 2008.
- ↑Dave AirlieBringing kittens back to life — continuing story of open source graphics drivers (англ.) . MEL8OURNE LCA2008 and Linux Australia. — Демонстрация — ближе к концу видео.. Проверено 14 февраля 2008.
- ↑David LinNouveau Drops Its Old DRI Driver (англ.) . Phoronix Media (2008-07-13). Проверено 14 июля 2008.
- ↑Nouveau Companion 38 (англ.) (2008-04-05). Проверено 13 апреля 2008.
- ↑Pekka PaalanenNouveau Companion 40 (англ.) . Phoronix Media (29 октября 2008). Проверено 29 октября 2008.
- ↑REnouveau (англ.) . nouveau Wiki. Проверено 5 ноября 2007.
- ↑MMIO Trace (англ.) . Проверено 18 января 2008.
Ссылки
- Официальный сайт (англ.) (нем.) (фр.) (исп.) (итал.) (рус.)
- Nouveau in the press (англ.) . nouveau Wiki. — Ссылки на статьи о nouveau. Проверено 5 ноября 2007.
- The irregular Nouveau Development Companion (TiNDC). — Краткие изложения дискуссий на IRC‐канале #nouveau.
- Установка nouveau. — на примере Gentoo.
Технологии freedesktop.org | ||
---|---|---|
Компоненты | X.Org Server • D-Bus • Direct Rendering Infrastructure • HAL • DeviceKit • nouveau • GTK-Qt • Portland Project • Avahi • GNU FriBidi • Compiz • Create Project | |
Библиотеки | Cairo • Fontconfig • GStreamer • Pango • Mesa • Poppler • Swfdec • XCB • Xft | |
Frameworks | Galago • GeoClue • Telepathy |
Wikimedia Foundation . 2010 .
Полезное
Смотреть что такое «Nouveau» в других словарях:
nouveau — ● nouveau nom masculin Événements récents, circonstances nouvelles : Il y a du nouveau dans cette affaire. Chose neuve, originale : Il lui faut toujours du nouveau. ● nouveau (citations) nom masculin Jean de La Fontaine Château Thierry 1621 Paris … Encyclopédie Universelle
nouveau — ou, devant une voyelle ou une h muette, nouvel, nouvelle (nou vô ou nou vèl, nouvè l ) adj. 1° Qui est ou apparaît pour la première fois. • Qu y a t il de nouveau ? Votre vertu est si connue que, si je n en publie que ce que j en sais, je n y … Dictionnaire de la Langue Française d’Émile Littré
nouveau-né — nouveau né, nouveau née [ nuvone ] adj. et n. • fin XIIe; de nouveau « récemment » et né 1 ♦ Qui vient de naître. Un enfant nouveau né. Une petite fille nouveau née. Des faons nouveau nés. Fig. Une gloire nouveau née. 2 ♦ N. m. (1680) Enfant ou… … Encyclopédie Universelle
Nouveau-ne — Nouveau né Nouveau né 10 minutes après la naissance. Il a été étiqueté et traité contre l infection des yeux immédiatement après l accouchement. Un nouveau né est un enfant à partir de sa première heure de vie et jusqu à 28 jours. De 28 jours … Wikipédia en Français
Nouveau né — 10 minutes après la naissance. Il a été étiqueté et traité contre l infection des yeux immédiatement après l accouchement. Un nouveau né est un enfant à partir de sa première heure de vie et jusqu à 28 jours. De 28 jours … Wikipédia en Français
nouveau — Тип драйверы Операционная система Linux (ядро)/X11 (AMD64, x86, PowerPC), BSD/X11[1] Последняя версия 1.0 (17 июня 2012) Лицензия MI … Википедия
nouveau — Nouveau, ou Nouvel, Nouvelle. adj. Qui commence d estre ou de paroistre. Il faut observer que Nouveau au singulier ne se met jamais devant un substantif qui commence par une voyelle, ou par un H. non aspirée: & que Nouvel au contraire ne se met… … Dictionnaire de l’Académie française
nouveau — Nouveau, Il vient de Nouellus. Nouus, Recens. Nouveau et nouvellement fait, Rudis. Fruict nouveau, Crastinus fructus. Nouveau à la pratique, Tyro vsu forensi atque exercitatione. Tout nouveau, Nouitius. Emprunté et prins d ailleurs, qui n est pas … Thresor de la langue françoyse
NOUVEAU (G.) — Pour Louis Aragon, Nouveau est «non un poète mineur, mais un grand poète». «Avec délices, j’entends refleurir dans ses vers le chant grégorien», a dit de lui André Breton. Ces jugements magnifient ce poète singulier qui, par l’unité de sa vie et… … Encyclopédie Universelle
NOUVEAU — NOUVEAU, NOUVEAUTÉS. Il semble que les premiers mots des Métamorphoses d Ovide, In nova fert animus, soient la devise du genre humain. Personne n est touché de l admirable spectacle du soleil qui se lève ou plutôt semble se lever tous les… … Dictionnaire philosophique de Voltaire
Источник