10-30-2020 11:14 AM
I have a Video processing pipeline designed to run on ZCU106. The pipeline diagram is posted below. I have a HDMI Rx in, the format and resolution is converted through a VPSS and data are written to DDR by a frame buffer write. Then the data are read by a frame buffer read, processed by our custom IP, written back to DDR again and then displayed on DP port. Our custom IP has a wired port to GPIO to configure the rows and columns of the video frame. The GPIO has a default setting of 1920x1080. We built boot SD card image with Petalinux and it booted well.
If we configure the VPSS output as 1920x1080 and run acquisition with gstreamer, the whole pipeline works fine. However, if we change the GOIP value to 1280x720, then configure the VPSS output as 1280x720 accordingly and run acquisition, the pipeline stop working. The stream frame rate drops to zero.
To make sure our custom IP works for 1280x720, we set the GPIO default value to 1280x720 and rebuilt, This time, when setting VPSS to 1280x720 after power on and do acquisition with gstreamer, the pipeline works. The frame rate drops to zero when we configure everything to 1080.
It seems it is configuration timing issue since it only works for the resolution of GPIO default setting when booted petalinux. FBR and FBW reset are hooked up to EMIO like TRD design. C_IP reset is hooked up to GPIO.
Anyone have any ideas?
11-29-2020 01:49 PM
11-05-2020 08:57 AM
Well. It sounds like this is an issue with your IP.
You would say start by adding an ILA after the GPIO to make sure the configured value is correct.
Then you might need to dig deeper into your ip.
Then if you want to avoid thinking about the VPSS, just create a buffer in memory that you read to (so you only use the mem to mem path)
I am not sure what else I can tell you. You need to understand why your IP is not working. So you might want to simulate it, add ILA into it etc...
11-13-2020 06:04 AM
11-13-2020 06:10 AM
Maybe try to disable the driver and control the GPIO IP from the userspace
11-24-2020 03:24 AM
11-29-2020 01:49 PM