-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No displays show up on Android 12 #1
Comments
If I run them manually I get the fake display on the device but the grep for ID returns too much info
|
If I manually try scrcpy with display 4 it launches but just to black. The fake display on device still just shows the mirrored screen. |
could you send the output of just the |
|
i have a feeling that that's not the full output, as it is missing quite a bit of entries you could try |
That's everything... |
yeah i need an android 12 device to test, it seems that something was changed by google |
I'm getting more output than OP if this helps:
That is with legacy Wiindows PowerShell. If I try with PowerShell Core 7.1.4 I get another error on top of that:
I tried running in Windows Terminal, and again just in normal console windows in case the error was related (same output each time). My psychic developer senses (eg educated guess, speculation, didn't read the script) tell me your child process is exiting before you're checking its status. You should catch and ignore this error (though it;'s probably happening because the child process is failing so you should try to detect that as well some other way). Also note it kills my powershell process, which is odd. It should dump me back to the prompt instead. Something weird is going on. Make sure you're not issuing some exit command which kills the whole shell (I know command prompt's exit can do that in batch files; not sure if powershell has something similar) As a side note, the docs don't mention you have to enable NullKeyboard in Android language settings, not just install the app, you should probably add a step for that. I am running a rooted Pixel 6 Pro running Android 12. Let me know if I can grab more data for you or help in some other way. |
does regular scrcpy work? it seems that something changed in android overall to break this. |
Regular scrcpy works for me as it was updated for Android 12. I tried using
the same version here
…On Mon, Nov 29, 2021, 5:38 AM Nikola Pavlica ***@***.***> wrote:
does regular scrcpy work? it seems that something changed in android
overall to break this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC4AHNHHC7CZGZSQO3SEH3UONJ2NANCNFSM5GECD6EA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Did anyone manage to get a fix for this? |
Fix obtaining display ID up untill android 12L at least - fix #1
Pixel 3 XL
Nothing happens on the phone
The text was updated successfully, but these errors were encountered: