[mythtv-users] MythTV Raspberry Pi 2+ MythFrontend Setup Tutorial Updated

airdrummer air_drummer at verizon.net
Tue Mar 15 02:20:58 UTC 2016


Curtis Gedak wrote:

> To get proper GUI display and recordings playback, look-up your monitor
> resolution.  Then make sure that the /boot/config.txt video settings
> match the monitor resolution and frequency (Hz).

pi at rpi-mythtv:~ $ /opt/vc/bin/tvservice -m CEA
Group CEA has 9 modes:
            mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
            mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
            mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
            mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
            mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
            mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced
            mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
   (prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
            mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive

so in /boot/config.txt i have:
	hdmi_group=1
	hdmi_mode=16

but to get the x desktop fully on screen, i need:

	overscan_left=145
	overscan_right=145
	overscan_top=60
	overscan_bottom=60

peter's gui(under x) fits completely onscreen, but your gui is partly offscreen.

> Next make sure that the *Setup -> Appearance* settings for *GUI width
> (pixels)* and *GUI height (pixels)* match these values.

setting these values:
	GuiHeight                         | 1080
	GuiWidth                          | 1920
puts  peter's x gui grossly offscreen (and the desktop menubar appears above 
it)-: your gui is actually unchanged, 1280x720 (theme size) is grossly 
undersized, probably b/c i need to set
	VertScanPercentage                | -5
	HorizScanPercentage               | -10
to get the video entirely onscreen (using your executable, peter's executable's 
video i cannot shift onscreen)
so i'm going back to 0x0 for GuiHeight/width.

  attached is log from your exec, hope you can use it:-)

thanx

