UxPlay icon indicating copy to clipboard operation
UxPlay copied to clipboard

Segmentation fault on Ubuntu 20.10

Open andlessa opened this issue 4 years ago • 9 comments

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?

andlessa avatar Jan 22 '21 12:01 andlessa

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.

Westie1012 avatar Feb 03 '21 20:02 Westie1012

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 avatar Feb 11 '21 03:02 wrf3

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 avatar Feb 11 '21 03:02 wrf3

How do I remove the large black border?

wrf3 avatar Feb 11 '21 03:02 wrf3

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:

  • Activate mirroring on home screen, then launch GoodNotes ⇒ black border.
  • Activate mirroring on GoodNotes in "Mirror Entire Screen" mode, then switch to presentation mode ⇒ black border.
  • Activate mirroring on GoodNotes already in presentation mode ⇒ no border!

cffs avatar Feb 11 '21 07:02 cffs

Thanks!

wrf3 avatar Feb 11 '21 14:02 wrf3

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.

ketil-malde avatar Mar 09 '21 21:03 ketil-malde

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

bubak4 avatar Oct 13 '21 07:10 bubak4

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

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

damienlegallois avatar Nov 26 '23 20:11 damienlegallois