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

Investigate buffer deadlock prevented issues. #11

Closed
2 of 3 tasks
SSSSam141 opened this issue Oct 8, 2022 · 10 comments · Fixed by #19
Closed
2 of 3 tasks

Investigate buffer deadlock prevented issues. #11

SSSSam141 opened this issue Oct 8, 2022 · 10 comments · Fixed by #19
Assignees
Labels
bug Something isn't working MID mid priority

Comments

@SSSSam141
Copy link
Collaborator

SSSSam141 commented Oct 8, 2022

When playing jellyfish video, it will pause by the issue of buffer deadlock prevented for serveral times.

@SSSSam141 SSSSam141 added bug Something isn't working MID mid priority labels Oct 8, 2022
@omarcostahamido
Copy link
Owner

Thank you @SSSSam141 for opening this issue. And so it begins... :)
Fyi, the website where you download that jellyfish sample video includes different compression renders that you may also try in your experiments.
Good luck, and please keep us posted.

@omarcostahamido
Copy link
Owner

@SSSSam141 please feel free to share here some the things you've been trying.

@KaneBetter
Copy link
Collaborator

KaneBetter commented Oct 12, 2022

Just find out that if you run sudo apt install vlc in the terminal.
After that, the error message disappeared.
However, this still needs to be proven by others.

@SSSSam141
Copy link
Collaborator Author

I have tried to run vlc to play the video: jellyfish without using Max. The problem was still there so we can make sure that the cause lies in the part of VLC. I have checked that our Raspeberry pi model is 4 (cmd: cat /proc/device-tree/model ), its system is bullseye 11 (cmd: cat /etc/os-release), and the vlc version is 3.0.16 (cmd: vlc -v).
Also, we can use debug mode for the vlc, change line 6 at pvm.py file: inst = vlc.Instance('--verbose 2'), which will be more convenient for getting more information when debugging.

I tried to upgrade the version of VLC but the buffer deadlock prevented message is still there.
The completely remove and reinstall VLC commands: In a terminal, run:
sudo apt-get remove --purge vlc
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get install vlc
Done.
Thus, reinstall the vlc with the latest version does not help to solve the problem.

The error message: mmal_xsplitter vout display error: Failed to open Xsplitter:mmal_vout module happens earlier than the buffer deadlock prevent issue #12 and the buffer deadlock prevent is an error of main decoder error. The mmal_vout is the decoder of vlc which failed to open, so that I think we should solve the problem of #12 first then we can see whether this problem is still there. I will move to see #12 first.

@omarcostahamido
Copy link
Owner

omarcostahamido commented Oct 13, 2022

Just find out that if you run sudo apt install vlc in the terminal.
After that, the error message disappeared.

huh... that's strange.

I have tried to run vlc to play the video: jellyfish without using Max. The problem was still there so we can make sure that the cause lies in the part of VLC.

Nice.

Thus, reinstall the vlc with the latest version does not help to solve the problem.

Thx for testing this. Please remind me: is bullseye 11 the latest raspberrypiOS?

The error message: mmal_xsplitter vout display error: Failed to open Xsplitter:mmal_vout module happens earlier than the buffer deadlock prevent issue #12 and the buffer deadlock prevent is an error of main decoder error. The mmal_vout is the decoder of vlc which failed to open, so that I think we should solve the problem of #12 first then we can see whether this problem is still there. I will move to see #12 first.

Perfect! Prioritizing :) Feel free to change the label on #12 to High. Also, add it here as a step on the TODO list.

@SSSSam141
Copy link
Collaborator Author

@omarcostahamido Bullseye 11 is the latest version for raspberryPiOS.

@SSSSam141
Copy link
Collaborator Author

After I have reinstalled the os with the old version buster 10, the problem still exists. I will try to find the cause now.

@omarcostahamido
Copy link
Owner

@SSSSam141 any updates on this?

@SSSSam141
Copy link
Collaborator Author

SSSSam141 commented Oct 24, 2022

@SSSSam141 any updates on this?

@omarcostahamido The new media player: OMXPlayer does not have this issue. I think we can close this issue.

@omarcostahamido
Copy link
Owner

omarcostahamido commented Oct 25, 2022

Then I suggest closing this issue with the PR that makes that transition too! #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MID mid priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants