scrcpy add_trusted_display error
6 removals
38 lines
6 additions
38 lines
[server] INFO: Device: [Google] google Pixel 9 Pro XL (Android 15)
[server] INFO: Device: [Google] google Pixel 9 Pro XL (Android 15)
[server] ERROR: Could not create display
[server] ERROR: Could not create display
java.lang.SecurityException: Requires ADD_TRUSTED_DISPLAY permission to create a trusted virtual display.
java.lang.SecurityException: Requires ADD_TRUSTED_DISPLAY permission to create a virtual display which is not in the default DisplayGroup.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3231)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3231)
at android.os.Parcel.createException(Parcel.java:3215)
at android.os.Parcel.createException(Parcel.java:3215)
at android.os.Parcel.readException(Parcel.java:3198)
at android.os.Parcel.readException(Parcel.java:3198)
at android.os.Parcel.readException(Parcel.java:3140)
at android.os.Parcel.readException(Parcel.java:3140)
at android.hardware.display.IDisplayManager$Stub$Proxy.createVirtualDisplay(IDisplayManager.java:1570)
at android.hardware.display.IDisplayManager$Stub$Proxy.createVirtualDisplay(IDisplayManager.java:1570)
at android.hardware.display.DisplayManagerGlobal.createVirtualDisplay(DisplayManagerGlobal.java:757)
at android.hardware.display.DisplayManagerGlobal.createVirtualDisplay(DisplayManagerGlobal.java:757)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1186)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1186)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1146)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1146)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1094)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1094)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1033)
at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:1033)
at com.genymobile.scrcpy.wrappers.DisplayManager.createNewVirtualDisplay(DisplayManager.java:164)
at com.genymobile.scrcpy.wrappers.DisplayManager.createNewVirtualDisplay(DisplayManager.java:164)
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:186)
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:185)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:207)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:206)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:292)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:292)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:1012)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.RemoteException: Remote stack trace:
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.display.DisplayManagerService.createVirtualDisplayInternal(DisplayManagerService.java:1836)
at com.android.server.display.DisplayManagerService.createVirtualDisplayInternal(DisplayManagerService.java:1853)
at com.android.server.display.DisplayManagerService.-$$Nest$mcreateVirtualDisplayInternal(DisplayManagerService.java:0)
at com.android.server.display.DisplayManagerService.-$$Nest$mcreateVirtualDisplayInternal(DisplayManagerService.java:0)
at com.android.server.display.DisplayManagerService$BinderService.createVirtualDisplay(DisplayManagerService.java:4593)
at com.android.server.display.DisplayManagerService$BinderService.createVirtualDisplay(DisplayManagerService.java:4593)
at android.hardware.display.IDisplayManager$Stub.onTransact(IDisplayManager.java:802)
at android.hardware.display.IDisplayManager$Stub.onTransact(IDisplayManager.java:802)
at android.os.Binder.execTransactInternal(Binder.java:1406)
at android.os.Binder.execTransactInternal(Binder.java:1406)
[server] ERROR: Exception on thread Thread[video,5,main]
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.AssertionError: Could not create display
java.lang.AssertionError: Could not create display
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:193)
at com.genymobile.scrcpy.video.NewDisplayCapture.startNew(NewDisplayCapture.java:192)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:207)
at com.genymobile.scrcpy.video.NewDisplayCapture.start(NewDisplayCapture.java:206)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:95)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:292)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:292)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:1012)
at java.lang.Thread.run(Thread.java:1012)
INFO: Renderer: direct3d
INFO: Renderer: direct3d
WARN: Device disconnected
WARN: Device disconnected
ERROR: Demuxer 'audio': stream disabled due to connection error
ERROR: Demuxer 'audio': stream disabled due to connection error