Questions tagged [pygame]
6 questions
2
votes
0 answers
How to run python pygame script as systemd service?
I want to run python PyGame script on the Raspberry Pi at startup as early as it's possible. The script itself depends on PyGame and PySerial modules.
To achieve desired result I decided to wrap python script to a service and create a configuration…
Ruslan
- 81
- 5
2
votes
0 answers
how can I use 2 framebuffers (/dev/fbx), to display gui and video frame at same time using pygame?
I am working on zybo-7000 and Debian Jessie for my project. I have to make one window with GUI and in the same window, I have to make a small window for the video frame. (please see the picture)
I have 4 framebuffers. I am using 1 framebuffer only…
vivek patel
- 21
- 4
1
vote
0 answers
Pygame wont stream audio over Bluetooth while other applications will
I am having trouble getting pygame to stream audio to a Bluetooth speaker using bluealsa, other programs such as aplay and mpd work completely fine however when initialising pygame's mixer it will usually throw an error being:
pygame.error:…
Tris
- 11
- 1
0
votes
1 answer
Pygame audio is full of pops/crackling when started via systemd on a Pi
I'm trying to set up a Python process that plays audio to auromatically start on boot with systemd but when I do the audio is full of pops, even though it's fine when I run it myself in the command line. As you can see in my .service file below I've…
Aido
- 166
- 14
0
votes
2 answers
ERROR: Command errored out with exit status 1
Tried to install pygame using pip3 install pygame in Ubuntu 20.04
I came out with the error.
Any sort of help is appreciated
My error looks like this
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys,…
Subhash
- 11
- 2
0
votes
0 answers
ALSA and pygame.midi.init() function problem on Debian
I can't call the pygame.midi.init() function on my Debian
machine. Running the following code:
import pygame, pygame.midi
pygame.midi.init()
will result in the following errors:
ALSA lib conf.c:3009:(snd_config_update_r) Cannot access file…
user106035