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

Tiny Window on Start Up #3874

Open
prosmart opened this issue Mar 29, 2023 · 10 comments
Open

Tiny Window on Start Up #3874

prosmart opened this issue Mar 29, 2023 · 10 comments

Comments

@prosmart
Copy link

prosmart commented Mar 29, 2023

Ubuntu 22.04 LTS
XWindows
scrcpy 1.21
Pixel 6 Pro

Every time I start scrcpy i get a tiny window in the centre of my monitor:

image

Doesn't make any difference using a -m startup parameter. Tried multiples. Always starts the same size.

Grab handles are there and I can expand the initial size successfully.

@prosmart
Copy link
Author

Just discovered --window-width and this seems to address. The default of width and height of zero (automatic) seems to not like my Pixel 6 Pro.

@rom1v
Copy link
Collaborator

rom1v commented Mar 29, 2023

Could you try with a newer version (2.0)?

https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version

@prosmart
Copy link
Author

I'll try a later version tomorrow and let you know how that goes.

@prosmart
Copy link
Author

prosmart commented Apr 2, 2023

Just downloaded the necessary libraries, pulled the code and installed. Sorry to report that it is still the same.
Screenshot from 2023-04-02 15-56-53
That screen capture is only 83 x 111 so you can imagine how small the application window is.

@fleapower
Copy link

I just installed SCRCPY in Fedora 40 (KDE w/ Wayland) and am having this issue. The --window-width and --windows-height parameters do not change the startup window size. I'm new to Linux (used SCRCPY on Windows) so please forgive my ignorance. Any fixes? Thanks!

@LuanVSO
Copy link

LuanVSO commented Jun 23, 2024

workaround: set SDL_VIDEODRIVER=x11

@fleapower
Copy link

workaround: set SDL_VIDEODRIVER=x11

Thanks!

@fleapower
Copy link

fleapower commented Jun 23, 2024 via email

@LuanVSO
Copy link

LuanVSO commented Jun 23, 2024

lastest update from the copr repo seems to improve the behaviour on the wayland backend:
image
now it launches with a 256x285 window size

@fleapower
Copy link

Thanks. I'll give it a shot.

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

4 participants