• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
Nvidia Jetson Nano, superfast Kodi device?
(2021-03-18, 07:07)MicTie Wrote:  
Thanks!
As some Nvidia libraries seem missing from my Ubuntu-build, I decided to start from scratch - i.e. a new SD-card image with Jetpack 4.5.1.
Kodi was build based on the instructions found on Github.

1) Issues encountered with old Kodi 19 RC (uploaded Jan26):
  • Videos with 450p (SD) don't play (tried some .avi and .mp4)
  • Videos in Portrait-mode are displayed in Landscape-mode. Rotation during playing is not working

2) Issues encountered with new Kodi 20 alpha (uploaded Mar17):
  • Videos with 450p (SD) don't play (tried some .avi and .mp4)
  • Videos in Portrait-mode are displayed in Landscape-mode. Rotation during playing is not working
  • (Video)Plugins are not working / are not found
    Code:
    ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
    ERROR <general>: GetDirectory - Error getting plugin://plugin.video.nhklive/
    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhklive/) failed

I hope that the move to Kodi 20 Alpha, does not bring a lot new bugs and make the build more or less unusable ...

Will upload some logs on the 450p and Portrait-mode issue, when I find some more time to test

Thanks

Resolution re-scaling/zooming/tonemapping aren't implemented yet. For HW acceleration, I had to build new shader, which is very simple at this point. Once I solve issue with video seeking, will add missing things to the shader. Hope, it would solve most of the problems with non standard resolutions. Sorry guys, it is taking me a while to get all of that fixed, as I do it only in my spare time.
Reply
(2021-03-18, 15:53)hashtag Wrote:
(2021-03-18, 07:07)MicTie Wrote:  

Resolution re-scaling/zooming/tonemapping aren't implemented yet. For HW acceleration, I had to build new shader, which is very simple at this point. Once I solve issue with video seeking, will add missing things to the shader. Hope, it would solve most of the problems with non standard resolutions. Sorry guys, it is taking me a while to get all of that fixed, as I do it only in my spare time.
No problem and take your time!
Do you have any idea why my (Video-)Plugins are not working?
Reply
(2021-03-18, 15:57)MicTie Wrote: No problem and take your time!
Do you have any idea why my (Video-)Plugins are not working?

I actually don't, but for what I know, Kodi team have done a lot of changes in plugin infrastructure, so some plugins from Leia not working in Matrix release. My current build hardly depends on Matrix changes and unfotunately can't be ported back to Leia.

Try to run them and see if there is any issues logged in kodi.log.
Reply
(2021-03-18, 16:00)hashtag Wrote:
(2021-03-18, 15:57)MicTie Wrote: No problem and take your time!
Do you have any idea why my (Video-)Plugins are not working?

I actually don't, but for what I know, Kodi team have done a lot of changes in plugin infrastructure, so some plugins from Leia not working in Matrix release. My current build hardly depends on Matrix changes and unfotunately can't be ported back to Leia.

Try to run them and see if there is any issues logged in kodi.log.
They have been working with the previous release, but not with the new build (Kodi 20 alpha)
Code:
ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
ERROR <general>: GetDirectory - Error getting plugin://plugin.video.nhklive/
ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhklive/) failed
Reply
(2021-03-18, 16:14)MicTie Wrote: They have been working with the previous release, but not with the new build (Kodi 20 alpha)

Hmm.. Probably something changed in API. I'll rebase my code back on Kodi 19 release and keep snapshot version separately
Reply
(2021-03-18, 16:19)hashtag Wrote:
(2021-03-18, 16:14)MicTie Wrote: They have been working with the previous release, but not with the new build (Kodi 20 alpha)

Hmm.. Probably something changed in API. I'll rebase my code back on Kodi 19 release and keep snapshot version separately
Quick update on my 'video-addons not working' - issue
I have been 'reusing' my .kodi-folder.
After un-installing, deleting settings, and re-installing the add-ons they are working.
Reply
@hashtag : Thanks for updating the built - highly appreciated!

Besides the issues that 'portrait-videos' are played in 'landscape', and some low-resolution videos not playing  - which I consider minor,
the main problem is strong artefacts / flickering with H264 and H265 videos
Code:
     INFO <general>: VideoPlayer::OpenFile: /media/kodi4T/dramas/2021/Taxi.S01E01.mp4
     INFO <general>: Creating InputStream
     INFO <general>: ScanPathsForAssociatedItems: found associated file /media/kodi4T/dramas/2021/Taxi.S01E01.srt
     INFO <general>: Creating Demuxer
     INFO <general>: Opening stream: 0 source: 256
     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 29.970, 3D: false
     INFO <general>: Display resolution ADJUST : HDMI-0: 1920x1080 @ 59.95Hz (18) (weight: 0.000)
     INFO <general>: CWinSystemX11::SetFullScreen - calling xrandr
     INFO <general>: VideoPlayer: OnLostDisplay received
  WARNING <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
  WARNING <general>: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
     INFO <general>: XRANDR: /home/michael/xbmc/build/kodi-xrandr --screen 0 --output HDMI-0 --mode 0x196
     INFO <general>: script.module.slyguy - Proxy Started: 127.0.0.1:52103
     INFO <general>: GLES: Maximum texture width: 16384
     INFO <general>: Creating video codec with codec id: 27
     INFO <general>: NVV4LCodec::Open opening device %s
     INFO <general>: VideoPlayer: OnLostDisplay received
  WARNING <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
  WARNING <general>: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
     INFO <general>: VideoPlayer: OnResetDisplay received
  WARNING <general>: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
