SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Raspberry Pi 4 - No Keyboard Inputs w/ Latest Pipewire + Wireplumber Releases

Open bluestang2006 opened this issue 2 years ago • 5 comments

I was referred here because of https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/341...

I'm not sure where the bug is present and what exactly is causing it but as the title reads...I'm getting no keyboard inputs during app execution.

What I do know is that this issue happens once wireplumber is installed and pipewire is made the default audio server. Uninstalling pipewire-pulse and wireplumber, and making pulseaudio the default again fixes this issue...

This is easily reproducible on the Fedora 37 nightly image for aarch64

It's a bit more involved to get pipewire and wireplumber installed on the current Raspberry Pi OS...

bluestang2006 avatar Aug 30 '22 19:08 bluestang2006

That's extremely unexpected. I'll try to reproduce it here.

icculus avatar Aug 30 '22 22:08 icculus

That's extremely unexpected. I'll try to reproduce it here.

I would recommend using Quake3e or RetroArch as the apps to reproduce.

As I said, the easiest way might be to use the Fedora 37 nightly image for aarch64 since it includes RPi4 support and all the latest libraries are present or easily installed from rpm. I encountered this issue not knowing what was the cause at first because I was just curious how Fedora 37 would fair on the RPi4 since once its officially released it will support it.

On Raspberry Pi OS, I had to compile libfixes+libfixes-dev 1.6 in order to compile the latest pipewire and then compile latest wireplumber.

bluestang2006 avatar Aug 30 '22 22:08 bluestang2006

I'll just note that libXfixes is an optional at build time dependency of pipewire-module-x11-bell and you probably do not need or maybe even want either of them.

pinkflames avatar Aug 31 '22 08:08 pinkflames

pipewire-module-x11-bell

The Debian team that maintains the pipewire pkg does not have *libXfixes designated as an optional dependency

*Installing libXfixes-dev via apt has a dependency on libXfixes.

pipewire-module-x11-bell is bundled in libpipewire-0.3-modules for Debian.

bluestang2006 avatar Aug 31 '22 15:08 bluestang2006

Update - setting SDL_AUDIODRIVER=dummy fixes the issue with the keyboard input, however, the obvious issue is that there is no sound.

bluestang2006 avatar Sep 17 '22 00:09 bluestang2006

Update - looks like the cause of the issue is my USB external Razer Sound Card. I have KVM monitor, the sound card is plugged into the RP keyboard to the monitor that has an internal KVM.

I'm closing this as this is not an SDL2 bug.

bluestang2006 avatar Oct 01 '22 17:10 bluestang2006