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

scrcpy does not show up possibly after messing around with OpenGL drivers #1727

Closed
enovella opened this issue Aug 31, 2020 · 3 comments
Closed

Comments

@enovella
Copy link

[14:19 edu@xps ~] >  glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (CFL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.6 - kisak-mesa PPA
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.1.6 - kisak-mesa PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.1.6 - kisak-mesa PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
[14:21 edu@xps ~] >  scrcpy
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 2.6 MB/s (33622 bytes in 0.012s)
[server] INFO: Device: Google Pixel 3a (Android 10)
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 Mesa 20.0.8
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2216

I see the everything working as usual, but the screen does not show up. There's basically no window, only the Android icon.

@rom1v
Copy link
Collaborator

rom1v commented Aug 31, 2020

If you record instead of displaying, does it work?

scrcpy --no-display --record file.mkv

@enovella
Copy link
Author

If I comment this line, then it works. But I do need to disable Wayland for other reason such as Google meets. Any workaround?

[14:30 edu@xps ~] >  cat /etc/gdm3/custom.conf | grep -i wayland
#WaylandEnable=false

@rom1v
Copy link
Collaborator

rom1v commented Aug 31, 2020

I don't know, scrcpy is expected to work on Wayland (cf for example #1536).

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