# Validate OpenGL

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/11_Validate_OpenGL.html](https://docs.qualcomm.com/doc/80-88500-3/topic/11_Validate_OpenGL.html)

The source code of the sample triangle application for rendering on screen is available at
        &lt;workspace/display/weston/clients/simple-egl.c&gt;.

To run the sample application, ensure that Weston is launched, and use the following
      commands:

- Linux Ubuntu:

        adb rootCopy to clipboard

        adb remountCopy to clipboard

        adb shell mount -o remount,rw /Copy to clipboard

        adb shell export XDG_RUNTIME_DIR=/run/user/root Copy to clipboard

        cd /usr/bin/Copy to clipboard

        ./weston-simple-eglCopy to clipboard
- Linux
        Embedded:

        adb rootCopy to clipboard

        adb remountCopy to clipboard

        adb shell mount -o remount,rw /Copy to clipboard

        export WAYLAND_DISPLAY=wayland-1Copy to clipboard

        adb shell export XDG_RUNTIME_DIR=/run/user/root Copy to clipboard

        cd /usr/bin/Copy to clipboard

        ./weston-simple-eglCopy to clipboard

**Parent Topic:** [Configure graphics settings](https://docs.qualcomm.com/doc/80-88500-3/topic/9_Configure_graphics_settings.html)

Last Published: Sep 26, 2023

[Previous Topic
Verify Weston](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/10_Verify_Weston.md) [Next Topic
Verify GPU usage](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/12_Check_GPU_usage.md)