Install nvidia driver run ubuntu

Содержание
  1. Проприетарный драйвер для видеокарт Nvidia
  2. Содержание
  3. Просмотр модели видеокарты
  4. Выбор версии драйвера
  5. Установка драйвера из официального репозитория Ubuntu (рекомендуется)
  6. Установка более новой версии драйвера из PPA
  7. Установка драйвера с официального сайта Nvidia (сборка из исходников)
  8. Удаление драйвера установленного из исходников
  9. Устранение возможных проблем
  10. Неправильно определяются разрешение и частота монитора
  11. Медленно работает (тормозит) интерфейс в Ubuntu на видеокартах Nvidia
  12. Исправление загрузочного экрана (Plymouth)
  13. Исправление загрузочного экрана (Plymouth) в Ubuntu 10.04, 10.10, 11.04, 11.10
  14. Дополнительные опции
  15. SLI режим
  16. Настройка TV-out
  17. Разгон видеокарт семейства nVidia Fermi
  18. Техническая поддержка nVidia
  19. How to Install Nvidia Driver on Ubuntu 20.04
  20. Check hardware Information of GPU
  21. Install Nvidia drivers using from GUI
  22. Install Nvidia driver from the command line (CLI)
  23. Verify using nvidia-smi
  24. Configure the Nvidia Graphics driver
  25. How to uninstall the proprietary Nvidia driver
  26. Uninstall Nvidia Driver through GUI
  27. Conclusion
  28. Ubuntu Documentation
  29. Introduction
  30. NVIDIA drivers provided by the Ubuntu repositories
  31. Installation
  32. Removing Nouveau (advanced/expert users)
  33. Installation without X / from the console
  34. Troubleshooting
  35. Installation Fails
  36. Driver Not Active
  37. Boot Splash Screen Issues
  38. Can’t Save Settings
  39. Some text (for example in menu) is rendered incorrect
  40. Suspend/Hibernation
  41. Onboard Graphics Chipset
  42. Low/Missing Screen Resolutions
  43. Low Resolution Icons and OS Features
  44. Screen Blanks/Monitor Turns Off
  45. Problems with Video Playback
  46. Creating Application Profiles
  47. NVIDIA Optimus
  48. Using prime-select method
  49. Using NVIDIA PRIME render offload method
  50. SLI / Multi-GPU
  51. SLI Application Profiles for ID Tech 4 Engine Games
  52. Filing bug reports
  53. NVIDIA driver from the Ubuntu repositories
  54. Reporting an upstream bug
  55. See Also

Проприетарный драйвер для видеокарт Nvidia

Содержание

В этой статье описаны установка, настройка, обновление, удаление проприетарного драйвера для видеокарт Nvidia.

Просмотр модели видеокарты

Модель видеокарты можно узнать выполнив команду в терминале:

Если в компьютере обнаружена только видеокарта Nvidia, значит вам подходят инструкции с этой страницы.

Если вывод команды показал две видеокарты Intel + Nvidia, значит вам нужно воспользоваться другой инструкцией: nVidia Optimus

Выбор версии драйвера

На сайте nvidia.ru и на форуме devtalk.nvidia.com можно посмотреть какие модели видеокарт поддерживаются той или иной версией драйвера.

Установка драйвера из официального репозитория Ubuntu (рекомендуется)

Запустите терминал и выполните команды:

Получится примерно такой вывод, в последней строке указано название используемого видео драйвера

Установка более новой версии драйвера из PPA

Для Ubuntu существует неофициальный репозиторий, в котором выкладываются новые версии драйверов, это драйверы собранные из исходников с сайта Nvidia упакованные в deb пакеты.

Получится примерно такой вывод, в последней строке указано название используемого видео драйвера

Установка драйвера с официального сайта Nvidia (сборка из исходников)

Получится примерно такой вывод, в последней строке указано название используемого видео драйвера

Удаление драйвера установленного из исходников

