i.mx6 gstreamer corrupted video on 1366x768 18bpp LVDS output

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.mx6 gstreamer corrupted video on 1366x768 18bpp LVDS output

跳至解决方案
1,017 次查看
Filippo
Contributor III

Hi all,

maybe I'm loosing something big, but I can't run gstreamer/gplay on a 1366x768 lvds 18bpp panel.

I have an lcd connected to LVDS0 on a custom i.MX6 board.

X runs fine and QT / SDL too.

With both kernel 3.0.35 and 3.10.17 I find that gstreamer displays wrong colors and looses sync when I do a simple gst-launch videotestsrc ! mfw_v4lsink.

Videos played with gplay has the same errors.

The very first impression is that both gstreamer and gplay run at 24bpp.

In ldb.c I've added the lines:

    {
    /* VGA 1366x768 85.5M pixel clk output */
    "VGA-WXGA", 60, 1366, 768, 11696,
    213, 70,
    24, 3,
    143, 3,
    FB_VMODE_NONINTERLACED,
    FB_MODE_IS_DETAILED,},

I see the correct parameters on kernel command line from /proc/cmdline and the display is correctly selected in ldb_disp_init.

I've tried to change almost all parameters for the video timings, with no luck.

On a 1024x768 or 800x480 LVDS everything runs fine.

Any ideas about this ?

Cheers,

Filippo

标签 (3)
0 项奖励
1 解答
753 次查看
Filippo
Contributor III

Well, problem solved.

The H resolution should be mysteriously 1368 instead of 1366, so the exact timing is:

    {
    /* VGA 1366x768 83.5M pixel clk output */
    "LVDS-1366X768", 60, 1368, 768, 13642,
    200, 72,
    3, 22,
    128, 6,
    FB_VMODE_NONINTERLACED,
    FB_MODE_IS_DETAILED,},

I've tested it on a 3.0.x kernel, but I think on the 3.10.x is the same.

Regards

在原帖中查看解决方案

0 项奖励
1 回复
754 次查看
Filippo
Contributor III

Well, problem solved.

The H resolution should be mysteriously 1368 instead of 1366, so the exact timing is:

    {
    /* VGA 1366x768 83.5M pixel clk output */
    "LVDS-1366X768", 60, 1368, 768, 13642,
    200, 72,
    3, 22,
    128, 6,
    FB_VMODE_NONINTERLACED,
    FB_MODE_IS_DETAILED,},

I've tested it on a 3.0.x kernel, but I think on the 3.10.x is the same.

Regards

0 项奖励