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

Issue with MPV player #654

Open
RaccoonKoaler opened this issue Sep 18, 2023 · 4 comments
Open

Issue with MPV player #654

RaccoonKoaler opened this issue Sep 18, 2023 · 4 comments

Comments

@RaccoonKoaler
Copy link

Hello, I received the bug info listed at the bottom.
I am not sure that it is related but I am having troubles with the video's window. When I start an observation, the video's window opens separately, in wide screen and cannot be incrusted back to BORIS observation window.
I just got the new BORIS Version but sadly it didn't solve the issue.
It seems that MPV player is not collaborating well...

Thanks anyway for the BORIS dev, it's amazing!
PS: Nice new logo <3

BORIS version: 8.21.5
OS: Linux 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2
CPU: x86_64 x86_64
Python 3.10.12 (64-bit)
Qt 5.15.3 - PyQt 5.15.6
2023-09-18 12:21

Traceback (most recent call last):
File "/opt/boris/boris/core.py", line 5029, in closeEvent
observation_operations.close_observation(self)
File "/opt/boris/boris/observation_operations.py", line 1124, in close_observation
dw.player.log_handler = None
File "/opt/boris/boris/mpv.py", line 1932, in setattr
self._set_property(_py_to_mpv(name), value)
File "/opt/boris/boris/mpv.py", line 1918, in _set_property
self.check_core_alive()
File "/opt/boris/boris/mpv.py", line 1014, in check_core_alive
raise ShutdownError("libmpv core has been shutdown")
boris.mpv.ShutdownError: libmpv core has been shutdown

System info
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Linux kazewind 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

@olivierfriard
Copy link
Owner

Hi,
try to:

@zemogoravla
Copy link
Contributor

Hi,

I see the same issue of the video in a separate window (out of the dockable window) for Ubuntu 22.04 and BORIS 8.21.10

It happens with the default Wayland windowing system.
It doesn't happen if you use the X11 windowing system.

How to switch between Wayland and X:
https://askubuntu.com/questions/1410256/how-do-i-use-x-instead-of-wayland-on-22-04

@olivierfriard
Copy link
Owner

@zemogoravla
thank you for this very useful information

olivierfriard added a commit that referenced this issue Aug 26, 2024
@olivierfriard
Copy link
Owner

Hi,
it seems that the issue is also present when using libmpv v.2 (on Debian 12 with x11 for example).
The v. 8.27.8 should fix this case:
https://github.com/olivierfriard/BORIS/releases/tag/v8.27.8

Can you test it and let me know?
Thank you for you collaboration

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

3 participants