Для удаления достаточно одной команды, её можно выполнить в терминале, в консоли, в Recovery mode

После перезагрузки можно будет установить другой видеодрайвер.

Устранение возможных проблем

Неправильно определяются разрешение и частота монитора

..разрешение соответственно меняем на то, которое вам нужно

Медленно работает (тормозит) интерфейс в Ubuntu на видеокартах Nvidia

CPU — i386 HDD — 4Gbем в которых xorg.conf отсутствует можно изменить рассматриваемую опцию, поместив следующую команду в автозапуск:

Исправление загрузочного экрана (Plymouth)

Измените параметры загрузчика, для этого в терминале введите:

Найдите и добавьте/исправьте строчки на следующие, изменив разрешение на своё:

Возможно потребуется использовать 16-битную глубину цвета (GRUB_GFXMODE=1440x900x16)

Исправление загрузочного экрана (Plymouth) в Ubuntu 10.04, 10.10, 11.04, 11.10

Измените параметры загрузчика, для этого в терминале введите:

Найдите и добавьте/исправьте строчки на следующие, меняя «номер» и разрешение на свои:

Значение vga=«номер» для GRUB_CMDLINE_LINUX берется из вывода команды

Отредактируйте файл /etc/grub.d/00_header

Найдите строку и впишите нужное вам разрешение

Также сразу под этой строкой допишите

Далее в этом же файле найдите строку и замените в ней разрешение на нужное:

Добавьте в файл строку, меняя в ней разрешение на нужное:

Дополнительные опции

В некоторых случаях позволяет ускорить работу с шейдерами

Позволяет для видеокарт GF9xxx, GTX2xx и новее избежать разбиения изображения на 6 маленьких экранов

Наиболее часто помогает, опция убирает проверку различных параметров портов видеокарты и опций передаваемых монитором, но воспринимаемых системой ошибочно.

Выключает считывание EDID монитора, который используется системой как источник возможных режимов, диапазонов частот, а также считывания физических размеров дисплея и определения количества точек на дюйм.

Выключает тест памяти видеокарты на аппаратные ограничения пропускной способности.

Опция вызывает принудительную синхронизацию с точными таймингами, указанными в ModeLine, а не с приближенными к ним, которые указаны в EDID.

SLI режим

Настройка TV-out

Подключение TV настраивается обычно через Система⇒Администрирование⇒NVIDIA X Server Settings, но если после настройки так и не удается вывести изображение на TV, добавляем следующие строки в секцию «Screen»:

Режим опции «TVOutFormat» можно задать вручную, вписав вместо «AUTOSELECT» одно из следующих значений:

TVOutFormat Поддерживаемые TV форматы
«AUTOSELECT» PAL, NTSC, HD
«COMPOSITE» PAL, NTSC
«SVIDEO» PAL, NTSC
«COMPONENT» HD
«SCART» PAL, NTSC

Режим опции «TVStandard» можно менять взависимости от того формата который вам нужен, вписав вместо «PAL-B» одно из следующих значений:

TVStandard Описание
«PAL-B»
«PAL-D»
«PAL-G»
«PAL-N»
«NTSC-J»
«NTSC-M»
«HD480i»
«HD480p»
«HD576i»
«HD576p»
«HD720p»
«HD1080i»
«HD1080p»

Разгон видеокарт семейства nVidia Fermi

Для активации возможности разгона формируем и редактируем xorg.conf:

В секцию «Device» добавляем следующую строку:

, сохраняем файл и перезапускаем иксы. Теперь через утилиту nvidia-settings в разделе PowerMizer вам доступно управление частотами памяти и ядра. Данные настройки будут сбрасываться каждый новый сеанс. Если вы хотите сохранить установленные настройки разгона, сформируйте конфиг-файл .nvidia-settings-rc в домашнем каталоге пользователя, сохранив текущую конфигурацию через nvidia-settings, и добавьте в полученный файл следующие строки:

, где числовые значения — разгон частот ядра и памяти соответственно. Остается добавить команду

