UxPlay
UxPlay copied to clipboard
Works on fedora but doesn't on arch
Works perfectly on fedora 32 but on arch the program runs but nothing shows up on iOS when hitting Screen Mirroring.
I am using a 5GHz connection (intel 6235 wifi)
Also is there a way to print logs? Thank you
Not sure about the problem itself (I'm having trouble getting this to work myself, on Ubuntu 20.04), but it looks like you can use the GST_DEBUG
environment variable to get verbose output from gstreamer:
GST_DEBUG=3 ./uxplay # run once with env variable set
or
export GST_DEBUG=3 # set env variable for current session
./uxplay # run however you like
Hope this helps!
Running into the same issue here. Device doesn't show up in screen mirroring on iOS (on the same network). I am getting new video output from the binary, but I'm sure the problem has to do something the initial connection.
Not sure if this helps, but my operating system is Ubuntu 20.04, and I have a AMD Ryzen CPU and AMD Radeon rx 5700 xt. My WiFi card is baked into my motherboard (B450 AORUS PRO WIFI) and I am using a 5ghz connection.
$ GST_DEBUG=3 ./uxplay
0:00:00.016178259 45666 0x55b3e647b240 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<video_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.018866883 45666 0x55b3e647b460 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<audio_source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
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>
Edit: And my avahi-daemon is running:
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-09-28 21:05:06 EDT; 17h ago
TriggeredBy: ● avahi-daemon.socket
Main PID: 1011 (avahi-daemon)
Status: "avahi-daemon 0.7 starting up."
Tasks: 2 (limit: 38407)
Memory: 2.4M
CGroup: /system.slice/avahi-daemon.service
├─1011 avahi-daemon: running [ccerne-ubuntu.local]
└─1049 avahi-daemon: chroot helper
Sep 29 08:00:47 ccerne-ubuntu avahi-daemon[1011]: Interface wlp5s0.IPv4 no longer relevant for mDNS.
Sep 29 08:00:47 ccerne-ubuntu avahi-daemon[1011]: Withdrawing address record for fe80::eea5:f31a:66bb:b896 on wlp5s0.
Sep 29 08:00:47 ccerne-ubuntu avahi-daemon[1011]: Leaving mDNS multicast group on interface wlp5s0.IPv6 with address >
Sep 29 08:00:47 ccerne-ubuntu avahi-daemon[1011]: Interface wlp5s0.IPv6 no longer relevant for mDNS.
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: Joining mDNS multicast group on interface wlp5s0.IPv6 with address >
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: New relevant interface wlp5s0.IPv6 for mDNS.
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: Registering new address record for fe80::eea5:f31a:66bb:b896 on wlp>
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: Joining mDNS multicast group on interface wlp5s0.IPv4 with address >
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: New relevant interface wlp5s0.IPv4 for mDNS.
Sep 29 08:00:51 ccerne-ubuntu avahi-daemon[1011]: Registering new address record for 10.0.0.82 on wlp5s0.IPv4.
I had the same problem, but for me on 5.8.11-1-MANJARO
the sequence
$ systemctl stop systemd-resolved.service
$ systemctl stop avahi-daemon.service
$ systemctl start avahi-daemon.service
and then starting UxPlay
seems to fix it. Not sure if stopping systemd-resolved
is necessary, but the arch wiki says to do it (see here).
@kenan1099 can I ask what procedure you followed to make it work on Fedora. I successfully built and ran the project, but the iPad fails to connect.
try new version PR #58