From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Radek_Dost=c3=a1l?= Subject: BUG Beaglebone HDMI output flickers Date: Wed, 9 Mar 2016 10:17:52 +0100 Message-ID: <56DFEA40.9060906@streamunlimited.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080306050309070906000307" Return-path: Received: from bsmtp5.bon.at (bsmtp5.bon.at [195.3.86.187]) by gabe.freedesktop.org (Postfix) with ESMTPS id 529FB6E87B for ; Wed, 9 Mar 2016 09:25:58 +0000 (UTC) Received: from bsmtp8.bon.at (unknown [192.168.181.107]) by bsmtp5.bon.at (Postfix) with ESMTPS id 3qKnr54d1Jz5v6b for ; Wed, 9 Mar 2016 10:17:57 +0100 (CET) Received: from [10.1.14.92] (vpn.streamunlimited.com [91.114.0.140]) by bsmtp8.bon.at (Postfix) with ESMTPSA id 3qKnr21MfSz5tlH for ; Wed, 9 Mar 2016 10:17:53 +0100 (CET) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org This is a multi-part message in MIME format. --------------080306050309070906000307 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear All, Beaglebone black display starts to flicker after updating our userspace to GStreamer 1.6 and decoding WMA. We analyzed the change in gstreamer and created simple program, which allow us to reproduce the issue reliably - see attached. When attached program mem-test.c is executed with nice as user nobody, it is still causing heavy flickering of the BeagleBone HDMI output. You can see the example on this 30second video https://db.tt/ZQf4nq9A Following messages are printed to the kernel log: [ 450.997625] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow [ 451.023380] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow [ 451.032606] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow [ 451.056635] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow [ 451.065265] tilcdc 4830e000.lcdc: tilcdc_crtc_irq(0x00000020): FIFO underfow What is very interesting only some sizes of memtest are causing flickering: Sizes 0 to 24: no flickering. Sizes 25 to 2072: heavy flickering: Sizes 2073 to 2200: a little bit of flickering: Any help would be greatly appreciated, Radek Dostal --------------080306050309070906000307 Content-Type: text/x-csrc; name="mem-test.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mem-test.c" #include #include #include int main(int argc, char **argv) { int size; uint8_t *memblock; if (argc < 2) return -1; size = atoi(argv[1]); memblock = malloc(size); while (1) { memset(memblock, 0, size); } free(memblock); return 0; } --------------080306050309070906000307 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --------------080306050309070906000307--