mced > Hi all, I'm trying to compile MPV for Wayland with no success. Stay here or join #mpv-player-dev? l > you can stay here l > also, obligatory worksforme™ mced > ok, config.log says "Checking for Wayland... result is yes". But, at the ending, it says "Enabled optional drivers... video output: (blank)". Compling is successful, but "mpv -vo help" says nothing about Wayland. w > mced: do you have opengl headers? mced > I haven't checked that mced > I will see l > mced: moreover, you’re not using the waf build system, right? l > maybe the old one is broken mced > you're right, but I'm compiling version 0.1.7 l > what. why. w > wow prehistoric mced > newer versions require Wayland not available on my platform l > fix your platform w > not sure why you want wayland w > and even less sure why an ancient version of wayland would be fine l > yeah, this mced > ok, it's a small phone called Jolla, which OS (Sailfish) uses only Wayland l > I see, but are they really using ancient wayland? l > that’s sad and surprising mced > let me check y > oh, you want to port mpv to jolla? mced > Installed wayland-devel-1.1.0+git2-1.2.1.armv7hl l > y: not like much porting has to be done y > hehe l > sailfish is basically Mer with a custom UI l > or something mced > yep y > I know l > and Mer takes a bunch of things from opensuse k > how about hwacc? y > been following it almost since jolla became public l > k: difficult, thanks to SoC vendors being *******s l > qualcomm in this case, right? w > I doubt mpv would work on it anyway mced > yep, Qualcomm w > mpv doesn't support GLES for one l > w: *modern* mobile GPUs actually support regular opengl w > but apparently we (libass) can't get a new release done l > the problem is that the majority of devices still ship with 9 years old crap w > l: really? l > (hello powervr sgx530) l > w: well they kind of have to support something else for windows mobile stuff too :P mced > heh heh... I don't understand many of that, but thanks anyway mced > so it seems it won't work l > I’ll play around with it when I get my jolla device l > I still have that voucher for preordering, but I didn’t actually buy it yet l > bit of a financial problem right now, life sucks :V y > :( mced > that would be great, l. Blog, forum, any way of checking you? l > nope, I’m a web 1.0 person mced > hah hah l > mced: but to be honest, without hwaccel I don’t see mpv working well on that device mced > by hwaccel do you mean hardware decoding? l > and hwaccel probably requires openmax support, and will be quirky at best even when it works l > because qualcomm’s drivers are outright terrible w > yeah mced > it's a shame, because compiling MPV was being a lot of fun mced > lot of trouble w > well, if I ever get a not-dumbphone, I'll probably try to make mpv work on it no matter the costs y > nobody prevents you from trying mced l > Like LIMA, Freedreno is an open source driver for Adreno devices, in a mature enough state to run large applications like XBMC on top of an open source stack. Once again, Rob Clark from Freedreno did not get any help from Qualcomm: to provide a better driver for everyone, he had to reverse engineer the blob provided by Qualcomm and write his own shader compiler backend on top of the Mesa infrastructure. One person, working mostly alone, produced better quality drivers than a whole team working at Qualcomm. And because nobody seems to care about these issues, his work is not used by any major phone manufacturer or in any Android version that we know of. l > quote taken from https://dolphin-emu.org/blog/2013/09/26/dolphin-emulator-and-opengl-drivers-hall-fameshame/ mced > so, the key words are "hwaccel", "openmax" and "freedreno" l > I guess l > well, assuming the jolla thing is adreno-based (I have no clue) w > l: that's terrible w > more terrible than to hear about war in syria etc. mced > yep, Adreno 305 mced > Qualcomm Snapdragon 400 l > well, good luck with that then :D mced > thank you very much to all l > I still think jolla and sailfish are better than the android/ios crap though y > wasn't there some interest in using freedreno drivers with sailfish? at least among the community l > the state of mobile graphics is horrible no matter where you go
============ Checking for Wayland ============ pkg-config --cflags wayland-client >= 1.0.0 wayland-egl >= 9.0.0 wayland-cursor >= 1.0.0 xkbcommon >= 0.3.0 pkg-config --libs wayland-client >= 1.0.0 wayland-egl >= 9.0.0 wayland-cursor >= 1.0.0 xkbcommon >= 0.3.0 cflags: libs: -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon Result is: yes
Enabled optional drivers: Input: pvr tv-v4l2 tv vcd dvb Codecs: libavcodecs Audio output: pulse oss Video output:
./mpv -vo help Available video outputs: null : Null video output image : Write video frames to image files