The only differences from 32.6. to 32.7.x
It now supports memory mapping by VK_EXT_external_memory
The emulator it’s use memory mapping when supported
What can be wrong here for the nvidia l4t driver? Thank you.
It completely breaks the graphics when we use this extension on this device.
Regards
Carlos
hi We are testing another alternative using page table for drivers not supported or oldest without VK_EXT_external_memory
Edit For drivers without VK_EXT_external_memory we can fixed it with latest commit
however latest drivers 32.7.x with VK_EXT_external_memory unusual behavior keeps happening.
We haven’t found a solution yet .
Yeah
With 32.6.x blobs it’s fast solution though not perfect in fews things it keeps flickering They do opposite behaviors with or without.
With 32.7 it will would block not loading the VK_EXT_external_memory implementation
But it would be nice to understand why it flickers as this issue does not happen on other hardware that we have tested in our internal tests and users have reported to us.
We will have found the limitation it’s happn on nintendo switch too.
it’s does not have a memory type that is both coherent and cached, so performance is kind of bad with the pagetable implementation
and it explains the flickering with external host buffer too!!!
for now it’s very low priority for us due hard pain work on this maybe in the futur will rework.
With what clang version?
seems to be using an old clang
We recommended using clang-14
If you have under bionic will needed add this ppa sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
$ cmake --build build/linux-ninja-clang --config Release
[0/2] Re-checking globbed directories...
ninja: error: '/home/nvidia/Bug3999516/Sources-0320/Vita3K/external/ffmpeg/linux/aarch64/libavcodec.a', needed by 'bin/Release/Vita3K', missing and no known rule to make it
Reference this page to apply change and add linux_arm64.sh script
$ vim CMakeLists.txt
$ vim linux_arm64.sh
$ cp libtomcrypt/libtomcrypt.a ./external/psvpfstools/libtomcrypt/build/lib/libtomcrypt.a
Run below command to building:
$ cmake --preset linux-ninja-clang
$ cmake --build build/linux-ninja-clang --config Release
Do I missing what steps?
or can you provide the Vita3K that can run on Jetson Nano for us directly?
Thanks!
Could you share the build steps from fresh jetpack build? We don’t have much resources to check build issue. Please start from scratch and share us the build steps so that we can focus on the real issue to check.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update && sudo apt-get upgrade .
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 14
Install depndences sudo apt install git cmake ninja-build libsdl2-dev pkg-config libgtk-3-dev xdg-desktop-portal openssl libstdc+±10-dev
git clone https://github.com/Vita3K/Vita3K
cd Vita3K
git submodule --init --recursive
cd Vita3K/external/ffmpeg and Apply ffmpeg prebuild binaryees Only needed *.a files from linker fine in aarch64 folder and change Cmakelist.txt for this https://github.com/Vita3K/ffmpeg-core/pull/4
Rebuild external/libtomcrypt and copy into external/libtomcrypt/build/lib/tomcrypt.a .
cmake --preset linux-ninja-clang14
cmake --build build/linux-ninja-clang14 --config Release
I’m created docker if you needed the base stuff.
xhost +
sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix cestrague/l4t-bionic-development
same binary working too on Focal host tested for me using the same steps
Hi,
We would like to check this on Orin but have faced certain issues. Since now you are using Jetson Nano and not sure if you have future plan to use Orin series. If yes, we can then resume checking this on Orin. Many thanks for your help.
ah sorry I missed libsdl2-dev does not meet the minimum version requirements in bionic/focal .
sudo remove libsdl2-dev and it will compile from external
remove folder to rebuild again thanks.
Now it’s just giving you the error libsdl2 library doesn’t have that entry so I will recommended remove it and rebuild it without libsdl2-dev (remove cmakecache)
It would be good to check if it happens in orin or not to rule out if it is Nano specific or not then we would have it easy for us to block only “nano”.