No HDMI output Composite OK


60 posts   Page 1 of 3   1, 2, 3
by Simon H » Mon Apr 16, 2012 11:06 am
Hi, Nice UPS man brought my Pi this morning.

The problem is I can't get any output from the HDMI port, composite outputs fine and boots into desktop, I have tried.

1. Monitor with HDMI to DVi input.

2. TV HDMI input.

Both leads and monitor/tv are fine as tested with a HDMI DVD player and a DVI laptop.

I have tried adding HDMI_CEA_720p50 = 19 to config.txt to force lower res as my TV only goes up to 720 but should still scale down 1080p.

Any ideas anyone?
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by mahjongg » Mon Apr 16, 2012 11:38 am
Hmm. If you connect the HDMI cable does the Composite output disappear?

If not the RasPI isn't detecting that it has a monitor/TV attached.
User avatar
Forum Moderator
Forum Moderator
Posts: 5708
Joined: Sun Mar 11, 2012 12:19 am
by Gert van Loo » Mon Apr 16, 2012 11:44 am
mahjongg said:


Hmm. If you connect the HDMI cable does the Composite output disappear?

If not the RasPI isn't detecting that it has a monitor/TV attached.



That is not how it works. It tests for HDMI at boot time only. I' am not sure the TV needs to be on when booting . I don't think so. (I'll have to try it on one of the prototypes I have here).
User avatar
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2078
Joined: Tue Aug 02, 2011 7:27 am
by Simon H » Mon Apr 16, 2012 11:44 am
mahjongg said:


Hmm. If you connect the HDMI cable does the Composite output disappear?

If not the RasPI isn't detecting that it has a monitor/TV attached.



Yes there is no composite output if I boot with HDMI plugged in and the TV goes from No Signal to blank. Computer monitor does nothing.
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by dom » Mon Apr 16, 2012 12:08 pm
Simon H said:

Yes there is no composite output if I boot with HDMI plugged in and the TV goes from No Signal to blank. Computer monitor does nothing.


What's the native resolution of your monitor?

Are you able to use R-Pi when HDMI is connected (e.g. by logging in through SSH)?

If so, then try running "/opt/vc/bin/tvservice -d edid.dat" and send me the file written.

(You'll need to be using the recent debian image for this)
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Simon H » Mon Apr 16, 2012 12:33 pm
Thanks Dom,

Monitor 1920x1080.

Yes can lo in through SSH

I am using the 13-4-2012 image but "/opt/vc/bin/tvservice -d edid.dat" says "unrecognised option -d".

Will write the image again but sure it is latest.
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by TonyD » Mon Apr 16, 2012 1:01 pm
Gert said:


mahjongg said:


Hmm. If you connect the HDMI cable does the Composite output disappear?

If not the RasPI isn't detecting that it has a monitor/TV attached.


That is not how it works. It tests for HDMI at boot time only. I' am not sure the TV needs to be on when booting . I don't think so. (I'll have to try it on one of the prototypes I have here).



I found my HDMI monitor had to be switched on first, then the RPi switched on for it to detect it.
Tony
User avatar
Posts: 342
Joined: Thu Sep 08, 2011 10:58 am
Location: Newcastle, UK
by Simon H » Mon Apr 16, 2012 1:16 pm
Rewritten the image so definately 13-4-2012 but still doesn't like -d option.

On the TV

pi@raspberrypi:~$ /opt/vc/bin/tvservice -s
state 0x12001a, 1280x1024 @ 60Hz, progressive
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by dom » Mon Apr 16, 2012 1:24 pm
Looks like debian image is not as new as github:

Try:

wget --no-check-certificate https://github.com/raspberrypi/firmware/raw/master/opt/vc/bin/tvservice

chmod +x tvservice

./tvservice -d edid.dat

./tvserivce -m CEA

and

./tvserivce -m DMT

may also be interesting (although that data should be contained in edid.dat)
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by dom » Mon Apr 16, 2012 1:38 pm
TonyD said:

I found my HDMI monitor had to be switched on first, then the RPi switched on for it to detect it.


We need the hotplug pin to be asserted when we boot to detect the TV/monitor. Some displays only assert hotplug when switched on.

If the display supports CEC, then you'll normally find the display powers on and selects the right channel when R-Pi boots.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Simon H » Mon Apr 16, 2012 3:51 pm
Hi Dom,

Sorry for the delay. Can't find a way of attaching a file here so you can get it from my server here

http://hanscombe.co.uk/edid.zip

The other 2 are below

Thanks Simon.

pi@raspberrypi:~$ ./tvservice -m CEA
Group CEA has 5 modes:
mode 1: 640x480 @ 60Hz, progressive
mode 2: 720x480 @ 60Hz, progressive
mode 4: 1280x720 @ 60Hz, progressive
mode 5: 1920x1080 @ 60Hz, interlaced
mode 6: 720x480 @ 60Hz, interlaced

pi@raspberrypi:~$  ./tvservice -m DMT
Group DMT has 12 modes:
mode 4: 640x480 @ 60Hz, progressive
mode 5: 640x480 @ 72Hz, progressive
mode 6: 640x480 @ 75Hz, progressive
mode 8: 800x600 @ 56Hz, progressive
mode 9: 800x600 @ 60Hz, progressive
mode 10: 800x600 @ 72Hz, progressive
mode 11: 800x600 @ 75Hz, progressive
mode 16: 1024x768 @ 60Hz, progressive
mode 17: 1024x768 @ 70Hz, progressive
mode 18: 1024x768 @ 75Hz, progressive
mode 35: 1280x1024 @ 60Hz, progressive
mode 36: 1280x1024 @ 75Hz, progressive
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by Simon H » Mon Apr 16, 2012 3:53 pm
That is the TV output by the way as the monitor is attached to the PC I am using to SSH.
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by dom » Mon Apr 16, 2012 4:59 pm
Could you try this:

http://dl.dropbox.com/u/366951...../start.elf

(replace start.elf from boot partition of sdcard with this one).
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Simon H » Mon Apr 16, 2012 5:14 pm
Still no joy on HDMI but has changed the res on composite, before it was off the screen
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by mahjongg » Mon Apr 16, 2012 5:46 pm
Maybe your screen cannot display the default resolution the R-PI is using.

You can change the default resolution by editing the "config.txt" textfile on the SD-card.

For more info about config.txt read here:

http://www.raspberrypi.org/for.....config-txt

P.S. if the text file doesn't exist, then you have to create it. See the other thread in the Absolute beginners forum "TV display problems on the desktop with HDMI" for more info.
User avatar
Forum Moderator
Forum Moderator
Posts: 5708
Joined: Sun Mar 11, 2012 12:19 am
by Simon H » Mon Apr 16, 2012 6:05 pm
I have tried 480p & 576p in the config.txt but still no joy. The file doesn't exist in this release by the way so you have to create it as is mentioned in another thread.

If I don't get anywhere tonight I will try it at work tomorrow as one department there repairs TV & monitors so they have every TV & lead combination known to man.

Just seen your edit, snap. I just put the following in a blank config.txt

hdmi_mode = 19 (720)

also trid 17 & 2
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by dom » Mon Apr 16, 2012 6:43 pm
I'll get our HDMI guy to look more closely at the edid data tomorrow.

This should ideally just work automatically, but we may have a bug…

If you wanted to randomly try things, I'd suggest (in config.txt, with the new start.elf)

hdmi_boost=4

Otherwise:

hdmi_group=1

hdmi_mode=1

(and repeat for modes 1,2,4,5,6)

Then (hdmi_group chooses CEA=1, DMT=2)

hdmi_group=2

hdmi_mode=4

(and repeat for modes 4,5,6,8,9,10,11,16,17,18,35,36)

You could repeat all that with (force DVI mode)

hdmi_drive=1

and then again with (force HDMI mode)

hdmi_drive=2
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Simon H » Mon Apr 16, 2012 6:55 pm
Success!

hdmi_drive=1 was the key!

Strange as it is a HDMI socket on the TV but a not 1080 I think it only goes to 720.

Will try on computer monitor now.

Thanks for your help Dom
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by Simon H » Mon Apr 16, 2012 7:16 pm
Monitor not working but might be lead I have, HDMI to DVI and 3m long. Will try at work tomorrow with and without the config.txt on all there TV/Monitor/Lead combinations including a 50" 3D and a 60" LED TV :)
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm
by dom » Mon Apr 16, 2012 7:26 pm
Glad it helped. It's a bit more information for our HDMI guy.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4042
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by naicheben » Mon Apr 16, 2012 7:27 pm
@dom I have writen down hdm_drive to the wiki. Can you please look if it is ok so.
Posts: 344
Joined: Sat Jan 28, 2012 12:28 pm
by rpi_newbie » Tue Apr 17, 2012 12:50 pm
Simon H said:


Hi Dom,

Sorry for the delay. Can't find a way of attaching a file here so you can get it from my server here

http://hanscombe.co.uk/edid.zip

The other 2 are below

Thanks Simon.

pi@raspberrypi:~$ ./tvservice -m CEA
Group CEA has 5 modes:
mode 1: 640x480 @ 60Hz, progressive
mode 2: 720x480 @ 60Hz, progressive
mode 4: 1280x720 @ 60Hz, progressive
mode 5: 1920x1080 @ 60Hz, interlaced
mode 6: 720x480 @ 60Hz, interlaced

pi@raspberrypi:~$  ./tvservice -m DMT
Group DMT has 12 modes:
mode 4: 640x480 @ 60Hz, progressive
mode 5: 640x480 @ 72Hz, progressive
mode 6: 640x480 @ 75Hz, progressive
mode 8: 800x600 @ 56Hz, progressive
mode 9: 800x600 @ 60Hz, progressive
mode 10: 800x600 @ 72Hz, progressive
mode 11: 800x600 @ 75Hz, progressive
mode 16: 1024x768 @ 60Hz, progressive
mode 17: 1024x768 @ 70Hz, progressive
mode 18: 1024x768 @ 75Hz, progressive
mode 35: 1280x1024 @ 60Hz, progressive
mode 36: 1280x1024 @ 75Hz, progressive



>>>>>>>>>>>>>>>>>>>>

This is the result of the parsing of your attached EDID:

MESS: 00:00:00.614775:0:  HDMI:EDID version 1.3, 1 extensions, screen size 37x30 cm
MESS: 00:00:00.614787:0:  HDMI:EDID found monitor name descriptor tag 0xfc
MESS: 00:00:00.614798:0:  HDMI:EDID found monitor range descriptor tag 0xfd
MESS: 00:00:00.614830:0:  HDMI:EDID monitor range: vertical is 50-85 Hz, horizontal is 60-91 kHz, max pixel clock is 160 MHz
MESS: 00:00:00.614893:0:  HDMI:EDID found preferred DMT detail timing format: 1280x1024p @ 60 Hz (35)
MESS: 00:00:00.614924:0:  HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
MESS: 00:00:00.614945:0:  HDMI:EDID established timing I/II bytes are BF EF 00
MESS: 00:00:00.614973:0:  HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
MESS: 00:00:00.615000:0:  HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
MESS: 00:00:00.615028:0:  HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
MESS: 00:00:00.615055:0:  HDMI:EDID found DMT format: code 8, 800x600p @ 56 Hz in established timing I/II
MESS: 00:00:00.615083:0:  HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
MESS: 00:00:00.615111:0:  HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
MESS: 00:00:00.615139:0:  HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
MESS: 00:00:00.615169:0:  HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
MESS: 00:00:00.615197:0:  HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
MESS: 00:00:00.615226:0:  HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
MESS: 00:00:00.615258:0:  HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
MESS: 00:00:00.615337:0:  HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
MESS: 00:00:00.618297:0:  HDMI:EDID parsing v3 CEA extension 0
MESS: 00:00:00.618319:0:  HDMI:EDID monitor support: underscan 0, audio 1, yuv444 1, yuv422 1
MESS: 00:00:00.618352:0:  HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
MESS: 00:00:00.618385:0:  HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
MESS: 00:00:00.618464:0:  HDMI:EDID found unknown detail timing format: 640x480p hfp:8 hs:96 hbp:40 vfp:2 vs:2 vbp:25 pixel clock:31 MHz
MESS: 00:00:00.618498:0:  HDMI:EDID found CEA detail timing format: 1440x480i @ 60 Hz (6)
MESS: 00:00:00.618524:0:  HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz
MESS: 00:00:00.618547:0:  HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz
MESS: 00:00:00.618570:0:  HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
MESS: 00:00:00.618594:0:  HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
MESS: 00:00:00.618618:0:  HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz
MESS: 00:00:00.618666:0:  HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48|96|192 kHz, sample size: 16|20|24 bits
MESS: 00:00:00.618676:0:  HDMI:EDID found HDMI VSDB length 5
MESS: 00:00:00.618694:0:  HDMI:EDID HDMI VSDB has physical address 1.0.0.0
MESS: 00:00:00.618718:0:  HDMI:EDID filtering formats with pixel clock > 161 MHz or h. blanking > 1023
MESS: 00:00:00.618762:0:  HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 620736)
MESS: 00:00:00.618804:0:  HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 855296)
MESS: 00:00:00.618868:0:  HDMI:EDID best score mode is now DMT (35) 1280x1024 @ 60 Hz with pixel clock 108000000 Hz (score 1157286)
MESS: 00:00:00.618944:0:  HDMI:EDID preferred mode remained as DMT (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz
MESS: 00:00:00.618957:0:  HDMI: hotplug attached with HDMI support

The native resolution is 1280x1024 @ 60Hz and the monitor claims to support HDMI mode. There is a stray VGA like timing in the EDID which I don't recognise:

HDMI:EDID found unknown detail timing format: 640x480p hfp:8 hs:96 hbp:40 vfp:2 vs:2 vbp:25 pixel clock:31 MHz

Only VGA 72/75Hz have pixel clock 31MHz but the blanking periods listed in the EDID are incorrect.
Posts: 27
Joined: Tue Apr 17, 2012 10:57 am
by rpi_newbie » Tue Apr 17, 2012 1:22 pm
@Simon, can you try configuring the pi to output one of the CEA formats in HDMI mode?

(Not setting hdmi_drive=1; set hdmi_group=1 and hdmi_mode=4 (720p60) for example).

Driving a DMT format in HDMI mode is not defined in the HDMI spec. Maybe your monitor does not like being driven in DMT format in HDMI mode.
Posts: 27
Joined: Tue Apr 17, 2012 10:57 am
by AlexPT » Tue Apr 17, 2012 1:24 pm
naicheben said:


@dom I have writen down hdm_drive to the wiki. Can you please look if it is ok so.


What Wiki? on This? http://elinux.org/RaspberryPiBoard
Posts: 47
Joined: Mon Mar 05, 2012 11:51 am
by Simon H » Tue Apr 17, 2012 2:11 pm
rpi_newbie said:


@Simon, can you try configuring the pi to output one of the CEA formats in HDMI mode?

(Not setting hdmi_drive=1; set hdmi_group=1 and hdmi_mode=4 (720p60) for example).

Driving a DMT format in HDMI mode is not defined in the HDMI spec. Maybe your monitor does not like being driven in DMT format in HDMI mode.


At work at the moment and no chance to test but I will do when I get home.

I tried HDMI into a couple of monitors and a TV without any config.txt changes here this morning without any problems so it must be my TV at home though it does work with a HDMI DVD player and my laptop with a HDMI-DVI-D lead.

My Monitor is a lead problem I think, my HDMI-DVI-D lead works DVI to HDMI (Laptop has DVI) but not the other way round when I connect it from the Pi to the Monitor DVI-D socket. Have ordered an adaptor for HDMI-HDMI lead as that one is good quality.
Posts: 156
Joined: Sun Jan 08, 2012 2:41 pm