в автозапуск, и ваш разгон будет применяться при каждом новом сеансе.

Техническая поддержка nVidia

Если при использовании проприетарного драйвера nVidia у вас возникнут какие-либо проблемы вы можете обратиться в техническую поддержку компании nVidia:

Источник

How to Install Nvidia Driver on Ubuntu 20.04

As Linux getting more user friendly, game developers are adding more support thanks to Steam. The performance of graphics processing units (GPUs) mainly depends on drivers. Ubuntu by default use open source video driver Nouveau which has limited support and features when compared with proprietary Nvidia drivers.

The proprietary Nvidia driver is essential to Ubuntu users looking to play games. However, if you are a basic user, there is no need to have this driver installed, as the open-source one works just fine.

In this tutorial, we are going to learn different ways to install Nvidia drivers on Ubuntu 20.04 LTS.

Check hardware Information of GPU

Before installing Nvidia drivers on Ubuntu, ensure that you have Nvidia GPU in your system. There are lots of commands available to get Linux hardware details.

To confirm this, simply run the following hwinfo command.

You can check which card is being used by the prime-select command:

The lshw command can display hardware and driver details of the currently used Nvidia card.

The lspci command is another option to get the GPU hardware details.

If you have installed inxi tool, run the following command.

Install Nvidia drivers using from GUI

Lets first check how to install Nvidia driver from the graphical user interface. On the main menu, type «software update manager» and click on it to open.

On the software updater pop-up, click on the ‘Settings & Livepatch‘ button as shown.

This will launch the ‘Software and Updates‘ window as shown below:

At the top-most section of the ‘Software and updates’ windows, be sure to find a couple of options displayed which include Ubuntu software, other software, updates e.t.c. In this case, click on Additional Drivers, you can see there, the ‘Nvidia — driver -435’ (proprietary, tested) is set up as default driver used for Nvidia card, along with some proprietary divers listed.

Both, ‘Nvidia — drivers 430’ (proprietary) and ‘Nvidia — drivers 390’ (proprietary) are available for GeForce GTX 1080 Ti card. Select the first option to install Nvidia driver 430. When you are done, click on the Apply changes button to install the driver.

Then wait for the download to complete from the internet and click on the close button.

Reboot your computer for the changes to take effect. Run the following to reboot your PC.

Install Nvidia driver from the command line (CLI)

Then, run the following commands to check the list of driver devices available for the Nvidia card from the default Ubuntu repository.

There are four Nvidia drivers available for the GeForce MX130 model. They include the Nvidia driver -440 non-free (which is recommended for Ubuntu system), Nvidia driver -435, and -390 distro non-free and the nouveau distro free builtin opensource video driver (default). Now you can run the following commands to install the specific driver you want.

After the Nvidia diver has been installed, we have to reboot the computer in order to allow Nvidia prime (which is the technology) to switch in between the Intel Graphics and the Nvidia Graphics card.

Verify using nvidia-smi

The nvidia-smi command line is a utility that is used for providing monitor and management capabilities for each and every devices i.e Nvidia Tesla, GRID, Quadro, and GeForce from Fermi and other higher architect families. Open the Terminal application and run the following command to see the Graphics Processing Unit and the process that is using the Nvidia GPU.

Configure the Nvidia Graphics driver

The Nvidia settings command starts a Graphics User Interface(GUI) tool for configuration of Nvidia Graphics driver. This enables you to have a glance at all the GPU information and configure external monitors that are connected to your system.

Run the command below to launch the ‘Nvidia and Server Settings‘ window.

How to uninstall the proprietary Nvidia driver

From open forums, I have noticed many users end up issues with removing Nvidia drivers and reinstalling. Let me share the steps I have followed to successfully uninstall the Nvidia driver and switch to the nouveau driver.

Step 1: Run the following command to confirm Nvidia drivers are installed in your system.

Step 2: Run the following commands to uninstall the proprietary Nvidia driver.

