FDH2 / UxPlay

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

Video freezes screen mirroring from iPhone and iPad to Arch Linux #363

Open tannerellen opened 5 hours ago

tannerellen commented 5 hours ago

Video freezes when screen mirroring to Arch linux running Hyprland. Usually freezes within 10 seconds or so of enabling screen mirroring. Audio streaming doesn't have any issues and uxplay doesn't appear to crash just the video freezes and never changes after brief usage.

When starting uxplay with debug mode it doesn't show any errors when crashing and reports that it is still connected and streaming the video.

I have tried all the video sinks I can think of with the -vs flag. waylandsink, glimagesink, ximagesink and all behave the same with a crash briefly after the video mirroring starts.

Video of the issue: https://watch.dayback.com/?s=U2NyZWVuIFJlY29yZGluZyAyMDI0LTExLTE0IGF0IDE5OjIzOjAyLm1wNA==

fduncanh commented 3 hours ago

your video shows you are running in h265 (HEVC/4K) mode (new in UxPlay-1.70)

what happens without the -h265 option?

tannerellen commented 2 hours ago

Well, that was it. I totally forgot I was setting that explicitly in the .uxplayrc file. I removed the h265 so it defaults to h264 and now I no longer get the freezes. So I'm unstuck, but I guess my bug report is now h265 freezes.

fduncanh commented 2 hours ago

well, it would be useful to find out why h265 freezes. Are you able to test without hyprland (to see if if is specific to hyprland)

tannerellen commented 2 hours ago

Hyprland is all I have installed on this machine and it's my main but I have an external drive I could install something on. I'll get that going but might take me a bit before I report back.