Fresh install, booting fine, ssh working but no video hdmi

I’m completely new to the OSMC image for the Raspberry pi. I took the windows installer and installed the image in my SD card. The boot seems to be working fine, it’s appearing in my network and I can also connect via SSH but I get absolutely no video. I’ve tried 2 different monitors, 4 different hdmi cables and tested if the HDMI port is working.

Everything worked fine with my Raspbian image but it’s not working with the OSMC image.

I’m probably doing something stupidly wrong but I can’t figure out what. Any suggestions ?

Does grab-logs -A return a URL? Paste it here please.

Yep it returned this URL: LOGS

It is outputting to composite as there is no HDMI connection detected:

00:00:10  10.541884 T:1957298736  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480i @ 60.000000 Hz

Make sure the display is switched on and on correct AV input before booting the Pi.

You could add hdmi_safe=1 to config.txt which should get you a low resolution image, but that would just be for troubleshooting. You really want to find out whether you have bad cables, bad displays, or a bad Pi.

Was the raspbian image using NOOBS? (NOOBS behaves a little differently to a raspbian image in terms of HDMI output).

Sometimes I should turn on my brain. It’s obviously not detecting a HDMI source because when I used the command I didn’t have my hdmi cable in.

http://paste.osmc.io/ejohoxuliv

These are the logs with it connected. I was using the usual Rasbian image from the website, not NOOBS.

EDIT: No change, but I double checked display is turned on and the AV input is definitely right.

Can you boot with raspbian and report output of:

tvservice -s

and do the same with OSMC.
Make sure you don’t have any config.txt settings in raspbian case and you are using same HDMI cables/display.

Output of tvservice -s for OSMC
state 0x40001 [NTSC 4:3], 720x480 @ 60.00Hz, interlaced

Output of tvservice -s for Raspbian
state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

EDIT: Forgot to change SD cards inbetween boards. I have a Raspberry Pi 2 Model B and a Raspberry Pi 3.
The result is basically the same though.

state 0x40002 [NTSC 4:3], 720x480 @ 60.00Hz, interlaced

That makes no sense. This was the same Pi with just a reboot and sdcard swap in between running the OSMC and Raspbian commands? No change to display or hdmi cables?

Can you also report:

vcgencmd version
vcgencmd get_config int

on OSMC and raspbian.

I forgot to switch the SD cards in the boards, I’m using 2 Pi’s but Raspberry Pi 2 and Raspberry Pi 3 use the same OSMC image.

I edited the result above. It’s basically the same and yes no change to display or hdmi cable, same powersupply. I didn’t change anything except for the SD card

For Raspbian:

pi@raspberrypi:~ $ vcgencmd version

Mar 15 2016 14:47:28
Copyright © 2012 Broadcom
version 1bf9a9a77026af9128a339c82d72e331d3532ee4 (clean) (release)

pi@raspberrypi:~ $ vcgencmd get_config int

arm_freq=1200
audio_pwm_mode=1
audio_sdm_mod_order=2
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
emmc_pll_core=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_force_cec_address=65535
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x19f0a
overscan_bottom=48
overscan_left=48
overscan_right=48
overscan_top=48
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85

osmc@osmc:~$ vcgencmd version

Mar 24 2016 12:49:34
Copyright © 2012 Broadcom
version e16cd015026a8bda22bb50dc30b30ce07f52a202 (clean) (release)

osmc@osmc:~$ vcgencmd get_config int

arm_freq=1200
audio_pwm_mode=1
audio_sdm_mod_order=2
config_hdmi_boost=5
core_freq=400
desired_osc_freq=0x36ee80
disable_commandline_tags=2
disable_l2cache=1
disable_splash=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=300
hdmi_force_cec_address=65535
hdmi_ignore_cec_init=1
init_uart_clock=0x2dc6c00
lcd_framerate=60
over_voltage_avs=0x1b774
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85

Still doesn’t make sense to me. Does removing:

hdmi_ignore_cec_init=1

from OSMC config.txt make a difference?

If not, I suspect what will work is this:
On raspbian (with working hdmi) run:

tvservice -d edid.dat

Copy this edid.dat file to boot partition of OSMC card (alongside config.txt).
Add the following to OSMC’s config.txt

hdmi_force_hotplug=1
hdmi_edid_file=1

I have no clue why but it’s working now after removing the line that you mentioned.

state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

I had some problems with my 2,5" HDD but adding usb_max_current=1 in the config.txt solved the problem.