GStreamer getting stucks during weston sleep-wakeon

Hi,

I am using weston(9.0.0) in IMX8MP(5.4.161 BSP) verdin development board. I am facing an issue while running GStreamer video, it gets stuck on weston sleep(idle-time param).

Test Procedure:-

  • Set idle-time=15 in weston.ini in core section.
  • Restart weston services.
  • Play video using GStreamer pipeline. gst-play-1.0 SampleVideo_1280x720_30mb.mp4 ! rtph264depay ! clockoverlay ! waylandsink
  • After idle-time reached weston going to sleep (video length is 2 mins - should be running in the backend ).
  • Now, wake-up weston using mouse/touch event and observe that video getting stuck(before sleep last frame freeze ) However in terminal video playback timer is running continuously.

Hi Folks,

Anyone can help on this issue?

Hi @kishan

Welcome to toradex community.

Could you provide the software and hardware version of your setup?
Also, provide the dmesg and journalctl -f logs.

Hi @ashok.tx

I am using imx8mp Verdin development board(V1.1A).
please find the software details and log.

root@verdin-imx8mp-06849350:~# uname -a
Linux verdin-imx8mp-06849350 5.4.161-5.6.0-devel+git.0f0011824921 #1 SMP PREEMPT Fri Mar 25 14:27:29 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

dmesg log

root@verdin-imx8mp-06849350:~# dmesg


