On the site you supply, maybe MediaPlayer tutorial could match.
sample.tar.gz (2.1 KB)
Here I only attach the src code if you need
Hi,
We are not able to reproduce your issue wither other kind of application. When we resize it, it does not lead to crash.
When we tried to run your application, it looks like some lib files (.so) are missing so we cannot run.
Please share the steps from scratch so that we can reproduce your issue.
Just out of curiosity, what do you see when you run “ldd <program name>
”? Sounds like it might be related to one of the libraries being linked against rather than from the app itself (I wonder which libraries are missing on @WayneWWW’s test, perhaps those are the libraries of interest).
the ldd’s result looks like this
linux-vdso.so.1 (0x0000ffff95b9e000)
libQt5Gui.so.5 => /lib/aarch64-linux-gnu/libQt5Gui.so.5 (0x0000ffff955ab000)
libQt5Qml.so.5 => /lib/aarch64-linux-gnu/libQt5Qml.so.5 (0x0000ffff950d2000)
libQt5Core.so.5 => /lib/aarch64-linux-gnu/libQt5Core.so.5 (0x0000ffff94ba3000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffff9493c000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffff94918000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff947a5000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff95b6e000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff94774000)
libGL.so.1 => /lib/aarch64-linux-gnu/libGL.so.1 (0x0000ffff9467d000)
libpng16.so.16 => /lib/aarch64-linux-gnu/libpng16.so.16 (0x0000ffff94639000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000ffff9460f000)
libharfbuzz.so.0 => /lib/aarch64-linux-gnu/libharfbuzz.so.0 (0x0000ffff94510000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff94465000)
libQt5Network.so.5 => /lib/aarch64-linux-gnu/libQt5Network.so.5 (0x0000ffff94298000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff94284000)
libicui18n.so.66 => /lib/aarch64-linux-gnu/libicui18n.so.66 (0x0000ffff93f94000)
libicuuc.so.66 => /lib/aarch64-linux-gnu/libicuuc.so.66 (0x0000ffff93da7000)
libpcre2-16.so.0 => /lib/aarch64-linux-gnu/libpcre2-16.so.0 (0x0000ffff93d23000)
libdouble-conversion.so.3 => /lib/aarch64-linux-gnu/libdouble-conversion.so.3 (0x0000ffff93d00000)
libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000ffff93bc6000)
libGLdispatch.so.0 => /lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000ffff93a3b000)
libGLX.so.0 => /lib/aarch64-linux-gnu/libGLX.so.0 (0x0000ffff939f9000)
libfreetype.so.6 => /lib/aarch64-linux-gnu/libfreetype.so.6 (0x0000ffff9393a000)
libgraphite2.so.3 => /lib/aarch64-linux-gnu/libgraphite2.so.3 (0x0000ffff93908000)
libicudata.so.66 => /lib/aarch64-linux-gnu/libicudata.so.66 (0x0000ffff91e39000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000ffff91dc7000)
libX11.so.6 => /lib/aarch64-linux-gnu/libX11.so.6 (0x0000ffff91c82000)
libxcb.so.1 => /lib/aarch64-linux-gnu/libxcb.so.1 (0x0000ffff91c4b000)
libXau.so.6 => /lib/aarch64-linux-gnu/libXau.so.6 (0x0000ffff91c37000)
libXdmcp.so.6 => /lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000ffff91c21000)
libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000ffff91bfa000)
I’m not sure what error you faced, maybe you can try to add LD_LIBRARY_PATH=lib before running script to dynamic link the libs under the lib folder if you use the package I packed.
Like LD_LIBRARY_PATH=lib ./AppRun
Let change my question into another way.
If I just copy your tarball to a fresh rel-35 Orin NX, what else is needed to run this application?
Is “LD_LIBRARY_PATH=lib ./AppRun” sufficient? or need to install something else?
Just a direct try on my Jetson.
$ LD_LIBRARY_PATH=lib ./AppRun
./AppRun: error while loading shared libraries: libdouble-conversion.so.3: cannot open shared object file: No such file or directory
In the device I had installed
sudo apt-get install --assume-yes nvidia-jetpack (install jetpack)
other components:
sudo apt-get install --assume-yes libdouble-conversion-dev (this is you lost one)
sudo apt-get install --assume-yes libxcb-xinerama0
sudo apt-get install --assume-yes curl
sudo apt-get install --assume-yes ffmpeg
sudo apt-get install --assume-yes expect
sudo apt-get install --assume-yes espeak
sudo apt-get install --assume-yes espeak-ng
Because I had installed these components for running our program, I’m not sure which components are sample bin actually needed.
Maybe you can try this list to install related libs.
Hi,
We are able to run the application on our side now.
However, we try to switch other app when your application is in full screen many times, but Xserver didn’t crash.
We are using rel-35.5. Maybe you could try to upgrade it and see if you can still reproduce it.
Are you switching the app when the video was playing?
I had tested the case on the r35.1 & r35.4.1.
If yes, I’ll try r35.5 to see whether the issue was fixed.
Yes, we tested with video playing and then do app switching.
OK, we’ll try the R35.5 first. Thank you.
Hello, I had tested the issue on the R35.5 with devKit.
It was hard to reproduce the issue by switching the focus between full-screen app and non-full-screen app.
After hundreds of switching, it only happen one time in my test.
I thing the result is acceptable.
Thanks for your help.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.