forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 13
Running 3D applications on HSDK
Alexey Brodkin edited this page Apr 5, 2018
·
21 revisions
fbset > /etc/fb.modes && SDL_NOMOUSE=1 chocolate-doom
MESA_LOADER_DRIVER_OVERRIDE=imx-drm kmscube --device /dev/dri/card1
X&
DISPLAY=:0 glxgears
mkdir /tmp/weston
export XDG_RUNTIME_DIR=/tmp/weston
export MESA_LOADER_DRIVER_OVERRIDE=imx-drm
weston --tty=1
In graphical terminal window execute:
glmark2-es2-wayland
cat /etc/Xorg/xorg.conf
Section "Device"
Identifier "Driver0"
Screen 0
Driver "modesetting"
Option "kmsdev" "/dev/dri/card1"
EndSection
Note kmsdev
must point to the bitstreamer device!
For example on HSDK board /dev/dri/card0
refers to Vivante GPU, so we have to specify /dev/dri/card1
instaead.