PICO 4 Ultra Compatibility? (original) (raw)

Environment

Describe the bug

Trying to run a simple 'scrcpy' command, device is found but got errors (Using Meta Quest 3 has no problem).
Using version 2.7 works but using crop parameters do not works (What ever I set, it renders always the 2 eyes)

C:\Users\xxxxxx\Downloads\scrcpy-win64-v3.1>scrcpy
scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  PA92Y0MGJ9030219G               device  A9210
C:\Users\xxxxxx\Downloads\scrcpy-win64-v3.1\scrcpy-serv...file pushed, 0 skipped. 106.0 MB/s (90640 bytes in 0.001s)
[server] INFO: Device: [Pico] Pico A92Y0 (Android 14)
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
        at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:134)
        at com.genymobile.scrcpy.video.ScreenCapture.prepare(ScreenCapture.java:69)
        at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:78)
        at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
        at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
        at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Method.invoke(Native Method)
        at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:119)
        ... 5 more
Caused by: java.lang.NullPointerException: Attempt to read from field 'android.app.WindowConfiguration android.content.res.Configuration.windowConfiguration' on a null object reference in method 'void android.hardware.display.ExtDisplayManagerGlobalImpl.adjustDisplayInfo(int, android.view.DisplayInfo)'
        at android.hardware.display.ExtDisplayManagerGlobalImpl.adjustDisplayInfo(ExtDisplayManagerGlobalImpl.java:43)
        at android.hardware.display.DisplayManagerGlobal.getDisplayInfoLocked(DisplayManagerGlobal.java:208)
        at android.hardware.display.DisplayManagerGlobal.getDisplayInfo(DisplayManagerGlobal.java:184)
        ... 7 more
[server] ERROR: Audio encoding error
java.io.IOException: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
        at com.genymobile.scrcpy.util.IO.write(IO.java:28)
        at com.genymobile.scrcpy.util.IO.writeFully(IO.java:37)
        at com.genymobile.scrcpy.util.IO.writeFully(IO.java:59)
        at com.genymobile.scrcpy.device.Streamer.writeDisableStream(Streamer.java:66)
        at com.genymobile.scrcpy.audio.AudioEncoder.encode(AudioEncoder.java:244)
        at com.genymobile.scrcpy.audio.AudioEncoder.lambda$start$0$com-genymobile-scrcpy-audio-AudioEncoder(AudioEncoder.java:133)
        at com.genymobile.scrcpy.audio.AudioEncoder$$ExternalSyntheticLambda3.run(D8$$SyntheticClass:0)
        at java.lang.Thread.run(Thread.java:1012)
Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
        at libcore.io.Linux.writeBytes(Native Method)
        at libcore.io.Linux.write(Linux.java:288)
        at libcore.io.ForwardingOs.write(ForwardingOs.java:938)
        at libcore.io.BlockGuardOs.write(BlockGuardOs.java:442)
        at android.system.Os.write(Os.java:987)
        at com.genymobile.scrcpy.util.IO.write(IO.java:25)
        ... 7 more
INFO: Renderer: direct3d
WARN: Device disconnected
ERROR: Demuxer 'video': stream disabled due to connection error
ERROR: Demuxer 'audio': stream disabled due to connection error