All Projects → wildtruc → Nvidia Prime Select

wildtruc / Nvidia Prime Select

Licence: gpl-3.0
This a fork of FedoraPrime enhanced for all linux distributions

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Nvidia Prime Select

Nvidiagpubeat
nvidiagpubeat is an elastic beat that uses NVIDIA System Management Interface (nvidia-smi) to monitor NVIDIA GPU devices and can ingest metrics into Elastic search cluster, with support for both 6.x and 7.x versions of beats. nvidia-smi is a command line utility, based on top of the NVIDIA Management Library (NVML), intended to aid in the management and monitoring of NVIDIA GPU devices.
Stars: ✭ 44 (-55.1%)
Mutual labels:  nvidia
Flexcli
FlexCLI is a C++/CLI interface to access NVidia Flex from .Net environments like C#, IronPython, VB etc. FlexHopper is a plugin for Grasshopper built on top of FlexCLI
Stars: ✭ 75 (-23.47%)
Mutual labels:  nvidia
Moonlight Android
GameStream client for Android
Stars: ✭ 1,273 (+1198.98%)
Mutual labels:  nvidia
Hidden Miner Builder
Hidden miner builder
Stars: ✭ 58 (-40.82%)
Mutual labels:  nvidia
Mate Optimus
NVIDIA Optimus GPU switcher
Stars: ✭ 70 (-28.57%)
Mutual labels:  nvidia
Shadowreplay Linux
Shadowplay's Replay Feature On Linux For Nvidia, AMD and Intel
Stars: ✭ 79 (-19.39%)
Mutual labels:  nvidia
Ghidra falcon
Support of Nvidia Falcon processors for Ghidra (WIP)
Stars: ✭ 39 (-60.2%)
Mutual labels:  nvidia
Nvfancontrol
NVidia dynamic fan control for Linux and Windows
Stars: ✭ 93 (-5.1%)
Mutual labels:  nvidia
Parenchyma
An extensible HPC framework for CUDA, OpenCL and native CPU.
Stars: ✭ 71 (-27.55%)
Mutual labels:  nvidia
Geforcenow Electron
Linux Desktop client for Nvidia's GeForce NOW game streaming service
Stars: ✭ 87 (-11.22%)
Mutual labels:  nvidia
Optix Path Tracer
OptiX Path Tracer
Stars: ✭ 60 (-38.78%)
Mutual labels:  nvidia
Obs Streamfx
StreamFX is a plugin for OBS Studio which adds many new effects, filters, sources, transitions and encoders - all for free! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
Stars: ✭ 1,128 (+1051.02%)
Mutual labels:  nvidia
Waifu2x Ncnn Vulkan
waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Stars: ✭ 1,258 (+1183.67%)
Mutual labels:  nvidia
Multiple Smi
Python bindings for pyNVML and psutil library over network
Stars: ✭ 49 (-50%)
Mutual labels:  nvidia
Daily Coding Problem
Series of the problem 💯 and solution ✅ asked by Daily Coding problem👨‍🎓 website.
Stars: ✭ 90 (-8.16%)
Mutual labels:  nvidia
Pyoptix
Python wrapper for NVIDIA OptiX Ray Tracing Engine
Stars: ✭ 42 (-57.14%)
Mutual labels:  nvidia
Nplusminer
NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
Stars: ✭ 75 (-23.47%)
Mutual labels:  nvidia
Onnx Tensorrt
ONNX-TensorRT: TensorRT backend for ONNX
Stars: ✭ 1,285 (+1211.22%)
Mutual labels:  nvidia
Tutorial Ubuntu 18.04 Install Nvidia Driver And Cuda And Cudnn And Build Tensorflow For Gpu
Ubuntu 18.04 How to install Nvidia driver + CUDA + CUDNN + build tensorflow for gpu step by step command line
Stars: ✭ 91 (-7.14%)
Mutual labels:  nvidia
Deep Learning Boot Camp
A community run, 5-day PyTorch Deep Learning Bootcamp
Stars: ✭ 1,270 (+1195.92%)
Mutual labels:  nvidia

nvidia-prime-select

This is a fork of FedoraPrime enhanced for all linux distributions.


Offlaod Technologie Testing preview

Please read Offload file for more details.


Introduction

Seeking for a tools to swicht entirely from default Intel® GPU to the discret Nvidia® graphic card, I discover FedoraPrime.

It comes really useful for my default distro, Fedora, but not so cool for my custom Nvidia® driver install, FedoraPrime is Fedora only with a default driver config.

Thus, I discided to go deeper to solve that particular issue and a few others as well.

  • Choose for a custom driver install
  • Automatically configure xrandr for multi screens (or not)
  • Start Nvidia® GPU instead the default one whatever the end user desktop you choose.

Update message

2019-09-05 - v0.9.20

