All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: "Andreas Müller" <schnitzeltony@googlemail.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: No HDMI video on imx6qsabresd with dizzy
Date: Thu, 13 Nov 2014 17:17:46 +0200	[thread overview]
Message-ID: <5464CB9A.8040000@mail.bg> (raw)
In-Reply-To: <CALbNGRQnqLQY5RRO7qj_gQcswtJZeRLhS_iDwTW6sLKD52OWuw@mail.gmail.com>

Hi Andreas,

On 11/13/2014 11:29 AM, Andreas Müller wrote:
> On Wed, Nov 12, 2014 at 11:58 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> Hi guys,
>>
>> I'm trying to use unmodified dizzy build with imx6q sabresd, for
>> testing video playback. U-Boot outputs HDMI image during boot, but in
>> Linux there's no HDMI image (no console, no video playback).
>>
>> The image is "fsl-image-multimedia-full", kernel 3.10.17. The device
>> files /dev/video* and /dev/fb* are available, but gstreamer playback
>> doesn't output any image on the HDMI port (seems to be stuck instead of
>> playing).
>>
>> The kernel cmdline doesn't specify any video settings, which typically
>> is an issue, but when I add the video bootargs:
>>
>> ...video=mxcfb0:dev=hdmi,1024x768M@60,if=RGB24...
>>
>> The board stops to print any boot messages after "Starting kernel..."
>> and seems to be stuck. Removing the video bootargs allows again to boot
>> normally.
>>
>> I must admit that I'm somewhat puzzled by this behavior, as I already
>> have daizy running with 3.10.17 on a custom board, and the video is
>> working there with almost the same bootargs. Do you guys have any ideas
>> for how to configure imx6q sabresd for HDMI video?
>>
>> Thanks in advance. Regards,
>> Nikolay
>> --
> Had same here.
>
> I think there are two problems:
> * 3.10.17 EDID decoding works only for monitors with EDID extended
> blocks (patch 0001..)
> * 1024x768 is not a CEA mode. If I read the code of 3.10.17 correct,
> HDMI supports only modes which are found in
> drivers/video/mxc/mxc_edid.c const struct fb_videomode
> mxc_cea_mode[64]. I hacked up working solution (patch 0002..). Note
> that this is just a hack - it might lead to incorrect colour space
> conversion or wrong PixelRepetitionOutput (see mxc_hdmi_setup:
> hdmi->vic is always 0 for my patches).
>
> These patches were tested with two monitors (1280x1024 / 1650x<I
> forgot>) and seem to work fine.

Thanks for your detailed answer. I remember seeing discussions on the
net about a safe fallback resolution for imx6 hdmi, so that's the only
reason to choose 1024x768.

Also, are you sure that the HDMI code doesn't use the CVT (Common VESA
Table) resolutions? Need to check this. I'll also look a the code
which you pointed me to, and try your patches.

I'm not looking for big or pixel-exact resolutions on HDMI, just some
reasonable resolution so I can test my gstreamer issues there :).

Regards,
Nikolay


  reply	other threads:[~2014-11-13 15:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 22:58 No HDMI video on imx6qsabresd with dizzy Nikolay Dimitrov
2014-11-12 23:02 ` Fabio Estevam
2014-11-13 10:30   ` Daiane Angolini
2014-11-13 15:18     ` Nikolay Dimitrov
2014-11-13 15:10   ` Nikolay Dimitrov
2014-11-13 17:46     ` Nikolay Dimitrov
2014-11-13 19:34       ` Nikolay Dimitrov
2014-11-13 20:50         ` Daiane Angolini
2014-11-13 22:22           ` Nikolay Dimitrov
2014-11-14  9:13             ` Daiane Angolini
2014-11-14 10:36             ` Fabio Estevam
2014-11-17  1:41               ` Nikolay Dimitrov
2014-11-14 10:59         ` Nikolay Dimitrov
2014-11-13  9:29 ` Andreas Müller
2014-11-13 15:17   ` Nikolay Dimitrov [this message]
2014-11-13 15:48     ` Andreas Müller
2014-11-13 17:50       ` Nikolay Dimitrov

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=5464CB9A.8040000@mail.bg \
    --to=picmaster@mail.bg \
    --cc=meta-freescale@yoctoproject.org \
    --cc=schnitzeltony@googlemail.com \
    /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.