Just another blog of computer ramblings

Main menu

Category Archives: Linux

UPDATE: As of March 17th, Nvidia’s repository has been updated to support the 346 driver, alongside the release of the Cuda 7 toolkit.

——————————————————————————–

I recently discovered that FFmpeg added support for the NVENC encoder and thought it would be interesting to play around with. Turns out, that ended up taking a lot more work than I anticipated and it wasn’t FFmpeg’s fault. The beginning of my trouble is that NVENC support was only added to the Linux driver in version 346.16. However, the Ubuntu/Mint repository’s newest offering is 331.113. Fortunately, the xorg-edgers ppa has newer drivers available (refer to the launchpad page), so that turns out to not be much of an issue.

Now for the CUDA installation. The download page has two options: a standalone installer and a package repository.

For whatever reason, I tried the standalone installer first (currently toolkit version 6.5.14). I’m not going to go into too much detail, because it didn’t work (if you just want to know what did work, then skip the next bit). It installed fine though. I went into the samples and found 1_Utilities/deviceQuery, a suitable program to test my installation. It compiled fine. Then, this happened:

Well, that doesn’t really make sense. The installer is bundled with driver version 340.29, which I declined to install. But, a newer driver is supposed to be fine. What gives? I also tried toolkit version 6.5.19 to no avail. Next, I thought that since I have a sample compiled, I just need the runtime, so I removed the toolkit. That didn’t help either.