- Как разогнать видеокарты Nvidia в Linux
- Установить GreenWithEnvy
- Другие способы установки GreenWithEnvy
- Ubuntu
- Debian
- Arch Linux
- Fedora
- OpenSUSE
- Ubuntu
- Debian
- Arch Linux
- Fedora
- OpenSUSE
- Разгон с GreenWithEnvy
- Вернуть разгон
- leinardi/gwe
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Как разогнать видеокарты Nvidia в Linux
Видеокарты Nvidia являются стандартом для Linux из-за хороших проприетарных графических драйверов. Из всех других поставщиков графических процессоров Nvidia предоставляет достойные (хотя и с закрытым исходным кодом) графические драйверы, которые позволяют видеоиграм довольно хорошо работать на платформе.
Тем не менее, графические процессоры Nvidia иногда недостаточно эффективны в Linux по сравнению с Windows из-за технологии, лежащей в основе Linux. К счастью, эти недостатки производительности легко обойти, разогнав оборудование.
Есть несколько способов разогнать видеокарты Nvidia в Linux, но самый простой способ сделать это с небольшими проблемами — установить графический инструмент GreenWithEnvy, поскольку он позволяет пользователям использовать простой графический интерфейс для предоставления информации и разгона видеокарт Nvidia.
ВНИМАНИЕ: не пытайтесь разогнать видеокарту Nvidia, если вы не уверены, что у вас есть блок питания, способный справиться с дополнительными накладными расходами. Чтобы узнать о своем энергопотреблении и уровне потребляемой мощности, перечислите свои компоненты в этот калькулятор БП.
Программы для Windows, мобильные приложения, игры — ВСЁ БЕСПЛАТНО, в нашем закрытом телеграмм канале — Подписывайтесь:)
Установить GreenWithEnvy
Есть несколько способов установить приложение разгона GreenWithEnvy Nvidia в Linux. По словам разработчика, предпочтительный способ заставить приложение работать — через Flatpak. Причина использования Flatpak в том, что программное обеспечение поставляется готовым к работе, без необходимости что-либо компилировать.
Прежде чем мы перейдем к тому, как установить приложение GreenWithEnvy таким образом, важно поговорить о среде выполнения Flatpak, потому что без нее установка и запуск этой программы невозможны.
Среду выполнения Flatpak довольно легко установить в большинстве популярных дистрибутивов Linux. Чтобы запустить его, откройте окно терминала. Затем нажмите на это руководство, чтобы узнать, как все работает.
После завершения установки среды выполнения Flatpak можно безопасно установить приложение GreenWithEnvy в вашей системе Linux, введя следующие команды в окне терминала.
Другие способы установки GreenWithEnvy
Не можете использовать Flatpak и вам нужно использовать приложение GreenWithEnvy в вашей системе? К счастью для вас, разработчик упростил установку программы в самых разных дистрибутивах Linux, скомпилировав ее из исходного кода.
Компиляция программ из исходного кода в Linux начинается с установки всех файлов зависимостей, необходимых для сборки программного обеспечения без каких-либо ошибок. Чтобы эти зависимости работали, запустите окно терминала и введите команды, соответствующие используемой вами ОС.
Ubuntu
Debian
Arch Linux
В Arch Linux нет необходимости вручную устанавливать зависимости для GreenWithEnvy. Вместо этого соберите и установите пакет AUR в терминал с помощью приведенных ниже команд.
Fedora
OpenSUSE
К сожалению, разработчик не описывает зависимости для установки OpenSUSE. Попробуйте использовать зависимости Fedora, указанные выше, поскольку они похожи. Или, если они не работают, придерживайтесь версии Flatpak.
Позаботившись о зависимостях, соберите и установите GreenWithEnvy из исходного кода, используя следующие команды терминала.
Наконец, установите пакет Nvidia-xconfig в свою систему, а затем используйте его для перевода графического процессора в режим разгона.
Ubuntu
Предполагая, что вы используете последние версии драйверов графического процессора Nvidia в Ubuntu, nvidia-xconfig приложение должно быть установлено.
Debian
Arch Linux
В nvidia-xconfig Пакет поставляется с драйверами Nvidia по умолчанию в Arch, поэтому нет необходимости устанавливать его как отдельный пакет.
Fedora
OpenSUSE
Пакет nvidia-xconfig включен в драйверы OpenSUSE Nvidia.
Разгон с GreenWithEnvy
Разгон видеокарты — дело непростое. Вообще говоря, лучше всего делать настройки небольшими приращениями. Для достижения наилучших результатов следуйте инструкциям и не отклоняйтесь, если вы не являетесь экспертом!
Чтобы начать разгон, запустите GreenWithEnvy на вашем компьютере с Linux. Как только приложение откроется, посмотрите на температуру карты. Понаблюдайте за статистикой, чтобы убедиться, что она не соответствует «ТЕМПЕРАТУРА ЗАМЕДЛЕНИЯ» или «ТЕМПЕРАТУРА ВЫКЛЮЧЕНИЯ».
Предполагая, что температура хорошая, перейдите к разделу «Мощность». Затем с помощью мыши перетащите ползунок вверх примерно на 5% и нажмите кнопку «Применить». Например, если ваша сила установлена на 120, увеличьте ее до 125.
Немного поработайте на компьютере и займитесь чем-нибудь графически насыщенным, например, посмотрите HD-видео или запустите видеоигру, и проверьте, все ли работает стабильно. Если проблемы не исчезнут, смело увеличивайте мощность еще на 5-10%.
Вернуть разгон
Недовольны своим разгоном? Откройте приложение GreenWithEnvy на рабочем столе Linux и найдите раздел «Power». После этого посмотрите на ползунок и верните его по умолчанию.
Примечание: не знаете, что такое значение по умолчанию? Это вертикальная линия на слайдере.
После установки значения по умолчанию на ползунке нажмите «Применить», чтобы подтвердить изменения.
Программы для Windows, мобильные приложения, игры — ВСЁ БЕСПЛАТНО, в нашем закрытом телеграмм канале — Подписывайтесь:)
leinardi/gwe
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
GWE is a GTK system utility designed to provide information, control the fans and overclock your NVIDIA video card and graphics processor.
- Show general GPU stats (model name, driver version, gpu/memory/power usage, clocks, temps, etc)
- GPU and Memory overclock offset profiles
- Custom Fan curve profiles
- Change power limit
- Historical data graphs
If you don’t like to reading manuals and/or you don’t know what the Nvidia CoolBits are, you can watch the following How To made by Intelligent Gaming:
Install from Flathub
This is the preferred way to get GWE on any major distribution (Arch, Fedora, Linux Mint, openSUSE, Ubuntu, etc).
If you don’t have Flatpak installed you can find step by step instructions here.
Make sure to have the Flathub remote added to the current user:
Bumblebee and Optimus
Currently Flatpak does not support Bumblebee. If you want to use GWE with Bumblebee you need to install it from the source code.
Distro specific packages
Install the gwe package from the AUR using your favourite helper, for example yay -S gwe .
GWE avaliable in official Fedora repos for F31+: sudo dnf install gwe
For older Fedora releases you can use COPR package: sudo dnf copr enable atim/gwe -y && sudo dnf install gwe
Install from source code
Build time dependencies
Distro | pkg-config | Python 3.6+ | gobject-introspection | meson | ninja-build | appstream-util |
---|---|---|---|---|---|---|
Arch Linux | pkg-config | python | gobject-introspection | meson | ninja | appstream-glib |
Fedora | pkgconf-pkg-config | python3-devel | gobject-introspection-devel | meson | ninja-build | appstream-util |
OpenSUSE | pkgconf-pkg-config | python3-devel | gobject-introspection-devel | meson | ninja-build | appstream-glib |
Ubuntu | pkg-config | python3-dev | libgirepository1.0-dev | meson | ninja-build | appstream-util |
Run time dependencies
Distro | Python 3.6+ | pip | gobject-introspection | libappindicator | gnome-shell-extension-appindicator | libdazzle |
---|---|---|---|---|---|---|
Arch Linux | python | python-pip | gobject-introspection | libappindicator3 | gnome-shell-extension-appindicator | libdazzle |
Fedora | python3 | python3-pip | gobject-introspection-devel | libappindicator-gtk3 | gnome-shell-extension-appindicator | libdazzle |
OpenSUSE | python3 | python3-pip | gobject-introspection | libappindicator3-1 | gnome-shell-extension-appindicator | typelib-1_0-libdazzle-1_0 |
Ubuntu | python3 | python3-pip | libgirepository1.0-dev | gir1.2-appindicator3-0.1 | gnome-shell-extension-appindicator | libdazzle-1.0-dev |
plus all the Python dependencies listed in requirements.txt
Clone project and install
If you have not installed GWE yet:
Update old installation
If you installed GWE from source code previously and you want to update it:
Once installed, to start it you can simply execute on a terminal:
⚠ Bumblebee and Optimus
If you want to use GWE with Bumblebee you need to start it with optirun and set the —ctrl-display parameter to :8 :
- Show general GPU info
- Show power info
- Show clocks info
- Show GPU temp in both app and app indicator
- Show fan info
- Allow to hide main app window
- Add command line option to start the app hidden
- Add Refresh timeout to settings
- Add command line option to add desktop entry
- About dialog
- Distributing with PyPI
- Show chart of selected fan profile
- Allow to select and apply a fan profile
- Add/Delete/Edit multi speed fan profiles (fan curve)
- Add option to restore last applied fan profile on app startup
- Find better icons for app indicator
- Try to lower resource consumption (mostly caused by nvidia-settings invocations)
- Show historical data of most important values in a separate dialog (requires GTK 3.24/GNOME 3.30)
- Add overclock profiles
- Add option to restore last applied overclock profile on app startup
- Disable unsupported preferences
- Distributing with Flatpak
- Publishing on Flathub
- Distributing with Snap
- Check if NV-CONTROL is available and tell the user if is not
- Add support for multi-GPU
- Allow to select profiles from app indicator
- Add support for i18n (internationalization and localization)
⌨️ Command line options
Parameter | Description | Source | Flatpak |
---|---|---|---|
-v, —version | Show the app version | x | x |
—debug | Show debug messages | x | x |
—hide-window | Start with the main window hidden | x | x |
—ctrl-display DISPLAY | Specify the NV-CONTROL display | x | x |
—autostart-on | Enable automatic start of the app on login | x | |
—autostart-off | Disable automatic start of the app on login | x |
🖥️ Build, install and run with Flatpak
If you don’t have Flatpak installed you can find step by step instructions here.
Make sure to have the Flathub remote added to the current user:
It is possible to build the local source or the remote one (the same that Flathub uses)
I see some message about CoolBits in the Overclock/Fan profile section, what’s that?
Coolbits was a Windows registry hack for Nvidia graphics cards Windows drivers, that allows tweaking features via the Nvidia driver control panel. Something similar is available also on Linux and is the only way to enable Overclock and manual Fan control. To know more about Coolbits and how to enable them click here (to enable both OC and Fan control you need to set it to 12 ).
Can I make the power limit survive a reboot?
GWE cannot set the power limit automatically because, to change this value, root permission is required.
If your distribution is using systemd, you can easily set the power limit on boot creating a custom service.
Simply create a new file /etc/systemd/system/nvidia-tdp.timer and paste the following text inside:
Then create another file /etc/systemd/system/nvidia-tdp.service and paste the following text inside (replace XXX with the power limit value you want to set):
Finally, run the following command:
The Flatpak version of GWE is not using my theme, how can I fix it?
To fix this issue install a Gtk theme from Flathub. This way, Flatpak applications will automatically pick the installed Gtk theme and use that instead of Adwaita.
Use this command to get a list of all the available Gtk themes on Flathub:
And then just install your preferred theme. For example, to install Yaru:
I have installed the app using Flatpak, but all the GWE fields are empty
This issue can be usually solved by closing GWE, executing flatpak update and starting GWE again. This is necessary to be sure to have the latest org.freedesktop.Platform.GL.nvidia. If, after the update, all the fields are still empty, feel free to open a new issue on the project tracker.
Why the memory overclock offsets effectively applied does not match the one set in the Nvidia Settings app?
Because Memory Transfer Rate, what Nvidia Settings reports and changes, is different from the effective Memory Clock, what is actually being displayed by GWE. It is also what other Windows applications like MSI Afterburner show. The Memory Transfer Rate is simply double the Memory Clock.
Where are the settings and profiles stored on the filesystem?
Installation type | Location |
---|---|
Flatpak | $HOME/.var/app/com.leinardi.gwe/ |
Source code | $XDG_CONFIG_HOME (usually $HOME/.config/gwe ) |
GreenWithEnvy, why using such name?
The name comes from the slogan of the GeForce 8 series, that was «Green with envy». Nvidia is meant to be pronounced «invidia», which means envy in Latin (and Italian). And their logo is green so, GreenWithEnvy
💚 How to help the project
Help is needed for the following topics
- Snap (see #18)
- Getting current GTK theme text color (see #36)
- Making Bumblebee work with Flatpak (see #35)
If you want to help testing or developing it would be easier to get in touch using the discord server of the project: https://discord.gg/xBybdRt Just write a message on the general channel saying how you want to help (test, dev, etc) and quoting @leinardi. If you don’t use discor but still want to help just open a new issue here.
Can I support this project some other way?
Something simple that everyone can do is to star it on both GitLab and GitHub. Feedback is always welcome: if you found a bug or would like to suggest a feature, feel free to open an issue on the issue tracker.
⚠ Dropped PyPI support
Development builds were previously distributed using PyPI. This way of distributing the software is simple but requires the user to manually install all the non Python dependencies like cairo, glib, appindicator3, etc. The current implementation of the historical data uses a new library, Dazzle, that requires Gnome 3.30 which is available, using Python Object introspection, only starting from Ubuntu 18.10 making the latest Ubuntu LTS, 18.04, unsupported. A solution for all this problems is distributing the app via Flatpak, since with it all the dependencies will be bundled and provided automatically, making possible to use Gnome 3.30 features also on distributions using an older version of Gnome.
No new build will be published on PyPI.
Uninstall pip version
If you have already installed GWE via pip , please make sure to uninstall it completely before moving to a newer version:
- GabMus and TingPing for the huge help with Flatpak
- @999eagle for maintaining the AUR package
- @tim74 for maintaining the COPR package
- Lighty for moderating the Discord server
- fbcotter for the py3nvml library
- all the devs of the python-xlib library
- tiheum for the Faenza icons set, from which I took the current GWE launcher icon
- all the people that helped testing and reported bugs