2021-03-15, 14:25
(2021-03-15, 06:33)hashtag Wrote:Thanks for your reply!(2021-03-01, 12:09)MicTie Wrote:To get HW acceleration in Kodi, you certainly have to includein a build settings.Code:-DENABLE_V4L2=ON -DENABLE_NVBUFFER=ON -DAPP_RENDER_SYSTEM=gles
I am not sure if non standard Linux build will have work properly. NVidia have done a lot of Kernel customizations. Please, try to compile sample code from JetPack and check it you getting video played. Also please attachoutput, it might have some clues, why mmap failed.Code:dmesg
I recompiled Kodi exactly with the code given at Github
the result stays the same: Kodi starts normally, but I cannot play any movies/videos.:# cmake -G "Ninja" .. -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gles -DENABLE_INTERNAL_FFMPEG=ON -DENABLE_INTERNAL_FLATBUFFERS=ON -DENABLE_INTERNAL_FMT=ON -DENABLE_V4L2=ON -DENABLE_NVBUFFER=ON -DENABLE_INTERNAL_SPDLOG=ON -DENABLE_VAAPI=OFF -DCMAKE_INSTALL_PREFIX=/kodi
The behavior seems identical to this post. although I don't the same error messages.
My kodi.log shows: ERROR <general>: CNVV4LBuffer::Map failed to mmap buffer id:0 fd:1828717675 offset:0 : Bad file descriptor
The dmesg output is here, and kodi.log is here
If I compile Kodi with
videos play fine but without HW-acceleration.:cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gl
Thanks for your help!