mesa-demos and iMX8MP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mesa-demos and iMX8MP

2,897 Views
pwhewell
Contributor III

Hi,

I'm currently using the UCM-iMX8M-Plus - NXP i.MX8M Plus System-on-Module board from Compulab.

I have built the Yocto image imx-image-full and loaded it on the board. In this image it seems like the mesa-demos recipe is included in that image. But when looking on the board i can't find the compiled program from glxinfo.

I have gone through some support from compulab and they seem to state that it doesn't work on the board.

Is there any information about why some of the glx applications don't work on the 8MP? It seems that building XWayland and mesa-demos should provide everything needed installation-wise to run the programs. Are the drivers up to date and working for these applications? Are there any plans for this?

0 Kudos
4 Replies

2,885 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello pwhewell,

The MX8MPlus EVK does not use the mesa-demos, it includes machine learning and GPU demos, the glx is intended to X11 and MX8Mplus does not support it. there is no plan to add this feature in the current BSP.

 

Regards

 

0 Kudos

2,879 Views
pwhewell
Contributor III

Thanks for responding!

Is there a reason that the mesa-demos recipe is included in the imx-image-full then?

ubuntu@ubuntu2004:~/compulab-bsp/build-ucm-imx8m-plus$ bitbake -g imx-image-full && cat pn-buildlist | grep -v -e '-native' | grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq
Loading cache: 100% |#################################################################################################################| Time: 0:00:01
Loaded 4877 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################################| Time: 0:00:01
Parsing of 3311 .bb files complete (3309 cached, 2 parsed). 4879 targets, 230 skipped, 14 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: PN build list saved to 'pn-buildlist'
NOTE: Task dependencies saved to 'task-depends.dot'
acl
ade
adwaita-icon-theme
alsa-lib
alsa-plugins
alsa-state
alsa-tools
alsa-topology-conf
alsa-ucm-conf
alsa-utils
alsa-utils-scripts
apt
arm-compute-library
armnn
armnn-caffe
armnn-onnx
armnn-tensorflow
assimp
at
atk
attr
autoconf
autoconf-archive
automake
avahi
babeltrace
babeltrace2
base-files
base-passwd
bash
bash-completion
basler-camera
bc
binutils
binutils-cross-aarch64
bison
blktool
blktrace
bluez5
bonnie++
boost
btrfs-tools
busybox
bzip2
ca-certificates
cairo
cantarell-fonts
can-utils
ccache
cinematicexperience-rhi
cl-audio
cl-camera
cl-deploy
cl-launcher
cl-stest
cl-uboot
clutter-1.0
cogl-1.0
connman
connman-conf
consolekit
coreutils
cpio
cpuburn-arm
cpufrequtils
cracklib
cronie
cryptodev-linux
cryptodev-module
cryptodev-tests
curl
db
dbench
dbus
dbus-glib
dbus-test
depmodwrapper-cross
devil
dialog
diffstat
diffutils
dosfstools
dpkg
dropbear
e2fsprogs
ed
elfutils
ell
encodings
ethtool
evtest
expat
expect
fbset
fbset-modes
ffmpeg
file
findutils
fio
firmware-imx
firmware-imx-8m
flac
flatbuffers
flex
fmt
fontconfig
font-util
freeglut
freetype
fribidi
fsl-rc-local
gawk
gcc
gcc-cross-aarch64
gcc-runtime
gcc-sanitizers
gcc-source-10.2.0
gdb
gdbm
gdisk
gdk-pixbuf
gettext
giflib
glew
gli
glib-2.0
glibc
glibc-locale
glibc-mtrace
glib-networking
glm
glmark2
glslang
gmp
gnome-desktop-testing
gnome-themes-extra
gnu-config
gnutls
gobject-introspection
googletest
gptfdisk
gputop
grep
gst-examples
gstreamer1.0
gstreamer1.0-libav
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-good-qt
gstreamer1.0-plugins-ugly
gstreamer1.0-rtsp-server
gtk+
gtk+3
gtkperf
gzip
half
harfbuzz
hicolor-icon-theme
hostapd
htop
i2c-tools
icu
imx-alsa-plugins
imx-atf
imx-boot
imx-codec
imx-dspc-asrc
imx-gpu-apitrace
imx-gpu-g2d
imx-gpu-sdk
imx-gpu-viv
imx-gst1.0-plugin
imx-kobs
imx-m7-demos
imx-parser
imx-qtapplications
imx-sw-pdm
imx-test
imx-uuc
imx-vpu-hantro
imx-vpu-hantro-vc
imx-vpuwrap
initscripts
init-system-helpers
iotop
iozone3
iperf2
iperf3
iproute2
iptables
iputils
iso-codes
isp-imx
iw
jailhouse
json-c
json-glib
kbd
kernel-module-isp-vvcam
kernel-module-nxp89xx
kernel-tools
kexec-tools
keyctl-caam
keyutils
kmod
kmscube
lame
lcms
leptonica
less
liba52
libaio
libatomic-ops
libcap
libcap-ng
libcheck
libcroco
libdaemon
libdrm
libepoxy
liberation-fonts
liberror-perl
libevdev
libevent
libexif
libffi
libfontenc
libgcc
libgcc-initial
libglu
libgphoto2
libgpuperfcnt
libgudev
libical
libice
libidn2
libinput
libjpeg-turbo
libmnl
libmpc
libnewt
libnl
libnsl2
libnss-mdns
libogg
libopus
libpam
libpcap
libpciaccess
libpcre
libpcre2
libpng
libpsl
libpthread-stubs
librsvg
libsamplerate0
libsm
libsndfile1
libsocketcan
libsoup-2.4
libtheora
libtirpc
libtool
libtool-cross
libunistring
libunwind
libusb1
libusb-compat
libvorbis
libwebp
libx11
libxau
libxaw
libxcb
libxcomposite
libxcrypt
libxcursor
libxdamage
libxdmcp
libxext
libxfixes
libxfont2
libxft
libxi
libxinerama
libxkbcommon
libxkbfile
libxml2
libxmu
libxpm
libxrandr
libxrender
libxres
libxshmfence
libxt
libxtst
libxv
libxxf86vm
linux-compulab
linux-firmware
linux-imx-headers
linux-libc-headers
linuxptp
lmbench
logrotate
lrzsz
lsb-release
ltp
lvm2
lz4
lzo
m4
make
makedevs
make-mod-scripts
mc
mdadm
memtester
mesa
mesa-demos
minicom
mkfontscale
ml-security
mmc-utils
mobile-broadband-provider-info
mpeg2dec
mpfr
mpg123
mtdev
mtd-utils
nano
nbench-byte
ncurses
ne10
neard
netbase
nettle
net-tools
nfs-utils
nn-imx
ntp
numactl
nxp-demo-experience
nxp-wlan-sdk
ofono
onnxruntime
opencv
openjpeg
openssl
opkg-utils
optee-client
optee-os
optee-test
orc
os-release
packagegroup-base
packagegroup-core-boot
packagegroup-core-buildessential
packagegroup-core-full-cmdline
packagegroup-core-nfs
packagegroup-core-sdk
packagegroup-core-ssh-dropbear
packagegroup-core-standalone-sdk-target
packagegroup-core-tools-debug
packagegroup-core-tools-profile
packagegroup-core-tools-testapps
packagegroup-fsl-gstreamer1.0
packagegroup-fsl-gstreamer1.0-commercial
packagegroup-fsl-gstreamer1.0-full
packagegroup-fsl-optee-imx
packagegroup-fsl-tools-audio
packagegroup-fsl-tools-benchmark
packagegroup-fsl-tools-gpu
packagegroup-fsl-tools-gpu-external
packagegroup-fsl-tools-testapps
packagegroup-imx-isp
packagegroup-imx-ml
packagegroup-imx-security
packagegroup-qt5-demos
packagegroup-qt5-imx
packagegroup-tools-bluetooth
pango
parted
patch
pciutils
perf
perl
pixman
pkgconfig
pointercal
popt
powertop
ppp
pps-tools
procps
protobuf
psmisc
psplash
ptest-runner
ptpd
pulseaudio
pv
python
python3
python3-dbus
python3-future
python3-mako
python3-nose
python3-numpy
python3-pillow
python3-pip
python3-pycairo
python3-pygobject
python3-setuptools
python3-typing-extensions
python-pip
python-setuptools
pytorch
qemuwrapper-cross
qt3d
qt5-demo-extrafiles
qt5everywheredemo
qt5ledscreen
qt5nmapcarousedemo
qt5nmapper
qtbase
qtconnectivity
qtdeclarative
qtgraphicaleffects
qtmultimedia
qtquick3d
qtquickcontrols
qtquickcontrols2
qtsvg
qtwayland
qtx11extras
qtxmlpatterns
quilt
quitbattery
quitindicators
quota
rapidjson
rapidopencl
rapidopenvx
rapidvulkan
readline
renderdoc
rgb
rpcbind
run-postinsts
sbc
screen
sed
shadow
shadow-securetty
shadow-sysroot
shared-mime-info
sigma-dut
slang
socat
sof-imx
speex
speexdsp
spidev-test
spirv-tools
sqlite3
stb
strace
stress-ng
sudo
sysklogd
systemd
systemd-compat-units
systemd-conf
systemd-gpuconfig
systemd-serialgetty
systemtap
taglib
tar
tbb
tcl
tcp-wrappers
tensorflow-lite
tesseract
tesseract-lang
thin-provisioning-tools
tiff
time
tinycompress
tiobench
tk
tmux
torchvision
tslib
ttf-dejavu
tzdata
u-boot-compulab
u-boot-compulab-fw-utils
udev-extraconf
udev-rules-imx
unzip
update-rc.d
usbutils
util-linux
util-macros
uuid-runtime
v4l-utils
valgrind
vkmark
vlan
volatile-binds
vulkan-headers
vulkan-loader
vulkan-tools
vulkan-validationlayers
waffle
wayland
wayland-protocols
weston
weston-init
which
wireless-regdb
wireless-tools
wpa-supplicant
x11perf
x264
xcb-proto
xcb-util
xcb-util-keysyms
xcb-util-renderutil
xcb-util-wm
xf86-input-libinput
xf86-video-fbdev
xkbcomp
xkeyboard-config
xorgproto
xprop
xrandr
xrestop
xserver-xf86-config
xserver-xorg
xterm
xtrans
xwininfo
xz
xz-utils
zip
zlib



Also, can you explain why glx isn't supported? I was under the assumption the imx8mp is running Xwayland and that Xwayland supports glx based applications. Is it a limitation of the GPU?

Are only EGL applications supported? If that's the case, is there a EGL application/command that can print out the OpenGL versions on the command line for me? I wanted to verify on the board the versions.

Sorry if these are dumb questions. I'm somewhat new to the graphics side of things.

Thanks!

0 Kudos

2,867 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

hi,

Is included in your image and is not included in the EVK image, i think you might consult with the community.

Regards

0 Kudos

2,860 Views
pwhewell
Contributor III

Ok do you mean to ask on this forum? Or somewhere else? It seems from everything i found that this would be the forum to ask on.

The imx-image-full is clearly mentioned in your documentation, so i thought someone at NXP would know (https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf)

Also,

can you explain why glx isn't supported? I was under the assumption the imx8mp is running Xwayland and that Xwayland supports glx based applications. Is it a limitation of the GPU?

Are only EGL applications supported? If that's the case, is there a EGL application/command that can print out the OpenGL versions on the command line for me? I wanted to verify on the board the versions.

0 Kudos