Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

omxplayer hangs on RPi3 after a few starts



Hi,

I wanted to use omxplayer to show a series of videos in an endless loop on a Raspberry Pi 3 (NetBSD 10.1_STABLE), but after a random number of starts (from seconds up to hours) the player will eventually freeze.

In this state the omxplayer.bin process is marked as "parked" and will never wake up again. Is this a bug in omxplayer or in the ARM kernel's multithreading? I remember having seen similar "parked" situations on PowerPC pthread-tests years ago.

My kernel and system is:
[ 1.000000] NetBSD 10.1_STABLE (GENERIC) #0: Thu May 8 07:23:52 CEST 2025 [ 1.000000] frank@nerthus:/home/frank/netbsd/10/src/objevbarm/sys/arch/evbarm/compile/GENERIC
[     1.000000] total memory = 948 MB
[     1.000000] avail memory = 913 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] armfdt0 (root)
[     1.000000] simplebus0 at armfdt0: Raspberry Pi 3 Model B Rev 1.2
[...]

The player is from the latest pkgsrc:
omxplayer-20170112nb28 Raspberry Pi video player

I'm playing the videos using a simple shell script from wscons:
while true; do
        for f in videos/*; do
                /usr/pkg/bin/omxplayer -o local "$f"
        done
done

I could try mplayer instead, but then I need to start Xorg and it is much slower...

Regards,

--
Frank Wille


Home | Main Index | Thread Index | Old Index