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
Solved! Go to Solution.
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
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