scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

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

Open ir4ever opened this issue 3 years ago • 3 comments

  • [*] 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

ir4ever avatar Dec 15 '22 21:12 ir4ever

Please try a non-snap version.

rom1v avatar Dec 15 '22 21:12 rom1v

Scrcpy dont listed in kali repositories

ir4ever avatar Dec 15 '22 21:12 ir4ever

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

rom1v avatar Dec 15 '22 22:12 rom1v