cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
stefanausbo
Observer
Observer
2,460 Views
Registered: ‎01-22-2019

Simple Gstreamer Pipeline on ZCU104 doesn't work

Hi,

I have a new ZCU104-Board and downloaded the files from the revision stack (https://github.com/Xilinx/reVISION-Getting-Started-Guide/blob/master/Docs/software-tools-system-requirements.md), to have an Image for the board.

On the Board I tried to diffrend gstreamer pipelines, which are working.

The first is:

gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! video/x-raw, width=1280, height=720 ! videoconvert ! xlnxvideosink sink-type=hdmi

This pipeline shows a testimage on the screen.

The second pipeline is:

gst-launch-1.0 v4l2src device=/dev/video4 ! videoscale ! video/x-raw, width=1280, height=720 ! videoconvert ! avimux ! filesink location=/media/card/testvideo.avi

This pipeline saves the webcamstream in a avi-file.

But this pipeline doesn't work:

gst-launch-1.0 v4l2src device=/dev/video4 ! videoscale ! video/x-raw, width=1280, height=720 ! videoconvert ! xlnxvideosink sink-type=hdmi

Can anyonw tell me what do I do wrong?

I just see a black screen and see that the webcam is working.

Tags (1)
0 Kudos
10 Replies
florentw
Moderator
Moderator
2,404 Views
Registered: ‎11-09-2015

Hi @stefanausbo 

Is the stream from the webcam encoded? You might need to decode it first before sending the stream to the display.

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
stefanausbo
Observer
Observer
2,388 Views
Registered: ‎01-22-2019

Hi @florentw 

thank you for your answer.

I will give you some aditional information, that might be helpful.

I use the See3CAM_CU30_CHL_TC_BX, which is delivered with the evaluation board from the ZCU104.The monitor is a dell P2319H and I use an ultra high speed HDMI cable.

The pipeline which is not working is:

gst-launch-1.0 v4l2src device=/dev/video4 ! videoscale ! video/x-raw, width=1280, height=720, format=UYVY, framerate=30/1 ! videoconvert ! xlnxvideosink sink-type=hdmi

I can see the first frame and than the screen is black.

Sometimes when I restart the system I don't get the blue screen, than I just see a flashing blue screen and horizontal black lines (the lines have a brightness of one pixel and they are on diffrent lines on the monitor).

 

0 Kudos
stefanausbo
Observer
Observer
2,345 Views
Registered: ‎01-22-2019

I have some additional information that might be helpful.

From the console I tried different things:

root@xilinx:/sys/devices/platform/amba# cat a0080000.hdmi_txss/hdmi_log

 

HDMI TX log
------
root@xilinx:/sys/devices/platform/amba# cat a0080000.hdmi_txss/vphy_log

 

VPHY log
------
root@xilinx:/sys/devices/platform/amba# gst-launch-1.0 v4l2src device=/dev/video4 ! videoconvert ! xlnxvideosink sink-type=hdmi
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.634822590
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@xilinx:/sys/devices/platform/amba# cat a0080000.hdmi_txss/vphy_log

 

VPHY log
------
TX frequency event
QPLL lost lock
TX frequency event
TX timer event
TX MMCM reconfig done
QPLL reconfig done
GT TX reconfig start
GT TX reconfig done
QPLL lock
TX reset done
TX alignment done
TX frequency event
QPLL lost lock
TX frequency event
TX timer event
TX MMCM reconfig done
QPLL reconfig done
GT TX reconfig start
GT TX reconfig done
QPLL lock
TX reset done
TX alignment done
TX frequency event
QPLL lost lock
TX frequency event
TX timer event
TX MMCM reconfig done
QPLL reconfig done
GT TX reconfig start
GT TX reconfig done
QPLL lock
TX reset done
TX alignment done
root@xilinx:/sys/devices/platform/amba# cat a0080000.hdmi_txss/hdmi_log

 

HDMI TX log
------
TX cable is disconnected....
VID Bridge Unlocked
TX Stream is Down
TX cable is connected....
TX Stream Start
TX Stream is Up
TX cable is disconnected....
VID Bridge Unlocked
TX Stream is Down
TX cable is connected....
TX Stream Start
TX Stream is Up
TX cable is disconnected....
VID Bridge Unlocked
TX Stream is Down
TX cable is connected....
TX Stream Start
TX Stream is Up
root@xilinx:/sys/devices/platform/amba#

From the hdmi-log I see that the hdmi connection is disconnected but I don't remove any cable.

 

0 Kudos
stefanausbo
Observer
Observer
2,334 Views
Registered: ‎01-22-2019

After I start the board I have these kernel-log. The last logs with the vblanks seems to be strange. Can this have something to do with my problem?

root@xilinx:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.0-xilinx-v2018.3 (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP Tue Dec 11 02:51:09 UTC 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: ZynqMP ZCU104 RevC
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] bootconsole [cdns0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 512 MiB at 0x0000000057c00000
[ 0.000000] On node 0 totalpages: 524032
[ 0.000000] DMA zone: 7165 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 524032 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 21 pages/cpu @ffffffc07fe5c000 s46488 r8192 d31336 u86016
[ 0.000000] pcpu-alloc: s46488 r8192 d31336 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516867
[ 0.000000] Kernel command line: earlycon clk_ignore_unused rootfstype=ramfs earlyprintk uio_pdrv_genirq.of_id=xlnx,generic-uio cma=512M cpuidle.off=1 cpufreq.off=1
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 1425552K/2096128K available (10236K kernel code, 672K rwdata, 3288K rodata, 512K init, 2355K bss, 146288K reserved, 524288K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008a80000 ( 10240 KB)
[ 0.000000] .rodata : 0xffffff8008a80000 - 0xffffff8008dc0000 ( 3328 KB)
[ 0.000000] .init : 0xffffff8008dc0000 - 0xffffff8008e40000 ( 512 KB)
[ 0.000000] .data : 0xffffff8008e40000 - 0xffffff8008ee8200 ( 673 KB)
[ 0.000000] .bss : 0xffffff8008ee8200 - 0xffffff8009134fb0 ( 2356 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf01bfc800 ( 27 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc07ff00000 ( 2047 MB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq-xilinx: /amba/interrupt-controller@a0010000: num_irq=10, edge=0x1
[ 0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[ 0.000003] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[ 0.008416] Console: colour dummy device 80x25
[ 0.012463] console [tty0] enabled
[ 0.015829] bootconsole [cdns0] disabled
[ 0.019738] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[ 0.019751] pid_max: default: 32768 minimum: 301
[ 0.019852] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.019865] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.020448] ASID allocator initialised with 65536 entries
[ 0.020502] Hierarchical SRCU implementation.
[ 0.020845] EFI services will not be available.
[ 0.020870] zynqmp_plat_init Platform Management API v1.1
[ 0.020878] zynqmp_plat_init Trustzone version v1.0
[ 0.020981] smp: Bringing up secondary CPUs ...
[ 0.021230] Detected VIPT I-cache on CPU1
[ 0.021260] CPU1: Booted secondary processor [410fd034]
[ 0.021528] Detected VIPT I-cache on CPU2
[ 0.021546] CPU2: Booted secondary processor [410fd034]
[ 0.021803] Detected VIPT I-cache on CPU3
[ 0.021820] CPU3: Booted secondary processor [410fd034]
[ 0.021861] smp: Brought up 1 node, 4 CPUs
[ 0.021893] SMP: Total of 4 processors activated.
[ 0.021900] CPU features: detected feature: 32-bit EL0 Support
[ 0.021911] CPU: All CPU(s) started at EL2
[ 0.021927] alternatives: patching kernel code
[ 0.022645] devtmpfs: initialized
[ 0.027921] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.027945] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.037585] xor: measuring software checksum speed
[ 0.075849] 8regs : 2303.000 MB/sec
[ 0.115878] 8regs_prefetch: 2053.000 MB/sec
[ 0.155908] 32regs : 2830.000 MB/sec
[ 0.195939] 32regs_prefetch: 2381.000 MB/sec
[ 0.195947] xor: using function: 32regs (2830.000 MB/sec)
[ 0.196019] pinctrl core: initialized pinctrl subsystem
[ 0.196541] NET: Registered protocol family 16
[ 0.197781] vdso: 2 pages (1 code @ ffffff8008a86000, 1 data @ ffffff8008e44000)
[ 0.197799] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.198325] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.219560] reset_zynqmp reset-controller: Xilinx zynqmp reset driver probed
[ 0.220191] ARM CCI_400_r1 PMU driver probed
[ 0.224752] zynqmp-pinctrl ff180000.pinctrl: zynqmp pinctrl initialized
[ 0.235548] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.300093] raid6: int64x1 gen() 403 MB/s
[ 0.368133] raid6: int64x1 xor() 445 MB/s
[ 0.436240] raid6: int64x2 gen() 690 MB/s
[ 0.504260] raid6: int64x2 xor() 603 MB/s
[ 0.572297] raid6: int64x4 gen() 1042 MB/s
[ 0.640364] raid6: int64x4 xor() 740 MB/s
[ 0.708435] raid6: int64x8 gen() 980 MB/s
[ 0.776447] raid6: int64x8 xor() 746 MB/s
[ 0.844527] raid6: neonx1 gen() 726 MB/s
[ 0.912570] raid6: neonx1 xor() 852 MB/s
[ 0.980612] raid6: neonx2 gen() 1170 MB/s
[ 1.048678] raid6: neonx2 xor() 1206 MB/s
[ 1.116728] raid6: neonx4 gen() 1506 MB/s
[ 1.184769] raid6: neonx4 xor() 1440 MB/s
[ 1.252852] raid6: neonx8 gen() 1652 MB/s
[ 1.320877] raid6: neonx8 xor() 1532 MB/s
[ 1.320885] raid6: using algorithm neonx8 gen() 1652 MB/s
[ 1.320893] raid6: .... xor() 1532 MB/s, rmw enabled
[ 1.320901] raid6: using neon recovery algorithm
[ 1.321818] SCSI subsystem initialized
[ 1.321861] libata version 3.00 loaded.
[ 1.321988] usbcore: registered new interface driver usbfs
[ 1.322025] usbcore: registered new interface driver hub
[ 1.322063] usbcore: registered new device driver usb
[ 1.322123] media: Linux media interface: v0.10
[ 1.322155] Linux video capture interface: v2.00
[ 1.322193] pps_core: LinuxPPS API ver. 1 registered
[ 1.322202] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.322222] PTP clock support registered
[ 1.322249] EDAC MC: Ver: 3.0.0
[ 1.322542] zynqmp-ipi ff9905c0.mailbox: Probed ZynqMP IPI Mailbox driver.
[ 1.322704] FPGA manager framework
[ 1.322812] fpga-region fpga-full: FPGA Region probed
[ 1.322911] Advanced Linux Sound Architecture Driver Initialized.
[ 1.323161] Bluetooth: Core ver 2.22
[ 1.323190] NET: Registered protocol family 31
[ 1.323197] Bluetooth: HCI device and connection manager initialized
[ 1.323209] Bluetooth: HCI socket layer initialized
[ 1.323219] Bluetooth: L2CAP socket layer initialized
[ 1.323236] Bluetooth: SCO socket layer initialized
[ 1.323801] clocksource: Switched to clocksource arch_sys_counter
[ 1.323881] VFS: Disk quotas dquot_6.6.0
[ 1.323925] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.327919] NET: Registered protocol family 2
[ 1.328232] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.328347] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 1.328568] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.328641] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.328685] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.328801] NET: Registered protocol family 1
[ 1.328975] RPC: Registered named UNIX socket transport module.
[ 1.328985] RPC: Registered udp transport module.
[ 1.328992] RPC: Registered tcp transport module.
[ 1.328999] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.329011] PCI: CLS 0 bytes, default 128
[ 1.329093] Trying to unpack rootfs image as initramfs...
[ 5.200813] Freeing initrd memory: 96680K
[ 5.201308] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 5.201469] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 5.202210] audit: initializing netlink subsys (disabled)
[ 5.202298] audit: type=2000 audit(5.188:1): state=initialized audit_enabled=0 res=1
[ 5.202613] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 5.203280] NFS: Registering the id_resolver key type
[ 5.203302] Key type id_resolver registered
[ 5.203309] Key type id_legacy registered
[ 5.203321] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 5.203342] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 5.229813] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 5.229835] io scheduler noop registered
[ 5.229842] io scheduler deadline registered
[ 5.229864] io scheduler cfq registered (default)
[ 5.229873] io scheduler mq-deadline registered
[ 5.229880] io scheduler kyber registered
[ 5.231685] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[ 5.232109] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[ 5.232269] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[ 5.232428] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[ 5.232590] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[ 5.232748] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[ 5.232909] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[ 5.233066] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[ 5.233226] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[ 5.233450] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[ 5.233605] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[ 5.233762] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[ 5.233923] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[ 5.234083] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[ 5.234239] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[ 5.234400] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[ 5.234562] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[ 5.234761] xilinx-frmbuf b0070000.fb_wr: Probe deferred due to GPIO reset defer
[ 5.234815] xilinx-frmbuf b0020000.fb_wr: Probe deferred due to GPIO reset defer
[ 5.259397] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 5.262800] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 5.266705] brd: module loaded
[ 5.270039] loop: module loaded
[ 5.270924] ahci-ceva fd0c0000.ahci: couldn't get PHY in node ahci: -517
[ 5.271087] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 5.272262] m25p80 spi0.0: n25q512a (65536 Kbytes)
[ 5.272289] 4 ofpart partitions found on MTD device spi0.0
[ 5.272298] Creating 4 MTD partitions on "spi0.0":
[ 5.272310] 0x000000000000-0x000001e00000 : "boot"
[ 5.272757] 0x000001e00000-0x000001e40000 : "bootenv"
[ 5.273123] 0x000001e40000-0x000004000000 : "kernel"
[ 5.273495] 0x000004000000-0x000004000000 : "spare"
[ 5.273503] mtd: partition "spare" is out of reach -- disabled
[ 5.274759] libphy: Fixed MDIO Bus: probed
[ 5.275772] tun: Universal TUN/TAP device driver, 1.6
[ 5.275933] CAN device driver interface
[ 5.278306] macb ff0e0000.ethernet: Not enabling partial store and forward
[ 5.278682] libphy: MACB_mii_bus: probed
[ 5.280688] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 32 (7a:c7:b3:d3:c4:a8)
[ 5.280708] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI DP83867] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
[ 5.281423] usbcore: registered new interface driver asix
[ 5.281475] usbcore: registered new interface driver ax88179_178a
[ 5.281507] usbcore: registered new interface driver cdc_ether
[ 5.281536] usbcore: registered new interface driver net1080
[ 5.281565] usbcore: registered new interface driver cdc_subset
[ 5.281594] usbcore: registered new interface driver zaurus
[ 5.281632] usbcore: registered new interface driver cdc_ncm
[ 5.281937] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 5.283414] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.283424] ehci-pci: EHCI PCI platform driver
[ 5.283706] usbcore: registered new interface driver uas
[ 5.283746] usbcore: registered new interface driver usb-storage
[ 5.284294] rtc_zynqmp ffa60000.rtc: rtc core: registered ffa60000.rtc as rtc0
[ 5.284360] i2c /dev entries driver
[ 5.285638] idt8t49n24x 2-006c: idt24x_probe
[ 5.366472] idt8t49n24x 2-006c: idt24x_read_from_hw: initial values read from chip successfully
[ 5.367091] idt8t49n24x 2-006c: probe success. input freq: 40000000Hz (XTAL), settings string? true
[ 5.367572] IR NEC protocol handler initialized
[ 5.367581] IR RC5(x/sz) protocol handler initialized
[ 5.367589] IR RC6 protocol handler initialized
[ 5.367596] IR JVC protocol handler initialized
[ 5.367602] IR Sony protocol handler initialized
[ 5.367609] IR SANYO protocol handler initialized
[ 5.367616] IR Sharp protocol handler initialized
[ 5.367623] IR MCE Keyboard/mouse protocol handler initialized
[ 5.367631] IR XMP protocol handler initialized
[ 5.367830] vivid-000: using single planar format API
[ 5.369372] vivid-000: V4L2 capture device registered as video0
[ 5.369441] vivid-000: V4L2 output device registered as video1
[ 5.369511] vivid-000: V4L2 capture device registered as vbi0, supports raw and sliced VBI
[ 5.369581] vivid-000: V4L2 output device registered as vbi1, supports raw and sliced VBI
[ 5.369652] vivid-000: V4L2 capture device registered as swradio0
[ 5.369717] vivid-000: V4L2 receiver device registered as radio0
[ 5.369788] vivid-000: V4L2 transmitter device registered as radio1
[ 5.370001] xilinx-video amba:vcap_hdmi: /amba/vcap_hdmi/ports/port@0 initialization failed
[ 5.370014] xilinx-video amba:vcap_hdmi: DMA initialization failed
[ 5.370081] xilinx-video amba:vcap_csi: /amba/vcap_csi/ports/port@0 initialization failed
[ 5.370093] xilinx-video amba:vcap_csi: DMA initialization failed
[ 5.370529] xilinx-csi2rxss a0060000.csiss: Xilinx CSI2 Rx Subsystem device found!
[ 5.371952] usbcore: registered new interface driver uvcvideo
[ 5.371962] USB Video Class driver (1.1.1)
[ 5.372429] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff80091cd000 with timeout 60s
[ 5.372586] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer at ffffff80091d5000 with timeout 10s
[ 5.372785] Bluetooth: HCI UART driver ver 2.3
[ 5.372796] Bluetooth: HCI UART protocol H4 registered
[ 5.372804] Bluetooth: HCI UART protocol BCSP registered
[ 5.372830] Bluetooth: HCI UART protocol LL registered
[ 5.372839] Bluetooth: HCI UART protocol ATH3K registered
[ 5.372846] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 5.372893] Bluetooth: HCI UART protocol Intel registered
[ 5.372901] Bluetooth: HCI UART protocol QCA registered
[ 5.372937] usbcore: registered new interface driver bcm203x
[ 5.372971] usbcore: registered new interface driver bpa10x
[ 5.373004] usbcore: registered new interface driver bfusb
[ 5.373043] usbcore: registered new interface driver btusb
[ 5.373052] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 5.373103] usbcore: registered new interface driver ath3k
[ 5.373230] EDAC MC: ECC not enabled
[ 5.373392] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[ 5.373689] cpufreq-dt cpufreq-dt: failed register driver: -19
[ 5.373715] CPUidle arm: Failed to register cpuidle driver
[ 5.373877] sdhci: Secure Digital Host Controller Interface driver
[ 5.373885] sdhci: Copyright(c) Pierre Ossman
[ 5.373892] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.419810] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[ 5.425773] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.425913] usbcore: registered new interface driver usbhid
[ 5.425921] usbhid: USB HID core driver
[ 5.426022] xlnk amba:xlnk: Major 244
[ 5.426116] xlnk amba:xlnk: xlnk driver loaded
[ 5.426126] xlnk amba:xlnk: xlnk_pdev is not null
[ 5.429093] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 5.431500] usbcore: registered new interface driver snd-usb-audio
[ 5.432338] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 5.432544] Netfilter messages via NETLINK v0.30.
[ 5.432659] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 5.432832] Initializing XFRM netlink socket
[ 5.432897] NET: Registered protocol family 10
[ 5.433326] Segment Routing with IPv6
[ 5.433370] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 5.433537] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 5.433849] NET: Registered protocol family 17
[ 5.433864] NET: Registered protocol family 15
[ 5.433886] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 5.433900] Ebtables v2.0 registered
[ 5.433992] can: controller area network core (rev 20170425 abi 9)
[ 5.434025] NET: Registered protocol family 29
[ 5.434040] can: raw protocol (rev 20170425)
[ 5.434048] can: broadcast manager protocol (rev 20170425 t)
[ 5.434059] can: netlink gateway (rev 20170425) max_hops=1
[ 5.434252] Bluetooth: RFCOMM TTY layer initialized
[ 5.434264] Bluetooth: RFCOMM socket layer initialized
[ 5.434280] Bluetooth: RFCOMM ver 1.11
[ 5.434290] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.434298] Bluetooth: BNEP filters: protocol multicast
[ 5.434308] Bluetooth: BNEP socket layer initialized
[ 5.434316] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 5.434326] Bluetooth: HIDP socket layer initialized
[ 5.434447] 9pnet: Installing 9P2000 support
[ 5.434467] Key type dns_resolver registered
[ 5.434906] registered taskstats version 1
[ 5.435838] Btrfs loaded, crc32c=crc32c-generic
[ 5.440490] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 42, base_baud = 6249999) is a xuartps
[ 5.520533] mmc0: new high speed SDHC card at address aaaa
[ 5.520892] mmcblk0: mmc0:aaaa SB16G 14.8 GiB
[ 5.530764] mmcblk0: p1
[ 7.181682] console [ttyPS0] enabled
[ 7.185909] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 43, base_baud = 6249999) is a xuartps
[ 7.195968] xilinx-frmbuf b0070000.fb_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM
[ 7.202909] xilinx-frmbuf b0070000.fb_wr: Xilinx AXI FrameBuffer Engine Driver Probed!!
[ 7.211022] xilinx-frmbuf b0020000.fb_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM
[ 7.217945] xilinx-frmbuf b0020000.fb_wr: Xilinx AXI FrameBuffer Engine Driver Probed!!
[ 7.226072] xlnx-mixer b00c0000.v_mix: vtc bridge property not present
[ 7.232696] xlnx-mixer b00c0000.v_mix: Xilinx Mixer driver probed success
[ 7.239772] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_locked:yes
[ 7.247955] PLL: shutdown
[ 7.250662] PLL: shutdown
[ 7.253635] PLL: enable
[ 7.256185] PLL: shutdown
[ 7.259756] PLL: enable
[ 7.262292] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0: Xilinx DisplayPort Sound Codec probed
[ 7.272953] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[ 7.280979] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[ 7.289266] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 7.301701] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xilinx-dp-snd-codec-dai <-> xilinx-dp-snd-codec-dai mapping ok
[ 7.314331] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xilinx DisplayPort Sound Card probed
[ 7.324503] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[ 7.331448] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.338054] [drm] No driver support for vblank timestamp query.
[ 7.344035] xlnx-drm xlnx-drm.1: bound fd4a0000.zynqmp-display (ops 0xffffff8008b37868)
[ 8.431810] [drm] Cannot find any crtc or sizes
[ 8.436505] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display on minor 0
[ 8.444608] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsystem driver probed
[ 8.453567] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_locked:yes
[ 8.471514] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 8.480482] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst
[ 8.490788] scsi host0: ahci-ceva
[ 8.494281] scsi host1: ahci-ceva
[ 8.497693] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 40
[ 8.505606] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 40
[ 8.515451] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_locked:yes
[ 8.525519] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 8.531011] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 8.538876] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x22010810
[ 8.547601] xhci-hcd xhci-hcd.0.auto: irq 58, io mem 0xfe200000
[ 8.553632] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.560420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.567639] usb usb1: Product: xHCI Host Controller
[ 8.572514] usb usb1: Manufacturer: Linux 4.14.0-xilinx-v2018.3 xhci-hcd
[ 8.579207] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 8.584342] hub 1-0:1.0: USB hub found
[ 8.588107] hub 1-0:1.0: 1 port detected
[ 8.592200] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 8.597686] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 8.605453] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 8.612240] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.619461] usb usb2: Product: xHCI Host Controller
[ 8.624336] usb usb2: Manufacturer: Linux 4.14.0-xilinx-v2018.3 xhci-hcd
[ 8.631036] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 8.636137] hub 2-0:1.0: USB hub found
[ 8.639898] hub 2-0:1.0: 1 port detected
[ 8.644905] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
[ 8.652209] pca953x 0-0021: failed reading register
[ 8.657935] at24 4-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[ 8.664674] i2c i2c-0: Added multiplexed i2c bus 4
[ 8.669660] i2c i2c-0: Added multiplexed i2c bus 5
[ 8.674694] i2c i2c-0: Added multiplexed i2c bus 6
[ 8.680070] ina2xx 7-0040: power monitor ina226 (Rshunt = 5000 uOhm)
[ 8.686451] i2c i2c-0: Added multiplexed i2c bus 7
[ 8.691360] i2c i2c-0: Added multiplexed i2c bus 8
[ 8.696290] i2c i2c-0: Added multiplexed i2c bus 9
[ 8.701213] i2c i2c-0: Added multiplexed i2c bus 10
[ 8.706209] i2c i2c-0: Added multiplexed i2c bus 11
[ 8.711086] pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548
[ 8.718673] i2c i2c-0: of_i2c: modalias failure on /amba/i2c@ff030000/i2cswitch@74
[ 8.726242] i2c i2c-0: Failed to create I2C device for /amba/i2c@ff030000/i2cswitch@74
[ 8.734161] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 34
[ 8.744759] IMX274 1-001a: imx274_set_test_pattern error = -5
[ 8.750503] IMX274 1-001a: Error -5 setup default controls
[ 8.756066] IMX274: probe of 1-001a failed with error -5
[ 8.761702] xilinx-video amba:vcap_hdmi: device registered
[ 8.767490] xilinx-video amba:vcap_csi: Entity type for entity a0060000.csiss was not initialized!
[ 8.776455] xilinx-video amba:vcap_csi: device registered
[ 8.782004] xilinx-video amba:vcap_csi: Entity type for entity b0040000.v_demosaic was not initialized!
[ 8.791395] xilinx-demosaic b0040000.v_demosaic: Xilinx Video Demosaic Probe Successful
[ 8.799640] xilinx-video amba:vcap_csi: Entity type for entity b0010000.v_gamma was not initialized!
[ 8.808773] xilinx-gamma-lut b0010000.v_gamma: Xilinx 8-bit Video Gamma Correction LUT registered
[ 8.817809] xilinx-video amba:vcap_csi: Entity type for entity b0060000.csc was not initialized!
[ 8.825970] ata1: SATA link down (SStatus 0 SControl 330)
[ 8.825994] ata2: SATA link down (SStatus 0 SControl 330)
[ 8.837368] xilinx-vpss-csc b0060000.csc: VPSS CSC 8-bit Color Depth Probe Successful
[ 8.845356] xilinx-video amba:vcap_hdmi: Entity type for entity b0100000.scaler was not initialized!
[ 8.854490] xilinx-vpss-scaler b0100000.scaler: Num Hori Taps 8
[ 8.860404] xilinx-vpss-scaler b0100000.scaler: Num Vert Taps 8
[ 8.866314] xilinx-vpss-scaler b0100000.scaler: VPSS Scaler Probe Successful
[ 8.873509] xilinx-video amba:vcap_csi: Entity type for entity b0080000.scaler was not initialized!
[ 8.882553] xilinx-vpss-scaler b0080000.scaler: Num Hori Taps 8
[ 8.888466] xilinx-vpss-scaler b0080000.scaler: Num Vert Taps 8
[ 8.894377] xilinx-vpss-scaler b0080000.scaler: VPSS Scaler Probe Successful
[ 8.902177] rtc_zynqmp ffa60000.rtc: setting system clock to 2019-05-17 03:28:44 UTC (1558063724)
[ 8.911050] of_cfs_init
[ 8.913505] of_cfs_init: OK
[ 8.916439] clk: Not disabling unused clocks
[ 8.920932] ALSA device list:
[ 8.923896] #0: DisplayPort monitor
[ 8.927969] Freeing unused kernel memory: 512K
[ 9.013144] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 9.050538] udevd[1888]: starting version 3.2.2
[ 9.074079] udevd[1889]: starting eudev-3.2.2
[ 9.136268] xilinx_vphy: loading out-of-tree module taints kernel.
[ 9.136670] xilinx_vphy: loading out-of-tree module taints kernel.
[ 9.138605] xilinx-vphy a0000000.vphy: probed
[ 9.139010] VPhy version : 02.02 (0000)
[ 9.144340] dp159 2-005e: probed
[ 9.145956] dp159 2-005e: probe successful
[ 9.146667] xilinx-vphy a0000000.vphy: probe successful
[ 9.148398] xlnx-drm-hdmi a0080000.hdmi_txss: probed
[ 9.148591] xlnx-drm-hdmi a0080000.hdmi_txss: hdmi tx audio disabled in DT
[ 9.148652] xvphy_phy_init(ffffffc0572b8000).
[ 9.148679] xvphy_phy_init(ffffffc07d8ae800).
[ 9.148717] xvphy_phy_init(ffffffc044aa8c00).
[ 9.149993] xlnx-drm-hdmi a0080000.hdmi_txss: probe successful
[ 9.151586] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 9.151588] [drm] No driver support for vblank timestamp query.
[ 9.151832] xlnx-drm xlnx-drm.0: bound b00c0000.v_mix (ops 0xffffff8008b33eb8)
[ 9.151886] xlnx-drm xlnx-drm.0: bound a0080000.hdmi_txss (ops xlnx_drm_hdmi_component_ops [xilinx_hdmi_tx])
[ 9.235161] xlnx-mixer b00c0000.v_mix: fb0: frame buffer device
[ 9.265054] [drm] Initialized xlnx 1.0.0 20130509 for b00c0000.v_mix on minor 1
[ 9.272542] xilinx-hdmi-rx a1000000.hdmi_rxss: probed
[ 9.297933] xilinx-hdmi-rx a1000000.hdmi_rxss: Direct firmware load for xilinx/xilinx-hdmi-rx-edid.bin failed with error -2
[ 9.309122] xilinx-hdmi-rx a1000000.hdmi_rxss: Using Xilinx built-in EDID.
[ 9.316152]
[ 9.316152] Successfully loaded edid.
[ 9.321494] xilinx-video amba:vcap_hdmi: Entity type for entity a1000000.hdmi_rxss was not initialized!
[ 9.346017] xilinx-hdmi-rx a1000000.hdmi_rxss: probe successful
[ 9.663889] [drm] Cannot find any crtc or sizes
[ 9.931889] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 9.956257] usb 2-1: LPM exit latency is zeroed, disabling LPM.
[ 9.967713] usb 2-1: New USB device found, idVendor=2560, idProduct=c130
[ 9.979349] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9.986481] usb 2-1: Product: See3CAM_CU30
[ 9.986487] usb 2-1: Manufacturer: e-con systems
[ 9.986490] usb 2-1: SerialNumber: 3D281103
[ 9.996352] uvcvideo: Found UVC 1.00 device See3CAM_CU30 (2560:c130)
[ 10.022102] uvcvideo 2-1:1.0: Entity type for entity Extension 3 was not initialized!
[ 10.029956] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[ 10.037889] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 10.045697] input: See3CAM_CU30 as /devices/platform/amba/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input0
[ 10.058876] hid-generic 0003:2560:C130.0001: device has no listeners, quitting
[ 10.082555] pps pps0: new PPS source ptp0
[ 10.086615] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[ 10.093290] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 19.461743] Warning: Unknown drm_fourcc format code: 875713089
[ 19.462981] idt8t49n24x 2-006c: idt24x_set_rate. calling idt24x_set_frequency for Q2. rate: 148500000
[ 19.543804] [CRTC:34:crtc-0] vblank wait timed out
[ 19.543834] ------------[ cut here ]------------
[ 19.543848] WARNING: CPU: 0 PID: 2486 at /kernel-source//drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 19.543849] Modules linked in: mali(O) xilinx_hdmi_rx(O) xilinx_hdmi_tx(O) dp159(O) xilinx_vphy(O) uio_pdrv_genirq
[ 19.543868] CPU: 0 PID: 2486 Comm: modetest Tainted: G O 4.14.0-xilinx-v2018.3 #1
[ 19.543870] Hardware name: ZynqMP ZCU104 RevC (DT)
[ 19.543872] task: ffffffc057133000 task.stack: ffffff800d608000
[ 19.543876] PC is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 19.543881] LR is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 19.543883] pc : [<ffffff8008530898>] lr : [<ffffff8008530898>] pstate: 00000145
[ 19.543885] sp : ffffff800d60ba70
[ 19.543887] x29: ffffff800d60ba70 x28: 0000000000000000
[ 19.543891] x27: 0000000000000000 x26: 0000000000000001
[ 19.543895] x25: 0000000000000038 x24: ffffffc07c403800
[ 19.543899] x23: 0000000000000001 x22: 0000000000000000
[ 19.543904] x21: ffffffc07bd29300 x20: ffffffc0478bd880
[ 19.543908] x19: 0000000000000000 x18: 0000000000010000
[ 19.543912] x17: 0000007fb40ee6d8 x16: 0000000000000009
[ 19.543916] x15: 00000000fffffff0 x14: ffffff8008e5ce38
[ 19.543921] x13: ffffff8008ef1638 x12: ffffff8008e5c000
[ 19.543925] x11: 0000000000000000 x10: 0000000000000000
[ 19.543929] x9 : 0000000000000000 x8 : ffffff8008efcf6c
[ 19.543933] x7 : 0000000000000000 x6 : 00000000000001ce
[ 19.543937] x5 : 0000000000000000 x4 : 0000000000000000
[ 19.543941] x3 : 0000000000000000 x2 : ffffffc07fe62568
[ 19.543945] x1 : 0000004077032000 x0 : 0000000000000026
[ 19.543950] Call trace:
[ 19.543954] Exception stack(0xffffff800d60b930 to 0xffffff800d60ba70)
[ 19.543957] b920: 0000000000000026 0000004077032000
[ 19.543961] b940: ffffffc07fe62568 0000000000000000 0000000000000000 0000000000000000
[ 19.543965] b960: 00000000000001ce 0000000000000000 ffffff8008efcf6c 0000000000000000
[ 19.543969] b980: 0000000000000000 0000000000000000 ffffff8008e5c000 ffffff8008ef1638
[ 19.543972] b9a0: ffffff8008e5ce38 00000000fffffff0 0000000000000009 0000007fb40ee6d8
[ 19.543976] b9c0: 0000000000010000 0000000000000000 ffffffc0478bd880 ffffffc07bd29300
[ 19.543980] b9e0: 0000000000000000 0000000000000001 ffffffc07c403800 0000000000000038
[ 19.543983] ba00: 0000000000000001 0000000000000000 0000000000000000 ffffff800d60ba70
[ 19.543987] ba20: ffffff8008530898 ffffff800d60ba70 ffffff8008530898 0000000000000145
[ 19.543991] ba40: ffffffc07c40d200 ffffffc044a9fa10 0000008000000000 0000000000000001
[ 19.543994] ba60: ffffff800d60ba70 ffffff8008530898
[ 19.543999] [<ffffff8008530898>] drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 19.544003] [<ffffff8008530930>] drm_atomic_helper_commit_tail+0x58/0x70
[ 19.544007] [<ffffff80085309cc>] commit_tail+0x84/0x88
[ 19.544011] [<ffffff8008530c10>] drm_atomic_helper_commit+0x140/0x148
[ 19.544017] [<ffffff800854d958>] drm_atomic_commit+0x50/0x60
[ 19.544023] [<ffffff8008533630>] restore_fbdev_mode_atomic+0x1f0/0x220
[ 19.544028] [<ffffff80085342cc>] restore_fbdev_mode+0x24/0x178
[ 19.544033] [<ffffff8008536578>] drm_fb_helper_restore_fbdev_mode_unlocked.part.25+0x28/0xa0
[ 19.544038] [<ffffff8008536624>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x48
[ 19.544042] [<ffffff8008569ba0>] xlnx_lastclose+0x18/0x28
[ 19.544046] [<ffffff800853acbc>] drm_lastclose+0x3c/0xd8
[ 19.544049] [<ffffff800853b070>] drm_release+0x318/0x350
[ 19.544053] [<ffffff8008569b7c>] xlnx_drm_release+0x34/0x40
[ 19.544059] [<ffffff800819c2c0>] __fput+0x88/0x1c8
[ 19.544063] [<ffffff800819c45c>] ____fput+0xc/0x18
[ 19.544068] [<ffffff80080b6f9c>] task_work_run+0xa4/0xc8
[ 19.544072] [<ffffff800809ea14>] do_exit+0x2a4/0x918
[ 19.544075] [<ffffff800809fd70>] do_group_exit+0x38/0xa8
[ 19.544079] [<ffffff800809fdf0>] __wake_up_parent+0x0/0x28
[ 19.544082] Exception stack(0xffffff800d60bec0 to 0xffffff800d60c000)
[ 19.544085] bec0: 0000000000000000 0000000000000000 0000000000000000 0000007f8a9b3700
[ 19.544089] bee0: 0000000000000020 0000000000000000 0000000000000001 0000007f8a9c0a18
[ 19.544093] bf00: 000000000000005e 0000000000000005 0101010101010101 0000000000000000
[ 19.544096] bf20: 0000000000000000 0000000000000000 0000007f8a807d98 0000007f8a7fad00
[ 19.544100] bf40: 0000007f8a7f6010 0000007f8a82b360 000000000000073c 0000000000000000
[ 19.544104] bf60: 0000007f8a93ed18 0000007f8a93ed18 0000007f8a9bf8e8 0000007f8a942580
[ 19.544108] bf80: 0000007f8a941000 0000000000000001 0000007f8a943ae0 0000000000000000
[ 19.544111] bfa0: 0000000000000000 0000007fc9de00c0 0000007f8a82b070 0000007fc9de00c0
[ 19.544115] bfc0: 0000007f8a8974dc 0000000060000000 0000000000000000 000000000000005e
[ 19.544118] bfe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 19.544123] [<ffffff80080837b0>] el0_svc_naked+0x24/0x28
[ 19.544125] ---[ end trace c0b0d06335eeef0c ]---
root@xilinx:~#

