English / Deutsch Plop Linux  
Derzeit nur auf Englisch!


Disable PC Speaker
ASUS PRIME X370-PRO - Sensors
Raspberry Pi - C64, MAME
Qt error qt.qpa.plugin, xcb
Unreal Editor - Install Vulkan
Firmware upgrade problems DD-WRT
PHP/ImageMagick - imagick


Sometimes udevd hangs with 100% CPU on one core and Xorg can not use the native NVIDIA driver.

A simple fix is to blacklist the NVIDIA driver and load it with 'modprobe' from 'rc.local'.

File: /etc/modprobe.d/blacklist.conf

blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_modeset


modprobe nvidia_drm

See also at Gentoo's Bugzilla: Bug 667362 - x11-drivers/nvidia-drivers-410.57 - timeouts when loading modules

Disable PC Speaker

File: /etc/modprobe.d/blacklist.conf

blacklist pcspkr


List sound cards: aplay -L

Play audio file: aplay test.wav

Record from second card: arecord -D hw:1 -f cd test.wav

Open mixer: alsamixer

Init cards: alsactl init

Store mixer settings: alsactl store

Load mixer settings: alsactl restore

Example: Set second sound card as default card, edit file: /etc/asound.conf

defaults.pcm.card 1

ASUS PRIME X370-PRO - Sensors

To get the sensor data (temperature, fan speed) of the motherboard download the IT87 driver, compile and install it.

Download: https://github.com/bbqlinux/it87/releases

Compile and install: make && make install

Module loading: modprobe it87

Add 'modprobe it87' to /etc/rc.local to load the module during boot.


Use OpenRGB (former OpenAuraSDK) to control the Asus Aura RGB.

You have to install i2c tools and Qt to use OpenRGB. For AMD you also have to patch the Linux Kernel. TODO

  • See 'Install Qt' if you haven't installed it.
  • i2c tools:
    Download: git clone https://github.com/mozilla-b2g/i2c-tools
    Compile and install: make && make install

Get the latest OpenRGB version: git clone https://gitlab.com/CalcProgrammer1/OpenRGB.git

Get additional sub modules for OpenRGB. Run the command in the OpenRGB directory: git submodule update --init --recursive

Create the Makefile: qmake OpenRGB.pro

Compile OpenRGB: make

Now you should have the program 'OpenRGB' in your current directory.

For AMD, you have to patch the Linux Kernel and recompile the modules. You find the patch file in the OpenRGB directory. At the moment, the file name is 'OpenRGB.patch'. Mail me if you need help. If needed, I will write a simple walkthrough.

Next, create an udev rule file for the permissions:

File: /etc/udev/rules.d/90-i2c.rules


Load the i2c module: modprobe i2c-dev

When everything worked fine, then run './OpenRGB' in the OpenRGB directory and control the leds of you board.

Raspberry Pi - C64, MAME

Summary without explanations.

Configure Raspberry

Avoid performance issues with forcing Raspberry Pi to a resolution of 800x600.

File: /boot/config.txt


C64 - VICE

For better performance use VICE 2.4 instead of 3.x.

Download: https://sourceforge.net/projects/vice-emu/files/releases/

Patch VICE with vice-2.4-giflib.patch

Compile and install: ./configure --prefix=/opt --without-pulse --without-resid --enable-arch=no --disable-ffmpeg --enable-ethernet --enable-sdlui && make && make install

Starting VICE: x64 [disk]

Configure VICE: Press F12 to open the Settings Menu.

MAME / RetroArch

For better performance use MAME based on the 2003 version. For simplicity use it with RetroArch.

Download: https://github.com/libretro/RetroArch/releases

Compile and install RetroArch: ./configure --prefix=/opt && make && make install

Starting RetroArch: retroarch

At first open the 'Online Updater'. Use 'Update Assets' to download/update the menu items.

Use the 'Core Updater' to load machine cores. For MAME use MAME 2003 and fbalpha 2012 on the Raspberry Pi.

Update the RetroArch config file for better performance on the Raspberry Pi.

File: ~/.config/retroarch/retroarch.cfg

# Use threaded video driver
video_threaded = true

# Smoothens picture with bilinear filtering
video_smooth = false

# Audio driver backend.
audio_driver = alsathread

# Enable rewinding
rewind_enable = false

See https://retropie.org.uk/forum/topic/13332/audio-cracks-pops-glitches-in-retropie-4-3/10

Disable screen blanking

In Plop Linux, add 'xset -dpms ; xset s off' to your '~/xfce4' or '~/fluxbox' file.

Qt error qt.qpa.plugin, xcb

On error

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized.
Reinstalling the application may fix this problem.
install 'libxkbcommon'.

Download: https://xkbcommon.org/download/


meson -Dprefix=/opt -Denable-wayland=false -Denable-docs=false build/ &&
ninja -C build/ && ninja install -C build/.

Unreal Editor - Install Vulkan

You have to install the Vulkan API to run the Unreal Editor.

Download: git clone https://github.com/KhronosGroup/Vulkan-Loader.git

Compile and install:

cd Vulkan-Loader
mkdir build
cd build
cmake .
sudo make install

Firmware upgrade problems DD-WRT

Note: Related to DD-WRT and not Plop Linux. See also the official DD-WRT Website!

If the uptdate from the Web GUI doesn't work then:

  • Connect with ssh: ssh root@ROUTER_IP (default password is 'admin')
  • Change to /tmp: cd /tmp
  • Download the firmware: curl [url] -k -o newfirmware (get the link for the latest firmware from https://dd-wrt.com/support/router-database/)
  • Flash it with: write newfirmware.bin linux &
  • Wait 2 minutes. Reboot with the Web GUI or reset the router.

PHP/ImageMagick - imagick

You need imagick to use ImageMagick with PHP.

Install imagick:

pecl channel-update pecl.php.net
pecl install imagick

Add the line "extension=imagick.so" to your php.ini. This file is usually "/etc/php.ini".

© 2021 by Elmar Hanlhofer