Posts

OpenCL on Ubuntu 24.04 with open source drivers only

Running OpenCL on Linux with older AMD GPU (not supported by ROCm) has been mostly disappointing. Recently, I've stumbled upon Rusticl which an OpenCL implementation on Mesa Galium driver. However, my current Ubuntu 24.04 does not come with latest mesa packages and I'd prefer to not install kisak-mesa PPA which can sometimes mess up the system when upgrading Ubuntu. It seems that Fedora comes with latest Mesa packages with rusticl enabled and I found this blog describing how to install the required packages: https://nullr0ute.com/2023/12/getting-started-with-opencl-using-mesa-rusticl/ Based on that, I've found a way to use OpenCL with rusticl within podman/docker container. Here's the Dockerfile: FROM fedora ENV RUSTICL_ENABLE=radeonsi ENV http_proxy=http://192.168.0.130:3128/ RUN dnf install -y mesa-libOpenCL mesa-dri-drivers spirv-llvm-translator spirv-tools-libs clinfo clpeak RUN cd /root && \     curl -L https://cdn.geekbench.com/Geekbench-6.3.0-Linux.tar....

Windows Calibri and Cambria fonts for Linux Debian/Ubuntu

If you need to use Office365 web apps for work collaboration with other people on a Linux Debian/Ubuntu machine, try installing the following substitute font. It makes document, spreadsheet sharing and emails much easier as these substitute fonts are metrics compatible with the original Microsoft fonts. This means that the document layouts are not affect and look very similar on Linux compared to Windows. apt-get install fonts-crosextra-carlito fonts-crosextra-caladea For comparison, below are some screenshots using both Calibri and Cambria fonts. Word 2016 on Windows 10 Word Online on Firefox Ubuntu 20.04 The fonts are slightly different but the layout of the text, line wrapping are the same on both Windows and Linux. Source: https://wiki.debian.org/SubstitutingCalibriAndCambriaFonts