Development notes

Thoughts, notes and ideas about development

Ubuntu: How to fix Virtual Box Vboxdrv Error

2020-04-09 Alexey Bogdanov

While running sudo /sbin/vboxconfig the following error may occur: Stopping VirtualBox services. Starting VirtualBox services. Building VirtualBox kernel modules. failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
 them. Please see your Linux system's documentation for more information.

To fix it, run the following command:

Continue reading

How to Enable Nvidia CUDA for Davinci Resolve on Linux

This post describes how to fix the error No OpenCL Hardware Acceleration Detected on Linux. First of all make sure that latest NVidia drivers, nvidia-modules, nvidia-kernels are installed for the latest driver version. For Ubuntu 19.04, nvidia 418 drivers and linux kernel 5.0.0-25 the terminal command will look like: sudo apt install nvidia-kernel-common-418 nvidia-dkms-418 linux-modules-nvidia-418-5.0.0-25-generic Install NVidia Cuda toolkit To install nvidia cuda toolkit use the following: sudo apt install nvidia-cuda-toolkit Do Logout after successfull toolkit installation. Continue reading

Tuxguitar No Sound

In case if there is no sound in TuxGuitar in linux, do the following 1 Install package tuxguitar-jsa sudo apt install tuxguitar-jsa 2 Update MIDI port into TuxGuitar settings Go to Tools -> Settings. A new window with TexGuitar configs will be opened. Find Sound section and change MIDI port to Gervill: Close Settings window and verify everything works fine.

Wasteland 2 Director's Cut: Can't save or enter at Ranger Citadel under Linux

The Linux version of Wasteland 2: Director's Cut has a weird bug which doesn’t allow either to save or enter (sometimes) into Ranger Citadel location. This is an engine-level issue in the used Unity version: Unity loads into memory multiple copies of the sames game files. To fix this issue we need to update permissions for max open file limits in Linux. Open /etc/security/limits.conf file as root user (or using sudo) and add the following 2 lines at the end of the file: Continue reading

Visual Studio Code: How to enable fonts ligatures in Ubuntu

Visual Code supports fonts ligatures out of the box. But also an appropriate font with ligatures support is required. Fira Code is one of such fonts. Fira Code can be used not only in Visual Studio Code but also in other editors and IDE (e.g. Intellij Idea). First of all we need to install Fira Code. For Ubuntu based distributions it’s better to install font from official repositories. (With other installations ligatures didn’t work for me). Continue reading

How to change font size in Skype for Linux

Skype for Linux doesn’t scale fonts well on monitor with high DPI out of the box. Below I provide 2 solutions how to increase font size. Increase Electron’s fonts Because Skype for Linux uses Electron under the hood, which is just a web browser, we can increase font by using Ctrl + Shift + =. Or via menu: Using such approach menu will still have a small font. Continue reading

How to enable high DPI mode in Firefox

In our days High DPI monitors become more popular. But unfortunately, still there are issues with some applications on such monitors mostly on all operating systems. And Firefox on Linux is not an exclusion. All what is written bellow mostly relevant to Firefox on Linux, because on Windows and Mac OS Firefox looks good out of the box on high DPI monitors. Right now (when I’m writing this) in Linux only KDE can scale monitors out of the box. Continue reading
Older posts