Skip to content

Commit

Permalink
Update to pygame 2.1.0
Browse files Browse the repository at this point in the history
Update/upgrade Rasp Pi install to resolve video and sound glitches
Simplify Rasp Pi install
  • Loading branch information
10yard committed Nov 18, 2021
1 parent 1c1bb38 commit 4bb43c4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
7 changes: 0 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,6 @@ Steps to install the default frontend are as follows. Also refer to **How to se
Reboot now? (Recommend Y)
```

#### Raspberry Pi 400 and HDMI sound

If you are using an HDMI to VGA adapter with a 3.5mm audio jack then you may have to add the following lines to your /boot/config.txt file.
```
hdmi_drive=2
config_hdmi_boost=4
```

## How to set up?

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ altgraph==0.17
future==0.18.2
ips-util==1.0
pefile==2019.4.18
pygame==2.0.0
pygame==2.1.0
pygame-menu==3.1.4
pyinstaller==4.0
pyinstaller-hooks-contrib==2020.10
Expand Down
4 changes: 2 additions & 2 deletions rpi4/dkafe_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ def main():
if "disable_overscan=" in line.lower():
f_out.write("disable_overscan=1\n")
elif "hdmi_group=" in line.lower():
f_out.write("hdmi_group=1\n")
f_out.write("hdmi_group=2\n")
elif "hdmi_mode=" in line.lower():
f_out.write("hdmi_mode=1\n")
f_out.write("hdmi_mode=4\n")
else:
f_out.write(line)
# 9) Map GPIO to keyboard input controls
Expand Down
1 change: 0 additions & 1 deletion rpi4/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ Raspberry Pi 4 Install Steps

Notes
-----
If you are using an HDMI to VGA adapter with a 3.5mm audio jack then you may have to uncomment the line hdmi_drive=2 in the \boot\config.txt file and reboot your system.
If rotating your monitor then you may want to add the OPTION `-nokeepaspect` to your settings.txt file to fill the screen.
8 changes: 2 additions & 6 deletions rpi4/rpi4_notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,10 @@ Scan line generator
-------------------
If using with a scan line generator then you should force 640x480 during boot and disable overscan i.e.
disable_overscan=1
hdmi_group=1
hdmi_mode=1
hdmi_group=2
hdmi_mode=4


HDMI Sound
----------
If you are using an HDMI to VGA adapter with a 3.5mm audio jack then you may have to uncomment the line hdmi_drive=2 (to use HDMI voltage) in the \boot\config.txt file and reboot your system.

GPIO input
----------
GPIO pins can be mapped to keyboard input in the /boot/config.txt file
Expand Down

0 comments on commit 4bb43c4

Please sign in to comment.