<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 9:25 AM, Peter Bennett (cats22) <span dir="ltr"><<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 11/19/2015 08:21 AM, Lawrence Rust wrote:<br>
> On Wed, 2015-11-18 at 16:37 -0500, Peter Bennett (cats22) wrote:<br>
>> I installed it on Wheezy and it is working!<br>
>><br>
>> The video is a bit jerky, I suspect I may not have the mpeg2 licence<br>
>> correctly set up.<br>
> For maximum performance setup your RPi for 256MB GPU RAM. Then create a<br>
> custom OpenMAX playback profile using the OpenMAX decoder, OpenMax<br>
> renderer using the opengl2 OSD. Also ensure to select the Advanced<br>
> Deinterlacer (HW).<br>
><br>
>> I am running it from a terminal inside the GUI. One thing strange,<br>
>> after I exit I see it is trying to execute in bash all the keystrokes<br>
>> from when I was running mythtv. Temporarily adding a cat after the<br>
>> command that runs the frontend to catch those.<br>
> Best to run without X.<br>
><br>
>> When playing a video that is widescreen with 4x3 monitor - there is junk<br>
>> left over in the top and bottom bars on the screen which would normally<br>
>> be black.<br>
> That's an issue that I have on my TODO list.<br>
><br>
> -- Lawrence Rust<br>
><br>
><br>
<br>
</span>I checked the settings you mentioned above as well as my mpeg2 license.<br>
I already had them correct.<br>
<br>
Running it without X and with the parameter QT_QPA_PLATFORM=eglfs<br>
results in jerky video, sound interruptions and lip sync problems.<br>
<br>
However, running under the GUI (startx) with parameter<br>
QT_QPA_PLATFORM=xcb results in perfect video and audio!<br>
<br>
I am running on a 1280x1024 screen and playing 1080i video. Perhaps the<br>
scaling under eglfs is inefficient?<br>
<br>
One issue with running under startx - the audio does not work (I just<br>
hear silence) unless I first start "Sonic Pi" and then shut it down<br>
again. Seems like the X interface to audio is not being initialized?<br>
<br>
I installed my favorite theme (Steppes) and now I no longer have the<br>
problem of junk in the top and bottom parts of letterbox view.<br>
<br>
It is looking really good! Thank you!<br></blockquote><div><br></div><div>I took another run at it this weekend. My results are similar to Peter’s</div><div><br></div><div>I first re-tried EGLFS mode:</div><div>- wasn’t able to edit the settings on the Pi’s display, so I used remote X to change the settings and add an OpenMax profile</div><div>- used rasp-config to change the memory split from 128MB of graphics mem to 256MB</div><div>- confirmed my MPEG2 license was installed with “vcgencmd codec_enabled MPG2” (the license code should be placed in /boot/config.txt)</div><div><br></div><div>After this, video actually plays on the Pi in EGLFS mode. However, it was not smooth for either 1080i or 720p (US Broadcast MPEG2). I got a lot of playback messages like:</div><div><div><br></div><div>2015-11-22 15:59:43.219535 I Player(1): Waiting for video buffers...</div><div>2015-11-22 15:59:43.282415 I Player(1): Video is 3.19103 frames behind audio (too slow), dropping frame to catch up.</div><div>2015-11-22 15:59:43.284804 I Player(1): Video is 3.11257 frames behind audio (too slow), dropping frame to catch up.</div><div>2015-11-22 15:59:43.285256 I Player(1): Waiting for video buffers…</div></div><div><br></div><div>I then went to X, and started in xcb mode. There the video playback was quite smooth. But, my video was offset up+left, leaving black bars on the bottom and right of the screen. I’m sure I can address that via overscan config and OSD settings.</div><div><br></div><div>My initial eglfs test was with HDMI audio with DD/5.1, which resulted in static-like sound. After switching to stereo output, I could hear the audio track on my recordings.</div><div><br></div><div>Another data point: I’ve also been testing MythTV in OpenElec/Kodi on this rpi2 device, and under Kodi the video playback is perfect. I believe Kodi is doing EGL display. So, that’s a good sign that the underlying hardware and software should be fully capable. </div><div><br></div></div></div></div>