From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 159B5E00576; Wed, 27 Aug 2014 01:11:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mailext0.televes.com (mailext0.televes.com [212.163.42.140]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3D061E0054C for ; Wed, 27 Aug 2014 01:11:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailext0.televes.com (Postfix) with ESMTP id 2CABE9A3F0E for ; Wed, 27 Aug 2014 10:11:04 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mailext0.televes.com Received: from mailext0.televes.com ([127.0.0.1]) by localhost (mailext0.televes.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HpWURo1ftB27 for ; Wed, 27 Aug 2014 10:11:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailext0.televes.com (Postfix) with ESMTP id E858F9A3F10 for ; Wed, 27 Aug 2014 10:11:03 +0200 (CEST) Received: from tves0.televes.com (tvesbackup0 [212.163.42.137]) by mailext0.televes.com (Postfix) with ESMTP id D70489A3F0E for ; Wed, 27 Aug 2014 10:11:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by tves0.televes.com (Postfix) with ESMTP id 12362F0219F85 for ; Wed, 27 Aug 2014 10:11:03 +0200 (CEST) Received: from arantia1.arantia.com (ARANTIA0.televes.com [192.168.178.2]) by tves0.televes.com (Postfix) with ESMTP id 0E311F0219F83 for ; Wed, 27 Aug 2014 10:11:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by arantia1.arantia.com (Postfix) with ESMTP id E3B291600F10 for ; Wed, 27 Aug 2014 10:11:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by arantia1.arantia.com (Postfix) with ESMTP id C35921601056 for ; Wed, 27 Aug 2014 10:11:02 +0200 (CEST) Received: from arantia1.arantia.com ([127.0.0.1]) by localhost (arantia0 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25182-01 for ; Wed, 27 Aug 2014 10:11:01 +0200 (CEST) Received: from [192.168.178.108] (unknown [192.168.178.108]) by arantia1.arantia.com (Postfix) with ESMTP id B87241600F70 for ; Wed, 27 Aug 2014 10:11:01 +0200 (CEST) Message-ID: <53FD9296.8000908@arantia.com> Date: Wed, 27 Aug 2014 10:11:02 +0200 From: Marco Trillo User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: meta-freescale Subject: i.MX6 HDMI aspect ratio issue within X11 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 08:11:09 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi all, I'm facing a curious HDMI aspect ratio issue within X11 on i.MX6. My setup is Yocto 1.6.1 `Daisy' with xserver-xorg-1.14.4 and kernel 3.10.17-1.0.0-wandboard. If I boot with video=mxcfb0:dev=hdmi,1280x720M@50,bpp=32 in /proc/cmdline, I get a 720P50 mode with the HDMI aspect ratio flag set to 16/9. The mode is "S:1280x720p-50" as listed in /sys/class/graphics/fb0/mode. If I then start the X server, the mode is changed to "U:1280x720p-50" and the HDMI aspect ratio flag is set to 4/3. This "U:1280x720p-50" seems to be a new mode, as it was not previously listed in /sys/class/graphics/fb0/modes, but it is listed now in addition to the previous "S:1280x720p-50". Being a new mode, it lacks the imx-specific FB_VMODE_ASPECT_16_9 flag and the mxc_hdmi driver defaults to 4/3 aspect ratio. However, this "U:1280x720p-50" seems to be identical to the "S:1280x720p-50" mode (both modes when listed with "fbset -i" appear identical). In fact, the kernel seems to confuse the two modes, as if I change manually to "S:1280x720p-50" in /sys/class/graphics/fb0/mode I still get the 4/3 aspect ratio flag (with other S:___ modes I get the correct flag). The strange part is that if I boot with ...@60... instead of ...@50... (video=mxcfb0:dev=hdmi,1280x720M@60,bpp=32), the mode is now "S:1280x720p-60", but it is now preserved when starting X, including the 16/9 aspect ratio flag. The Xorg.0.log does not contain anything strange: [374954.464] (II) VIVANTE(0): Output DISP3 BG using initial mode S:1280x720p-50 [374954.594] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1280 x 720, display width 0 [374954.594] (II) VIVANTE(0): FBDevPreInit: adjust display width 1280 [374954.594] (**) VIVANTE(0): PreInit done [374954.594] (--) Depth 24 pixmap format is 32 bpp [374954.594] (II) VIVANTE(0): Init mode for fb device [374954.673] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16330kB) (When booting with ...@60... it is the same except that the first line ends with "S:1280x720p-60"). What could be causing such a strange issue? Did anyone ran into something similar when running X11 or is it something specific in my setup? Thanks in advance, Marco.