No matching fbConfigs or visuals found && failed to load driver: swrast
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
Please try a non-snap version.
Scrcpy dont listed in kali repositories
You can easily install it manually: https://github.com/Genymobile/scrcpy/blob/master/BUILD.md#simple