Skip to content
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

Quest 2 stuck on black screen #3493

Closed
2 tasks done
anton-exe opened this issue Sep 9, 2022 · 10 comments
Closed
2 tasks done

Quest 2 stuck on black screen #3493

anton-exe opened this issue Sep 9, 2022 · 10 comments

Comments

@anton-exe
Copy link

anton-exe commented Sep 9, 2022

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Arch Linux
  • scrcpy version: 1.24
  • installation method: pacman
  • device model: Quest 2
  • Android version: 10

Describe the bug
After setting the -w flag the device went to sleep anyways and got stuck on the same image after being awakened. After reboot the screen is black with the backlight on.

On errors, please provide the output of the console (and adb logcat if relevant).
N/A

@rom1v
Copy link
Collaborator

rom1v commented Sep 9, 2022

After setting the -w flag the device went to sleep anyways

Is the device connected over USB? This flag sets the Android setting stay_on_while_plugged_in, which prevents the device to sleep only when plugged in.

got stuck on the same image after being awakened

Which SDL version? Wayland? If you record (scrcpy --record file.mp4), is the image also stuck in the recorded file?

@anton-exe
Copy link
Author

anton-exe commented Sep 9, 2022

Is the device connected over USB?

No. I was using tcpip and didn't know it worked like that.

Which SDL version? Wayland?

Not 100% sure what an SDL is but I use Xorg.

I'll try recording in a moment.

@anton-exe
Copy link
Author

The recording is blank apart from the 3 loading dots which also appear in the headset but I forgot to mention.

test.mp4

@rom1v
Copy link
Collaborator

rom1v commented Sep 9, 2022

Oh so you probably just run an app with a protected screen (FLAG_SECURE, #36, #2129)

@anton-exe
Copy link
Author

I think the login menu has that then :/. Do you know how to bypass this since the issues don't seem to mention it.

Also, there might have been a misunderstanding. The device itself has a black screen.

@rom1v
Copy link
Collaborator

rom1v commented Sep 9, 2022

there might have been a misunderstanding. The device itself has a black screen.

Ah, then it's not a problem in scrcpy (unless you pass -S/--turn-screen-off).

@anton-exe
Copy link
Author

Do you kow how to fix it though?
I tried googling but noone else had this problem, I don't know where else to ask, and this problem seems to have been caused by using the -w flag.

@rom1v
Copy link
Collaborator

rom1v commented Sep 9, 2022

this problem seems to have been caused by using the -w flag

Probably not.

Did you pass any other flag?

Do you kow how to fix it though?

I don't know what the problem is. Your device shows a black screen, it is probably not related to scrcpy.

@anton-exe
Copy link
Author

anton-exe commented Sep 9, 2022

Did you pass any other flag?
I also passed --crop which was working fine alone.

The problem only started after I used -w, and the screen's backlight is still on.

Also, sorry for posting here, I just don't know where else to look for help.

@anton-exe
Copy link
Author

i should prob just close this since it was likely a device issue in hindsight

@anton-exe anton-exe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants