mpv icon indicating copy to clipboard operation
mpv copied to clipboard

wayland: fullscreen changes craches weston [was: changing YUV colorspace in fullscreen crashes weston]

Open ricardomv opened this issue 12 years ago • 31 comments

press c in fullscreen to reproduce weston log http://pastebin.com/Jd9xJ2k2

ricardomv avatar Jan 06 '14 22:01 ricardomv

Apparently the wayland backend can't deal with multiple reconfig calls anymore.

ghost avatar Jan 06 '14 22:01 ghost

Oh wait, weston crashes? Too bad for weston.

ghost avatar Jan 06 '14 22:01 ghost

Is this a known bug in weston? It works fine if it's not in fullscreen so i thought it was an mpv problem.

ricardomv avatar Jan 06 '14 22:01 ricardomv

Why would it be a mpv problem if weston crashes? Sure, there can be bugs in mpv, but a client should never be able to crash the server. I think giselher had some comments about fullscreen handling.

ghost avatar Jan 06 '14 22:01 ghost

Ah yes the bug is known by me, weston has a bug in some configure fullscreen call. You can't even watch multiple videos in fullscreen without crashing. Just report it to the wayland bug tracker.

giselher avatar Jan 07 '14 07:01 giselher

What's funny here is that cycling colorspace also toggles fullscreen on my system (doesn't crash weston though).

ghost avatar Jan 07 '14 10:01 ghost

Finally there is working fullscreen mode in 374f40de30178e080f24bfd9f1dc3ece2f97c8bd

giselher avatar Jan 07 '14 20:01 giselher

I see two more issues with mpv fullscreen mode:

a) in fullscreen mode there is no black padding around the content, so that the weston stuff is still visible. b) going fullscreen and then back crashes weston.

godsic avatar Jan 10 '14 17:01 godsic

@godsic Which version of mpv and weston are you using. The exact same problems should be solved in the mpv master branch.

giselher avatar Jan 12 '14 12:01 giselher

mpv git-ad654f3 (C) 2000-2014 mpv/MPlayer/mplayer2 projects built on 2014-01-12T11:12:56 ffmpeg library versions: libavutil 52.48.101 libavcodec 55.39.101 libavformat 55.19.104 libswscale 2.5.101 libavfilter 3.90.100 libavresample 1.1.0

godsic avatar Jan 12 '14 13:01 godsic

I will post a problem description video in a few hours.

godsic avatar Jan 12 '14 13:01 godsic

https://drive.google.com/file/d/0B16XW5q8FKA1M2JCVWkyUHd0cFk/edit?usp=sharing

godsic avatar Jan 12 '14 15:01 godsic

I am sorry but I can't reproduce the problems I see in that video.

giselher avatar Jan 12 '14 16:01 giselher

Perhaps I should mention the wayland version:

ibus-wayland.x86_64 1.5.4-2.fc20
libwayland-client.i686 1.3.91-2.fc21
libwayland-client.x86_64 1.3.91-2.fc21
libwayland-client-devel.x86_64 1.3.91-2.fc21
libwayland-cursor.x86_64 1.3.91-2.fc21
libwayland-cursor-devel.x86_64 1.3.91-2.fc21
libwayland-server.i686 1.3.91-2.fc21
libwayland-server.x86_64 1.3.91-2.fc21
libwayland-server-devel.x86_64 1.3.91-2.fc21
mesa-libwayland-egl.x86_64 10.0.2-1.20140110.fc21
mesa-libwayland-egl-devel.x86_64 10.0.2-1.20140110.fc21
wayland.x86_64 1.3.91-2.fc21
wayland-devel.x86_64 1.3.91-2.fc21

godsic avatar Jan 12 '14 16:01 godsic

I've downgraded wayland to 1.2.X and everything works OK. So the issue is 1.4.X-specific.

godsic avatar Jan 12 '14 17:01 godsic

All the problems seen in the Video are Weston issues, not mpv issues.

In the last few months, there has been a couple of bugs fixed with fullscreen mode, then new bugs, then new fixes, ...

axeldavy avatar Jan 12 '14 23:01 axeldavy

i could reproduce this by activating the exposay while in fullscreen mode. Before you could't do this in weston

ricardomv avatar Jan 13 '14 07:01 ricardomv

I will reopen this issue even though I can't reproduce the problems.

giselher avatar Jan 13 '14 08:01 giselher

Does this bug still happen? I can't reproduce it and I can't find out how to activate exposé.

giselher avatar Mar 05 '14 16:03 giselher

you have to enable it in the config file exposay-modifier=ctrl

ricardomv avatar Mar 05 '14 16:03 ricardomv