Running EGLDevice Samples
This section describes the instructions to run EGLDevice samples.
Note: Ensure that no other Graphic samples are running on the
target.
- Load the following driver
modules:
sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia.ko rm_firmware_active="all" sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia-modeset.ko sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia-drm.ko modeset=1
- Change to the sample
directory:
cd /opt/nvidia/drive-linux/samples/opengles2/bubble/egldevice
- Start the sample as the root user.
#./bubble -windowsize 1920 1080 -sec 15
Note: This step only applies to OOBE-RFS filesystems.
These instructions are applicable to other EGLdevice samples. For samples binaries,
compile the samples in the host using the make
command and copy the
entire sample directory into the target.
If you want to run X11 samples, remove the nvidia_drm module
(#rmmod nvidia_drm
) and see To start the X server.