Video is starting in an external window
Free media player with support for Youtube
Brought to you by:
rvm
Using smplayer on Fedora 31 with Wayland. Everything was ok on fedora 30 with the earlier version of smplayer.
Smplayer version: 19.10.0 (revision 9238). mpv version is 0.30. Settings are default: option "Run in its own window is unset";
Output in in smplayer log:
[16:23:18:544] WARNING: Non-toplevel surfaces can't request window states
[16:23:18:544] WARNING: Wayland does not support QWindow::requestActivate()
It seems a problem when using Wayland.
Try selecting x11 as video output in preferences -> general -> video.
With QT_QPA_PLATFORM=xcb it runs as intended (inside the window).
With QT_QPA_PLATFORM=wayland-egl it doesn't even play, with such output:
etc
The best workaround for this is probably to run SMPlayer on XWayland use the --gpu-context=x11 mpv option. Without it, mpv will start on Wayland and therefore it will be impossible for it to interface with SMPlayer running on XWayland.
To actually fix this, Wayland support needs to be implemented in SMPlayer.
Last edit: SimonP 2020-06-06
@rvm: It would probably be good to include this option by default.