PiCapture EDID error on connecting HDMI to laptop

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #944
    woogyom.kim
    Participant

    Hi,

    PiCapture HD1 worked but it seems not working anymore after testing raspivid preview with rtsp streaming.
    However, I’m not sure this caused the problem.

    Issue
    – Power up RPi 2 + PiCapture HD1, then all LEDs on PiCapture board are blinking. (LED0 ~ 3, RUN, RDY and ACTIVE)
    – After few seconds, only ‘RUN’ LED is blinking, no other LEDS are off even if I try to connect HDMI cable.

    I remember LED 1,2,3 were on and LED0 was blinking when HDMI output of my laptop was connected to PiCapture. (it means resolution of my laptop is 1080p)
    And the EDID on PiCapture looks broken. My laptop shows the log.

    [ 1628.699501] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.711811] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.724115] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.736385] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.763520] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.775820] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.788121] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1
    [ 1628.800398] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1

    Do you think this can be fixed by updating the firmware?

    Best regards,
    Milo

    #945
    mwlinder
    Keymaster

    I’m sorry that you are having trouble connecting your laptop output. Are you running Ubuntu or some other linux by any chance? There are known EDID issues with Ubuntu and some combinations of hardware.

    EDID has worked fine on every PC or device we’ve tried. If you could send a bit more information we will be glad to look into what is happening.

    Could you please provide some details about the laptop system:
    – Make/model of the machine
    – Video hardware and driver used
    – OS type and version

    #946
    woogyom.kim
    Participant

    * Model: HP Elitebook Folio 1020 G1
    * Video HW: Intel i915
    * OS: Elementary OS Freya 0.3.2 (Ubuntu based)

    Here is the log in this machine.

    [ 252.280805] EDID block is all zeroes
    [ 252.280810] i915 0000:00:02.0: HDMI-A-2: Ignoring invalid EDID block 1.
    [ 252.307810] [drm:drm_edid_block_valid [drm]] *ERROR* EDID has major version 0, instead of 1

    And this is the result of pivideo command on RPi + PiCapture.

    pi@raspberrypi:~ $ pivideo -q all
    PiCapture HD1 is ready
    No active video detected
    Selected video source is: auto
    Active video source is: component
    Raspberry Pi camera port is not active
    Frame skip is On
    Video processor software version: 83C103

    I didn’t do ‘pivideo -c’ but it seems EEPROM was cleared.

    Best regards,
    Milo

    #947
    mwlinder
    Keymaster

    Thanks for the additional information.

    The message “EDID block is all zeros” implies that your laptop isn’t receiving any EDID information from the PiCapture. Could you perhaps try a couple things:
    1) Try making the connection with a different HDMI cable
    2) Try connecting the PiCapture to a different PC or device and see if it works then.

    #948
    woogyom.kim
    Participant

    Thanks for quick reply.
    I just tried both cases but I see the same error on another PC – “EDID block is all zeros”.
    I think it’s possible to reprogram EDID or firmware on PiCapture but I’m not sure this is the best solution.

    #949
    mwlinder
    Keymaster

    Thanks – could you please give me the details of the other PC that you used? Was it still the same OS, or was it a Windows machine?

    A couple other things that would be helpful:
    – You said that the resolution LEDs on the PiCapture were indicating a 1080p signal. Are you able to properly capture video with the board?
    – Could you try connecting the PiCapture to the HDMI output of a Raspberry Pi and see if that works OK?

    The EDID information is loaded at powerup (effectively “reprogrammed” every time the PiCapture starts). Since it is responding properly to PiVideo it is highly unlikely that there is any firmware issue.

    #950
    woogyom.kim
    Participant

    Fedora Linux 25 is running on another laptop. It’s x86-64 system with Intel i915 graphic chip.
    Before this issue happens, I could capture 1080p HDMI output of HP laptop through raspivid commands.

    $ raspivid -o demo.h264 -t 3000 -md 1 -awb off -ex off -awbg 1.0,1.0

    Connecting HDMI out on RPi 2 to HDMI in on PiCapture – it doesn’t work.
    Only LED ‘RUN’ is blinking and LED ‘ACTIVE’ turned on and off after running the command, ‘pivideo -q all’.

    I tried to read EDID of PiCapture on my linux machine, it has no problem.

    $ git clone https://github.com/bulletmark/edid-rw
    $ cd edid-rw
    $ sudo modprobe i2c-dev
    $ sudo ./edid-rw 1 | edid-decode

    Extracted contents:
    header: 00 ff ff ff ff ff ff 00
    serial number: 32 93 d1 00 01 00 00 00 33 1a
    version: 01 03
    basic params: 81 3c 22 78 1a
    chroma info: ee d5 a5 55 48 9b 26 12 50 54
    established: 20 00 00
    standard: 3b c0 81 c0 01 01 01 01 01 01 01 01 01 01 01 01
    descriptor 1: 02 3a 80 18 71 38 2d 40 58 2c 45 00 56 50 21 00 00 1e
    descriptor 2: 02 3a 80 d0 72 38 2d 40 10 2c 45 80 56 50 21 00 00 1f
    descriptor 3: 00 00 00 fc 00 50 49 43 41 50 54 55 52 45 2d 48 44 31
    descriptor 4: 00 00 00 fd 00 37 4c 1d 51 11 00 0a 20 20 20 20 20 20
    extensions: 01
    checksum: 4a

    Manufacturer: LTS Model d1 Serial Number 1
    Made week 51 of 2016
    EDID version: 1.3
    Digital display
    DFP 1.x compatible TMDS
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
    First detailed timing is preferred timing
    Established timings supported:
    640×480@60Hz
    Standard timings supported:
    720×432@60Hz
    1280×768@60Hz
    Detailed mode: Clock 148.500 MHz, 598 mm x 336 mm
    1920 2008 2052 2200 hborder 0
    1080 1084 1089 1125 vborder 0
    +hsync +vsync
    Detailed mode: Clock 148.500 MHz, 598 mm x 336 mm
    1920 2448 2492 2640 hborder 0
    1080 1084 1089 1125 vborder 0
    +hsync +vsync
    Monitor ranges: 55-76HZ vertical, 29-81kHz horizontal, max dotclock 170MHz
    Has 1 extension blocks
    Checksum: 0x4a

    Unknown extension block

    EDID block does NOT conform to EDID 1.3!
    Name descriptor not terminated with a newline

    <– end of stdout
    This EDID looks OK. I’m curious why the host machine can’t recognize the PiCapture.

    • This reply was modified 3 years, 7 months ago by woogyom.kim.
    • This reply was modified 3 years, 7 months ago by woogyom.kim.
    • This reply was modified 3 years, 7 months ago by woogyom.kim.
    • This reply was modified 3 years, 7 months ago by woogyom.kim.
    #955
    mwlinder
    Keymaster

    The EDID is transmitted through the two “DDC” lines in the HDMI cable. This a dedicated I2C bus to read out the EDID block, which is stored in RAM and initialized from EPROM each time that the PiCapture board is powered up. From everything you have described, it sounds as though this issue is somewhere in the end-to-end physical connection for these two signals. Getting all 0x00 or all 0xFF is a good indication that the link isn’t working at all. I was hoping that it was just the cable itself, or the connectors on the cable side, but it could also be the connectors on either the PiCapture board or your laptop.

    Just for completeness, you might want to try a different power supply for the RPi/PiCapture as well.

    You mentioned that the HDMI out on the RPi wasn’t working – are your sure that the output resolution for the RPi was set to one of the supported resolutions (480p/720p/1080p)?

    Since you can read the EDID data with another system it seems unlikely that it is the PiCapture board, but I am glad to continue to help try to debug the problem. You could also return it for us to test.

    • This reply was modified 3 years, 7 months ago by mwlinder.
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
woogyom.kimEDID error on connecting HDMI to laptop