Browsed by
Category: Linux

Changing the CPU Governor to Performance in Linux

Changing the CPU Governor to Performance in Linux

Hi everyone, In this post, I’ll show you how to change the CPU governor in Linux to the Performance mode. This will allow your machine to run to its full potential as the CPU will be running to its maximum supported clock regardless of the load. Normally, we can choose between these CPU scaling governors: Therefore, if we want to get the maximum performance, we should use the performance governor. Some Linux distributions may also use another governor called schedutil…

Read More Read More

Changing our Virtual Machine USB Controller Model from qemu-xhci to nec-xhci

Changing our Virtual Machine USB Controller Model from qemu-xhci to nec-xhci

Hi everyone, In this post, we will change our Virtual Machine USB Controller from the default qemu-xhci model to nec-xhci. After attempting to pass a USB Audio Class 2.0 device using the generic Standard QEMU XHCI controller, I was having some sound issues, particularly with constant pops and distortions while bistreaming audio. After checking for solutions, it seems we can use the nec-xhci controller. This is what I did, and it fixed the sound issues I was having. Before doing…

Read More Read More

Passing the BIOS information from our PC to our QEMU/KVM Virtual Machine

Passing the BIOS information from our PC to our QEMU/KVM Virtual Machine

Hi everyone, In this post, we will see how simple it is to pass our physical machine BIOS information to our QEMU/KVM Windows Virtual Machine. Apparently, this is a way some software checks to see if it is running behind a VM and adding a simple line of configuration will pass our real machine BIOS info to the VM, so the software will read the real info rather than the one from the virtualized BIOS. Here’s an image from CPU-Z…

Read More Read More

Disabling the Ubuntu Splash Screen / Show log during boot

Disabling the Ubuntu Splash Screen / Show log during boot

Hi everyone, In this post, we’ll see how to disable the Ubuntu splash screen and enable showing the boot log when we start our machines. This is useful because it allow you to watch the system initializing instead of just showing the splash screen. These instructions should work for any system that uses GRUB as its bootloader. I’m using Ubuntu 22.10. To disable the Ubuntu splash screen, we must edit the GRUB configuration file found at /etc/default/grub. I will use…

Read More Read More

TPM Passthrough in Linux Virtual Machine Manager (virt-manager)

TPM Passthrough in Linux Virtual Machine Manager (virt-manager)

Hi everyone, Today, we will see how to pass our TPM (Trusted Platform Module) from our machine to our QEMU/KVM virtual machine using the Virtual Machine Manager tool. We will also modify an AppArmor configuration file to allow access to it. This is needed mostly if you plan on using Windows 11 as a virtual machine, unless you use a method to patch a Windows 11 ISO image in order to install it. Once Windows 11 is installed, the TPM…

Read More Read More

Installing the Linux Kernel 6.0.0-rc5 in Ubuntu

Installing the Linux Kernel 6.0.0-rc5 in Ubuntu

Hi everyone, Yesterday, the Linux Kernel 6.0.0-rc5 was released. This kernel is mostly a bug fix release. Unfortunately, this release failed to build for the amd64 architecture on the Ubuntu Kernel Team site, but the good news is that today’s daily build succeeded, and we can download and install it in our Ubuntu system. Because the kernel failed to build for the official 6.0.0-rc5 release, we cannot install it via the Ubuntu Mainline Kernel Instaler tool. Instead, we must download…

Read More Read More

You can now install the Linux Kernel 6.0-rc3 in Ubuntu with the Ubuntu Mainline Kernel Installer tool

You can now install the Linux Kernel 6.0-rc3 in Ubuntu with the Ubuntu Mainline Kernel Installer tool

Hi everyone, While the latest Linux Kernel is currently at the 6.0-rc4 version, now we can install the Linux Kernel 6.0-rc3 in our Ubuntu Linux systems. The 6.0-rc4 version failed to compile, and is the reason why it’s not listed in the Ubuntu Mainline Kernel Installer tool, but at least we can now install the packages of the 6.0-rc3 version with it. To install it, you must first enable the installation of unstable kernels in the tool. For this, click…

Read More Read More

Ongoing Updates to the paq8px_script.py script to compress files using PAQ8PX

Ongoing Updates to the paq8px_script.py script to compress files using PAQ8PX

Hi everyone, Over the past few days, I’ve revisited my old paq8px_script.py Python script that I wrote in order to compress files using the paq8px compressor. This script builds a file list that we can feed to paq8px so that it can compress multiple files and create an archive. I wrote an introductory post of this project back in 2018. An update I did in 2020 was to add multithreaded compression by making a paq8px archive per file. This is…

Read More Read More

Installing and using pulseaudio-dlna with the Hiby R3 family of Audio devices

Installing and using pulseaudio-dlna with the Hiby R3 family of Audio devices

Hi everyone, In this post, we’ll see how to install the pulseaudio-dlna package and use it. DLNA is a protocol that may allow special devices and software to connect to a media server, playback a file, act as a media controller, or be one or more of these. Some routers have a DLNA feature built-in allowing the use of the USB port to host a USB drive in order to allow these software to find and playback your multimedia files….

Read More Read More

Installing Daily Ubuntu Linux Kernels manually (And the Linux Kernel 6.0rc1)

Installing Daily Ubuntu Linux Kernels manually (And the Linux Kernel 6.0rc1)

Hi everyone, In this post, I will show you how to install the daily builds of the Linux Kernel from the Ubuntu Kernel Team Server site. Last week, we got the very first Linux Kernel 6.0 release. It is the first Release Candidate, but this kernel failed to build for the amd64 architecture. This means that we can’t install it using the Ubuntu Mainline Kernel Installer tool. Luckily, the Ubuntu Kernel Team does daily builds, and it seems there are…

Read More Read More