All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Radek Dostál" <radek.dostal@streamunlimited.com>
To: dri-devel@lists.freedesktop.org
Subject: BUG Beaglebone HDMI output flickers
Date: Wed, 9 Mar 2016 10:17:52 +0100	[thread overview]
Message-ID: <56DFEA40.9060906@streamunlimited.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

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



[-- Attachment #2: mem-test.c --]
[-- Type: text/x-csrc, Size: 383 bytes --]

#include <string.h>
#include <stdint.h>
#include <stdlib.h>

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;
}

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2016-03-09  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09  9:17 Radek Dostál [this message]
2016-03-10 10:41 ` BUG Beaglebone HDMI output flickers Radek Dostal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56DFEA40.9060906@streamunlimited.com \
    --to=radek.dostal@streamunlimited.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.