← notes

two nvidia drivers that shouldn’t coexist

i have a server now. it’s an hp z220 workstation from around 2012, it cost $50 at purdue surplus, and it’s called blackbox. this is the whole story of how it went from a box i couldn’t even get online to one running two nvidia gpus side by side, on two driver branches that normally can’t be installed together, on a kernel neither of them was ever released for.

$50from purdue surplus
390 + 470nvidia drivers, one box
−15–19°Cquadro 600 at idle
½the fan rpm

the box

a friend needed compute for a project (i can’t really say what it’s for), and an old workstation from surplus was the cheapest way to get a real machine running. here’s what $50 got me:

  • machine: hp z220 cmt workstation
  • cpu: intel i5-3570, 4 cores, 3.4 ghz (boosts to about 3.6)
  • ram: 30 gb
  • os: ubuntu 26.04 lts, which ships linux kernel 7.0
  • storage: a samsung 512 gb nvme ssd (this turned out to be a problem, more below)
  • gpus: an nvidia quadro 600 and an nvidia quadro k420

getting it on the network was the hardest part

honestly, this was harder than anything that came after.

the plan was simple: install ubuntu, install tailscale, and never touch the box again, because i could ssh in from anywhere. the catch was that setup needed a monitor, the box only had displayport, and i didn’t own a displayport monitor.

so i carried it to a school computer lab, because those monitors have displayport. screen solved. next problem: the lab ethernet only talks to school devices, so plugging blackbox in got me nothing. sharing my laptop’s wifi to it didn’t work either, because the school wifi is locked down too.

what finally worked was a phone hotspot. blackbox joined the hotspot, i installed tailscale, logged it into my tailnet, and from that moment on i could reach it from anywhere. i never needed the lab again.

cleaning out a decade of dust

a surplus machine from 2012 comes with years of dust, and this one was no exception. when i first put the k420 in, its fan wouldn’t spin at all. i was ready to call the card dead, but when i opened the case there was literally junk stuck in the fan. i cleaned the whole machine out, freed the fan, and it spun right up.

that cleaning paid off everywhere, not just on the gpu. this thing runs impressively cool for a decade-old office workstation. at true idle the cpu sits around 30°C. with one core pinned at 100% by a job that’s been running for an hour, it holds about 50°C, and the motherboard stays around 28–30°C. that’s on the stock hp cooler.

locking it down

once i could ssh in, the first thing i did was make ssh work over tailscale only. the firewall allows port 22 on the tailscale interface and denies it everywhere else, so nobody on a random network can even try to log in. tailscale has a good guide to doing this with ufw.

a few friends have accounts on it too, which meant thinking about permissions for the first time. giving everyone full sudo means anyone can delete anyone else, including me. so i set up limited sudo instead: friends can check gpu status, read logs, and start, stop, and restart services, but they can’t touch users or lock me out. i also changed my own password from something embarrassing to a long random one.

the gpus

this is where most of the time went. the short version: each nvidia generation eventually gets moved to a “legacy” driver branch that stops getting updates, and nvidia’s legacy list is where you find out which branch your card is stuck on. my two cards are stuck on two different ones.

card architecture year last nvidia driver
quadro k420 kepler 2014 470.xx
quadro 600 fermi 2010 390.xx

quadro k420 on nvidia 470

with its fan unblocked, the k420’s hardware was fine. the driver was the problem. 470 is the last series that supports kepler, and it doesn’t build on kernel 7.0 out of the box. the community keeps these legacy drivers alive with patches for new kernels (the aur’s nvidia-470xx-utils package is the best index of them). with a kernel 7.0 patch, it compiled cleanly.

it still wouldn’t start. it turns out that if linux’s open-source driver, nouveau, touches the card first, nvidia’s driver can’t take it over afterwards. the fix was blocking nouveau at boot, letting nvidia load first, then loading nouveau later so it only grabs the other card. after that, the k420 came up with cuda 11.4 and opencl working.

fan control without a monitor

nvidia only lets you control a fan through nvidia-settings, and that tool needs a running display server with the coolbits option turned on. blackbox has no monitor. so the trick is running a hidden x server tied to just that one gpu, with fan control unlocked, plus a small script that sets the fan speed every few seconds based on temperature.

quadro 600: two drivers that can’t coexist

the quadro 600 is older, a fermi card from 2010, and nvidia’s last driver for it is the 390 series. it was running on nouveau, which works, but nouveau can’t reclock fermi cards. the card was stuck at a fixed clock, idling at 66–71°C with its fan running loud.

the obvious fix is “install the 390 driver.” the problem is that 390 and 470 both install a kernel module called nvidia, and linux won’t load two modules with the same name. they also both want the same device numbers and the same system paths. normally you just can’t run both.

so we modified the 390 driver until it stopped colliding with 470:

  1. applied 20 community patches so 390 builds on kernel 7.0 (the aur nvidia-390xx-utils package added its kernel 7.0 patch in may 2026)
  2. renamed the module from nvidia to nvidia390
  3. moved it to its own character device number: 196 instead of nvidia’s usual 195
  4. renamed its /proc entries and its acpi driver name
  5. removed its exported kernel symbols, since 470 already exports the same names

then i wrote a small helper, gpu1-run, that runs any program on the quadro 600 inside its own private view of the system, where the 390 device files and libraries show up under the names they expect. the k420 stays on 470 the whole time and never sees any of it.

