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
vo_wlshm: hang with "interface 'xdg_toplevel' has no event 3" when running inside a container #13986
Comments
GNOME 46.1 should have a new enough xdg-shell so that's really odd, but it probably doesn't hurt to guard this Does this fix it?
|
No. The problem remains the same. Can it be caused by that the compositor has a higher version of |
That seems to be the case. |
With the previous commit, we now know what version of xdg_wm_base is supported on the client side. Do the MPMIN check against that instead of blindly on version 6. Fixes mpv-player#13986.
Does #13986 work? |
Important Information
Reproduction steps
Create a Podman container with shared network and IPC namespace:
$ podman run --network=host --ipc=host --userns=keep-id -v /run/user/60492:/run/user/60492 --user root --init jammy /usr/sbin/sshd -D -p 3333
The
jammy
image was built before with correct user entry and development tools installed. You can also usetoolbox
instead ofpodman
to create such a containerized environment.Set the environ in the container:
After that, I've checked it using:
$ weston-terminal
It works fine and the window of weston terminal pops up.
I run mpv using the following command:
$ mpv --no-config --profile=sw-fast --vo=wlshm --ao=null test.mkv -v --log-file=mpv.log
Expected behavior
mpv opens a window and starts playback.
Actual behavior
mpv hangs and no window is opened. A message is shown in the terminal:
interface 'xdg_toplevel' has no event 3
. It is not printed by mpv and is not included in the log file.The debugger shows mpv hangs at
mpv/video/out/wayland_common.c
Line 2272 in 2e03e03
Log file
FWIW,
vo=x11
andvo=xv
work fine.The text was updated successfully, but these errors were encountered: