TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
203 stars 26 forks source link

<title>Scrcpy Errors ,attached below #79

Open Levantosa opened 7 months ago

Levantosa commented 7 months ago

Scrcpy bug: Vnd-nongapp Samsung note 10 lite

Error:

[server] INFO: Device: [unknown] google TrebleDroid vanilla (Android 14) INFO: Renderer: direct3d INFO: Texture: 2400x1080 [server] ERROR: Could not invoke method java.lang.NoSuchMethodException: android.view.SurfaceControl.getPhysicalDisplayIds [] at java.lang.Class.getMethod(Class.java:2937) at java.lang.Class.getMethod(Class.java:2449) at com.genymobile.scrcpy.wrappers.SurfaceControl.getGetPhysicalDisplayIdsMethod(SurfaceControl.java:137) at com.genymobile.scrcpy.wrappers.SurfaceControl.getPhysicalDisplayIds(SurfaceControl.java:144) at com.genymobile.scrcpy.Device.setScreenPowerMode(Device.java:314) at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:169) at com.genymobile.scrcpy.Controller.control(Controller.java:83) at com.genymobile.scrcpy.Controller.lambda$start$0$com-genymobile-scrcpy-Controller(Controller.java:91) at com.genymobile.scrcpy.Controller$$ExternalSyntheticLambda1.run(Unknown Source:4) at java.lang.Thread.run(Thread.java:1012) [server] ERROR: Could not get physical display ids

phhusson commented 7 months ago

sounds like a bug in scrcpy, but then I have scrcpy working correctly on Android 14 on my devices, so idk. Got a logcat?

Levantosa commented 7 months ago

Which app uses this module? ,so I can log it alone.

phhusson commented 7 months ago

afaik It is running in its own process, not in an app

Levantosa commented 7 months ago

Any commands to extract the log of that process ?

Levantosa commented 7 months ago

I think this error is not device specific ,might be able to reproduce on ur end.