All Projects → Superdanby → Grub-Nvidia-Entry

Superdanby / Grub-Nvidia-Entry

Licence: GPL-3.0 license
Enable Nvidia driver only with the last entry in grub.

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to Grub-Nvidia-Entry

Autodesk-Fusion-360-for-Linux
This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
Stars: ✭ 810 (+1925%)
Mutual labels:  fedora, nvidia
fedora-prime
Simple program to switch between intel and nvidia gpu
Stars: ✭ 24 (-40%)
Mutual labels:  fedora, nvidia
Glim
GRUB Live ISO Multiboot
Stars: ✭ 452 (+1030%)
Mutual labels:  fedora, grub
SOLIDWORKS-for-Linux
This is a project, where I give you a way to use SOLIDWORKS on Linux!
Stars: ✭ 122 (+205%)
Mutual labels:  fedora, nvidia
nvidia-auto-installer-for-fedora-linux
A CLI tool which lets you install proprietary NVIDIA drivers and much more easily on Fedora Linux (32 or above and Rawhide)
Stars: ✭ 270 (+575%)
Mutual labels:  fedora, nvidia
ros-docker-gui
ROS Docker Containers with X11 (GUI) support [Linux]
Stars: ✭ 137 (+242.5%)
Mutual labels:  nvidia
argo
The administrative discovery interface for Stanford's Digital Object Registry
Stars: ✭ 19 (-52.5%)
Mutual labels:  fedora
Invidious-Updater
Automatic install and update script for Invidious
Stars: ✭ 181 (+352.5%)
Mutual labels:  fedora
s2i-ruby-container
Ruby container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running Ruby applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 55 (+37.5%)
Mutual labels:  fedora
TX2-JetPack-Installation-Guide-Kr
한글로 작성된 TX2 JetPack 설치 가이드입니다.
Stars: ✭ 13 (-67.5%)
Mutual labels:  nvidia
poly-dark
Poly dark GRUB theme
Stars: ✭ 136 (+240%)
Mutual labels:  grub
learn-gpgpu
Algorithms implemented in CUDA + resources about GPGPU
Stars: ✭ 37 (-7.5%)
Mutual labels:  nvidia
nix-install-vendor-gl
Ensure that a system-compatible OpenGL driver is available for `nix-shell`-encapsulated programs.
Stars: ✭ 22 (-45%)
Mutual labels:  nvidia
copr-rpm-spec
My RPM specs on Copr
Stars: ✭ 17 (-57.5%)
Mutual labels:  fedora
Boostnote-packages
Repo containing .rpm, .deb and Boostnote app folder
Stars: ✭ 31 (-22.5%)
Mutual labels:  fedora
rtx-voice-script
A python script that takes an input MP3/FLAC and outputs an acapella/background noise stripped WAV using the power of NVIDIA's RTX Voice
Stars: ✭ 50 (+25%)
Mutual labels:  nvidia
eglfs
🚀 EGL fullscreen platform plugin
Stars: ✭ 21 (-47.5%)
Mutual labels:  nvidia
nvhtop
A tool for enriching the output of nvidia-smi forked from peci1/nvidia-htop.
Stars: ✭ 21 (-47.5%)
Mutual labels:  nvidia
Aqeous
(Inactive, Checkout AvanaOS, Rewrite of this) This is a New Operating System (Kernel right now). Made completely from scratch, We aim to make a complete OS for Learning purpose
Stars: ✭ 23 (-42.5%)
Mutual labels:  grub
nvbench
CUDA Kernel Benchmarking Library
Stars: ✭ 213 (+432.5%)
Mutual labels:  nvidia

Grub-Nvidia-Entry

If you installed Nvidia drivers through Negativo17 or RPMfusion, the Nvidia card would always be on by default. As the dedicated GPU consumes a lot of power, it is a significant problem to those using laptops.

Features

  • grub-nvidia-entry.sh makes Grub load Nouveau instead of Nvidia drivers on normal basis and creates a new entry which loads Nvidia drivers.
  • nnswitch.sh lets you switch between Nouveau and Nvidia drivers within seconds.

Usage

  • nnswitch.sh: Switch to Nouveau or Nvidia proprietary dirvers. You'll be brought to the login screen right after the switch. The whole process should be around 5 seconds.

Advantages

Why is this method preferred over Bumblebee?

Prerequisites

Supported Operating Systems

  • Fedora 26 ~ 29

Installation

Easy Setup

  • To make the script do everything automatically, run make enable && make.
  • To completely remove everything, run make uninstall.

All Options

  • make or make run: Runs grub-nvidia-entry.sh. Changes take effect on the next boot.
    1. Current session: make / make run
    2. Next boot: changes should take effect
  • make force: Same as running make, but without checking Linux kernel's version and the presence of Nvidia modules.
  • make enable: Registers grub-nvidia-entry.service and gdm-nvidia-wayland-switch.service and enables them. grub-nvidia-entry.sh will update all configurations on the next boot. However, you'll have to reboot again to see the changes.
    1. Current session: make enable / Kernel update
    2. Next boot: grub-nvidia-entry.sh executes
    3. Second boot: changes should take effect
  • make disable: Disables grub-nvidia-entry.service and gdm-nvidia-wayland-switch.service.
  • make install: Registers grub-nvidia-entry.service and gdm-nvidia-wayland-switch.service.
  • make uninstall: Deregisters and uninstalls all components.
  • make sign: Signs Nvidia modules for Secure Boot with SignNvidia.sh. Note that this is NOT included in make enable and should be re-run MANUALLY on every kernel update.

GPU Verification

Intel/Nouveau

iGPU: glxgears -info | grep GL_VENDOR image dGPU(Nouveau): DRI_PRIME=1 glxgears -info | grep GL_VENDOR image

Intel/Nvidia

glxgears -info | grep GL_VENDOR image

Caution

Full installation overwrites /usr/lib/systemd/system/switcheroo-control.service, /etc/grub.d/40_custom, /usr/lib/udev/rules.d/61-gdm.rules, and /etc/gdm/custom.conf.

Issues

  • There's an upstream bug that prevents Gnome from detecting dedicated GPU when Secure Boot is on. DRI_PRIME=1 works fine though. A workaround is to disable Secure Boot for now.
  • Upstream made a change to disable GDM's ability to launch Wayland backend if Nvidia proprietary drivers are used. However, GDM seems to be not regaining the ability even after the drivers are unloaded[need confirmation]. A workaround is applied in the commit, 382ddeb.

Todo

  • RPM package
  • Better documentation for user to check what went wrong.
  • Gnome extension

Development Stopped

I've switched to another laptop with AMD graphics card.

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].