[mythtv-users] [mythtv] MythTV Raspberry Pi2 frontend testers
Lawrence Rust
lvr at softsystem.co.uk
Thu Nov 19 13:21:20 UTC 2015
On Wed, 2015-11-18 at 15:27 -0500, Joseph Fry wrote:
> >
> >
> >>> So, got it installed on Raspbian Wheezy, when I run it I get the DB
> >>>> configuration window, then it restarts and gives me a black screen with a
> >>>> mouse cursor (if I move the mouse).
> >>>>
> >>>> Really cool that this appears to be running in directfb, no need for
> >>>> X! Even cooler if I could get the frontend to display.
> >>>>
> >>>> Am I missing something? If I could switch to the console and see the
> >>>> output I may be able to figure out where its failing, but I don't know how
> >>>> to kill it without a reboot (ctrl-alt-del).
> >>>>
> >>>>
> >>> Thanks to your tip for using Wheezy, I think I'm at the same place as
> >>> you are.
> >>>
> >>> If you redirect the output of mythfrontend to a text file, you'll see
> >>> the problem. Mine can't find the backend, and it looks like the reason is
> >>> that the mysql libraries aren't loading.
> >>>
> >>> Here is what I see in the terminal:
> >>>
> >>> 2015-11-18 14:33:23.796232 E MSqlDatabase::OpenDatabase(), db object is
> >>> not valid!
> >>>
> >>> and from (I think) stderr:
> >>>
> >>> QSqlDatabase: QMYSQL driver not loaded
> >>> QSqlDatabase: available drivers: QMYSQL QMYSQL3
> >>>
> >>> But it is close!
> >>>
> >>>
> >> for some reason pressing esc a couple of times finally cleared the blank
> >> window... maybe I waited long enough for something to timeout.
> >>
> >> for some reason mine keeps trying to connect to backed on localhost...
> >> suggesting that it failed to use the configuration I specified... the
> >> config.xml is correct.
> >>
> >> But I do also see the "QMYSQL driver not loaded" message.
> >>
> >>
> > Yeah, mine keeps trying localhost also, even though I dropped a config.xml
> > in ~/.mythtv. I believe it tries my backend once, then hammers localhost
> > for an answer. I have a bunch of errors that are repeats of the first
> > error line I mentioned (db object is not valid).
> >
>
> Fixed it.
>
> Apt-get install mysql-client libqt4-sql-mysql
Oops, that should have been in the mythtv_for_rpi.txt note. Have added
it now. Thanks and apologies for wasted time.
> I have mythtv running on my rpi... now to get the mpeg licenses installed
> and do some testing!
You don't need to wait, the video playback is not dependent upon the
MPEG license, only the decoder is. The difference in performance
between the h/w OpenMAX decoder and ffmpeg is not huge on SD material.
Also the RPi supports H264 (.mp4) decoding without a license.
For maximum performance setup your RPi for 256MB GPU RAM. Then create a
custom OpenMAX playback profile using the OpenMAX decoder, OpenMax
renderer using the opengl2 OSD. Also ensure to select the Advanced
Deinterlacer (HW).
-- Lawrence Rust
More information about the mythtv-users
mailing list