0 Kudos
nutang
Moderator
Moderator
2,306 Views
Registered: ‎08-20-2018

Hi @stefanausbo

1. Are you using prebuilt images? or you built it in SDSoC? If yes, please let me know SDSoC version.

    if you are using 2018.3 images then the gst-launch command is to used as per 2018.3

This one is 2018.2

gst-launch-1.0 \
    v4l2src device=/dev/video4 io-mode=dmabuf ! \
    "video/x-raw, width=3840, height=1080, format=YUY2" ! \
    sdxstereo filter-mode=1 config-filename=/media/card/SN12263.conf ! queue ! \
    kmssink bus-id=b00c0000.v_mix plane-id=29 sync=false fullscreen-overlay=true

2018.3

gst-launch-1.0 \
    xlnxvideosrc src-type="usbcam"  ! \
    "video/x-raw, width=3840, height=1080, format=YUY2" ! \
    sdxstereo filter-mode=1 config-filename=/media/card/SN12263.conf ! queue ! \
    xlnxvideosink sink-type="hdmi" plane-id=29 sync=false fullscreen-overlay=true

 

2. If you are trying to use stereovision demo, please check below factors

     a. You MUST use the ZED stereo camera connected to the USB video input.

     b. A configuration file must be used that corresponds to the camera you have connected to your system . Each StereoLabs ZED camera has a unique parameters file associated with it. This text file comes from StereoLabs, and must be present on the SD Card for the Stereo Vision demo to work properly. 

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
stefanausbo
Observer
Observer
2,288 Views
Registered: ‎01-22-2019

