[mythtv] Developing RPI2 MythTV package for ArchLinux ARM
Peter Bennett
pgbennett at comcast.net
Sat Jan 23 19:28:06 UTC 2016
On 01/21/2016 05:33 PM, warpme wrote:
>> Wiadomość napisana przez Peter Bennett <pgbennett at comcast.net> w dniu 18.01.2016, o godz. 18:46:
>> I see the same message in Raspbian. I am using XCB and it is working fine - these are the messages in the log, so I think you are OK.
>>
>> 2016-01-04 18:41:08.015481 E X11 ModeLine query returned zeroes
>> QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
>> 2016-01-04 18:41:08.310967 E VOMX:4 Init failed to create MythRenderEGL
> Good to hear this. I spent considerable time to get Qt5 properly working on ArchLinux ARM.
>
>> I am using XCB and OSD does not work well (known issue). With EGLFS the OSD works smoothly for me but I have not noticed if there is a delay the first time.
> Interesting is that when I connected RPI2 to my TV and ask for 1080p at 50 video mode OSD starts to be smooth with EGLFS.
> Playback is however still jumpy with a lot of
>
> 2016-01-19 17:26:16.810760 I Player(0): FPS: 23.93 Mean: 41796 Std.Dev: 23049 CPUs: 19% 16% 14% 14%
> 2016-01-19 17:26:16.996387 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:17.034608 I ALSA: WriteAudio: buffer underrun
> 2016-01-19 17:26:17.654785 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:17.999517 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:18.004583 I ALSA: WriteAudio: buffer underrun
> 2016-01-19 17:26:18.186695 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:18.856670 I ALSA: WriteAudio: buffer underrun
> 2016-01-19 17:26:19.236134 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:19.860658 I ALSA: WriteAudio: buffer underrun
> 2016-01-19 17:26:20.360588 I Player(0): Waiting for video buffers...
> 2016-01-19 17:26:21.056590 I Player(0): FPS: 23.61 Mean: 42346 Std.Dev: 22482 CPUs: 13% 11% 8% 12%
>
>>> Q: Is such huge difference between XCB and EGFLS expected?
>>>
>>>
>> I can test this if you give me the parameter to get this display.
> simply enable —verbose playback
>
>
> _______________________________________________
>
OK here are the results
with xcb playback -
2016-01-23 14:11:39.499268 I Player(0): FPS: 34.56 Mean: 28937
Std.Dev: 14976 CPUs: 100% 100% 100% 0%
2016-01-23 14:11:43.471404 I Player(0): FPS: 29.99 Mean: 33347
Std.Dev: 6448 CPUs: 23% 13% 9% 10%
2016-01-23 14:11:47.442125 I Player(0): FPS: 30.00 Mean: 33335
Std.Dev: 6248 CPUs: 21% 19% 2% 9%
2016-01-23 14:11:48.741593 I Player(0): 400 interlaced frames seen.
2016-01-23 14:11:51.410547 I Player(0): FPS: 30.01 Mean: 33322
Std.Dev: 7569 CPUs: 21% 20% 4% 10%
2016-01-23 14:11:55.382717 I Player(0): FPS: 29.99 Mean: 33346
Std.Dev: 6908 CPUs: 21% 12% 13% 18%
2016-01-23 14:11:59.354592 I Player(0): FPS: 29.99 Mean: 33344
Std.Dev: 7075 CPUs: 18% 12% 19% 20%
2016-01-23 14:12:02.087504 I Player(0): 800 interlaced frames seen.
2016-01-23 14:12:03.322597 I Player(0): FPS: 30.01 Mean: 33318
Std.Dev: 8729 CPUs: 27% 14% 6% 15%
2016-01-23 14:12:07.295280 I Player(0): FPS: 29.98 Mean: 33351
Std.Dev: 6844 CPUs: 22% 11% 13% 6%
2016-01-23 14:12:11.264861 I Player(0): FPS: 30.00 Mean: 33332
Std.Dev: 6370 CPUs: 21% 11% 15% 7%
2016-01-23 14:12:15.255979 I Player(0): FPS: 29.85 Mean: 33505
Std.Dev: 6929 CPUs: 27% 14% 20% 8%
2016-01-23 14:12:15.434276 I Player(0): 1200 interlaced frames seen.
2016-01-23 14:12:19.209052 I Player(0): FPS: 30.15 Mean: 33169
Std.Dev: 7836 CPUs: 25% 13% 16% 15%
2016-01-23 14:12:23.141971 D Running HouseKeeper.
2016-01-23 14:12:23.142121 D Checking to run HardwareProfiler
2016-01-23 14:12:23.180337 I Player(0): FPS: 30.00 Mean: 33335
Std.Dev: 6789 CPUs: 21% 13% 10% 15%
2016-01-23 14:12:27.149105 I Player(0): FPS: 30.01 Mean: 33319
Std.Dev: 7428 CPUs: 22% 10% 4% 16%
2016-01-23 14:12:28.783890 I Player(0): 1600 interlaced frames seen.
2016-01-23 14:12:31.119907 I Player(0): FPS: 29.99 Mean: 33339
Std.Dev: 5291 CPUs: 46% 24% 2% 16%
2016-01-23 14:12:35.088166 I Player(0): FPS: 30.01 Mean: 33321
Std.Dev: 6539 CPUs: 22% 16% 3% 11%
2016-01-23 14:12:39.059666 I Player(0): FPS: 29.99 Mean: 33347
Std.Dev: 6938 CPUs: 21% 20% 6% 13%
2016-01-23 14:12:42.128994 I Player(0): 2000 interlaced frames seen.
2016-01-23 14:12:43.039709 I Player(0): FPS: 29.93 Mean: 33413
Std.Dev: 5994 CPUs: 21% 12% 5% 15%
With EGLFS there are dozens of messages about the video being ahead of
audio. CPU is not much different. -
2016-01-23 14:14:43.434832 I Player(0): FPS: 30.62 Mean: 32663
Std.Dev: 11064 CPUs: 100% 100% 100% 0%
2016-01-23 14:14:47.394671 I Player(0): FPS: 30.08 Mean: 33243
Std.Dev: 5118 CPUs: 20% 16% 19% 4%
2016-01-23 14:14:51.364470 I Player(0): FPS: 30.00 Mean: 33332
Std.Dev: 8400 CPUs: 21% 19% 14% 5%
2016-01-23 14:14:52.665320 I Player(0): 400 interlaced frames seen.
2016-01-23 14:14:53.165567 I Player(0): Video is 3.06605 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:53.230955 I Player(0): Video is 3.34097 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:53.297479 I Player(0): Video is 3.34486 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:53.364472 I Player(0): Video is 3.19795 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:55.265482 I Player(0): Video is 3.05002 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:55.332256 I Player(0): Video is 3.21656 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:55.399083 I Player(0): Video is 3.13918 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:55.568566 I Player(0): FPS: 28.33 Mean: 35300
Std.Dev: 11825 CPUs: 23% 22% 12% 8%
2016-01-23 14:14:56.334334 I Player(0): Video is 3.01181 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:56.400853 I Player(0): Video is 3.17293 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:56.467501 I Player(0): Video is 3.09147 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:57.137247 I Player(0): Video is 3.03456 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:57.201911 I Player(0): Video is 3.19747 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:57.268296 I Player(0): Video is 3.24473 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:57.336570 I Player(0): Video is 3.00297 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:58.335278 I Player(0): Video is 3.21854 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:58.402102 I Player(0): Video is 3.34294 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:58.482311 I Player(0): Video is 3.23397 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:59.803427 I Player(0): Video is 3.2094 frames ahead of
audio,
doubling video frame interval to slow down.
2016-01-23 14:14:59.870348 I Player(0): Video is 3.32113 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:14:59.938417 I Player(0): FPS: 27.25 Mean: 36696
Std.Dev: 11800 CPUs: 22% 12% 2% 15%
2016-01-23 14:14:59.938581 I Player(0): Video is 3.20263 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:15:00.505126 I Player(0): Video is 3.14448 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:15:00.571011 I Player(0): Video is 3.3998 frames ahead of
audio,
doubling video frame interval to slow down.
2016-01-23 14:15:00.637638 I Player(0): Video is 3.39647 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:15:00.704601 I Player(0): Video is 3.24413 frames ahead
of audio,
doubling video frame interval to slow down.
2016-01-23 14:15:01.138647 I Player(0): Video is 3.0345 frames ahead of
audio,
OSD with EGLFS - the first time was maybe 0.1 second. Second time
instantaneous. Certainly not anything to worry about. Not even close to
1 second delay.
Peter
More information about the mythtv-dev
mailing list