scrcpy: Error: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Windows 10
  • scrcpy version: 1.14
  • installation method: Win64 Zip
  • device model: Xiaomi MI 8 (Android 10)
  • Android version: 10

Describe the bug

Whenever I started the scrcpy.exe, the following error shows on the console. The scrcpy itself works as usual, although a little slow. I’m not sure if the slowness is related to this error.

[server] INFO: Device: Xiaomi MI 8 (Android 10)
INFO: Created renderer: direct3d
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2248
ERROR: SDL failed to get a vertex buffer for this Direct3D 9 rendering batch!
ERROR: Dropping back to a slower method.
ERROR: This might be a brief hiccup, but if performance is bad, this is probably why.
ERROR: This error will not be logged again for this renderer.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 59

Commits related to this issue

Most upvoted comments

Try reducing the definition:

scrcpy -m1024

Does the lag still happen?

this the console output when I start v1.13:

OK, I bisected, bisect/bad is a3ef461d73c4b010eacfc1f6703d38d0f2e44fad.

Therefore, this is just due to a change in internal SDL logs that have been enabled.

I will investigate and do not enable them all, but there is no change in behavior.

oh, Lets hope there will be a way to improve this. Thank you @Artanisx @rom1v for the support. 😃