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
What about wayland support? #188
Comments
I'm assuming you've added the relevant Qt compilation flag; the other thing that would cause it to crash is the X11 specific code in Can you confirm that it works when you apply this patch?
|
Baka-mplayer now segfaults under https://github.com/SirCmpwn/Sway
|
@tidux did you try the patch above? The last person who used wayland didn't get back to us--I don't have a proper wayland setup to test it myself, though I will get one soon. |
The patch works to get the UI up and running, but the OpenGL stuff is still dependent on X, leading to a segfault when I actually try to play anything:
Note that regular |
@tidux You may have some luck playing with the mpv vo parameter in
You can also try removing the vo option to have mpv autoselect (I hope, maybe baka will just put it back though, you can also try making it empty string). Do tell me if any of these things work. I use i3 myself so I may try setting up Sway. |
vo = opengl crashes again. vo = wayland causes a new empty region (not even blank, just the wallpaper) to work although audio does play. I'm seeing similar behavior for vo = wayland on raw mpv (vo = opengl works there) so it may be a Sway bug. |
@tidux sounds like maybe the vo driver is working properly but passing the win handle to mpv isn't (hence why you aren't seeing anything). I have a feeling this might end up working properly when we use |
@tidux I installed sway on my system and got it running by making vo a blank string, I was able to watch a video. I'm using archlinux, noveau early KMS, and baka-mplayer-git |
I'm using baka-mplayer from git master, Arch, and Intel drivers. That just crashes for me. |
I can't execute baka-mplayer on Wayland, it crashes:
I've obtained this stack trace: https://pastebin.com/rN1wUrb9 |
Please confirm whether or not mpv crashes on Wayland. Or Wayland support
would be solely dependent on qt's (which I implemented in the patch) and
mpv's (which should be an issue on their repo)
In fact I found this on mpv:
gpu-context=wayland
Put that in the mpv options of bakamplayer.ini and it may just work.
Though it's strange because Wayland was working for me a while back. Also make sure you have Qt-Wayland installed for qt's Wayland support
…On Mon, Jun 11, 2018, 4:08 AM Simón ***@***.***> wrote:
Arch Linux
GNOME Shell 3.28.2 on Wayland
Qt 5.11.0
qtdiag-qt5 <https://pastebin.com/na5vBqQp>
I can't execute baka-mplayer on Wayland, it crashes:
$ baka-mplayer
Using Wayland-EGL
[1] 7570 segmentation fault (core dumped) baka-mplayer
I've obtained this stack trace: https://pastebin.com/rN1wUrb9
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#188 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABR5pXwR4gHl5oCV7LxNju8kFvTi4ubcks5t7iWGgaJpZM4HEOQI>
.
|
mpv works well. |
Any progress on this? mpv does work perfectly on Wayland now. By now, KDE's Wayland support is also pretty good. So, it would be cool to have Baka-MPlayer working too. |
I don't know if it's unrelated or not (given this thread was last active in 2019) but I am also getting a segmentation fault when running it on an about 3 week old EndeavourOS install that is up to date. If I install the AUR git variant it at least launches, but doesn't seem to play anything ( sometimes I do get audio though ) |
baka-mplayer crashes under wayland for now while mpv itself works successfully.
The text was updated successfully, but these errors were encountered: