Installing CUDA 10.1 on Ubuntu 20.04 to support older GPU cards

Late last year I got a couple of ASUS 2U server’s off eBay which are now racked in my home lab. They came with some Nvidia Tesla K10 GPU compute cards in them, 4 in each, and I wanted to get them setup so that I could use CUDA & potentially rendering with either Blender or Davinci Resolve as a render farm.

The 2 ASUS ESC4000’s in the lab

As I installed Ubuntu 20.04 in them, I thought it was going to be as simple as just installing CUDA – which it was with a minor setback. The current version of CUDA is 11 which Nvidia decided to remove support for compute level 3.0 devices including the K10’s I have, so I had to install the earlier version.

Continue reading “Installing CUDA 10.1 on Ubuntu 20.04 to support older GPU cards”

Installing latest mercurial when Ubuntu or Linux Mint repos don’t have it

Ah I just hit an interesting problem with Mercurial. I had a repository which had been created with a recent version however I had to restore it from a backup onto another machine however I couldn’t commit to it as it’s format wasn’t supported:

$ hg st
abort: requirement ‘dotencode’ not supported!

The reason is that the dotencode format was only introduced into mercurial in version 1.7 so if you’re running an earlier version then you’ll get this error. Ok so upgrade – problem is that according to apt I had the latest version – 1.6.3 – erm nope thats not the latest.

Thankfully the fix is simple, all you need is to ass the correct repository first before installing the latest version

sudo add-apt-repository ppa:mercurial-ppa/releases
sudo apt-get update
sudo apt-get install mercurial

Once you’ve done that then you’ll find mercurial will work again as expected.

%d bloggers like this: