From: Nikita Yushchenko <nyushchenko@dev.rtsoft.ru>
To: Andreas Enbacka <"andreas.enbacka@gasera.fi"@yoctoproject.org>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: Framebuffer problem with Qt on Kontron SMARC sAMX6i
Date: Tue, 08 Dec 2015 09:54:36 +0300 [thread overview]
Message-ID: <56667EAC.2090102@dev.rtsoft.ru> (raw)
In-Reply-To: <01a401d130f6$85bed820$913c8860$@gasera.fi>
> Hello,
>
> I have been able to get HDMI output working on Yocto Daisy with the Kontron
> patch for SMARC sAMX6i. Now I am trying to run an embedded Qt application
> using eglfs.
>
> The application starts up and picture is displayed on HDMI, however, I get
> random blank display when e.g., moving the mouse cursor around. On the
> console, I get an error message
>
> mxc_sdc_fb mxc_sdc_fb.19: timeout when waiting for flip irq
>
> multiple times.
I have seen this while working on sAMX6i BSP, both 3.10 based
(daisy/dizzy) and 3.14 based (fido).
Not sure message is directly related - at least, it does not show always
when issue arises.
Per my understanding, this is caused by not enough bus throughput at
some point. When something else is accessing framebuffer memory, and/or
IPU is doing something else, something on HDMI data path is not able to
read or process data in time, this causes HDMI output signal
interruption, this causes temporary black screen. Problem can become
even worse on massive screen update (i.e. video playback) when screen
goes completely black.
I don't know what in particular is reason of this. Maybe some clock is
running at slower rate than it should?
I did not modify anything related to IPU or HDMI in sAMX6i kernel, this
part is unmodified linux-imx. I can guess that problem should be visible
sometimes on other imx6 boards, although I've never seen any reports of
that.
Possible workarounds are:
- make sure that bandwidth is not being wasted for other screen
(echo 1 > /sys/class/grapthis/fb2/blank)
- use lower framebuffer bpp
- use lower screen resolution
Nikita
next prev parent reply other threads:[~2015-12-08 6:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 13:52 Framebuffer problem with Qt on Kontron SMARC sAMX6i Andreas Enbacka
2015-12-08 6:54 ` Nikita Yushchenko [this message]
2015-12-08 14:18 ` Andreas Enbacka
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=56667EAC.2090102@dev.rtsoft.ru \
--to=nyushchenko@dev.rtsoft.ru \
--cc="andreas.enbacka@gasera.fi"@yoctoproject.org \
--cc=meta-freescale@yoctoproject.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.