[mythtv-users] SPAM-LOW: Re: [mythtv] Raspberry Pi playback smoothness patches
Steve Goodey
stevegoodey at spamcop.net
Fri Nov 10 09:11:42 UTC 2017
Hello,
I've added the information below to the wiki. Would appreciate if someone
could have a look and check it's OK.
Steve.
On Sunday, 5 November 2017 12:06:36 GMT Doug Larrick wrote:
> 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
More information about the mythtv-users
mailing list