antimof / UxPlay

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

Segmentation fault on Ubuntu 20.10 #32

Open andlessa opened 3 years ago

andlessa commented 3 years ago

Hi,

I could install UxPlay without issues. After running uxplay I can find it with my iPad, but when I try to connect I get a Segmentation fault error. Here is the full screen log:

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 23 Local: xxxx Remote: xxxx raop_ntp receive timeout Accepted IPv4 client on socket 26 Local: xxxx Remote: xxxx raop_rtp_mirror starting mirroring Segmentation fault (core dumped)

I'm using Ubuntu 20.10 and a Intel graphics card (UHD Graphics 620 (Whiskey Lake))

Any idea how to fix it?

Westie1012 commented 3 years ago

Hi, I have an Intel UHD Graphics 630 and the same issue. As far as i can tell the issue is with gstreamer or intel graphics driver and as such rather hard to fix.

wrf3 commented 3 years ago

I have the same problem. I'm running Ubuntu 20.10. My card is a Quadro RTX 5000. It's possible that it's trying to use Intel graphics; how would I stop that? Thanks.

wrf3 commented 3 years ago

Answering my own question, with help from another posting: uninstall gstreamer1.0-vaapi

Now it appears to work fine. Thanks!

FYI, I remote lecture and want to try using the ipad as a graphics tablet.

wrf3 commented 3 years ago

How do I remove the large black border?

cffs commented 3 years ago

Same workaround (uninstall gstreamer1.0-vaapi) worked for me as well, on a laptop with Intel UHD and NVIDIA GPUs.

How do I remove the large black border?

A black border seem to be application-dependent. For my part, I observe it only with GoodNotes. Playing with UxPlay window size can help, but another factor is when I activate mirroring:

wrf3 commented 3 years ago

Thanks!

ketil-malde commented 3 years ago

Huh. I experienced the same problem (segfaults on Ubuntu 20.10 when enabling screen mirroring from my iPad and choosing uxplay), although sometimes it would work - then I would only see a green screen. Uninstalling vaapi seemed to fix the segfaults, but then no window would appear at all.

bubak4 commented 2 years ago

Answering my own question, with help from another posting: uninstall gstreamer1.0-vaapi

Now it appears to work fine. Thanks!

FYI, I remote lecture and want to try using the ipad as a graphics tablet.

It works with debian:bullseye too

damienlegallois commented 10 months ago

Removing gstreamer1.0-vaapi solved my problem too, thx.

Had a black screen when trying to mirror an iPad on an Ubuntu 23.10.