-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
When casting Oculus Quest Pro to Windows, the screen content is rotated approximately 30 degrees. #4135
Comments
This is how the content is rendered on Android. |
Sorry, I didn't quite understand what you meant. Did you meant that the content is rendered on Oculus Quest Pro is correctly ? If yes,you saying that scrcpy cannot solve this problem? Did scrcpy provide a cli arg to rotate the video stream ? |
Scrcpy captures what is rendered on the "surface". How the screen content is "transformed" by the Oculus device to display correctly for each eye is out of control of scrcpy. In theory, it could be possible to apply the same "warp" transformation, but it must be known (estimated), and scrcpy does not support such a feature anyway. It can only rotate by multiples of 90°: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#rotation |
Thanks for you reply . Could you provide a more granular cli argument about "rotation",for example :
|
If you think this feature should not be added to scrcpy , I wanto to know did the proposal is feasible in techonology ? I can try to fork this project to make custom changes if possible |
Oh, actually Lines 275 to 276 in 625934f
|
thanks, I will try it |
(just a speculation, I do not have any evidence) |
It's a trick to prevent the screen door effect. The screens for each eye in the Quest Pro are rotated 30 degrees in opposite directions which means the pixel grid for each eye no longer lines up and therefore isn't as visible. |
@zhang-1999 Do you got any success rotating the image for Quest Pro / Quest 3? |
I have a Quest 3 and Meta did the exact same trick with the panels. I wonder if this is possible to do via SDL_gfx or OpenGL, or possibly a homegrown transformation algorithm. Possibly could learn something from OBS since it has transforms as essential functionality. |
Hi All. Thank you so much for addressing this issue. When is this comming to release? I like to use scrcpy and hopefully later on SideQuest to Stream Again from the HMD. |
Environment
Describe the bug
When casting Oculus Quest Pro to Windows, the screen content is rotated approximately 30 degrees.
BTW,Oculus Quest 2 works well.
The text was updated successfully, but these errors were encountered: