Skip to content

Ubuntu 16.04.1 LTS : 3840x2160.bin contains wrong data #5

Description

@MPolymath

#Operating system: Ubuntu 16.04.1 LTS

Problem:

When using the parse-edid program (sudo apt-get install read-edid):
parse-edid < /etc/X11/3840x2160.bin

The data outputted does not match the data that should be outputted:

Section "Monitor"
        Identifier "3840x2160"
        ModelName "3840x2160"
        VendorName "LNX"
        # Monitor Manufactured week 5 of 2012
        # EDID version 1.3
        # Analog Display
        DisplaySize 1000 560
        Gamma 2.20
        Option "DPMS" "true"
        Horizsync 134-136
        VertRefresh 59-61
        # Maximum pixel clock is 600MHz
        #Not giving standard mode: 1792x1008, 60Hz
        Modeline        "Mode 0" 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync 
EndSection

I have tried creating a edid.bin as instructed in the readme but that also gives me the wrong value:

./modeline2edid - <<< 'Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync'

Searching for runaway unicorns in '/dev/stdin'
 Found naughty unicorn: Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 
2237 -hsync +vsync
Wrote 3840x2160_60.00.S

make

cc -c -DCRC="0x00" -o 3840x2160_60.00.o 3840x2160_60.00.S
edid.S: Assembler messages:
edid.S:171: Warning: value 0x1c1 truncated to 0xc1
edid.S:180: Warning: value 0x1166b truncated to 0x166b
edid.S:270: Warning: repeat < 0; .fill ignored
objcopy -Obinary 3840x2160_60.00.o 3840x2160_60.00.bin.nocrc
cat 3840x2160_60.00.bin.nocrc | edid-decode \
        | sed -ne 's/^[ ]*Checksum: 0x\w\+ (should be \(0x\w\+\))$/\1/p' >3840x2160_60.00.crc
cc -c -DCRC="$(cat 3840x2160_60.00.crc)" -o 3840x2160_60.00.p 3840x2160_60.00.S
edid.S: Assembler messages:
edid.S:171: Warning: value 0x1c1 truncated to 0xc1
edid.S:180: Warning: value 0x1166b truncated to 0x166b
edid.S:270: Warning: repeat < 0; .fill ignored
objcopy -Obinary 3840x2160_60.00.p 3840x2160_60.00.bin
objcopy -Oihex 3840x2160_60.00.p 3840x2160_60.00.bin.ihex
dos2unix 3840x2160_60.00.bin.ihex 2>/dev/null
rm 3840x2160_60.00.crc 3840x2160_60.00.p 3840x2160_60.00.o 3840x2160_60.00.bin.nocrc

parse-edid < 3840x2160_60.00.bin

You seem to have too many extension blocks. Will not continue to parse
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>

Would you have any idea on why this is happening?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions