Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omxplayer always stuck. Serge told me it looks like firmware issue and report it here #1302

Closed
daimh opened this issue Dec 13, 2019 · 9 comments

Comments

@daimh
Copy link

daimh commented Dec 13, 2019

Here is an email I sent to Serge.

I am omxplayer's loyal user as we have been using it for a few years to play videos on TV as a signage. Our project has a demo at https://www.youtube.com/watch?v=7xs4GRC0qHc

Recently I am testing Pi 4. It works great. The thing is omxplayer processes are always stuck after a few hours. I cannot even 'kill -9' the processes, and have to reboot it every time. We never had this issue in Pi 3 or older models. 

To reproduce
use omxplayer to keep playing multiple videos simultaneously, like the one shown in the above youtube link.

raspinfo.log
daisplay-dmesg.log

System
raspinfo.log is attached

Logs
dmesg.log is attached

@XECDesign
Copy link
Contributor

I've seen this exact behaviour reported before, except in that case it would hang rpi-eeprom-update in the same way.

@timg236
Copy link

timg236 commented Dec 13, 2019

If a VideoCore command is frozen then it will not be possible to kill the command. It's unlikely to be the same issue with rpi-eeprom-update and this, it's just different symptoms.
It's probably worth updating the firmware using apt upgrade or even rpi-update, there was a fix for frozen video since the September release

@daimh
Copy link
Author

daimh commented Dec 13, 2019

Thanks!

"apt upgrade" was already up to date.

I am running rpi-update now and will report back in a few hours or a few days. :)

@popcornmix
Copy link
Contributor

Instructions to reproduce the hang would be useful.
I assume you could use a single video file with a script that launches 3 (?) copies of omxplayer with --win in loops.
If you could point to publicly available sample file (or upload a short video sample) and provide a script that provokes the hang we can take a look.

@daimh
Copy link
Author

daimh commented Dec 13, 2019

The sample files are https://github.com/daimh/daisplay
Or you can wait a little bit. I already upgraded it to the latest firmware. It usually takes a day or two to reproduce this issue. I will report back unless a bus ran over me. :)

@daimh
Copy link
Author

daimh commented Dec 16, 2019

It has been running smoothly for three days. I will keep it running and will report back.

@popcornmix
Copy link
Contributor

It sounds like your problem was fixed with this update; Hexxeh/rpi-firmware@77444b0

firmware: sysman: Fix unsafe check for h264 being enabled
See: popcornmix/omxplayer#749

@daimh
Copy link
Author

daimh commented Dec 17, 2019

@popcornmix I think so too.
It has been running for four days without any issues. I will come back with a final report around New Year.

Happy Holidays!

@daimh
Copy link
Author

daimh commented Jan 2, 2020

I think this issue is solved after firmware upgrade. omxplayer still plays all the videos fine after 20 days.

pi@raspberrypi:~ $ uptime
08:22:20 up 19 days, 23:41, 2 users, load average: 0.80, 0.54, 0.50

@daimh daimh closed this as completed Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants