aliubimov / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
7 stars 2 forks source link

Fails to work on Nintendo Switch #8

Closed theofficialgman closed 1 year ago

theofficialgman commented 3 years ago

Hardware

Here is a snippet of what the log looks like https://pastebin.com/QX9VbXWS

aliubimov commented 3 years ago

Looks like for some reason it is not able to map memory for video buffer.

2020-12-14 19:11:27.875 T:10298 ERROR <general>: CNVV4LBuffer::Map failed to mmap buffer id:0 fd:1828717656 offset:0 : Bad file descriptor

Is there anything interesting in dmesg output ?

PS: unfortunately i don't have Nintendo Switch to test it on

theofficialgman commented 3 years ago

I was able to build the latest tegra-support (with my PR) and CEC disabled (bug in kodi/libraries). Unfortunatly looks like I am still running into the same/similar problem kodi.log

Do you have any suggestions since the last time?

theofficialgman commented 3 years ago

also I would get a backtrace for you but when I launch kodi through gdb it makes my system hang on kodi exit...

theofficialgman commented 2 years ago

@aliubimov I've come back to this and built the latest commit on the feature/tegra-support branch and I am still having issues. Here is the log file for when I try to run an h264 mp4 video. I am still using the same 32.3.1 bsp from last time. kodi.log

seems to be the same issue as last time... have you tested on 32.3.1? what jetpack have you verified this works with?

theofficialgman commented 1 year ago

closing as I have no need for this anymore, we have our own custom hardware accelerated ffmpeg decoders now https://gitlab.com/switchroot/switch-l4t-multimedia/FFmpeg