You are not logged in.
1. Install NVIDIA firmware for nouveau driver:
$ mkdir /tmp/nouveau
$ cd /tmp/nouveau
$ wget https://raw.github.com/envytools/firmware/master/extract_firmware.py
Get NVIDIA proprietary driver from official NVIDIA site for your GPU, example
$ wget http://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
Extract and install NVIDIA firmware to your computer:
$ sh NVIDIA-Linux-x86-325.15.run --extract-only
$ python2 extract_firmware.py # this script is for python 2 only
# mkdir /lib/firmware/nouveau
# cp -d nv* vuc-* /lib/firmware/nouveau/
2. Best Xorg.conf configuration for NVIDIA Nouveau driver. With this code, you must create a config file /usr/share/X11/xorg.conf.d/10-nouveau.conf:
Section "Module"
Load "bitmap"
Load "ddx"
Load "ddc"
Load "dri2"
Load "GLCore"
Load "extmod"
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "Device"
Option "WrappedFB" "true"
Option "SwapLimit" "2"
Option "AccelMethod" "exa"
Option "DRI" "2"
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection
Section "ServerFlags"
Option "DRI2" "true"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Files"
ModulePath "/lib/xorg/modules/drivers/"
EndSection
You can use a more powerful and modern implementation - DRI3 instead of DRI2 in this configuration file, if you don't have any glitches or artifacts in the graphics system. "AccelMethod" for DRI3 by default is "glamor". "SwapLimit" "2" - is turn on triple buffer for Nouveau for fix many problem with graphics system, example in KDE5. "WrappedFB" "true" - is recommend for old NVIDIA GPU. "Mode 0666" - work mode driver, you can change this mode to "664" for high security.
3. Tuning kernel parameters for Nouveau driver.
You must add the following information to your /etc/default/grub file in the "GRUB_CMDLINE_LINUX_DEFAULT =" section:
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_backlight=vendor drm.rnodes=1 nouveau.pstate=1 nouveau.runpm=1"
And run
update-grub
in your console for refresh grub boot configuration.
4. After all these changes, you can reboot your computer and get not only a significant performance boost for your free Nouveau driver, but also the hardware media decoding available for the proprietary NVIDIA driver.
I was forced to publish this information for NVIDIA GPUs due to the fact that in Devuan Linux proprietary NVIDIA drivers do not install loosely. This solution will help people using Devuan Linux, as well as other Linux distributions without the systemd virus, in solving the problem with installing NVIDIA drivers, which, without sacrificing functionality, can now be replaced with the free Nouveau driver according to the method I described. I hope that this information, which I have collected, will be useful to many people with NVIDIA GPUs.
Offline
Install NVIDIA firmware for nouveau driver
Most of the NVIDIA firmware is provided by the firmware-misc-nonfree package.
Best Xorg.conf configuration for NVIDIA Nouveau driver
I would encourage people to read nouveau(4) and make their own decisions about the various options. A blanket approach seems unhelpful (IMO).
Brianna Ghey — Rest In Power
Offline
Eaglet wrote:Install NVIDIA firmware for nouveau driver
Most of the NVIDIA firmware is provided by the firmware-misc-nonfree package.
Eaglet wrote:Best Xorg.conf configuration for NVIDIA Nouveau driver
I would encourage people to read nouveau(4) and make their own decisions about the various options. A blanket approach seems unhelpful (IMO).
I do not impose anything on anyone. But it's better to read and use the original sources: https://nouveau.freedesktop.org/
The primary sources provide more information and are more up-to-date than the Debian documentation.
Offline
are more up-to-date than the Debian documentation.
But the De??an documentation is for the version supplied for that branch whereas the upstream documentation refers to the latest versions.
Last edited by Head_on_a_Stick (2021-06-26 18:16:42)
Brianna Ghey — Rest In Power
Offline
Eaglet wrote:are more up-to-date than the Debian documentation.
But the De??an documentation is for the version supplied for that branch whereas the upstream documentation refers to the latest versions.
Documentation can be found in the primary sources for any version. Primary sources have more information written in more understandable language.
Offline
Get NVIDIA proprietary driver from official NVIDIA site for your GPU
If you absolutely must have the proprietary closed-source drivers, do not download them directly from the manufacturer's website! Installing drivers this way only works for the current kernel, and after the next kernel update, your video drivers will not work until they are manually reinstalled again.
What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
----+- Peter Kropotkin -+----
Offline
Get NVIDIA proprietary driver from official NVIDIA site for your GPU
If you absolutely must have the proprietary closed-source drivers, do not download them directly from the manufacturer's website! Installing drivers this way only works for the current kernel, and after the next kernel update, your video drivers will not work until they are manually reinstalled again.
You are not right! The firmware is independent of the Linux kernel version and driver version. So there won't be any problems. ;-)
Last edited by Eaglet (2021-06-28 23:32:50)
Offline