wayland: crash when resizing the window
Mpv crashes when resizing the window using --vo=opengl:backend=wayland. Using just --vo=wayland does not lead to a crash. You can resize it in weston by holding the meta key and pressing and dragging the middle mouse button.
You can resize it in weston by holding the meta key and pressing and dragging the middle mouse button.
That's how I resize the window too. Is this only in newer versions of weston, or with every version?
I always experienced it, since i installed mpv for the first time. I'm not sure when it was but it surely was before weston 1.2 came out. Maybe it's related to the driver? I'm on radeonsi, radeon 7770.
Btw, i forgot to paste the relevant output:
[vo/opengl/wayland] error occurred on the display fd: closing file descriptor
[input] Select error: Bad file descriptor
[input] Select error: Bad file descriptor
I have a PC with an radeonsi card too and I will try to test it on it, but It could take some days. I very busy at the moment.
I am starting to have more free time now, but It could still take some time to setup my PC with the radeonsi card. Could you please do some more testing, maybe it happens with other programs too. Because from the looks of your output it seems that an error occurs on the pipe or the pipe is closed.
I have an ati radeon card and it does not crash with the provided options. But it does leave a trail when resizing (black frame, some times with some gibberish)
[AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]
I can't reproduce it anymore with mpv ff85afa, but I also see the garbage. It looks like it is garbage due to a buffer with parts not drawn.
I noticed it too, but at the same time I have even greater problems. It seems to lock my computer if it runs too long. I will look into it, but i also suspect that there are still problems in the driver.
After a long time of doing absolutely nothing productive I finally got around investigating why it displays garbage.
Garbage is displayed when using:
--vo=openglon westons latest release--vo=opengland--vo=waylandon westons latest git sources.
It looks like the backgound is not cleared properly when going fullscreen. The OpenGL code and SHM should actually work as intended and I have currently no idea why this is happening. I will try to find a solution.
Fixed in 52fa38079db796dd87e40ee6890b5d1005139a08