r/archlinux • u/Traditional-Data913 • 46m ago
SUPPORT Anyone else using scrcpy with an NVidia GPU? If so, is your system also freezing completely everytime you use it? Please help :\ I'm desperate
Prior to july 4th (the last time I've updated my system), there were no issues whatsoever. After updating my system on july 9th, my system would COMPLETELY freeze after anything between seconds to 30 minutes max of having scrcpy open. I'm not able to go to tty, send keyscrokes, move the mouse, nothing. I have to hold down the power button and force a shutdown.
After booting the system back up, there isn't a single log related to it on journalctl. The system freezes in a way that not even the journal gets saved.
I have tried multiple things
journald.conf:
/etc/systemd/journald.conf
Storage=persistent
SyncIntervalSec=1
linux.conf
options root=PARTUUID=UUID_Here zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs nvidia-drm.modeset=1 nmi_watchdog=1 softlockup_panic=1 hardlockup_panic=1 efi_pstore.pstore_disable=N usbhid.mousepoll=1
The issue happens rather I call scrcpy via wifi or cabled. but if it helps, here's how I call it:
scrcpy --tcpip=IP-here --max-fps=120 --max-size=1024 --no-power-on --turn-screen-off --power-off-on-close --kee
p-active
Even without logs to prove it, I'm 1000% certain it is scrcpy related. At least that is the trigger since it doesn't happen otherwise. I can play games, use the system indefinitely and nothing happens. The freeze only happens if I use scrcpy.
The only way to solve this is to roll back to a snapshot timeshift made before updating the system. So I have to downgrade the kernel and the headers and then restore the timeshift snapshot.
Please, I don't know what to do. I can't be on an outdated system forever Asking you guys is my last resource since even claude sonnet 5 couldn't figure it out.