added scripts folder to gitea
This commit is contained in:
Executable
+43
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Quest 2 wireless mirror to PC → 480i CRT
|
||||
# Forced encoder + low settings to stop ~20s black flicker (Horizon OS v74+ bug)
|
||||
|
||||
IP="10.0.0.30:5555"
|
||||
|
||||
echo "Enabling ADB over TCP..."
|
||||
adb tcpip 5555
|
||||
sleep 2
|
||||
|
||||
echo "Connecting to Quest..."
|
||||
adb connect "${IP}"
|
||||
|
||||
echo ""
|
||||
echo "ADB devices:"
|
||||
adb devices
|
||||
|
||||
echo ""
|
||||
read -p "Disconnect USB now. Reboot Quest if possible. Put on headset, enter game/app NOW, then press Enter..."
|
||||
|
||||
echo ""
|
||||
echo "Starting scrcpy (test for flicker after 20–60s)..."
|
||||
echo ""
|
||||
|
||||
scrcpy -s "${IP}" \
|
||||
--max-size=640 \
|
||||
--max-fps=30 \
|
||||
--video-bit-rate=800K \
|
||||
--video-encoder=c2.qti.avc.encoder \
|
||||
--no-audio \
|
||||
--no-control \
|
||||
--always-on-top \
|
||||
--window-width=640 \
|
||||
--window-height=480 \
|
||||
--window-borderless
|
||||
|
||||
echo ""
|
||||
echo "Next steps if flicker remains:"
|
||||
echo " - Swap encoder: --video-encoder=OMX.qcom.video.encoder.avc"
|
||||
echo " - Lower more: --max-size=480 --video-bit-rate=400K --max-fps=24"
|
||||
echo " - Check issue #5913 on GitHub for patched binaries (search 'Quest 2 fix')"
|
||||
echo " - HDMI PC out → composite adapter → CRT"
|
||||
Reference in New Issue
Block a user