nvidia-smi --query-gpu=index,name,uuid,pci.bus_id --format=csvsudo modprobe nvidia-uvmAssuming you have the appropriate patches and had DKMS working...
0001-Fix-conftest-to-ignore-implicit-function-declaration.patch
0002-Fix-conftest-to-use-a-short-wchar_t.patch
0003-Fix-conftest-to-use-nv_drm_gem_vmap-which-has-the-se.patch
nvidia-470xx-fix-gcc-15.patch
kernel-6.10.patch
| squeeze -> gcc 4.6.1 (kernel linux-image-2.6.32-5) | |
| wheezy -> gcc 4.8.4 (kernel linux-image-3.2.78-1) | |
| jessie -> gcc 4.9.2 (kernel linux-image-3.16.56-1) | |
| stretch -> gcc 5.3 (kernel linux-image-4.9.228-1) | |
| buster -> gcc 5.5 (kernel linux-image-4.19.249-1) | |
| bullseye -> gcc 10 (kernel linux-image-5.10.223-1) | |
| bookworm -> gcc 11 (kernel linux-image-6.1.148-1) | |
| trixie -> gcc 12 (kernel linux-image-6.12.43-1) |
| # Ensure tmux is storing history properly | |
| HISTFILE=~/.bash_history | |
| export HISTCONTROL=ignoredups:erasedups,ignoreboth | |
| if [ -n "$TMUX" ]; then | |
| HISTFILE=$(mktemp) | |
| history -r ~/.bash_history | |
| trap 'history -a ~/.bash_history; rm "$HISTFILE"' EXIT | |
| else | |
| trap 'history -a ~/.bash_history' EXIT | |
| fi |
| function uvgit(){ | |
| repo=$(echo "${1}" | rev | cut -d'/' -f -1 | rev) | |
| echo "Installing $repo found at ${1}" | |
| uv tool install "git+${1}#egg=${repo}" | |
| } |
| #!/usr/bin/env python3 | |
| # Neo-Retro Group | |
| # @daryltucker | |
| # /// script | |
| # dependencies = [ | |
| # "requests" | |
| # ] | |
| # /// |
| amd-smi-lib: | |
| Installed: 25.5.1.60403-128~24.04 | |
| Candidate: 25.5.1.60403-128~24.04 | |
| Version table: | |
| *** 25.5.1.60403-128~24.04 600 | |
| 600 https://repo.radeon.com/rocm/apt/6.4.3 noble/main amd64 Packages | |
| 100 /var/lib/dpkg/status | |
| comgr: | |
| Installed: 3.0.0.60403-128~24.04 | |
| Candidate: 3.0.0.60403-128~24.04 |
| #!/bin/bash | |
| # vim: set filetype=sh : | |
| # @daryltucker #WorkedForMe | |
| # Find all Packages installed from BAD_REPO and find replacements on GOOD_REPO | |
| # This is my chance to say the ROCm ecosystem is absolute trash | |
| # Otherwise, this script can be useful for other situations, so I'm publishing it. | |