Jump to content

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


2play
Go to solution Solved by 2play,

Recommended Posts

**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
 

Link to comment
Share on other sites

  • 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines