Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save solidus1983/c007406e8b2b267be3e242c8c1f6231e to your computer and use it in GitHub Desktop.
Save solidus1983/c007406e8b2b267be3e242c8c1f6231e to your computer and use it in GitHub Desktop.

Nvidia building

in ubuntu 23.04 the only thing you need to do at system level is:

  • add nvidia_drm.modeset=1 to /etc/default/grub in GRUB_CMDLINE_LINUX_DEFAULT=, and thats it
  • then you need to run sudo update-grub and reboot

after that we need to apply the patches:

sed 's/glFlush();/glFinish();/g' -i subprojects/wlroots/render/gles2/renderer.c

then we can run the build-ubuntu-23.sh or manually follow the ubuntu 23.04 install guide

the rest of documentation is in the NVIDIA PAGE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment