Raspberry Pi: No Sound – HDMI | Bluetooth | Audio Jack

If your Raspberry Pi sound has suddenly stopped working through HDMI, bluetooth or audio jack after an update, this could be caused by the PulseAudio package that is generally not stable on Raspberry Pi OS (ex. Raspbian).

To fix the issue with the non-working sound on the Raspberry Pi you can try to uninstall the PulseAudio package and this short note shows how to do this. (more…)

Raspberry Pi: Wake from Sleep – Command

While using a Raspberry Pi (RPi) connected to a monitor or TV over HDMI, you may notice that the screen will be automatically put to sleep after a certain amount of time of inactivity.

To wake the RPi it is usually enough just to move a mouse or press some key button.

But if you are connected remotely over SSH, it seem that the only thing that you can do to wake the RPi from sleep is to reboot it.

Lucky there is a way to wake the RPi and unblank the screen from a terminal by changing display power management and screen saver settings. (more…)

Raspberry Pi: VLC – Failed To Allocate CMA Buffer

Recently i got an issue on my RPi4 with a VLC media player that was crashing if i was trying to switch between a fullscreen and a windowed mode and scroll a video.

Also i couldn’t play some movies as the VLC was playing the audio track only but not the video one.

In the both cases if i was running the VLC from a terminal there were errors about some failures to allocate buffer objects from a CMA. (more…)

Raspberry Pi: Force HDMI – Hotplug

By default, the HDMI output of the Raspberry Pi is only activated if a monitor or a TV is connected and powered up before the Raspberry Pi is started up.

Fortunately, there is an easy fix which will force the Raspberry Pi to turn on the HDMI output, no matter whether a display is connected or not.

In this note i will show how to force the HDMI output on the Raspberry Pi by modifying the HDMI hotplug settings. (more…)

Raspberry Pi: Docker – Install Docker on Raspberry Pi

To build and run Docker containers on Raspberry Pi it is required to install Docker itself.

To install the latest version of Docker on Raspberry Pi and to be able to upgrade it easily in future – it is recommended to install Docker from the official repository.

In this guide i will show how to install free Docker CE (Community Edition) on Raspberry Pi (Raspbian) from the stable official repository, how to verify that it has installed correctly and will show the common post-installation steps to perform. (more…)

Raspberry Pi: DNS Server Settings

The DNS servers in Raspberry Pi are listed in /etc/resolv.conf file.

If you want to change the Raspberry Pi’s DNS server settings you shouldn’t update this file manually, because all changes will be overwritten after reboot by data that your local DHCP server provides.

In this note i will show how to change DNS servers in Raspberry Pi and make the settings permanent. (more…)

Raspberry Pi 4: RetroPie Install – Windows, MacOS, Linux

RetroPie, starting from the version 4.6, can be installed on Raspberry Pi 4.

In this note i will show how to download the latest image of RetroPie and how to install it on Raspberry Pi 4 using Raspberry Pi’s Imager in Windows, MacOS and Linux.

Additionally, i will show how to burn the RetroPie’s image on a microSD card using the dd command from the Linux command line. (more…)

Raspberry Pi: Enable SSH Headless (Without Monitor)

If you are going to use a Raspberry Pi headless (without a monitor), you should know that for security reasons the SSH server in Raspbian is disabled by default.

In order to connect to the headless Raspberry Pi, you should enable SSH in advance and this can be done even before the first boot.

In this small note i will show how to enable SSH in Raspbian if the Raspberry Pi is without a monitor and keyboard. (more…)

Raspberry Pi: Default Password & How To Change

Most of the operating systems for Raspberry Pi have default password for accessing RPi using SSH or VNC.

In Raspberry Pi OS (formerly Raspbian), for example, the default username is pi and the default password is raspberry, but this is not a standard for the most of the other distributions.

Below you will find a table with default logins and default passwords for the most popular RPi’s distributions.

Also i will show how to change a password in Raspberry Pi for the current user or for any other user, including root. (more…)