Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TinkerBoard - Focal 20.04.4: Pygame 1.9.6 after install breaks Pulse Audio with DUMMY OUTPUT

Featured Replies

**Environment:**

You can get some of this info from the text that pops up in the console when you run a pygame program.

- **Operating system** (e.g. Windows, Linux(Debian), Linux(Ubuntu), Mac):  Focal 20.04.4 LTS, Kernel 5.15.25-rockchip
- **Python version** (e.g. 3.7.9, 3.8.5) : Python 2.7.18 & Python 3.8.10
- **SDL version** (e.g. SDL 2.0.12): Tested both 2.0.10 & 2.0.20
- **PyGame version** (e.g. 2.0.0.dev10, 1.9.6): 1.9.6 (1.9.6+dfsg-2build1) 
- Asus TinkerBoard RK3288

**Current behavior:**

Once python-pygame installs (sudo apt install python-pygame) after reboot the python script that uses the mixer and plays the music (livewire.py bgm script) plays ok but anything else has no audio. mpv muted videos, desktop no sound as pulse audio has been showing a DUMMY OUTPUT after pygame installation/reboot

**Expected behavior:**

on raspbian os with default values installation of pygame 1.9.6, sdl2 2.0.10, audio on other apps work ok.

I wanted to try latest pygame 2.0.0 or higher but cant install due to 3 dependencies not found (i ve read its due to python 3.8+)

**Screenshots**

Before
160807643-ee878a51-b856-4f67-8ad9-ff9aa4e571d7.png.773c94796c650fd8e058ab8e50093543.png

 

After

160846851-4a08acd5-1d6e-428a-bcb9-33409c65932b.png.097aa61c468fec8fe73722def257b20e.png
 

Solved by 2play

  • Author
  • Solution

Update (workaround/solution):
I have installed manually latest ubuntu pygame dependencies from the pygame compile documentation and install latest stable pygame 2.1.2 version

No DUMMY OUTPUT but later requires you to use python3 scripts that use pygame
 

PS First post combo though will cause the DUMMY OUTPUT (no sound) from any other media application apart the python pygame mixer

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.