Reply
Any status update on aliubimov or someone else submitting the needed changes for Nvidia Tegra suppport as a pull request to upstream?

https://github.com/aliubimov/xbmc/commit...ra-support

That is, as a patch for supporting NVDEC on Jetson Nano to mainstream Kodi / xbmc core?

https://github.com/xbmc/xbmc/
Reply
FYI, LibreELEC developers mentioned that any Tegra implementation would need GBM (Generic Buffer Management) support for them to support it:

https://forum.libreelec.tv/thread/17950-...-progress/

LibreELEC plan is to not support X11 much longer so guess means need GBM to use Weston compositor and use kodi-wayland instead of kodi-x11?

https://github.com/aliubimov/xbmc/issues/12
Reply
(2021-06-17, 13:19)RockerC Wrote: FYI, LibreELEC developers mentioned that any Tegra implementation would need GBM (Generic Buffer Management) support for them to support it:

https://forum.libreelec.tv/thread/17950-...-progress/

LibreELEC plan is to not support X11 much longer so guess means need GBM to use Weston compositor and use kodi-wayland instead of kodi-x11?

https://github.com/aliubimov/xbmc/issues/12

Yes, I am currently working on better port, that will support GBM.
Reply
(2021-06-06, 07:05)MicTie Wrote: @hashtag : Thanks for updating the built - highly appreciated!

Besides the issues that 'portrait-videos' are played in 'landscape', and some low-resolution videos not playing  - which I consider minor,
the main problem is strong artefacts / flickering with H264 and H265 videos
Code:
     INFO <general>: VideoPlayer::OpenFile: /media/kodi4T/dramas/2021/Taxi.S01E01.mp4
     INFO <general>: Creating InputStream
     INFO <general>: ScanPathsForAssociatedItems: found associated file /media/kodi4T/dramas/2021/Taxi.S01E01.srt
     INFO <general>: Creating Demuxer
     INFO <general>: Opening stream: 0 source: 256
     INFO <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1080, fps: 29.970, 3D: false
     INFO <general>: Display resolution ADJUST : HDMI-0: 1920x1080 @ 59.95Hz (18) (weight: 0.000)
     INFO <general>: CWinSystemX11::SetFullScreen - calling xrandr
     INFO <general>: VideoPlayer: OnLostDisplay received
  WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
  WARNING <general>: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
     INFO <general>: XRANDR: /home/michael/xbmc/build/kodi-xrandr --screen 0 --output HDMI-0 --mode 0x196
     INFO <general>: script.module.slyguy - Proxy Started: 127.0.0.1:52103
     INFO <general>: GLES: Maximum texture width: 16384
     INFO <general>: Creating video codec with codec id: 27
     INFO <general>: NVV4LCodec::Open opening device %s
     INFO <general>: VideoPlayer: OnLostDisplay received
  WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
  WARNING <general>: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
     INFO <general>: VideoPlayer: OnResetDisplay received
  WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED

This is known issue. I hope to get it fix in next patch.
Reply
(2021-07-09, 14:41)hashtag Wrote:
(2021-06-06, 07:05)MicTie Wrote:  

This is known issue. I hope to get it fix in next patch.
Great! When can we expect the next patch?
Reply
(2021-08-08, 11:31)MicTie Wrote:
(2021-07-09, 14:41)hashtag Wrote:
(2021-06-06, 07:05)MicTie Wrote:  

This is known issue. I hope to get it fix in next patch.
Great! When can we expect the next patch?
Thank you  for the updated version - highly appreciated!

Too bad, on my Jetson Nano I do not see any improvements compared to the earlier version.
I still have is strong artefacts / flickering with H264 and H265 videos, and  'portrait-videos' are played in 'landscape'.

Maybe I did something wrong ...
Are there any changes to the compilation?
Reply
(2021-09-05, 08:56)MicTie Wrote: Thank you  for the updated version - highly appreciated!

Too bad, on my Jetson Nano I do not see any improvements compared to the earlier version.
I still have is strong artefacts / flickering with H264 and H265 videos, and  'portrait-videos' are played in 'landscape'.

Maybe I did something wrong ...
Are there any changes to the compilation?