the part where i crashed it

the first time the 390 module loaded, it compiled and loaded fine, but the card refused to start. same problem as the k420: nouveau had already touched it, and the card needed a clean power-on.

i asked if we could skip a reboot by resetting just that pcie slot. we tried. the quadro 600 is also the card the bios uses for display, and resetting its slot froze the entire machine: fans spinning, nothing responding. i had to hold the power button.

no damage, since it’s all software, but lesson learned: don’t reset the pcie slot of your boot display card.

the fix that worked

the real fix was a boot service that hands the quadro 600 to the 390 driver before nouveau ever touches it. it has a “try once” guard: if loading 390 ever hangs the boot, the next boot notices the failed attempt, skips 390, and comes up normally on nouveau. it can’t get stuck in a reboot loop.

that guard got tested right away. the first reboot failed safely because the module was missing two dependencies (the ipmi helper and the acpi video module), and the box came up normally on nouveau. i fixed the dependencies, rebooted again, and:

gpu driver idle temp
quadro k420 nvidia 470.256.02 (cuda 11.4) 45°C
quadro 600 nvidia 390.157 52°C, full clocks available

both cards on nvidia drivers at the same time, on a kernel neither driver was ever released for.

tuning the fans

the biggest win in this whole project wasn’t speed. it was heat and noise.

on nouveau, the quadro 600 idled at 66–71°C, and its fan had to sit near 5,900 rpm just to hold that, so it was loud even doing nothing. once it was on 390, i set up the same hidden display server trick for its fan, and the difference was huge:

quadro 600 at idle nouveau nvidia 390 after repaste (guess)
temperature 66–71°C ~52°C ~46–48°C
fan speed ~5,900 rpm ~2,600–3,100 rpm ~2,550 rpm (its minimum)

that’s 15–19 degrees cooler with the fan at about half the speed. nouveau can’t manage this card’s power and clocks, so the fan was just fighting heat the driver couldn’t control. the real nvidia driver drops the chip into its low-power state, and the fan stops working against it.

next, i wanted both fans capped around 6,000 rpm so they never get too loud. i had been assuming fan percent maps to rpm in a straight line. it doesn’t. we measured both:

fan percent vs measured rpm measured fan speed for the quadro 600 and quadro k420. neither is linear: the k420 hits about 6,600 rpm at 80% and barely rises after that. 2k 3k 4k 5k 6k 7k 40% 50% 60% 70% 80% 90% 100% 6,000 rpm cap
quadro 600 quadro k420 · measured, not estimated. the k420 flattens out past 80%.
fan % quadro 600 rpm k420 rpm
35% 3,060
40% 3,450
60% 4,980 5,160
70% 5,910
75% 5,940
80% 6,600
85% 6,510
100% 6,660

so the k420’s “cap” had actually been sitting at 6,600 rpm, way over what i wanted. now the k420 maxes out at 71% and the quadro 600 at 76%, both right around 6,000 rpm.

the fans also used to speed up when the cpu was busy, which made no sense, since a cpu job doesn’t heat the gpus. now each fan follows only its own gpu’s temperature and load. the quadro 600’s fan is the louder of the two, so its curve stays gentle up to about 58°C and ramps hard after that.

all of this shows up live on a jailbroken ipad mini i turned into a dashboard, reading real rpm numbers straight from the cards.

the thing i didn’t know was wrong

while looking for other things to optimize, we found out my nvme ssd isn’t on pcie at all. it’s in a usb enclosure, running at usb 2.0 speed: about 35–40 mb/s, on a drive that can do over 2,000 mb/s. that’s slower than an old hard drive.

my roommate has a sata ssd, so that’s next. the plan is to move the whole system onto it without reinstalling. blackbox uses lvm, which can copy a running system to a new drive while it stays up.

quick answers

can you install nvidia 390 and 470 drivers at the same time? not normally. both build a kernel module named nvidia, both claim character device 195, and both want /proc/driver/nvidia. it only works if you rename and move one of them, like i did here. the cleaner route is giving one card to a virtual machine with vfio passthrough, which needs vt-d turned on and the two cards in separate iommu groups.

does a quadro k420 work on linux kernel 7.0? yes, on nvidia 470.256.02 with a community kernel 7.0 patch. cuda 11.4 and opencl both work.

why is my fermi card hot on nouveau? nouveau can’t reclock fermi, so the card sits at a fixed clock and never drops into a low-power state. the 390 driver fixes that, and my quadro 600 dropped 15–19°C at idle.

what’s next

  • repaste both gpus. the quadro 600’s paste looked crusty when i had the card out, and it’s probably the original from 2010. dried paste stops moving heat, especially under load. my guess is the quadro 600 lands around 46–48°C at idle, low enough for its fan to sit at its minimum, and the k420 drops a couple of degrees from its current 42–45°C. i’ll update this post with real numbers.
  • move to the sata ssd.
  • turn on vt-x and vt-d in the bios so each friend can eventually get their own vm.
  • ssh keys only, no passwords.
  • per-user cpu and ram limits so nobody hogs the box.

a 2012 workstation that cost $50 is now running two gpus, one of them about 20 degrees cooler than when i started, fan curves i actually understand, and a driver setup most people would tell you isn’t possible. pretty good night.