antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.41k stars 191 forks source link

Green Screen on Ubuntu 21.10 - invalid video buffer error #67

Open alexantao opened 2 years ago

alexantao commented 2 years ago

Hi, I'm running Ubuntu 21.10, wayland. Have a Desktop with Intel video (VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) ). I compiled uxplay with no errors or warnings.

When I start it I get the messages:

Initialized server socket(s) *** WARNING *** The program 'uxplay' uses the Apple Bonjour compatibility layer of Avahi. *** WARNING *** Please fix your application to use the native API of Avahi! *** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>

After I connect my iPhone7 , I get a green screen when there should be the mirror screen. Starting uxplay with DEBUG, i get tons of this message: 0:01:07.043078037 63079 0x7f768004c120 WARN videofilter gstvideofilter.c:296:gst_video_filter_transform:<videoconvert0> warning: invalid video buffer received 0:01:07.055292735 63079 0x7f768004c120 ERROR vaapivideomemory gstvaapivideomemory.c:254:map_vaapi_memory: failed to make image current 0:01:07.055315939 63079 0x7f768004c120 ERROR default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 0

alexantao commented 2 years ago

Oh, just found an interesting WARN at the beggining of the connection: 0:00:59.422331248 67398 0x55954b19ea40 WARN vaapifilter gstvaapifilter.c:1373:gst_vaapi_filter_set_property:<vaapifilter0> VA display doesn't support VPP

fduncanh commented 2 years ago

this site appears to be unmaintained. UxPlay continues at https://github.com/FDH2/UxPlay