Note that, the use of purge command will remove Nvidia diver together with all configurations that will be made. Run the flowing command to reinstall the Ubuntu desktop package.

Step 3: Run these commands to switch back to the nouveau driver.

Step 3: Remove the Xorg configuration file

Run the rm command to remove the Xorg configuration file

Step 4: After that, reboot your system.

Uninstall Nvidia Driver through GUI

Uninstalling the Nvidia driver using a GUI is quite easy. First, locate the ‘software & Updates’ app then click on it to open. Once it has opened, select on the Additional Drivers tab.

This will display all the Nvidia drivers that are available on Ubuntu. On the list under the ‘Nvidia Corporation,’ select » using X.Org X server — Nouveau display.» This option will pass up the Nvidia graphics diver and it will install Nouveau display driver. For changes to take effect, click on the Apply changes button, and wait for some minutes.

Once Nvidia driver is uninstalled, a message will display saying, «No proprietary drivers are in use» Now close the Software & Updates application and then reboot your computer.

Conclusion

In this tutorial, we have covered two ways that you can use to install Nvidia drivers on Ubuntu 20.04 LTS.

With that said, Nvidia is bringing Vulkan which is intended to offer higher performance and more balanced CPU/GPU usage driver to Linux, a replacement for OpenGL.

In recent years Redhat developers are adding extra code to Nouveau improve opensource code to make it much better, let’s hope the near future we could use it for the modern game.

From Ubuntu 19.10, proprietary Nvidia drivers are available on install media (ie in ISO), which will bring a better fresh install experience for ubuntu users.

If you have any questions or feedback, feel free to leave a comment.

Источник

Ubuntu Documentation

Introduction

By default Ubuntu will use the open source video driver Nouveau for your NVIDIA graphics card. This driver lacks support for 3D acceleration and may not work with the very latest video cards or technologies from NVIDIA.

An alternative to Nouveau are the closed source NVIDIA drivers, which are developed by NVIDIA. This driver provides excellent 3D acceleration and video card support.

NVIDIA drivers provided by the Ubuntu repositories

What package one would use depends on the version of Ubuntu one is using, and what graphics card one has installed.

Installation

Usually you will see a notification and/or an icon in the top panel, reminding you that restricted drivers are available.

By clicking the icon you will be taken to a dialog where you can choose which version you want to install, choose the recommended driver.

If you are using an older version of Ubuntu, or if you aren’t notified about additional drivers, you can launch the installation yourself.