-------------- next part --------------
pi at rpi-mythtv:~ $ ./runFE.sh 
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
2016-03-14 21:19:40.531437 I  Setup Interrupt handler
2016-03-14 21:19:40.531825 I  Setup Terminated handler
2016-03-14 21:19:40.531872 I  Setup Segmentation fault handler
2016-03-14 21:19:40.531913 I  Setup Aborted handler
2016-03-14 21:19:40.531951 I  Setup Bus error handler
2016-03-14 21:19:40.531993 I  Setup Floating point exception handler
2016-03-14 21:19:40.532031 I  Setup Illegal instruction handler
2016-03-14 21:19:40.532075 I  Setup Real-time signal 0 handler
2016-03-14 21:19:40.532132 I  Setup User defined signal 1 handler
2016-03-14 21:19:40.532171 I  Setup User defined signal 2 handler
2016-03-14 21:19:40.532208 I  Setup Hangup handler
2016-03-14 21:19:40.533338 C  mythfrontend version: raspi-fixes-0.27 [v0.27.6-69-g41a2a8d] www.mythtv.org
2016-03-14 21:19:40.533411 C  Qt version: compile: 5.4.0, runtime: 5.4.0
2016-03-14 21:19:40.533434 N  Enabled verbose msgs:  general
2016-03-14 21:19:40.533580 N  Setting Log Level to LOG_INFO
2016-03-14 21:19:40.546660 I  Added logging to the console
2016-03-14 21:19:40.546780 N  Using runtime prefix = /home/pi/mythtv-rpi
2016-03-14 21:19:40.546868 N  Using configuration directory = /home/pi/.mythtv
2016-03-14 21:19:40.547393 I  Assumed character encoding: en_US.UTF-8
2016-03-14 21:19:40.552578 I  Using localhost value of rpi-mythtv
2016-03-14 21:19:40.552851 I  UPNP Search up to 2 secs
2016-03-14 21:19:40.662943 I  New Client:  (#1)
2016-03-14 21:19:41.562444 I  Testing network connectivity to 'shp'
2016-03-14 21:19:41.563442 I  Starting process manager
2016-03-14 21:19:41.563442 I  Starting process signal handler
2016-03-14 21:19:41.563606 I  Starting IO manager (read)
2016-03-14 21:19:41.563833 I  Starting IO manager (write)
2016-03-14 21:19:41.757643 N  Setting QT default locale to en_US
2016-03-14 21:19:41.757805 I  Current locale en_US
2016-03-14 21:19:41.758208 N  Reading locale defaults from /home/pi/mythtv-rpi/share/mythtv//locales/en_us.xml
2016-03-14 21:19:41.850561 W  ScreenSaverDBus: Could not connect to dbus: The name org.freedesktop.ScreenSaver was not provided by any .service files
2016-03-14 21:19:41.853257 W  ScreenSaverDBus: Could not connect to dbus: The name org.freedesktop.PowerManagement.Inhibit was not provided by any .service files
2016-03-14 21:19:41.855595 W  ScreenSaverDBus: Could not connect to dbus: The name org.mate.SessionManager was not provided by any .service files
2016-03-14 21:19:41.857715 W  ScreenSaverDBus: Could not connect to dbus: The name org.gnome.SessionManager was not provided by any .service files
2016-03-14 21:19:41.992050 I  ScreenSaverX11Private: DPMS is not supported.
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
2016-03-14 21:19:42.454255 E  X11 ModeLine query failed
2016-03-14 21:19:42.458881 N  Desktop video mode: 1440x878 60.000 Hz
2016-03-14 21:19:42.568863 I  Listening on TCP 127.0.0.1:6547
2016-03-14 21:19:42.569256 I  Listening on TCP 10.0.1.224:6547
2016-03-14 21:19:42.569588 I  Listening on TCP [::1]:6547
2016-03-14 21:19:42.570171 I  Listening on TCP [fe80::a959:b562:188c:8f24%eth0]:6547
2016-03-14 21:19:43.038596 I  Loading en_us translation for module mythfrontend
2016-03-14 21:19:43.168036 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
                        eno: No such file or directory (2)
2016-03-14 21:19:43.168336 E  JoystickMenuThread: Joystick disabled - Failed to read /home/pi/.mythtv/joystickmenurc
2016-03-14 21:19:43.168366 I  UDPListener: Enabling
2016-03-14 21:19:43.172140 I  Binding to UDP 127.0.0.1:6948
2016-03-14 21:19:43.172367 I  Binding to UDP 10.0.1.224:6948
2016-03-14 21:19:43.172578 I  Binding to UDP [::1]:6948
2016-03-14 21:19:43.172937 I  Binding to UDP [fe80::a959:b562:188c:8f24%eth0]:6948
2016-03-14 21:19:43.173168 I  Binding to UDP 10.0.1.255:6948
2016-03-14 21:19:43.310781 I  Using Frameless Window
2016-03-14 21:19:43.310810 I  Using Full Screen Window
2016-03-14 21:19:43.941689 I  Using the Qt painter
2016-03-14 21:19:46.505839 E  XMLParseBase: Unknown widget type.
                        Location: /home/pi/mythtv-rpi/share/mythtv/themes/MythCenter-wide/base.xml @ 694
                        Name: ''        Type: 'browserarea'
2016-03-14 21:19:46.505963 E  XMLParseBase: Unknown widget type.
                        Location: /home/pi/mythtv-rpi/share/mythtv/themes/MythCenter-wide/base.xml @ 695
                        Name: ''        Type: 'zoom'
2016-03-14 21:19:46.506067 E  XMLParseBase: Unknown widget type.
                        Location: /home/pi/mythtv-rpi/share/mythtv/themes/MythCenter-wide/base.xml @ 696
                        Name: ''        Type: 'scrollduration'
2016-03-14 21:19:46.552478 I  MythCoreContext: Connecting to backend server: 10.0.1.206:6543 (try 1 of 1)
2016-03-14 21:19:46.574227 I  Using protocol version 77
2016-03-14 21:19:46.815483 I  Current MythTV Schema Version (DBSchemaVer): 1317
2016-03-14 21:19:48.213040 N  Registering Internal as a media playback plugin.
2016-03-14 21:19:48.355683 I  Loading en_us translation for module mytharchive
2016-03-14 21:19:48.864376 N  Registering WebBrowser as a media playback plugin.
2016-03-14 21:19:48.864830 E  Error Loading en_us translation for module mythbrowser
2016-03-14 21:19:48.934831 I  Loading en_us translation for module mythgallery
2016-03-14 21:19:48.961817 E  Error Loading en_us translation for module mythgame
2016-03-14 21:19:48.987253 I  Current MythMusic Schema Version (MusicDBSchemaVer): 1020
2016-03-14 21:19:49.050544 I  Loading en_us translation for module mythmusic
2016-03-14 21:19:49.064344 I  Loading en_us translation for module mythnetvision
2016-03-14 21:19:49.083470 E  Error Loading en_us translation for module mythnews
2016-03-14 21:19:49.106705 E  Error Loading en_us translation for module mythweather
2016-03-14 21:19:49.121439 E  Error Loading en_us translation for module mythzoneminder
2016-03-14 21:19:49.283375 E  Failed to mount /dev/mmcblk0p2.
2016-03-14 21:19:49.459489 N  Found mainmenu.xml for theme 'MythCenter-wide'
2016-03-14 21:19:49.475262 I  Checking for theme updates every hour
2016-03-14 21:19:49.476962 I  Registering HouseKeeperTask 'HardwareProfiler'.
2016-03-14 21:19:49.485474 I  Starting HouseKeeper.
2016-03-14 21:19:49.542509 N  Found a handler for MEDIATYPE_DATA - 'MythGallery Media Handler 1/2'
2016-03-14 21:21:55.889788 I  TV: Creating TV object
2016-03-14 21:21:56.154326 N  Suspending idle timer
2016-03-14 21:21:56.161327 I  TV: Created TvPlayWindow.
2016-03-14 21:21:56.436419 I  TV: Attempting to change from None to WatchingLiveTV
2016-03-14 21:21:56.442465 I  MythCoreContext: Connecting to backend server: 10.0.1.206:6543 (try 1 of 1)
2016-03-14 21:21:56.474169 N  TV: Spawning LiveTV Recorder -- begin
2016-03-14 21:21:56.605760 N  TV: Spawning LiveTV Recorder -- end
2016-03-14 21:21:56.638637 I  TV: playbackURL(myth://mythtv-shelsHP/1631_20160315012156.mpg) cardtype(DUMMY)
2016-03-14 21:21:56.996032 N  AudioPlayer: Enabling Audio
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
2016-03-14 21:21:57.421468 E  X11 ModeLine query failed
2016-03-14 21:21:57.502775 I  OSD: Base theme size: 1280x720
2016-03-14 21:21:57.502864 I  OSD: Scaling factors: 0.5625x0.8
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
2016-03-14 21:21:57.734255 I  OSD: Base theme size: 1280x720
2016-03-14 21:21:57.734352 I  OSD: Scaling factors: 0.5625x0.8
2016-03-14 21:21:57.752882 E  X11 ModeLine query failed
2016-03-14 21:21:57.773568 E  X11 ModeLine query failed
2016-03-14 21:21:57.776537 I  Player(0): Video timing method: USleep with busy wait
2016-03-14 21:21:57.778389 I  TV: Created player.
2016-03-14 21:21:57.778713 I  TV: Changing from None to WatchingLiveTV
2016-03-14 21:21:57.778773 I  TV: State is LiveTV & mctx == ctx
2016-03-14 21:21:57.783945 I  TV: UpdateOSDInput done
2016-03-14 21:21:57.784044 I  TV: UpdateLCD done
2016-03-14 21:21:57.785716 I  TV: ITVRestart done
2016-03-14 21:21:57.788772 I  TV: Main UI disabled.
2016-03-14 21:21:57.788844 I  Using Idle Timer. 65 minutes
2016-03-14 21:21:57.972044 I  TV: Entering main playback loop.
2016-03-14 21:21:59.378142 I  AFD: codec AC3 has 6 channels
2016-03-14 21:21:59.380349 I  AFD: Opened codec 0x1239a30, id(AC3) type(Audio)
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
2016-03-14 21:21:59.695826 E  X11 ModeLine query failed
2016-03-14 21:21:59.703927 I  OSD: Base theme size: 1280x720
2016-03-14 21:21:59.704017 I  OSD: Scaling factors: 0x1.11667
2016-03-14 21:21:59.961892 I  AFD: Opened codec 0x126a450, id(MPEG2VIDEO) type(Video)
2016-03-14 21:22:00.061363 I  AOBase: Opening audio device 'sysdefault:CARD=ALSA' ch 2(2) sr 48000 sf signed 16 bit reenc 0
2016-03-14 21:22:00.070592 E  ALSA: Requested 500000us got 341333 buffer time
2016-03-14 21:22:00.403624 E  AFD: Unknown decoding error
2016-03-14 21:22:00.469692 I  AFD: Audio stream changed
2016-03-14 21:22:44.209959 W  RingBuf(myth://mythtv-shelsHP/1631_20160315012243.mpg): Not starting read ahead thread, already running
2016-03-14 21:22:44.788655 I  AFD: codec AC3 has 6 channels
2016-03-14 21:22:44.790130 I  AFD: Opened codec 0x12f5210, id(AC3) type(Audio)
Xlib:  extension "XFree86-VidModeExtension" missing on display "localhost:10.0".
2016-03-14 21:22:44.892952 E  X11 ModeLine query failed
2016-03-14 21:22:44.896259 I  AFD: Opened codec 0x136b150, id(MPEG2VIDEO) type(Video)
2016-03-14 21:22:45.207187 N  Player(0): Waited 102ms for video buffers AAAAAAALLPPP
2016-03-14 21:22:45.308425 N  Player(0): Waited 203ms for video buffers AAAAAAALLPPP
2016-03-14 21:22:45.410254 N  Player(0): Waited 305ms for video buffers AAAAAAALLPPP
2016-03-14 21:22:45.511763 N  Player(0): Waited 407ms for video buffers LLAAAAALLPPP
2016-03-14 21:22:45.541886 E  AFD: Unknown decoding error
2016-03-14 21:22:45.590885 I  AFD: Audio stream changed
2016-03-14 21:22:46.154908 I  VideoOutput: Created YV12 OSD.


More information about the mythtv-users mailing list