Hi @nutang 

thank you for your reply.

I use the prebuild images from the reVision site (Single-sensor ZCU104 production silicon: zcu104-rv-ss-2018-3.zip).

I choose the files for the sdcard from the 2d-Filter example.

After start of the board I can see the blue screen on the hdmi connected monitor.

In the console I write the command:

gst-launch-1.0 xlnxvideosrc src-type="usbcam" ! videoscale ! video/x-raw, width=1920, height=1080 ! videoconvert ! xlnxvideosink sink-type="hdmi"

After that the programm start I can see the first frame and than the screen is black. After a few seconds I get the message, from the monitor, that there is no hdmi connection.

I use the See3Cam which is in the evauation board from the ZCU104, a zertificated hdmi cable and a Dell P2319H monitor.

 

 

0 Kudos
nutang
Moderator
Moderator
2,278 Views
Registered: ‎08-20-2018

Hi @stefanausbo 

 

Please try below command

gst-launch-1.0 \
    xlnxvideosrc src-type="usbcam" ! \
    "video/x-raw, width=1920, height=1080, format=UYVY" ! \
    sdxfilter2d filter-preset=4 filter-mode=1 ! queue ! \
    xlnxvideosink sink-type="hdmi" plane-id=29 sync=false fullscreen-overlay=true
Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
stefanausbo
Observer
Observer
2,269 Views
Registered: ‎01-22-2019

