* Flicker with fb on Jetson TK1
@ 2016-07-25 2:02 Martin Michlmayr
[not found] ` <20160725020234.GA25839-IRMp5PtgtdoigzW5ZibpNwC/G2K4zDHf@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Martin Michlmayr @ 2016-07-25 2:02 UTC (permalink / raw)
To: thierry.reding-Re5JQEeQqe8AvxtiuMwx3w
Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
Running X with fb on the Jetson TK1, I get a flicker on the monitor
from time to time. I don't think I need to do anything to trigger it
(such as moving the mouse). It just happens from time to time.
I don't have the right X patches for nouveau, so X is using fbdev
which I guess means the tegra-drm driver.
This is with mainline u-boot (2016.07-rc1) and mainline kernel (4.6).
I uploaded a video in which you can see the flicker several times
(e.g. at 0:03, 0:16 and 0:28):
http://www.cyrius.com/tmp/tk1/
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flicker with fb on Jetson TK1
[not found] ` <20160725020234.GA25839-IRMp5PtgtdoigzW5ZibpNwC/G2K4zDHf@public.gmane.org>
@ 2016-07-25 14:21 ` Thierry Reding
[not found] ` <20160725142151.GP21170-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Thierry Reding @ 2016-07-25 14:21 UTC (permalink / raw)
To: Martin Michlmayr
Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
On Sun, Jul 24, 2016 at 07:02:34PM -0700, Martin Michlmayr wrote:
> Running X with fb on the Jetson TK1, I get a flicker on the monitor
> from time to time. I don't think I need to do anything to trigger it
> (such as moving the mouse). It just happens from time to time.
>
> I don't have the right X patches for nouveau, so X is using fbdev
> which I guess means the tegra-drm driver.
>
> This is with mainline u-boot (2016.07-rc1) and mainline kernel (4.6).
>
> I uploaded a video in which you can see the flicker several times
> (e.g. at 0:03, 0:16 and 0:28):
> http://www.cyrius.com/tmp/tk1/
What version of X do you use? Recent versions, I think starting with
1.18, the modesetting driver is built-in and is what you should use with
Tegra (and on top of an DRM/KMS driver, really).
The problem with fbdev is that it doesn't do double-buffering and hence
you can often see the kind of tearing as in the video. The modesetting
driver (which is also available as xf86-video-modesetting pre-1.18) can
do double-buffering (and I think will do by default), hence removing
the cause of such tearing.
Can you try running the test with the modesetting driver and report if
you're still experiencing the issue?
Thanks,
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flicker with fb on Jetson TK1
[not found] ` <20160725142151.GP21170-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
@ 2016-07-27 1:03 ` Martin Michlmayr
0 siblings, 0 replies; 3+ messages in thread
From: Martin Michlmayr @ 2016-07-27 1:03 UTC (permalink / raw)
To: Thierry Reding
Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
* Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [2016-07-25 16:21]:
> What version of X do you use? Recent versions, I think starting with
> 1.18, the modesetting driver is built-in and is what you should use with
> Tegra (and on top of an DRM/KMS driver, really).
>
> The problem with fbdev is that it doesn't do double-buffering and hence
> you can often see the kind of tearing as in the video. The modesetting
> driver (which is also available as xf86-video-modesetting pre-1.18) can
> do double-buffering (and I think will do by default), hence removing
> the cause of such tearing.
>
> Can you try running the test with the modesetting driver and report if
> you're still experiencing the issue?
This is with 1.18.4. The Xorg.log suggests that glx, modesetting,
fbdev, fbdevhw and glamoregl were loaded (although glamor
initialization failed). Modesetting is used according to the log.
I'm not very familiar with the graphics subsystem, so I'd appreciate
it if someone could take a look at the log:
http://www.cyrius.com/tmp/tk1/Xorg.0.log
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-27 1:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-25 2:02 Flicker with fb on Jetson TK1 Martin Michlmayr
[not found] ` <20160725020234.GA25839-IRMp5PtgtdoigzW5ZibpNwC/G2K4zDHf@public.gmane.org>
2016-07-25 14:21 ` Thierry Reding
[not found] ` <20160725142151.GP21170-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-07-27 1:03 ` Martin Michlmayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox