Open znmeb opened 6 years ago
Check your cvt modeline output to not contain any consecutive multiple spaces and make sure you are not feeding modeline2edid with it as consecutive spaces corrupts the output.
Same problem here...
I am using latest Debian (Buster 10.1) and put the generated .bin file in /lib/firmware/edid/.
I added at boot: drm_kms_helper.edid_firmware=edid/3840x2160_24.00_rb.bin
$ ls -trl 3840x2160*
-rw-r--r-- 1 xxx xxx 492 Aug 24 20:57 3840x2160_24.00_rb.S
-rw-r--r-- 1 xxx xxx 134 Aug 24 20:58 3840x2160_24.00_rb.bin
-rw-r--r-- 1 xxx xxx 388 Aug 24 20:59 3840x2160_24.00_rb.bin.ihex
-rw-r--r-- 1 xxx xxx 838 Aug 24 20:59 3840x2160_24.00_rb.c
Output of dmesg contains - Missing trailing ) on purpose
[drm:drm_load_edid_firmware [drm]] *ERROR* Size of EDID firmware "edid/3840x2160_24.00_rb.bin" is invalid (expected 6272, got 134
I'm having the same problem on Ubutnu 20.04/Kernel 5.4. I double checked the Modeline for white spaces.
Any idea/workaround? Is it expected to work with kernel 5.4?
Hey! Just fixed it by simple removing "dots" from the modeline name. I guess somehow this confused the script and made it generate wrong data.
Another problem I found is that the data generated by cvt is not correct also. Fonts got blurred.
I connected a mac, decoded its EDID and got the right parameters.
Modeline "1600x900" 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync
Hi guys, i am a retrogamer and same problem for me... this the modeline i used: Modeline "720x288x50_08" 13.875000 720 744 808 888 288 293 296 312 -HSync -VSync i just add ratio=4:3 at the end of command. this the error (i can see with dmesg): [drm:edid_load [drm]] ERROR Size of EDID firmware "edid/720x288.bin" is invalid (expected 1408, got 128 Please help @Rotaride @cristiantm @znmeb @kenni 720x288.zip
the last things i tried is removing "_" from the Modeline name and change from drm_kms_helper.edid_firmware to drm.edid_firmware. And now it works well for me.
I am not sure which change fixed the issue, i guess i should be removing "_" from the Modeline name.
At first, it was ./modeline2edid - <<< 'Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync'
now, it is ./modeline2edid - <<< 'Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync'
I generated a file for my 1360x768 monitor and everything worked in
edid-generator
. But the resulting file doesn't load at boot time:The system is Arch Linux with the LTS kernel