These patches allow you to enable 15KHz video output during boot process.
IMPORTANT NOTICE: for a more up to date repository, please check D0023R/linux_kernel_15khz (by D0023R).
- Clone the tag according to your kernel version
- Apply patches to your kernel sources
- Compile and install the patched kernel
- Add
video=VGA-1:640x480ec
orvideo=VGA-1:800x600ez
to your bootloader, whereVGA-1
is the connector name (see the kernel documentation for more info)640x480
/800x600
is the resolution you want to forcee
is needed to enable the connector (again, see the kernel documentation for more info)c
/z
is needed to force respectively 15KHz/25KHz
- Reboot
- Clone the repository
- Ensure your kernel has been built with
CONFIG_DRM_LOAD_EDID_FIRMWARE
option enabled - Copy the "edid" directory to
/lib/firmware
- Add
video=VGA-1:e drm_kms_helper.edid_firmware=VGA-1:edid/_EDID_NAME_
to your bootloader, wherevideo=VGA-1:e
is needed to enable the connectordrm_kms_helper.edid_firmware=VGA-1:edid/_EDID_NAME_
is needed to force the custom EDID on the connector
- Reboot
NOTES:
- If you are doing early KMS, you must include the custom EDID file in the initramfs, or you will run into problems
- An advantage of using custom EDID is that you can start an X server without any configuration file (AKA: without specifying a modeline as custom resolution)
- Currently there isn't a custom EDID for 25KHz, though isn't too difficult to build one