Go to Software & Updates -> Additional Drivers

  • Once the drivers are downloaded and installed, reboot your computer.
  • Removing Nouveau (advanced/expert users)

    Nouveau is installed by default. It’s possible to remove it completely, but it is not necessary and therefore not recommended.

    If you still desire to remove it, you can do so by entering the following command in a terminal:

    Installation without X / from the console

    The jockey-text command was removed with the release of Ubuntu 14.04. You can now use ubuntu-drivers to get the list of packages for each driver, and then install the packages using apt-get. For example:

    Troubleshooting

    Installation Fails

    If the restricted driver remains unactivated after attempting to activate it in the Additional Drivers dialog, you may not have the appropriate linux headers installed to compile the driver. Ensure that the linux-headers-XXX and linux-restricted-modules-XXX packages are installed, where XXX matches the version of the kernel you are using.

    If the activation hangs on download/install dialog, you can install the driver using System -> Administration -> Synaptic Package Manager, make sure you pick the latest driver version recommended by the Additional Drivers tool and all its dependencies. Then go to the Additional Drivers tool and activate the driver you just installed.

    Driver Not Active

    X has not been configured to use the new driver. Open a terminal, run sudo nvidia-xconfig, and restart X (reboot works).

    If you have full disk encryption enabled you have to run the command

    Boot Splash Screen Issues

    Open up a Terminal and install the Startup-Manager:

    Launch the Startup Manager from System -> Administration -> Startup-Manager.

    In the Boot options tab, change the resolution to something your monitor can handle (1024×768 is usually enough for the boot screen to look nice).

    Change the color depth to 24 bits and press the Close button, reboot your system.

    Can’t Save Settings

    nvidia-settings can’t write to xorg.conf if it hasn’t been started with administration privileges. Make sure you start nvidia-settings with the following command:

    Some text (for example in menu) is rendered incorrect

    With a Ge Force 7600, after installation of the nvidia driver in Ubuntu 14.04 some text and icons are rendered incorrectly, sometimes content is displayed distorted in a triangle instead of a rectanglar window, and X resets intermittently.

    Using nouveau the XGA resolution 1024×768 is configured and works. However, manually changing to a different resolution with xrandr, etc. fails.

    In order to address these issues, install nvidia-304-updates driver, and change the resolution from auto to something different in nvidia X server settings.

    Suspend/Hibernation

    If you use an old NVIDIA driver, hibernation and/or suspend may not work. Here is a potential work around:

    We need to edit xorg.conf, open a terminal and enter the following command:

    In the section called Section "Device" add Option "NvAGP" "1", you should end up with something like this:

    Blacklist the intel_agp module from being loaded by the kernel. This is done by editing blacklist.conf, open a terminal and type:

    Then add the following line: Reboot your system.

    Onboard Graphics Chipset

    Low/Missing Screen Resolutions

    Often screen resolutions on offer are far lower than those offered with the open source driver. The NVIDIA binary driver seems to be very weak at reliably probing this information from the monitor and relies on additional information in xorg.conf.

    To fix this you can add more resolutions by entering the following in a terminal:

    Replace the dots with the desired resolution. For further details and potential workarounds see X config resolutions.

    Low Resolution Icons and OS Features

    If you have problems with low resolution icons, shortcuts and menus placed strangely, and especially desktop size not matching your monitor, this may be due to a bug with multiple monitor setup. If you’ve previously setup a second monitor and have it plugged in but not turned on, Ubuntu/Xubuntu may be counfounded by this. The simplest method to resolve this is to remove the redundant cable from your machine and reboot. Additionally, install arandr (GUI for xrandr editing) and setup two profiles, one with the secondary monitor and one without. Removal of redundant cable when not in use is nonetheless still recommended. This problem was experienced in Ubuntu and Xubuntu.

    Screen Blanks/Monitor Turns Off

    Using a laptop with a GeForce Go card, or connecting the sole display via DVI on a dual-head system sometimes results in the screen not receiving a picture. This is caused by the driver outputting video to the VGA port on the graphics card, instead of DVI.

    The usual hint that you have this problem is when you hear the startup sound but nothing appears on the screen. If you do not hear any sound, you are more than likely experiencing unrelated problems.

    This is a bug about displays on digital outputs being blank when using NVIDIA driver, and can be resolved by editing your /etc/X11/xorg.conf file:

    Switch to the console by using ctrl+alt+F1, or reboot and select recovery mode from the GRUB menu.

    Open and edit xorg.conf like this: sudo nano /etc/X11/xorg.conf.

    Find the line that says: Section "Screen"

    Insert a new line that says Option "UseDisplayDevice" "DFP".

    Save the file. If you had to restart into recovery mode, type reboot, otherwise restart your display using sudo /etc/init.d/gdm restart.

    Problems with Video Playback

    If you have problems with video playback in e.g. mplayer, gxine, or mythtv frontend with a legacy card, it may be due to too high a color depth (e.g. using NT6 Vanta/Vanta LT «nvidia» driver, I experienced flickering vertical bars & blue screen flashing). To fix this, manually edit /etc/X11/xorg.conf and change DefaultDepth to 16.

    Creating Application Profiles

    nVidia X Server Settings has an application profiles editor much like the Windows counterpart (nVidia Control Pannel) that allows you to set special parameters per-application. For manual text file editing read the Application Profiles ReadMe included in the nVidia for Linux Driver ReadMe. It is quite detailed on where the file locations are, how to enable or disable application profiles completely and what arguments you can use.

    For using the nVidia X Server Settings? Follow this basic guide (I’ll use Quake 4 as an example)

    • Open up nVidia X Server Settings
    • Go to «Application Profiles»
    • Make sure the check box is selected for «Enable Application Profiles» otherwise the Application Profiles won’t work.
    • Click the Add (+) Button for detection rules to «Add a Rule»
    • Make sure for «Rule Pattern» the feature will be used if «Process Name (procname)» is selected
    • For «Matches this string» put in the application name (in this example, quake4)
    • For «Rule Profile» click on «New Profile»
    • In the new popup window, change the profile name to something easy to reference to (in this example I’ll name it the same as quake4app)

    Now, enter any profile settings. You can find the full list in the Application Profiles ReadMe. (in this example, we would select «GLDoom3» from the drop-down menu list to create an SLI Profile for ID Tech 4 Engine-based games)

  • Change the value to whatever you’d like. (in this example, we would set «GLDoom3» Boolean value to «true»)
  • Save and close the open windows for the Application profile and the detection rule. (The Add (+) button in the bottom right next to the cancel logo)
  • We’ve now created an application profile. One of these days I will list the different process names for ID Tech 4 engine-based games for Linux and their procname’s so anyone could easily create working SLI Profiles for these games. I’ve attempted to use GLDoom3 on other game engines such as the Spark Engine used by Natural Selection 2. sadly it only made the game run at the speed of one GPU, still not enabling the second one to work in SLI outside the ID Tech 4 Engine.

    For which application profile variables one can use please refer to OpenGL Environment Variables in the nVidia for Linux driver’s ReadMe (link current to 343.22)

    NOTE: The OpenGL Environment Variables are not all listed in the ReadMe. GLDoom3 for example is only discussed in the SLI portion of the driver’s ReadMe.

    NVIDIA Optimus

    Nvidia Optimus is a computer GPU switching technology created by Nvidia which, depending on the resource load generated by client software applications, will seamlessly switch between two graphics adapters within a computer system in order to provide either maximum performance or minimum power draw from the system’s graphics rendering hardware.

    A typical platform includes both a lower-performance integrated graphics processor by Intel and a high-performance one by Nvidia. Optimus saves battery life by automatically switching the power of the discrete graphics processing unit (GPU) off when it is not needed and switching it on when needed again. Unfortunately, automatic switching between integrated GPU and discrete GPU is not fully supported in Linux.

    There are several options available in Ubuntu:

    Using prime-select method (nvidia-graphics-drivers-435 or older)

    Using NVIDIA PRIME render offload method (nvidia-graphics-drivers-435 or newer)

    Using prime-select method

    You can use either integrated Intel GPU or discrete NVIDIA GPU with this method. After installing proprietary NVIDIA Driver, to switch integrated Intel GPU, simply run this command:

    To switch NVIDIA GPU, run this command:

    NOTE: After running the commands above you have to reset your computer or logout then login to your session.

    To determine which GPU is being used, run this command:

    If you don’t prefer using terminal, you can switch between cards with NVIDIA X Server Settings:

    Using NVIDIA PRIME render offload method

    This method is available since NVIDIA Driver 435.17. After installing proprietary NVIDIA Driver, X Server should automatically configure NVIDIA PRIME render offload, but for some reason if you need to configure this explicitly, for example if you have a dual screen setup, create a new configuration:

    Fill the configuration with the following content:

    After rebooting your system PRIME render offload should be available for your system. Make sure that you’ve selected this option in NVIDIA X Server Settings:

    To run the graphical application with discrete GPU, use this command:

    Or you can install prime-run package from Launchpad PPA, which is a packaged version of the command above.

    Alternatively, if you are using GNOME Desktop Environment 3.36 and newer, you can right click to applications in application dock and select Launch using Dedicated Graphics Card option.

    NOTE: NVIDIA Pascal and lower architecture graphics cards does not fully power off with this method for the time being.

    SLI / Multi-GPU

    NOTE: This was last tested with nVidia 343.13 drivers. Despite these drivers adding support for the GTX Titan Z, a Multi-GPU videocard it still does not support SLI. So, the GTX Titan Z is reduced to a single GTX Titan in Linux. The same goes for other nVidia Multi-GPU cards such as the GTX 690. sad

    Current limitations (last tested on 343.22) on nVidia’s drivers are as follows:

    Linux only support SLI & Multi-GPU (Two-GPUs-on-one cards such as the GTX 690) can be enabled, but only via command prompts in the Terminal.

  • Only works on desktop platforms, SLI on mobile GPU’s is unsupported.
  • Only ID Tech 4 Engine games are officially supported in SLI by creating an «Application Profile» with GLDoom3 set to «true». Games on ID Tech 4 engine includes Quake 4, Enemy Territory: Quake Wars, Doom 3, Prey and Open Source games on ID Tech 4 include The Dark Mod.
  • GPUs with ECC enabled may not be used in an SLI configuration.
  • SLI on Quadro-based graphics cards always requires a video bridge.

    TwinView is also not supported with SLI or Multi-GPU. Only one display can be used when SLI or Multi-GPU is enabled, with the exception of Mosaic.

  • If X is configured to use multiple screens and screen 0 has SLI or Multi-GPU enabled, the other screens configured to use the nvidia driver will be disabled. Note that if SLI or Multi-GPU is enabled, the GPUs used by that configuration will be unavailable for single GPU rendering.
  • Alternate Frame Rendering (AFR) and Split Frame Rendering (SFR) are supported in Linux. AFR2 is not supported nor is it planned for Linux.
  • Alternate Frame Rendering (AFR) is supported. This SLI mode uses each card to render one frame then the next card renders the following. For example, in two-way AFR, GPU1 renders frames 1, 3, 5, etc. and GPU2 renders 2, 4, 6, etc. Outside of the ID Tech 4 engine Alternate Frame Rendering does not work on any card other than the first which causes framerates to drop by 50%. This is a known bug and nVidia are currently working on this issue.

    SLI Profiles are NOT included with the drivers unlike the Windows version of the nVidia drivers. They must be manually created for ID Tech 4 Engine-based games. To learn how to make them yourself, please read the Creating Application Profiles section of this wiki page.

    Split Frame Rendering (SFR) is also supported. This mode uses the first GPU to render the top half of the screen, and the second GPU to render the bottom half. This mode also does not function correctly outside of ID Tech 4. It will still render the full screen, but only at the speed of a single GPU.

    Alternate Frame Rendering mode 2 (AFR2) is NOT supported in Linux. This mode is opposite of Alternate Frame rendering by instead using the last GPU as the primary, and every GPU above it as the next in line. For example, in three-way AFR2? GPU3 renders frames 1, 4, 7, etc. GPU2 renders frames 2, 5, 8, etc. and GPU1 renders frames 3, 6, 9, etc. In Windows, AFR2 is the preferred SLI mode as it tends to yeild higher performance over AFR. My theory is because GPU1 is the primary card for video out, it uses a different GPU for the primary calculations it better balances the work load. I have not seen any documentation as to the specific reason AFR2 performs better.

    Despite what was mentioned above, if you wish to try SLI here’s how to enable it via the terminal:

    • Open up Terminal.
    • Use the following command of your choice: sli=on (enables SLI) sli=auto (Allows nvidia-xconfig to automatically enable SLI if it detects an SLI-ready setup) sli=afr (enables SLI in AFR mode) sli=sfr (enables SLI in SFR mode).

    Terminal commands:

    • Put in your password
    • Reboot Ubuntu (sudo reboot via terminal or via the GUI)
    • Open up the «nVidia X Server Settings» program
    • Select any GPU in the list, and look for the screen output. If SLI is indeed enabled? It will say «(SLI)» at the end of the detected screen output.

    The Only difference is if you have a Multi-GPU (such as the GTX 690) you change the argument of sli to multigpu. Terminal commands:

    If you have Multi-GPU cards in your system in SLI (such as two GTX 690’s with the appropriate SLI bridge) you just have to mix the commands together. Terminal commands:

    SLI Application Profiles for ID Tech 4 Engine Games

    The Application profile examples I have below are for:

    Enemy Territory: Quake Wars (etqw-rthread.x86 & etqw.86)
    Doom III (doom.x86)

    Quake IV (quake4smp.x86 & quake4)

  • Prey (prey.x86)
  • The Dark Mod (thedarkmod.x86)
  • NOTE: This list was compiled with NVIDIA 343 drivers.

    Essentially, just enable «GLDoom3» and also «GLThreadedOptimizations». One may also setup an «AlwaysOn» profile setting for «GLThreadedOptimizations» as an example of settings you can always have activated. It’s up to you to leave it on or disable it since there’s the chance it can affect your OpenGL performance negatively.

    To use these application profiles, one way is via the file manager.

    • Open your File Manager.
    • go to your «Home» folder.
    • Tap «CTRL» and «H» to toggle hidden folders and files.
    • Go into the «.nv» folder.
    • Open the file «nvidia-application-profiles-rc» in a text editor (or if it doesn’t exist, create the text file).

    Copy and paste the following into the file and save (the last part with «alwaysapplied» is optional but is recommended for enabling Threaded Optimizations on all OpenGL apps). Some older apps might have compatibility issues but you can always make a custom application profile with the «GLThreadedOptimizations» set to «false»):

  • Save and exit.
  • Open up the «nVidia X Server Settings» application.
  • Browse to «Application Profiles».
  • if the «nvidia-application-profiles-rc» didn’t properly load the modified configuration? Click the «Reload» button. It looks like a green circle with two circular arrows.
  • Filing bug reports

    NVIDIA driver from the Ubuntu repositories

    If one is using a NVIDIA driver package from a supported Ubuntu repository (not downloaded from NVIDIA’s website directly), then one is welcome to file a new report via a terminal:

    Please ensure you have xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

    As well, please ensure all of the below are tested and provided:

    • Did this happen with a prior version of the NVIDIA driver?
    • Did this issue happen in a prior release of Ubuntu?
    • Does this still occur with a later version of the NVIDIA driver provided by the Ubuntu repositories?
    • Is this an issue with the latest version downloaded directly from NVIDIA’s website?

    If the issue is not reproducible in the version from NVIDIA’s website, then the issue would be a downstream (Ubuntu) issue.

    If the issue is reproducible in the version from NVIDIA’s website, the next step is to report a bug upstream as per below.

    Reporting an upstream bug

    If either your downstream bug report is marked Triaged, or you are using the drivers from NVIDIA’s website directly, one will want to file a bug report via the NVIDIA Bug Submissions website.

      Choose OS — Linux/Other Unix

    Product Name — This may be gathered by executing at a terminal

    Driver Version — This may be gathered by executing at a terminal:

    Question — This is where one would describe the problem, put click-for-click steps on how to reproduce the problem verbatim, and provide operating system information gathered from a terminal:

    Next, one would want to contact NVIDIA customer care via Live Chat in order to identify a WORKAROUND, and generate a trackable case number regarding your problem.

    See Also

    NvidiaManual — Guide to installing the official NVIDIA driver from the NVIDIA website on Ubuntu. Explains the drawbacks and benefits of manual installation and how to safely avoid conflicts with the Ubuntu provided NVIDIA binary drivers.

    https://www.nvidia.com NVIDIA’s homepage for driver downloads, submit support cases, and post on their forums.

    BinaryDriverHowto/Nvidia (последним исправлял пользователь bw3u 2021-08-06 11:33:13)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details

    Источник

    Читайте также:  Iphone с процессором a13
    Adblock
    detector