Skip to main content
DRM modetest ensures that the DSI and the DPU paths are working effectively. To verify the display driver topology, run the DRM modetest.
You must enable SSH to access your host device. For instructions, see Sign in using SSH.
  1. To kill the Weston client application, run the following commands in the device shell:
    Sample output:
    Use the Weston process ID from the sample Weston process list to kill the Weston processes.
  2. To kill all Weston processes, run the following command:
  3. To change permissions of the modetest application, run the following command:
  4. To view the connector IDs and modes, run the following command:
  5. To verify DRM modes and connector information, pull the /opt/drm_mode.txt file locally on your host computer. Use the Secure Copy Protocol (SCP) to pull the drm_mode.txt file from the device to your host computer. For example:
    When prompted for a password, enter oelinux123.
    The output as shown in the following figure is from the /opt/drm_mode.txt file.
    Figure: Command prompt output
  6. To fetch the connector ID and mode name, use the relevant values from the /opt/drm_mode.txt file:
  7. To start the modetest application, run the following sample command using the connector ID and the mode name retrieved from the /opt/drm_mode.txt file. For example:
    Start the DRM test application and ignore the warning log: Failed to set gamma: Function not implemented.
    Figure: DRM modetest output
  8. To kill the modetest application, select CTRL + C.
    Ensure that you Relaunch Weston.