Replies: 10 comments 26 replies
-
@Xeue I tried using a DeckLink Micro SDI in my Rock 5B as well. The DeckLink kernel module hangs when trying to capture from or output to the device via the DeckLink SDK sample apps. I was running the DeckLink SDI capture, signal generator and test pattern sample apps, rather than OBS. I don't necessarily think this is an issue with the ubuntu-rockchip distro, and more likely an issue with the driver. It should probably be reported to Blackmagic, although I'm not sure how likely it is that they will investigate it, let alone address it. |
Beta Was this translation helpful? Give feedback.
-
Have you raised the issue on the Blackmagic Design forums, or only through customer support? Might be worth posting on their forum. I haven't gotten around to creating an account and doing that yet. |
Beta Was this translation helpful? Give feedback.
-
@petrn I am experiencing the exact same issue as @Xeue, with the exact same card in my Rock5B (DeckLink SDI Micro M.2). I am seeing the same It doesn't seem to matter if the card is trying to do capture or output. I've reproduced it with a handful of the Blackmagic DeskLink SDK sample apps, such as The HDMI input on the Rock5B is not currently in use and I am not using the USB ports for anything other than my keyboard, so bandwidth should not be an issue. For what it is worth I have been able to successfully capture and output video at 1080p60 YCbCr using an AJA Kona 3G card connected to a PCIe x4 -> M.2 converter board. The Rock5B is theoretically capable of the bandwidth requirements for at least a single 1080p stream. I made the following posts about the issue on the Radxa and BMD forums as well
NOTE that the BMD forum post is currently pending administrator approval due to an edit I made. Check back tomorrow. |
Beta Was this translation helpful? Give feedback.
-
@handledexception Thanks for all the details. I had a look yesterday evening into the driver (BTW there is a new 12.7.1 version about 2 days old, but I doubt it will make any difference). Unfortunately when you look at the backtrace in that crash log, most of the backtrace is in the closed source part of the driver delivered as opaque blob. The AJA and Dektec drivers are fully open source, but the BMD driver is mostly closed source (and written in C++ rather than C, only the open source parts are in C). Based on the backtrace, it seems that the crash happens during the attaching to the device, and is related to interrupt handling. As mentioned, I suspect the PCIe driver for Rockchip, rather than the BMD driver as the root cause of the problem. I have checked the new RPi5 and while their PCIe external port is officially PCIe 2.0 x1, it can be set to PCIe 3.0 and as the BMD Decklink SDI Micro is a x1 card, it should work on the RPi5 (which I have preordered but not received yet). However, the adapter from the proprietary RPi PCIe connector to M.2 will only be available in early 2024. I might then give it a try, as we should get better support from the RPi team than from Rockchip/Radxa. I do not have the M.2 BMD board at the moment, but it is available in stock locally. What is good is that you have the AJA board working on the 5B, so we know that in principle the 5B should be able to handle the bandwidth of the SDI 3G adapter. Regarding your forum posts, this is how I came here - from the BMD forum. |
Beta Was this translation helpful? Give feedback.
-
Hi. I have x86 pc an dou2 I look on vmalloc and I see 384mb
. Yes I was try change on u-boot and no effect .
Kernel not reaction on this parameter may be need compile kernel with
malloc512 ….
пн, 30 жовт. 2023 р. о 03:38 Sam Chilton ***@***.***> пише:
… Given this is a 64 bit system, the vmalloc will huge, way bigger than the
available RAM. So I don't think this is relevant. If it was 32bit then yes
vmalloc being too low would make sense.
You can add a setting for vmalloc in /boot/firmware/ubuntuEnv.txt using
"vmalloc=512M"
I have tried that and it makes no difference.
—
Reply to this email directly, view it on GitHub
<#413 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ7FHT3N2ZSCRI7KKVH3Q7TYB3ZKDAVCNFSM6AAAAAA6D7KMZSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMJYHA2TM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I have some progress with kernel 6.6 |
Beta Was this translation helpful? Give feedback.
-
Yes I getting video from input to output
No kernel crash
But capture file is 0 bites !
ср, 1 лист. 2023 р. о 21:20 Sam Chilton ***@***.***> пише:
… So you're getting video from the input to the output?
Do you still have the kernel crash when used to capture the video?
—
Reply to this email directly, view it on GitHub
<#413 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ7FHT7SGWEJ55RYWMDK7KLYCKOJTAVCNFSM6AAAAAA6D7KMZSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINBZGIYDG>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
hi on new kernel i can capture video and audio BUT only low half size of image .... i think its problem pci-e driver or hardware orange pi 5 plus not suported decklink picture on this topic the same as my |
Beta Was this translation helpful? Give feedback.
-
Interesting... the Jetson Nano development kit mentioned in the older BMD forum article has PCIe Gen2 x1 (on the M.2 E-key port) - so it does not match the Decklink SDI Micro specifications of PCIe Gen3 x1 - the available bandwidth is only 1/2 of the required one (500 MB/s on PCIe 2.0 vs 1GB/s on PCIe 3.0) So if you are seeing similar artefacts on the Orange Pi 5 as on the Jetson Nano, it would suggest that the actual connection is on PCIe 2.0 speeds or there is some other problem preventing the device to work at the full speed. |
Beta Was this translation helpful? Give feedback.
-
Has anyone looked at this recently? On the new build with kernel 6.1, after installing driver, the board won't boot at all when the card is installed... |
Beta Was this translation helpful? Give feedback.
-
Hi, great work with this build!
I've got a blackmagic DeckLink SDI Micro in the m2 slot on a Rock 5B, it seems video input is working with the DeckLink ARM driver. But video output using OBS DeckLink Output causes OBS to freeze and go into defunct state. Lots of errors I can't even begin to understand in the kernel log...
Has anyone else had any luck with DeckLink?
Beta Was this translation helpful? Give feedback.
All reactions