Skip to content

Troubleshooting

Common issues and how to solve them when using Pimarchy on your Raspberry Pi 5.

Installation Errors

apt lock errors

If you see an error like Could not get lock /var/lib/dpkg/lock-frontend, another process (like the automatic update service) is using apt.

Solution: Wait 30 seconds and try again. If it persists, reboot your Pi.

Missing packages

Pimarchy uses the Debian Sid repository for Hyprland. If a package is not found: 1. Check your internet connection. 2. Ensure you ran sudo apt update before the installation. 3. Check if Debian Sid is correctly added to /etc/apt/sources.list.d/debian-sid.list.

Display & Graphics

Screen flickering or artifacts

Hyprland on the Pi 5 uses the vc4-kms-v3d driver. If you experience flickering: 1. Check your HDMI cable (use the official Micro-HDMI to HDMI cable if possible). 2. Ensure your power supply is 5V 5A. Low power can cause GPU instability.

Resolution is too high/low

You can adjust the monitor configuration in ~/.config/hypr/hyprland.conf:

# Example: Lock resolution to 1080p at 60Hz
monitor=HDMI-A-1, 1920x1080@60, 0x0, 1

Input Devices

Keyboard layout is incorrect

Pimarchy defaults to the US keyboard layout. To change it, edit ~/.config/hypr/hyprland.conf:

input {
    kb_layout = gb  # Change 'us' to 'gb', 'de', etc.
}

Performance

System feels sluggish

  • Power: Ensure you are using the official 27W USB-C PSU.
  • Cooling: Check if your Pi is throttling due to heat (vcgencmd get_throttled).
  • Overclocking: If you are overclocked to 2.6 GHz, ensure your cooling is active.

Audio

No sound output

Pimarchy uses PipeWire for audio. 1. Open the volume control with SUPER + V (or click the volume icon in Waybar). 2. Check the output device settings in the pavucontrol mixer. 3. Ensure your user is in the audio group: sudo usermod -aG audio $USER.


Still having trouble?

If your issue isn't listed here, please: 1. Check the installation logs: tail -f ~/pimarchy_install.log (if you redirected output). 2. Run the validation script: bash validate.sh. 3. Open an issue on GitHub.