Hi @nutang 

that are the results from the pipeline I trierd

Setting console loglevel to 0 ...
root@xilinx:~# cd /media/card
root@xilinx:/media/card# cp libfilter2d.so /usr/lib
root@xilinx:/media/card# cp libgstsdxfilter2d.so /usr/lib/gstreamer-1.0
root@xilinx:/media/card# gst-launch-1.0 \
>     xlnxvideosrc src-type="usbcam" ! \
>     "video/x-raw, width=1920, height=1080, format=UYVY" ! \
>     sdxfilter2d filter-preset=4 filter-mode=1 ! queue ! \
>     xlnxvideosink sink-type="hdmi" plane-id=29 sync=false fullscreen-overlay=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstXlnxVideoSrc:xlnxvideosrc0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.12.2/libs/gst/base/gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstXlnxVideoSrc:xlnxvideosrc0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.125611840
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@xilinx:/media/card# v4l2-ctl --list-devices
vcap_csi output 0 (platform:vcap_csi:0):
        /dev/video3

vcap_hdmi output 0 (platform:vcap_hdmi:0):
        /dev/video2

vivid (platform:vivid-000):
        /dev/video0
        /dev/video1
        /dev/radio0
        /dev/radio1
        /dev/vbi0
        /dev/vbi1
        /dev/swradio0

