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

rendering is not smooth in scrcpy on 60fps . i have noticed .. motion blur is not there mirroring #1077

Open
StylishBoyGaming opened this issue Jan 11, 2020 · 14 comments

Comments

@StylishBoyGaming
Copy link

No description provided.

@rom1v
Copy link
Collaborator

rom1v commented Jan 11, 2020

If you record, then play, is it better?

If you show the FPS in the console (press Ctrl+i in the scrcpy window, look at the logs in the console), what happens? (move things randomly on the screen so that the screen keeps updating at a maximum frame rate)

@StylishBoyGaming
Copy link
Author

@rom1v recording not have these problem... but this problem is with live time rendering .. try to to understand there is with your renderer
https://github.com/barry-ran/QtScrcpy @rom1v use this modded scrcpy ..you will understand my point. this modded scrcpy is smoother than original scrcpy .. plzz understand my point

@rom1v
Copy link
Collaborator

rom1v commented Jan 13, 2020

Which version of scrcpy do you use?

Try with a different version of SDL (see #425).

@StylishBoyGaming
Copy link
Author

@rom1v i use 1.12.1 scrcpy . i am talking about g sync and smoothness
in scrcpy .. hope you will understand ..

@StylishBoyGaming
Copy link
Author

@rom1v use this https://github.com/barry-ran/QtScrcpy ... and play any 60 fps game in mobile you will understand ..plz its will improve you scrcpy project.

@StylishBoyGaming
Copy link
Author

https://github.com/barry-ran/QtScrcpy
Can you use this opengl renderer instead of sdl renderer plzzz ..?

@rom1v
Copy link
Collaborator

rom1v commented Jan 14, 2020

SDL uses OpenGL on Linux, Direct3d on Windows, etc.

https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER

Which platform do you use?

Could you please enable FPS loggkng in the console: #1077 (comment)

@StylishBoyGaming
Copy link
Author

@rom1v i use windows 10 pro

@rom1v
Copy link
Collaborator

rom1v commented Jan 15, 2020

Try to force opengl by setting the hint in the code: https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER

Maybe your direct3d driver is slower.

@StylishBoyGaming
Copy link
Author

@rom1v how to force sdl to render through opengl in windows ..can you do this for me plzz i dont have much knowledge about codding

@dilbert168
Copy link

@rom1v I also has this issue while playing a test video clip at 60 fps, I noticed that frame drop on Window10 with i5 PC connecting with USB.

I understand that Android Q together with v1.12.1 could change the fps on encoder side.
However, my project hardware is fixed at Android-9 and cannot be changed.
Will it be possible to change the code on Server side myself to fixed at 30fps ?

Thanks so much.

@rom1v
Copy link
Collaborator

rom1v commented Feb 7, 2020

@dilbert168 yes, #488 (comment)

@RajeevAvr
Copy link

Can i use a type-c (android)to type-c (laptop) to use scrcpy

@rom1v
Copy link
Collaborator

rom1v commented Jun 20, 2020

Probably, as soon as adb detects your device, it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants