antimof / UxPlay

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

Will not start with gstreamer1.0-vaapi installed on PopOS 20.10 #49

Open rhapsodyai opened 3 years ago

rhapsodyai commented 3 years ago

Hi, I am trying to run this after building from source, and I have heard several people say that I need to remove the gstreamer1.0-vaapi package for Intel Graphics (I am using an Nvidia graphics card). However, gstreamer1.0-vaapi seems to be a requirement for the pop-desktop component. Is there a workaround for this so that I can run UxPlay without removing gstreamer1.0-vaapi?

After running ./uxplay and mirroring, here is the output that I get.

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 Accepted IPv4 client on socket 19 Local: 192.168.131.252 Remote: 192.168.131.71 raop_ntp receive timeout Accepted IPv4 client on socket 26 Local: 192.168.131.252 Remote: 192.168.131.71 raop_rtp_mirror starting mirroring

I looked through the code but could not find the part of the source that refers to the gstreamer-vaapi package specifically.

fduncanh commented 3 years ago

this is purely a gstreamer issue. VAAPI wont work on nVidia. It must be uninstalled.

Its probably because uxplay uses the autovideosink method to end the gstreamer pipeline, and that is supposed to guess what to use by looking at what is installed on your system. The presence of vaapi on an nVidia system confuses it. VAAPI is completely incompatible with nvidia , it's for intel graphics. and should not be installed. with nvdia.

There is a new release of uxplay at pr #58