[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000557fffff]
[    0.000000]   node   0: [mem 0x0000000056000000-0x00000000923fffff]
[    0.000000]   node   0: [mem 0x00000000a4400000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] On node 0 totalpages: 448512
[    0.000000]   DMA32 zone: 7008 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 448512 pages, LIFO batch:63
[    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] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[    0.000000] pcpu-alloc: s58904 r8192 d31208 u98304 alloc=24*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: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 441504
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=PARTUUID=e33e7e0d-02 ro rootwait console=ttymxc2,115200 console=tty1 consoleblank=0 earlycon
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1269040K/1794048K available (14204K kernel code, 1226K rwdata, 6596K rodata, 2944K init, 1012K bss, 66256K reserved, 458752K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    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] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 160 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x43c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008513] Console: colour dummy device 80x25
[    0.012520] printk: console [tty1] enabled
[    0.016627] printk: bootconsole [ec_imx6q0] disabled
[    0.021667] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.021688] pid_max: default: 32768 minimum: 301
[    0.021755] LSM: Security Framework initializing
[    0.021815] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.021836] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.022887] ASID allocator initialised with 32768 entries
[    0.022965] rcu: Hierarchical SRCU implementation.
[    0.025941] EFI services will not be available.
[    0.026155] smp: Bringing up secondary CPUs ...
[    0.026524] Detected VIPT I-cache on CPU1
[    0.026543] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.026570] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.026958] Detected VIPT I-cache on CPU2
[    0.026972] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.026987] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.027335] Detected VIPT I-cache on CPU3
[    0.027347] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.027362] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.027423] smp: Brought up 1 node, 4 CPUs
[    0.027501] SMP: Total of 4 processors activated.
[    0.027514] CPU features: detected: 32-bit EL0 Support
[    0.027526] CPU features: detected: CRC32 instructions
[    0.032906] CPU: All CPU(s) started at EL2
[    0.032934] alternatives: patching kernel code
[    0.033840] devtmpfs: initialized
[    0.043761] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.043795] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.054490] pinctrl core: initialized pinctrl subsystem
[    0.054931] DMI not present or invalid.
[    0.055159] NET: Registered protocol family 16
[    0.061576] DMA: preallocated 256 KiB pool for atomic allocations
[    0.061613] audit: initializing netlink subsys (disabled)
[    0.061850] audit: type=2000 audit(0.052:1): state=initialized audit_enabled=0 res=1
[    0.062392] cpuidle: using governor menu
[    0.063124] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.064455] Serial: AMBA PL011 UART driver
[    0.064512] imx mu driver is registered.
[    0.064536] imx rpmsg driver is registered.
[    0.069532] imx8mp-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.090897] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.090922] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.090935] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.090950] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.091807] cryptd: max_cpu_qlen set to 1000
[    0.094692] ACPI: Interpreter disabled.
[    0.096401] iommu: Default domain type: Translated 
[    0.096531] vgaarb: loaded
[    0.096793] SCSI subsystem initialized
[    0.096893] libata version 3.00 loaded.
[    0.097068] usbcore: registered new interface driver usbfs
[    0.097116] usbcore: registered new interface driver hub
[    0.097150] usbcore: registered new device driver usb
[    0.098756] mc: Linux media interface: v0.10
[    0.098791] videodev: Linux video capture interface: v2.00
[    0.098863] pps_core: LinuxPPS API ver. 1 registered
[    0.098877] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.098901] PTP clock support registered
[    0.099070] EDAC MC: Ver: 3.0.0
[    0.100055] No BMan portals available!
[    0.100325] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.100777] No QMan portals available!
[    0.101445] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.101789] FPGA manager framework
[    0.101880] Advanced Linux Sound Architecture Driver Initialized.
[    0.103089] clocksource: Switched to clocksource arch_sys_counter
[    0.103233] VFS: Disk quotas dquot_6.6.0
[    0.103286] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.103432] pnp: PnP ACPI: disabled
[    0.108800] thermal_sys: Registered thermal governor 'step_wise'
[    0.108804] thermal_sys: Registered thermal governor 'power_allocator'
[    0.109190] NET: Registered protocol family 2
[    0.109309] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.110069] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.110111] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.110230] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.110451] TCP: Hash tables configured (established 16384 bind 16384)
[    0.110525] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.110576] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.110715] NET: Registered protocol family 1
[    0.111014] RPC: Registered named UNIX socket transport module.
[    0.111028] RPC: Registered udp transport module.
[    0.111040] RPC: Registered tcp transport module.
[    0.111051] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.111068] PCI: CLS 0 bytes, default 64
[    0.111797] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.112203] kvm [1]: IPA Size Limit: 40 bits
[    0.113270] kvm [1]: GICv3: no GICV resource entry
[    0.113282] kvm [1]: disabling GICv2 emulation
[    0.113304] kvm [1]: GIC system register CPU interface enabled
[    0.113363] kvm [1]: vgic interrupt IRQ1
[    0.113452] kvm [1]: Hyp mode initialized successfully
[    0.116130] Initialise system trusted keyrings
[    0.116235] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.122074] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.122662] NFS: Registering the id_resolver key type
[    0.122691] Key type id_resolver registered
[    0.122701] Key type id_legacy registered
[    0.122717] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.122730] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.122756] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
[    0.136322] Key type asymmetric registered
[    0.136338] Asymmetric key parser 'x509' registered
[    0.136375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.136390] io scheduler mq-deadline registered
[    0.136402] io scheduler kyber registered
[    0.138058] samsung-hdmi-phy 32fdff00.hdmiphy: failed to get phy apb clk: -517
[    0.138233] imx8-pcie-phy 32f00000.pcie-phy: failed to get imx pcie phy clock
[    0.141008] EINJ: ACPI disabled.
[    0.147041] i.MX8MP clock driver probe done
[    0.148786] mxs-dma 33000000.dma-apbh: initialized
[    0.149472] Bus freq driver module loaded
[    0.154667] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.156828] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 28, base_baud = 1500000) is a IMX
[    0.157268] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 29, base_baud = 1500000) is a IMX
[    1.134095] printk: console [ttymxc2] enabled
[    1.138889] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 30, base_baud = 1500000) is a IMX
[    1.151462] imx-lcdifv3 32fc6000.lcd-controller: No irq get
[    1.159478] imx-hdmi-pavi 32fc4000.hdmi-pai-pvi: No pvi clock get
[    1.177561] brd: module loaded
[    1.185824] loop: module loaded
[    1.189340] zram: Added device: zram0
[    1.203931] libphy: Fixed MDIO Bus: probed
[    1.208306] tun: Universal TUN/TAP device driver, 1.6
[    1.214999] Freescale FM module, FMD API version 21.1.0
[    1.220646] Freescale FM Ports module
[    1.224674] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    1.230592] imx-dwmac 30bf0000.ethernet: no reset control found
[    1.237403] VFIO - User Level meta-driver version: 0.3
[    1.246907] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.253490] ehci-pci: EHCI PCI platform driver
[    1.258618] usbcore: registered new interface driver usb-storage
[    1.264695] usbcore: registered new interface driver usbserial_generic
[    1.271254] usbserial: USB Serial support registered for generic
[    1.277290] usbcore: registered new interface driver cp210x
[    1.282888] usbserial: USB Serial support registered for cp210x
[    1.288842] usbcore: registered new interface driver ftdi_sio
[    1.294622] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.301967] usbcore: registered new interface driver pl2303
[    1.307567] usbserial: USB Serial support registered for pl2303
[    1.313523] usbcore: registered new interface driver usb_serial_simple
[    1.320080] usbserial: USB Serial support registered for carelink
[    1.326200] usbserial: USB Serial support registered for zio
[    1.331887] usbserial: USB Serial support registered for funsoft
[    1.337921] usbserial: USB Serial support registered for flashloader
[    1.344303] usbserial: USB Serial support registered for google
[    1.350249] usbserial: USB Serial support registered for libtransistor
[    1.356811] usbserial: USB Serial support registered for vivopay
[    1.362848] usbserial: USB Serial support registered for moto_modem
[    1.369147] usbserial: USB Serial support registered for motorola_tetra
[    1.375789] usbserial: USB Serial support registered for novatel_gps
[    1.382174] usbserial: USB Serial support registered for hp4x
[    1.387948] usbserial: USB Serial support registered for suunto
[    1.393896] usbserial: USB Serial support registered for siemens_mpi
[    1.402714] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.416926] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    1.423245] i2c /dev entries driver
[    1.435576] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    1.442214] EDAC MC: ECC not enabled
[    1.446929] sdhci: Secure Digital Host Controller Interface driver
[    1.453129] sdhci: Copyright(c) Pierre Ossman
[    1.457720] Synopsys Designware Multimedia Card Interface Driver
[    1.464494] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.474093] ledtrig-cpu: registered to indicate activity on CPUs
[    1.481604] caam 30900000.crypto: device ID = 0x0a16040100000100 (Era 9)
[    1.488344] caam 30900000.crypto: job rings = 3, qi = 0
[    1.521626] caam algorithms registered in /proc/crypto
[    1.531093] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.538522] caam 30900000.crypto: registering rng-caam
[    1.544812] Device caam-keygen registered
[    1.552003] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.560070] hidraw: raw HID events driver (C) Jiri Kosina
[    1.565632] usbcore: registered new interface driver usbhid
[    1.571221] usbhid: USB HID core driver
[    1.577129] No fsl,qman node
[    1.580052] Freescale USDPAA process driver
[    1.584248] fsl-usdpaa: no region found
[    1.588095] Freescale USDPAA process IRQ driver
[    1.597653] hantrodec 0 : module inserted. Major = 235
[    1.603334] hantrodec 1 : module inserted. Major = 235
[    1.605822] random: fast init done
[    1.609848] hantroenc: HW at base <0000000038320000> with ID <0x80006200>
[    1.618827] hx280enc: module inserted. Major <234>
[    1.630615] random: crng init done
[    1.637052] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.649766] NET: Registered protocol family 26
[    1.654699] NET: Registered protocol family 10
[    1.659984] Segment Routing with IPv6
[    1.663705] NET: Registered protocol family 17
[    1.668208] tsn generic netlink module v1 init...
[    1.672974] Key type dns_resolver registered
[    1.677926] registered taskstats version 1
[    1.682055] Loading compiled-in X.509 certificates
[    1.706810] GPIO line 61 (CTRL_SLEEP_MOCI#) hogged as output/high
[    1.718153] reg-fixed-voltage regulator-module-eth1phy: Failed to register regulator: -517
[    1.727292] +V3.3_SD: supplied by +V3.3_SW
[    1.734705] pca9450 0-0025: Device ID=0x30
[    1.739114] pca9450 0-0025: gpio_intr = 3
[    1.743164] pca9450 0-0025: chip_irq=74
[    1.771297] rtc-ds1307 0-0032: registered as rtc0
[    1.779315] at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.786083] i2c i2c-0: IMX I2C adapter registered
[    1.791702] i2c i2c-1: IMX I2C adapter registered
[    1.797244] i2c i2c-2: IMX I2C adapter registered
[    1.802917] pca953x 3-0021: using no AI
[    1.811828] at24 3-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.819115] at24 3-0057: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.826021] i2c i2c-3: IMX I2C adapter registered
[    1.831221] imx8mq-usb-phy 381f0040.usb-phy: 381f0040.usb-phy supply vbus not found, using dummy regulator
[    1.841129] imx8mq-usb-phy 382f0040.usb-phy: 382f0040.usb-phy supply vbus not found, using dummy regulator
[    1.853242] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.853449] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    1.859888] [drm] No driver support for vblank timestamp query.
[    1.859955] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    1.866084] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[    1.871457] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[    1.881397] imx6q-pcie 33800000.pcie: PCIe PLL locked after 0 us.
[    1.885720] imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200
[    1.906868] imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)
[    1.914782] dwhdmi-imx 32fd8000.hdmi: No pavi info found
[    1.923254] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    1.929190] imx-dwmac 30bf0000.ethernet: no reset control found
[    1.936920] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    1.942451] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    1.950469] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000002001810010
[    1.959932] xhci-hcd xhci-hcd.1.auto: irq 67, io mem 0x38200000
[    1.966753] hub 1-0:1.0: USB hub found
[    1.970561] hub 1-0:1.0: 1 port detected
[    1.974723] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    1.980241] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    1.987923] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    1.994521] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.003395] hub 2-0:1.0: USB hub found
[    2.007182] hub 2-0:1.0: 1 port detected
[    2.011607] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 5 mkt segment 0 supported-hw 0x20 0x1
[    2.027536] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    2.067438] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    2.103096] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    2.107730] imx6q-pcie 33800000.pcie: host bridge /pcie@33800000 ranges:
[    2.112655] On-module +V3.3_ETH: supplied by On-module +V3.3 (buck4)
[    2.116903] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    2.130666] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.214837] mmc2: new HS400 MMC card at address 0001
[    2.220510] mmcblk2: mmc2:0001 S0J56X 14.8 GiB 
[    2.225177] mmcblk2boot0: mmc2:0001 S0J56X partition 1 31.5 MiB
[    2.231311] mmcblk2boot1: mmc2:0001 S0J56X partition 2 31.5 MiB
[    2.235404] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.237664] mmcblk2rpmb: mmc2:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[    2.252493]  mmcblk2: p1 p2
[    2.335060] +V3.3_ETH: supplied by +V3.3_SW
[    2.339652] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.346291] [drm] No driver support for vblank timestamp query.
[    2.352269] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops)
[    2.360235] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops)
[    2.368283] imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200
[    2.375503] imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops)
[    2.383562] dwhdmi-imx 32fd8000.hdmi: Detected HDMI TX controller v2.13a with HDCP (samsung_dw_hdmi_phy2)
[    2.394865] dwhdmi-imx 32fd8000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.405112] imx-drm display-subsystem: bound 32fd8000.hdmi (ops dw_hdmi_imx_ops)
[    2.413076] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0
[    2.475206] hub 1-1:1.0: USB hub found
[    2.479130] hub 1-1:1.0: 4 ports detected
[    2.549988] Console: switching to colour frame buffer device 100x37
[    2.551135] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    2.580497] imx-drm display-subsystem: fb0: imx-drmdrmfb frame buffer device
[    2.619770] hub 2-1:1.0: USB hub found
[    2.624220] hub 2-1:1.0: 3 ports detected
[    2.799894] pps pps0: new PPS source ptp0
[    2.809851] libphy: fec_enet_mii_bus: probed
[    2.816671] fec 30be0000.ethernet eth0: registered PHC device 0
[    2.826310] imx-dwmac 30bf0000.ethernet: IRQ eth_lpi not found
[    2.827388] usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
[    2.834144] imx-dwmac 30bf0000.ethernet: no reset control found
[    2.850882] imx-dwmac 30bf0000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    2.859652] imx-dwmac 30bf0000.ethernet: 	DWMAC4/5
[    2.866344] imx-dwmac 30bf0000.ethernet: DMA HW capability register supported
[    2.875382] imx-dwmac 30bf0000.ethernet: RX Checksum Offload Engine supported
[    2.884393] imx-dwmac 30bf0000.ethernet: TX Checksum insertion supported
[    2.892932] imx-dwmac 30bf0000.ethernet: Wake-Up On Lan supported
[    2.900825] imx-dwmac 30bf0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.910254] imx-dwmac 30bf0000.ethernet: Enabled Flow TC (entries=8)
[    2.918325] imx-dwmac 30bf0000.ethernet: Enabling HW TC (entries=256, max_off=256)
[    2.927688] libphy: stmmac: probed
[    2.940044] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.951461] rtc-ds1307 0-0032: setting system clock to 2022-05-17T09:07:23 UTC (1652778443)
[    2.979503] ALSA device list:
[    2.984356]   No soundcards found.
[    3.057075] input: Telink Wireless Receiver Mouse as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:248A:8514.0001/input/input2
[    3.078261] input: Telink Wireless Receiver Consumer Control as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:248A:8514.0001/input/input3
[    3.135390] imx6q-pcie 33800000.pcie: Phy link never came up
[    3.143065] imx6q-pcie 33800000.pcie: failed to initialize host
[    3.150995] imx6q-pcie 33800000.pcie: unable to add pcie port.
[    3.159668] input: Telink Wireless Receiver System Control as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:248A:8514.0001/input/input4
[    3.180750] hid-generic 0003:248A:8514.0001: input,hidraw0: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-xhci-hcd.1.auto-1.1/input0
[    3.201185] input: Telink Wireless Receiver as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.1/0003:248A:8514.0002/input/input5
[    3.280741] hid-generic 0003:248A:8514.0002: input,hidraw1: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-xhci-hcd.1.auto-1.1/input1
[    3.305725] EXT4-fs (mmcblk2p2): INFO: recovery required on readonly filesystem
[    3.315194] EXT4-fs (mmcblk2p2): write access will be enabled during recovery
[    3.334137] EXT4-fs (mmcblk2p2): recovery complete
[    3.343951] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.354522] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.364552] devtmpfs: mounted
[    3.370633] Freeing unused kernel memory: 2944K
[    3.377690] Run /sbin/init as init process
[    3.379408] usb 1-1.2: new full-speed USB device number 4 using xhci-hcd
[    3.470466] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    3.500272] systemd[1]: Detected architecture arm64.
[    3.540382] systemd[1]: Set hostname to <verdin-imx8mp-06849350>.
[    3.566107] input: STMicroelectronics 7H Custom Human interface Touchscreen as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:0484:5750.0003/input/input6
[    3.589271] hid-generic 0003:0484:5750.0003: input,hidraw2: USB HID v1.11 Device [STMicroelectronics 7H Custom Human interface] on usb-xhci-hcd.1.auto-1.2/input0
[    3.687501] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[    3.741844] systemd[1]: /lib/systemd/system/gpsd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/gpsd.sock \xe2\x86\x92 /run/gpsd.sock; please update the unit file accordingly.
[    3.787179] systemd[1]: Created slice system-getty.slice.
[    3.798714] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.810651] systemd[1]: Created slice system-weston.slice.
[    3.821749] systemd[1]: Created slice User and Session Slice.
[    3.832315] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.845264] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.857756] systemd[1]: Reached target Host and Network Name Lookups.
[    3.869097] systemd[1]: Reached target Paths.
[    3.878256] systemd[1]: Reached target Remote File Systems.
[    3.888516] systemd[1]: Reached target Slices.
[    3.897575] systemd[1]: Reached target Swap.
[    3.921684] systemd[1]: Listening on RPCbind Server Activation Socket.
[    3.933553] systemd[1]: Reached target RPC Port Mapper.
[    3.944859] systemd[1]: Listening on Syslog Socket.
[    3.954882] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.966431] systemd[1]: Listening on Journal Audit Socket.
[    3.976277] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.986604] systemd[1]: Listening on Journal Socket.
[    3.996063] systemd[1]: Listening on Network Service Netlink Socket.
[    4.006811] systemd[1]: Listening on udev Control Socket.
[    4.016499] systemd[1]: Listening on udev Kernel Socket.
[    4.027946] systemd[1]: Mounting Huge Pages File System...
[    4.039656] systemd[1]: Mounting POSIX Message Queue File System...
[    4.052133] systemd[1]: Mounting Kernel Debug File System...
[    4.064221] systemd[1]: Mounting Temporary Directory (/tmp)...
[    4.077314] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    4.092157] systemd[1]: Starting RPC Bind...
[    4.102850] systemd[1]: Starting File System Check on Root Device...
[    4.117022] systemd[1]: Starting Journal Service...
[    4.129675] systemd[1]: Starting Load Kernel Modules...
[    4.141472] systemd[1]: Starting udev Coldplug all Devices...
[    4.154705] systemd[1]: Started RPC Bind.
[    4.155871] galcore: loading out-of-tree module taints kernel.
[    4.171011] systemd[1]: Mounted Huge Pages File System.
[    4.180879] systemd[1]: Started Journal Service.
[    4.185617] Galcore version 6.4.3.p1.305572
[    4.231460] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
[    4.265870] systemd-journald[255]: Received client request to flush runtime journal.
[    4.291855] [drm] Initialized vivante 1.0.0 20170808 for 40000000.mix_gpu_ml on minor 1
[    4.664937] input: STMicroelectronics 7H Custom Human interface as /devices/platform/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:0484:5750.0003/input/input8
[    4.685218] hid-multitouch 0003:0484:5750.0003: input,hidraw2: USB HID v1.11 Device [STMicroelectronics 7H Custom Human interface] on usb-xhci-hcd.1.auto-1.2/input0
[    4.707502] lm75 3-004f: hwmon0: sensor 'tmp75c'
[    4.714590] CAN device driver interface
[    4.724953] flexcan 308c0000.can: 308c0000.can supply xceiver not found, using dummy regulator
[    4.737460] ina2xx 3-0040: power monitor ina219 (Rshunt = 10000 uOhm)
[    4.747273] flexcan 308d0000.can: 308d0000.can supply xceiver not found, using dummy regulator
[    4.767994] debugfs: Directory '30c10000.sai' with parent 'imx8mp-nau8822' already present!
[    4.780484] asoc-simple-card sound-card: nau8822-hifi <-> 30c10000.sai mapping ok
[    4.789909] asoc-simple-card sound-card: ASoC: no DMI vendor name!
[    4.808966] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[    4.917051] spi_imx 30820000.spi: probed
[    4.925124] debugfs: Directory '30cb0000.aud2htx' with parent 'audio-hdmi' already present!
[    4.939752] imx-cdnhdmi sound-hdmi: i2s-hifi <-> 30cb0000.aud2htx mapping ok
[    4.955629] imx-cdnhdmi sound-hdmi: ASoC: no DMI vendor name!
[    4.970234] input: audio-hdmi HDMI Jack as /devices/platform/sound-hdmi/sound/card1/input10
[    5.325997] FAT-fs (mmcblk2p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.695836] Bluetooth: Core ver 2.22
[    5.701270] NET: Registered protocol family 31
[    5.707343] Bluetooth: HCI device and connection manager initialized
[    5.707359] Bluetooth: HCI socket layer initialized
[    5.707378] Bluetooth: L2CAP socket layer initialized
[    5.707395] Bluetooth: SCO socket layer initialized
[    5.710437] using random self ethernet address
[    5.710441] using random host ethernet address
[    5.797162] usb0: HOST MAC 00:14:2d:ff:ff:fe
[    5.804442] usb0: MAC 00:14:2d:ff:ff:ff
[    5.891518] Microchip KSZ9131 Gigabit PHY 30be0000.ethernet-1:07: attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_addr=30be0000.ethernet-1:07, irq=185)
[    5.918507] imx-dwmac 30bf0000.ethernet eth1: PHY [stmmac-0:07] driver [Microchip KSZ9131 Gigabit PHY]
[    5.953524] imx-dwmac 30bf0000.ethernet eth1: No Safety Features support found
[    5.962356] imx-dwmac 30bf0000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    5.972342] imx-dwmac 30bf0000.ethernet eth1: registered PTP clock
[    5.980177] imx-dwmac 30bf0000.ethernet eth1: configuring for phy/rgmii-id link mode
[    6.106908] audit: type=1006 audit(1652778446.648:2): pid=653 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[    8.506799] fec 30be0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    8.514796] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.525389] 8021q: 802.1Q VLAN Support v1.8
[    8.529661] 8021q: adding VLAN 0 to HW filter on device eth1
[   33.763396] AUX_USB: disabling
[   33.766455] MIPI_PHY: disabling
[   33.769621] +V3.3_SD: disabling
root@verdin-imx8mp-06849350:~# 




