GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - haiderking1/nova: nova: Rust NVIDIA kernel driver fork (nova-core, nova-drm) running Vulkan, OpenGL and Hyprland on an RTX 3070

BranchesTags
Open more actions menu

Latest commit

 

History

225 Commits
225 Commits

Folders and files

NameName
Last commit message
Last commit date
Documentation
Documentation
 
 
LICENSES
LICENSES
 
 
arch
arch
 
 
block
block
 
 
certs
certs
 
 
crypto
crypto
 
 
drivers
drivers
 
 
fs
fs
 
 
include
include
 
 
init
init
 
 
io_uring
io_uring
 
 
ipc
ipc
 
 
kernel
kernel
 
 
lib
lib
 
 
mm
mm
 
 
net
net
 
 
nix
nix
 
 
rust
rust
 
 
samples
samples
 
 
scripts
scripts
 
 
security
security
 
 
sound
sound
 
 
tools
tools
 
 
usr
usr
 
 
virt
virt
 
 
.clang-format
.clang-format
 
 
.clippy.toml
.clippy.toml
 
 
.cocciconfig
.cocciconfig
 
 
.editorconfig
.editorconfig
 
 
.get_maintainer.ignore
.get_maintainer.ignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
.pylintrc
.pylintrc
 
 
.rustfmt.toml
.rustfmt.toml
 
 
COPYING
COPYING
 
 
CREDITS
CREDITS
 
 
Kbuild
Kbuild
 
 
Kconfig
Kconfig
 
 
MAINTAINERS
MAINTAINERS
 
 
Makefile
Makefile
 
 
README
README
 
 
README.md
README.md
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 

Repository files navigation

nova, haider's fork

An experimental fork of nova, the Rust kernel driver for NVIDIA GPUs (nova-core + nova-drm, from drm-rust-next), extended until it runs a full desktop: Hyprland, browsers and games, through Mesa's NVK (Vulkan) and Zink (OpenGL), with no nvidia.ko and no nouveau.

This is not upstream nova and not supported. Upstream nova doesn't do display or rendering yet; everything here beyond it is my own work in progress, tested on one machine. The uAPI (include/uapi/drm/nova_drm.h) is this fork's own and will change.

What it adds

On top of nova-core's GSP boot (GSP-RM firmware r570.144):

  • Display: modesetting through GSP-RM and the display engine, including refresh rate changes, DisplayPort link training, atomic KMS (built on Lyude Paul's Rust KMS bindings), scanout of clients' buffers and an fbdev console.
  • Channels: GPU channels on the copy engines, the graphics/compute engine (golden context, context promotion) and the video decoders (NVDEC), with per-client address spaces (GPUVM), fences and a hang watchdog.
  • Memory: VRAM and system memory GEM objects, mapped into each client's GPU address space.
  • A DRM uAPI for userspace drivers: the matching NVK backend is in mesa-nova.
  • Fixes found along the way, e.g. GSP command queue elements not zero-padded (sent upstream to the nova-gpu list).

Tested on

  • RTX 3070 (GA104), passed through to a NixOS VM (QEMU Q35).
  • Kernel 7.3.0-rc1 (drm-rust-next), Rust 1.98.
  • Only GA10x with GSP-RM r570.144 is tested. Other generations may not work.

Building

flake.nix has a dev shell and the kernel package, and nix/kernel.config is the config I run. Outside Nix, build it like any kernel with CONFIG_NOVA_CORE=m and CONFIG_DRM_NOVA=m. The GSP firmware comes from linux-firmware (nvidia/ga104/gsp/*-570.144.bin), not from this repo.

Userspace needs:

  • mesa-nova: NVK with the nova backend, Zink, and Vulkan Video VP9/AV1 decode (NVK_EXPERIMENTAL=video).
  • libdrm-nova: libdrm describing auxiliary-bus DRM devices (nova-drm) by their PCI parent, without which NVK finds no GPU.

Credits

nova is the work of its upstream developers (Danilo Krummrich, Alexandre Courbot and many others). Commits taken from others, such as Lyude Paul's KMS bindings and Eliot Courtney's nova-core changes, keep their authors. Much of this fork was written with the help of an AI assistant (Claude), which the commits say.

License

GPL-2.0, like the kernel. See COPYING.

About

nova: Rust NVIDIA kernel driver fork (nova-core, nova-drm) running Vulkan, OpenGL and Hyprland on an RTX 3070

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.