See3CAM_CU30 (usb-xhci-hcd.0.auto-1):
        /dev/video4

root@xilinx:/media/card#

I tried to find out what the reason for negotiation problem is but I don't see something.

Maybe you can see something in the log

root@xilinx:/media/card# GST_DEBUG=*xlnxvideosrc:6 gst-launch-1.0     xlnxvideosrc src-type="usbcam" !     "video/x-raw, width=1920, height=1080, format=UYVY" !     sdxfilter2d filter-preset=4 filter-mode=1 ! queue !     xlnxvideosink sink-type="hdmi" plane-id=29 sync=false fullscreen-overlay=true
0:00:00.152334440  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:245:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> number of properties of v4l2src=19 and self = 4
0:00:00.152449130  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = name, nickname = Name and blurb = The name of the object
0:00:00.152487820  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = parent, nickname = Parent and blurb = The parent of the object
0:00:00.152523300  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = blocksize, nickname = Block size and blurb = Size in bytes to read per buffer (-1 = default)
0:00:00.152566330  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = num-buffers, nickname = num-buffers and blurb = Number of buffers to output before sending EOS (-1 = unlimited)
0:00:00.152609840  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = typefind, nickname = Typefind and blurb = Run typefind before negotiating
0:00:00.152651400  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = do-timestamp, nickname = Do timestamp and blurb = Apply current stream time to buffers
0:00:00.152693470  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = device, nickname = Device and blurb = Device location
0:00:00.152734500  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = device-name, nickname = Device name and blurb = Name of the device
0:00:00.152775010  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = device-fd, nickname = File descriptor and blurb = File descriptor of the device
0:00:00.152816110  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = flags, nickname = Flags and blurb = Device type flags
0:00:00.152855660  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = brightness, nickname = Brightness and blurb = Picture brightness, or more precisely, the black level
0:00:00.152897430  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = contrast, nickname = Contrast and blurb = Picture contrast or luma gain
0:00:00.152937710  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = saturation, nickname = Saturation and blurb = Picture color saturation or chroma gain
0:00:00.152978720  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = hue, nickname = Hue and blurb = Hue or color balance
0:00:00.486295870  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = norm, nickname = TV norm and blurb = video standard
0:00:00.486340240  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = io-mode, nickname = IO mode and blurb = I/O mode
0:00:00.486381880  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = extra-controls, nickname = Extra Controls and blurb = Extra v4l2 controls (CIDs) for the device
0:00:00.486426110  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = pixel-aspect-ratio, nickname = Pixel Aspect Ratio and blurb = Overwrite the pixel aspect ratio of the device
0:00:00.486469980  2572     0x1f1d6360 LOG             xlnxvideosrc gstxlnxvideosrc.c:255:xlnx_video_src_install_child_properties:<GstXlnxVideoSrc@0x1f177f40> Child Property : name = force-aspect-ratio, nickname = Force aspect ratio and blurb = When enabled, the pixel aspect ratio will be enforced
Setting pipeline to PAUSED ...
0:00:00.741782900  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: NULL => READY
0:00:00.741868020  2572     0x1f1d6360 INFO            xlnxvideosrc gstxlnxvideosrc.c:662:gst_xlnx_video_src_change_state:<xlnxvideosrc0> chosen source type = usb
0:00:00.743291070  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:692:gst_xlnx_video_src_change_state:<xlnxvideosrc0> source type idx = 0 and display text = HDMI Input
0:00:00.743340700  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:692:gst_xlnx_video_src_change_state:<xlnxvideosrc0> source type idx = 1 and display text = USB Webcam
0:00:00.743402790  2572     0x1f1d6360 INFO            xlnxvideosrc gstxlnxvideosrc.c:715:gst_xlnx_video_src_change_state:<xlnxvideosrc0> found chosen source : media idx = 1 and device = /dev/video4
0:00:00.744436880  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: READY => PAUSED
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.745966610  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: PAUSED => PLAYING
New clock: GstSystemClock
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstXlnxVideoSrc:xlnxvideosrc0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../gstreamer-1.12.2/libs/gst/base/gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstXlnxVideoSrc:xlnxvideosrc0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.125549750
Setting pipeline to PAUSED ...
0:00:00.871792230  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: PLAYING => PAUSED
Setting pipeline to READY ...
0:00:00.872125760  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: PAUSED => READY
Setting pipeline to NULL ...
0:00:00.909457560  2572     0x1f1d6360 DEBUG           xlnxvideosrc gstxlnxvideosrc.c:646:gst_xlnx_video_src_change_state: changing state: READY => NULL
Freeing pipeline ...
root@xilinx:/media/card#
0 Kudos
nutang
Moderator
Moderator
2,238 Views
Registered: ‎08-20-2018

Hi @stefanausbo 

Looks like, the command line options are not getting set properly. Instead of copy pasting the command which I mentioned in my post, write it manually without using "\"

eg. $ gst-launch-1.0 xlnxvideosrc src-type="usbcam" ! "video/x-raw, width=1920, height=1080, format=UYVY" ! sdxfilter2d filter-preset=4 filter-mode=1 ! queue ! xlnxvideosink sink-type="hdmi" plane-id=29 sync=false fullscreen-overlay=true

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
stefanausbo
Observer
Observer
2,224 Views
Registered: ‎01-22-2019

Hi @nutang 

I have one pipeline which is working. I changed the xlnxvideosink with the kmssink and I use the displayport connection. When I use my own build images, the drm problems seems to be away.

thank you for your help!

Best Regards,

stefanausbo