Testing DRM display Driver - akhilharihar/tinydrm_show GitHub Wiki
Install
pi@raspberrypi:~ $ sudo apt install libdrm-tests
Usage
Taking ili9486 as an example, get its connector ID and mode
pi@raspberrypi:~ $ modetest -M "ili9486" -c
Connectors:
id encoder status name size (mm) modes encoders
31 35 connected (null)-1 73x49 1 35
modes:
name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
480x320 0 480 480 480 480 320 320 320 320 1 flags: ; type: preferred, driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
command format to display a test image - modetest -M "display_driver" -s ID:mode@RG16 -v
pi@raspberrypi:~ $ modetest -M "ili9486" -s 31:480x320@RG16 -v
setting mode 480x320-0Hz@RG16 on connectors 31, crtc 34
failed to set gamma: Function not implemented
freq: 2.47Hz
freq: 2.48Hz
Output on display:
Hit ctrl + c in terminal to stop.