Changes between Version 6 and Version 7 of linux/display


Ignore:
Timestamp:
11/05/2019 06:27:37 PM (4 years ago)
Author:
Tim Harvey
Comment:

add example applications for demonstrating etnaviv

Legend:

Unmodified
Added
Removed
Modified
  • linux/display

    v6 v7  
    121121[    3.191412] [drm] Initialized etnaviv 1.2.0 20151214 for etnaviv on minor 0
    122122}}}
     123
     124Example Applications:
     125 * [https://gitlab.freedesktop.org/mesa/kmscube kmscube] - a demonstration program showing how to drive bare metal graphics without a compositor like X11, Wayland or similar using DRM/KMS/GBM and EGL.
     126 * Ubuntu pre-built packages:
     127{{{#!bash
     128# install pre-packaged
     129apt install kmscube
     130kmscube -D /dev/dri/card1
     131}}}
     132 * [https://github.com/glmark2/glmark2 glmark2] - an OpenGL 2.0 and ES2.0 benchmark
     133{{{#!bash
     134# build from source as the pre-packaged one is too old to be of use
     135apt install build-essentials git
     136apt install python libpng-dev libgbm-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev
     137git clone https://github.com/glmark2/glmark2
     138cd glmark2
     139./waf configure --with-flavors=drm-glesv2
     140./waf
     141./waf install
     142glmark2-es2-drm
     143}}}
     144 * GStreamer - A Multimedia framework/library which provides kmssink for rendering to a DRM/KMS driver and glimagesink for rendering to EGL:
     145{{{#!bash
     146# install GStreamer packages
     147apt-get install gstreamer1.0-x gstreamer1.0-tools libgstreamer1.0-0 \
     148  gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
     149  gstreamer1.0-libav gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio \
     150  v4l-utils
     151gst-launch-1.0 videotestsrc ! kmssink
     152}}}
     153
     154The above examples were performed on an Ubuntu 19.10 root filesystem with the Linux 5.3.8 kernel built with imx_v6_v7_defconfig