WARNING: Do a 'sudo make install' this time, too much important things changed and don't forget to make a backup of /etc/nvidia-prime. (with root/admin terminal, do:) mv -f /etc/nvidia-prime /etc/nvidia-prime.bak (to remove safely after controls)

2019-08-20

There were many issues with grub config reported. It is hopefully fix and updated now. Please don't forget to report even if you think it's too minor and pointless.

2018-04-01

Dev test was running on Fedora 24, since upgraded to Fedora 27 it appears that xrandr on modesettings is broken and dosn't work anymore for discret nvidia.

2018-04-13

Finally, the script needed a complete rewrite. For user, basics are still the same, but they work differently than the previous version.

Read Changelog display before install/uninstall/update.

Thanks to the Nvidia Devtalk thread and to nospam_ that giving me the necessary base to understand what changed.

Also added a libraries and xorg config editor.

Library.conf is install by default and checked if configured.

There stil some issue with some session managers, see Known Issues at page bottom.

Hope you'll like those changes and don't forget to send any bug you get. :)

2018-04-16

Big mistake in repos upload :s. Forgot to send library.conf with last upgrade. My apologies.

2018-04-22

Multi display issue, see CHANGELOG.md.

2018-04-24

Added options config file, report.sample and some fixes to grub and xrandr sections. See CHANGELOG.md.


Usage

Default usage :

nvidia-prime-select option

Options

  • intel : use the default GPU
  • nvidia : use the Nvidia® GPU

Before all

In old version it was mandatory to edit library.conf first in case of special Nvidia drivers install. Now you can setup them directly with nvidia-prime-ui before entering you new setup.

Gnome and Cinnamon use a monitors.xml(~/.config/monitors.xml) file to keep your screen config and overide any other setup if it doesn't match the xml file.

Gdm Gnome3 may cause issue in some case. See Issue chapter in bottom ofthe page and send report if you can fix it this way.

nvidia-prime-select comes with a library.conf file to set custom installation directories up (same case if you come from an other distro). If you're in this case, edit it first before launching/installing anything.

Example of my custom driver install in Fedora 23:

  nv_drv_32='/opt/nvidia/lib'
  nv_drv_64='/opt/nvidia/lib64'
  nv_xorg_path='/opt/nvidia/xorg/modules'
  rc_dir='/etc/rc.d'

Or use the simpliest way and launch nvidia-prime-ui from settings menu.

nvidia-prime-select come also with 2 default xorg configs for Intel® and Nvidia®. Edit them as you wish before or after luanching command (edit function is available in nvidia-prime-ui).

Install

nvidia-prime-select use the same install process as FedoraPrime :

git clone https://github.com/wildtruc/nvidia-prime-select.git
cd nvidia-prime-select
sudo make install

To update, run :

sudo make update

To uninstall, run :

sudo make uninstall

When done, launch the commandline as admin/superuser or with nvidia-prime-ui as normal user. Then logout and restart your session.

The script will setup your actual xrandr configuration automatically.

Dependencies

  • zenity (updates messages and UI display)

Notes

Option "DPI" "96 x 96" is set by default in the xorg.nvidia.conf because xrandr set it at 75 by default. If you have a weaker Nvidia® GPU, it's maybe a good thing to let it at 75 if you want to play some games smoother.

Usually when the Nvidia® GPU starts the screen display some weird black lines at first, if it is, it means that Nvidia® GPU is started.

Known issues

The script has been test on Gnome Shell, Gnome Classic, Cinnamon, LXQT, Kodi (for previous version, lightdm only for new one).

  • The only issue comes with Gnome Classic, desktop crash on final start. I'm not sure it comes from Gnome Classic itself.
  • For Fedora users upgrading from Fedora 23 to 24 using the dnf tools, don't forget to re-enable the service after the first reboot. You have to probably reset your display xrandr config too.
  • Since Fedora 24, rc.nivia schedule time set is not enough to let GDM fully start. Need to extend from 5 to 10 secondes (update 10/08/16).
  • Session restart on gdm (gnome3) may cause result in a blank screen. In previous nvidia-prime-select, this issues was fix by inserting a delay waiting for full gdm start before insert xrandr command line. Try to uncomment 'sleep' function in /etc/nvidia-prime/xinitrc.prime and different delay. If it doesn't fix, think to change session manager to lightdm.
  • In some case, xrandr display config (~.config/monitors.xml) could conflict with nvidia-prime-select xrandr auto conf function. First, remove ~.config/monitors.xml, and restart your session. If it doesn't fix, set your display again and disable nvidia-prime.desktop autostart (menu > system > pref > personal > autostart), then restart your session.
  • At session restart login has a strange behaviour and could take 30/40s to display correctly. It maybe a polkit issue, but not sure. Need debug and figure out.
  • Do not hesitate to send issue reports on Github page.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].