journalctl -f logs

root@verdin-imx8mp-06849350:~# journalctl -f                                                              
-- Logs begin at Tue 2022-05-17 09:07:24 UTC. --
May 17 09:10:50 verdin-imx8mp-06849350 systemd[1]: Stopped ISP i.MX 8Mplus daemon.
May 17 09:10:50 verdin-imx8mp-06849350 systemd[1]: Started ISP i.MX 8Mplus daemon.
May 17 09:10:50 verdin-imx8mp-06849350 start_isp.sh[1052]: Basler camera not found!
May 17 09:10:50 verdin-imx8mp-06849350 systemd[1]: imx8-isp.service: Main process exited, code=exited, status=6/NOTCONFIGURED
May 17 09:10:50 verdin-imx8mp-06849350 systemd[1]: imx8-isp.service: Failed with result 'exit-code'.
May 17 09:10:55 verdin-imx8mp-06849350 systemd[1]: imx8-isp.service: Scheduled restart job, restart counter is at 40.
May 17 09:10:55 verdin-imx8mp-06849350 systemd[1]: Stopped ISP i.MX 8Mplus daemon.
May 17 09:10:55 verdin-imx8mp-06849350 systemd[1]: imx8-isp.service: Start request repeated too quickly.
May 17 09:10:55 verdin-imx8mp-06849350 systemd[1]: imx8-isp.service: Failed with result 'exit-code'.
May 17 09:10:55 verdin-imx8mp-06849350 systemd[1]: Failed to start ISP i.MX 8Mplus daemon.

