MediaCentre/RaspBMC.md
... ...
@@ -19,6 +19,7 @@ OS
19 19
: OSMC, Dietpi
20 20
21 21
22
+[[_TOC_]]
22 23
23 24
# Configuration
24 25
... ...
@@ -26,9 +27,7 @@ OS
26 27
27 28
## Hostname
28 29
29
-sudo hostname lounge
30
-
31
-[[$[Get Code]]][5]
30
+ sudo hostname lounge
32 31
33 32
Edit `/etc/hostname`:
34 33
... ...
@@ -47,6 +46,25 @@ Edit `/etc/hostname`:
47 46
48 47
49 48
49
+## Sound (Bullseye)
50
+Bullseye switch to the open-source vc4-kms-v3d HDMI driver which includes audio
51
+support but does not allow for ALSA dmixing (because it supports IEC985 but not PCM).
52
+
53
+Revert to vc4-fkms-v3d (fake KMS using firmware) and reenable bcm2835 audio:
54
+
55
+/boot/config-user.txt:
56
+```
57
+dtoverlay=vc4-fkms-v3d
58
+max_framebuffers=2
59
+dtparam=audio=on
60
+```
61
+
62
+/boot/cmdline.txt:
63
+```
64
+snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0
65
+```
66
+
67
+Resources: https://forums.raspberrypi.com/viewtopic.php?t=324067#p1988677
50 68
51 69
## Network
52 70
... ...
@@ -77,9 +95,7 @@ Edit `/etc/hostname`:
77 95
78 96
### Installing
79 97
80
-apt-get install v4l-utils libjpeg9
81
-
82
-[[$[Get Code]]][8]
98
+ apt-get install v4l-utils libjpeg9
83 99
84 100
85 101
... ...
@@ -228,13 +244,8 @@ Gave up with pkg-config problems after a while.
228 244
229 245
[1]: MediaCentre
230 246
[4]: /House/WhaleBarnMedia
231
- [5]: RaspBMC?action=sourceblock&num=1
232
- [6]: RaspBMC?action=sourceblock&num=2
233
- [7]: RaspBMC?action=sourceblock&num=3
234
- [8]: RaspBMC?action=sourceblock&num=4
235
- [9]: RaspBMC?action=sourceblock&num=5
236 247
[10]: https://discourse.osmc.tv/t/black-screen-on-hdmi/7599/29
237 248
[12]: RaspBMC
238 249
[13]: https://packages.debian.org/wheezy-backports/qemu
239 250
[14]: http://downloads.raspberrypi.org/raspbmc_latest
240
- [15]: RaspBMC?action=sourceblock&num=6
... ...
\ No newline at end of file
0
+ [15]: RaspBMC?action=sourceblock&num=6