[mythtv-users] [mythtv] Raspberry Pi playback smoothness patches
Doug Larrick
doug at parkercat.org
Sun Nov 5 17:06:36 UTC 2017
On Sun, 2017-11-05 at 17:38 +0100, Jeff wrote:
> On 05/11/17 17:17, Doug Larrick wrote:
> > * Refer to https://www.mythtv.org/wiki/Raspberry_Pi , some good
> > tips
>
> [..]
>
> > * Memory can be a problem on RPi especially with GPU consuming a
> > quarter of the Pi's RAM. Run as few other processes as possible,
> > certainly not a desktop environment; I don't even run with a window
> > manager anymore.
>
> Would you mind adding some notes to
> https://www.mythtv.org/wiki/Raspberry_Pi on how to run without a
> desktop
> environment or window manager?
I don't have a Wiki account, but here's a brief outline:
1. Install 'matchbox-window-manager' package. This is a very
lightweight window manager.
2. Set up to autologin to the pi account on boot in
/etc/lightdm/lightdm.conf
3. Create a small script to restart mythfrontend if it exits; mine is
in file /home/pi/bin/mythloop (must be set executable):
#!/bin/bash
while true; do
mythfrontend
sleep 3
done
4. Create ~/.xsession file as follows:
#!/bin/sh
/home/pi/bin/mythloop &
exec matchbox-window-manager
Finally, once this is done and working, ssh into the Pi, run 'top' and
sort by memory / cpu, and deconfigure or uninstall stuff that's
consuming a significant amount of either.
-Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171105/f37dd74c/attachment.sig>
More information about the mythtv-users
mailing list