Random Linux Thoughts

Ollama Running on AMD GPUs

Ollama Running on AMD GPUs

This is a quick guide on enabling GPU hardware acceleration for Ollama on AMD GPUs (using the open source amdgpu driver that comes with the kernel, not the proprietary AMD drivers). Supported AMD GPUs are listed here: https://github.com/ollama/ollama/blob/main/docs/gpu.md#amd-radeon It is sometimes possible to get GPU hardware acceleration working on Linux with AMD GPUs that areRead more about Ollama Running on AMD GPUs[…]

Installing Java on Linux

Installing Java on Linux

Java has a runtime (the “JRE”, or “Java Runtime Environment”) which is required to run Java applications. There’s also a “JDK” (“Java Development Kit”) which is required to develop applications in Java. There are numerous blogs out there that explain how to install Java from repositories. This blog post will detail how to download andRead more about Installing Java on Linux[…]

VirtualBox on Host Running Kernel 4.12

VirtualBox on Host Running Kernel 4.12

Upgrading to Linux kernel 4.12 will break VirtualBox. Attempting to re-install VirtualBox 5.1.22 (either from the Ubuntu repositories or by downloading the binaries directly from virtualbox.org) will not help – the installation will fail. Thankfully, there is a patch available that can be applied – but only to the version of VirtualBox from virtualbox.org. IfRead more about VirtualBox on Host Running Kernel 4.12[…]

Installing Kubuntu 16.10 on nVidia Optimus Laptop

Installing Kubuntu 16.10 on nVidia Optimus Laptop

I’ve been using Ubuntu since 2009 (Ubuntu 9.04). I’m comfortable with Ubuntu because I can usually just install it and get things done rather than spending days or weeks trying to get things working properly (although I must admit it is extremely gratifying getting things working properly). Unlike everyone else I know who uses Linux,Read more about Installing Kubuntu 16.10 on nVidia Optimus Laptop[…]