Hi @ashok.tx

can you please updates?

Hi @kishan

Yes, I quickly tested with my setup and was not able to reproduce the issue. video freeze for 2~3 sec and then start from the last freeze.

1 Like

hi @ashok.tx ,

To replicate this issue you have wake-on display after 10-15 secs of display in sleep state. Means, once the display is in sleep state, wait for 10-15 secs then wake-on display again.

hi @ashok.tx,

Are you able to reproduce this issue with your setup?

hI @kishan

Yes, I could able to reproduce the issue. Allow me some time to look into it.
What is the use case?

1 Like

Hi @ashok.tx

A use case is when a video is running on display and any sleep event occurs, weston going to sleep and on a wake-up events video start from last sleep durations(without any freeze).

hi @ashok.tx,

Any update on this issue?

Hi @ashok.tx

can you please update on GStreamer issue?

Hi @kishan

Have you checked with any applications? also, have you tried to check this use-case with your PC?

@ashok.tx

I double-checked with my computer.
With my PC, I am unable to reproduce the problem.

I also tested out the COG browser for video playback.
I’m not having any problems with the COG.

Note: After the wake-up video is not stuck, the video continues to play in the background while sleeping.

hi @ashok.tx

it’s been long time, can you please update.

Hi @kishan

Sorry for the delay.
I tried with the Cog browser playing some youtube videos and the video is not freezing after Weston wake-up(video playing continuously in the background).
Could you check from your application side?