I've pushed fix for artifacts and flickering. Docker container updated respectively. 
Please check it out.

Changes for aspect ratio would require some work on Kodi side. I'll spent some time to check if I can do it quick. Otherwise, better wait for FFMPEG version of NV4L driver.

I am working mostly on porting decoding to FFMPEG, which would enable all the features Kodi have, without needed of extra decoder.
Reply
(2021-09-07, 00:54)hashtag Wrote:
(2021-09-05, 08:56)MicTie Wrote:  

I've pushed fix for artifacts and flickering. Docker container updated respectively. 
Please check it out.

Thanks for the update!
I saw you have rebased Kodi to V19.1.

Too bad the artifacts when playing H264 and H265 movies seem unchanged.
Not sure if the attached log is helpful:
2021-09-07 16:33:16.890 T:8674 INFO <general>: VideoPlayer::OpenFile: /media/kodi4T/movies/moview.mp4
2021-09-07 16:33:16.894 T:35373 INFO <general>: Creating InputStream
2021-09-07 16:33:16.912 T:35373 INFO <general>: ScanPathsForAssociatedItems: found associated file /media/kodi4T/movies/movie.srt
2021-09-07 16:33:16.912 T:35373 INFO <general>: Creating Demuxer
2021-09-07 16:33:17.256 T:35373 INFO <general>: Opening stream: 0 source: 256
2021-09-07 16:33:17.256 T:35373 INFO <general>: [WHITELIST] Searching the whitelist for: width: 1920, height: 1040, fps: 23.976, 3D: false
2021-09-07 16:33:17.256 T:35373 INFO <general>: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.98Hz (24) (weight: 0.000)
2021-09-07 16:33:17.264 T:8674 INFO <general>: CWinSystemX11::SetFullScreen - calling xrandr
2021-09-07 16:33:17.264 T:8674 INFO <general>: VideoPlayer: OnLostDisplay received
2021-09-07 16:33:17.264 T:8674 WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.264 T:8674 WARNING <general>: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.280 T:8674 INFO <general>: XRANDR: /home/michael/xbmc/build/kodi-xrandr --screen 0 --output HDMI-0 --mode 0x194
2021-09-07 16:33:17.490 T:8674 INFO <general>: GLES: Maximum texture width: 16384
2021-09-07 16:33:17.498 T:35373 INFO <general>: Creating video codec with codec id: 173
2021-09-07 16:33:17.498 T:35373 INFO <general>: NVV4LCodec::Open opening device /dev/nvhost-nvdec
2021-09-07 16:33:17.516 T:8674 INFO <general>: VideoPlayer: OnLostDisplay received
2021-09-07 16:33:17.516 T:8674 WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.516 T:8674 WARNING <general>: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.685 T:8674 INFO <general>: VideoPlayer: OnResetDisplay received
2021-09-07 16:33:17.685 T:8674 WARNING <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.685 T:8674 WARNING <general>: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
2021-09-07 16:33:17.685 T:8674 INFO <general>: GLES: Maximum texture width: 16384
2021-09-07 16:33:17.692 T:8674 INFO <general>: GLES: Enabling VSYNC
2021-09-07 16:33:17.707 T:35373 INFO <general>: CNVV4LBufferPool::Init 12 v4l2 buffers initalized
2021-09-07 16:33:17.707 T:35373 INFO <general>: NVV4LCodec::Open device ready
2021-09-07 16:33:17.707 T:35373 INFO <general>: NVV4LCodec::SubscribeEvent subscribe to event
2021-09-07 16:33:17.710 T:35373 INFO <general>: CBitstreamConverter::Open bitstream to annexb init
2021-09-07 16:33:17.710 T:35373 INFO <general>: Creating video thread
2021-09-07 16:33:17.712 T:35461 INFO <general>: running thread: video_thread
2021-09-07 16:33:17.712 T:35373 INFO <general>: Opening stream: 1 source: 256
2021-09-07 16:33:17.712 T:35373 INFO <general>: Finding audio codec for: 86018
2021-09-07 16:33:17.713 T:35373 INFO <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-09-07 16:33:17.713 T:35373 INFO <general>: Creating audio thread
2021-09-07 16:33:17.713 T:35373 INFO <general>: Opening stream: 0 source: 1024
2021-09-07 16:33:17.714 T:35462 INFO <general>: running thread: CVideoPlayerAudioTonguerocess()
2021-09-07 16:33:17.869 T:35462 INFO <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through)
2021-09-07 16:33:17.871 T:35461 INFO <general>: NVV4LCodecBig GrinecoderLoop resolution change received
2021-09-07 16:33:17.873 T:35461 INFO <general>: CNVV4LBufferPool::Init 15 v4l2 buffers initalized 


I will try some more test tomorrow .....
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11

Logout Mark Read Team Forum Stats Members Help
Nvidia Jetson Nano, superfast Kodi device?0