[SOLVED] Wandboard greyscale HDMI-output with kodi-imx

This forum is for supported devices using an ARMv7 Freescale SoC.

[SOLVED] Wandboard greyscale HDMI-output with kodi-imx

Postby Peedy » Wed Feb 18, 2015 7:06 pm

Hello,

this line in uEnv.txt fixed the issue on xbmc-imx:

$this->bbcode_second_pass_code('', 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16')

hint out of: http://archlinuxarm.org/forum/viewtopic.php?f=45&t=7068

but now, I found no hint for kodi-imx 14.1-2 from alarm.

Any idea?

My whole uEnv.txt:

$this->bbcode_second_pass_code('', 'initrd_high=0xffffffff
fdt_high=0xffffffff
dtb_file=imx6q-wandboard.dtb

console=ttymxc0,115200

mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=f2fs rootwait fixrtc

optargs=console=tty0

video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16


mmc_load_image=load mmc ${mmcdev}:${mmcpart} 0x10000000 zImage
mmc_load_initrd=load mmc ${mmcdev}:${mmcpart} 0x12000000 uInitrd; setenv
initrd_size ${filesize}
mmc_load_dtb=load mmc ${mmcdev}:${mmcpart} 0x11ff0000 /dtbs/${dtb_file}

mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot}
rootfstype=${mmcrootfstype} ${video}

#Just: zImage
xyz_mmcboot=run mmc_load_image; run mmc_load_dtb; echo Booting from mmc ...
loaduimage=run xyz_mmcboot; run mmcargs; bootz 0x10000000 - 0x11ff0000

#zImage and initrd
#xyz_mmcboot=run mmc_load_image; run mmc_load_initrd; run mmc_load_dtb;
#echo
#Booting from mmc ...
#loaduimage=run xyz_mmcboot; run mmcargs; bootz 0x10000000')

Cheers ... Peedy
Last edited by Peedy on Mon Mar 02, 2015 6:49 pm, edited 1 time in total.
Peedy
 
Posts: 12
Joined: Fri Jan 02, 2015 3:39 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby WarheadsSE » Wed Feb 18, 2015 7:20 pm

I wonder if it is not liking the color palette for some reason.. I've never seen that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby pepedog » Thu Feb 19, 2015 11:34 am

Try bpp=24
Unlikely to be a colorspace problem but have a look here http://www.solid-run.com/community/topi ... tml#p11513
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby Peedy » Fri Feb 20, 2015 6:54 pm

Hi,
bpp=24 does not solve the prob and I tried it also with bpp=32 ...
I forgot to say, that the picture occurs as vertical greyscaled lines and the last 30%(right) vertical side has shifted to the 1st 30%(left).
I looks like a clocking/syncing issue.
This phenomena is only under kodi, the shell output is sharp, clear and unscrumbled.

The HDMI output-information is:
$this->bbcode_second_pass_code('', 'mxc_sdc_fb fb.26: 1920x1080 h_sync,r,l: 44,88,148 v_sync,l,u: 5,4,36 pixclock=148500000 Hz')

cheers ... Peedy
Peedy
 
Posts: 12
Joined: Fri Jan 02, 2015 3:39 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby pepedog » Fri Feb 20, 2015 8:45 pm

Check picture format on TV, name varies.
Maybe tv doesn't support 1080?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby Peedy » Sat Feb 21, 2015 11:04 am

I'm shure, that my Samsung LED UE46F6270 supports FullHD (1080p).
Because it worked with the modded uEnv.txt and xbmc-imx, too.

I tried to modify kodi-displaysettings, but these fields are inactive.
It runs in windowed mode and 1920x1080p.

More hints ? ... Peedy
Peedy
 
Posts: 12
Joined: Fri Jan 02, 2015 3:39 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby setti » Mon Feb 23, 2015 4:46 pm

I had the same greyscale issue on my WB Quad and remember that it had to do with the resolution. Ive got greyscale if video was set to 1280x720
My current uEnv.txt solved this issue:
$this->bbcode_second_pass_code('', '# cat /boot/uEnv.txt
mmcroot=/dev/sda1 rw rootwait
video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16
optargs=elevator=noop consoleblank=0 vt.global_cursor_default=0 audit=0 splash')

PS: Im running a samsung tv (D Series), too.

Ive a recent kernel:
$this->bbcode_second_pass_code('', '# uname -a
Linux wandboard 3.14.14-1 #1 SMP Sat Dec 27 00:43:17 CET 2014 armv7l GNU/Linux')
Built from https://github.com/CrawX/PKGBUILDs/tree ... -wandboard
setti
 
Posts: 26
Joined: Tue Sep 04, 2012 9:49 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby Peedy » Thu Feb 26, 2015 11:50 am

After building CruXs kernel, I found out, that f2fs was disabled in .config
after adding f2fs-support the kernel was able to handle my f2fs-rootpartition.
well ... I took a while to build a running kernel.

$this->bbcode_second_pass_code('', 'Linux alarm 3.14.14-2 #2 SMP Thu Feb 26 10:37:47 UTC 2015 armv7l GNU/Linux')

uEnv.txt was modified, as you wrote.

Tnx for sharing your knowledge, but your hint doesn't solve the prob :-(
... maybe a fsl-fb driver prob?

Ready to copy for Ideas ... Peedy
Peedy
 
Posts: 12
Joined: Fri Jan 02, 2015 3:39 pm

Re: Wandboard greyscale HDMI-output with kodi-imx

Postby kingofkeks » Sat Feb 28, 2015 5:02 pm

Hey Pebby.

I just switched to Arch Linux Arm yesterday. And had the same ugly grey scale image when booting kodi. I was about to give up when I stumbled upon your thread.
After finding a link to this thread: http://archlinuxarm.org/forum/viewtopic.php?f=45&t=7068 I created a uEnv.txt only containing this:

$this->bbcode_second_pass_code('', 'video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16')

And now it looks just fine. Now I only have to get my damn remote working and It's back to watching videos^^

BTW: I installed using the guide on the arch linux arm site without the mainline kernel (using 3.10.17-5 wandboard kernel) and kodi-imx. That's pretty much it. hope that helps
kingofkeks
 
Posts: 6
Joined: Sat Feb 28, 2015 4:43 pm

Re: [SOLVED] Wandboard greyscale HDMI-output with kodi-imx

Postby Peedy » Mon Mar 02, 2015 6:59 pm

Well TNX for your Info, but I had this line together with additional important options for using F2FS on a separate root partition.

But today ... a little Flash stroke between my Ears .... :-))

after researching via dmesg for additional kernel options ... the video-part wasn't present ... what the ...???

O.K. now after a simple modify, the snippet looks like:

$this->bbcode_second_pass_code('', 'mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=f2fs rootwait fixrtc
optargs= video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=16 elevator=noop consleblank=0 vt.global_cursor_default=0 audit=0 splash')

And ... quel surprise ... it appears in the kernel args ...
After firing up Kodi my picture is better than TECHNICOLOR! ;-))


Well, TNX to all written comments!

So long ... Peedy
Peedy
 
Posts: 12
Joined: Fri Jan 02, 2015 3:39 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 8 guests