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

No matching fbConfigs or visuals found && failed to load driver: swrast #3622

Open
ir4ever opened this issue Dec 15, 2022 · 3 comments
Open

Comments

@ir4ever
Copy link

ir4ever commented Dec 15, 2022

  • [*] I have read the FAQ.
  • [*] I have searched in existing issues.

Environment

  • OS: Kali
  • scrcpy version: 1.24
  • installation method: snap
  • device model:
  • Android version: samsung SM-N9600 (Android 10)

Describe the bug
I run scrcpy and the result is:

scrcpy 1.24 https://github.com/Genymobile/scrcpy

scrcpy 1.24 https://github.com/Genymobile/scrcpy
/usr/local/share/scrcpy/scrcpy-server:...shed. 5.1 MB/s (41159 bytes in 0.008s)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error: GLXBadContext
Request Major code 152 (GLX)
Request Minor code 6 ()
Error Serial #114
Current Serial #113

Other
$ nvidia-smi -i 0 -q
Driver Version : 510.85.02
CUDA Version : 11.6

Attached GPUs : 1

Product Name : NVIDIA GeForce GTX 1660 SUPER
Product Brand : GeForce
Product Architecture : Turing
Display Mode : Enabled
Display Active : Enabled
Persistence Mode : Disabled

@rom1v
Copy link
Collaborator

rom1v commented Dec 15, 2022

Please try a non-snap version.

@ir4ever
Copy link
Author

ir4ever commented Dec 15, 2022

Scrcpy dont listed in kali repositories

@rom1v
Copy link
Collaborator

rom1v commented Dec 15, 2022

You can easily install it manually: https://github.com/Genymobile/scrcpy/blob/master/BUILD.md#simple

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