Genymobile / Genymobile/scrcpy

Error: Could not create texture D3DPOOL_DEFAULT invalid call

Open
#3,569 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

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

Environment

  • OS: Win 7 32 bit guest over virtualbox 7 AND I tried also installing win10 pro 64bit, on Win 10 enterprise ltsc 2021 HOST
  • scrcpy version: all of them
  • installation method: windows zip unpacking
  • device model: Samsung s9+
  • Android version: 10

Describe the bug
not working software....Could not create texture D3DPOOL_DEFAULT invalid call

Situation description:
After 3 years with no updates of Virtualbox or my old win 10 ltsc, i decided to update both....and EVERYTHING stopped working.....
I had to reinstall windows 7 and got all sort of missing usb drivers for my old samsung s9+....
in the end I managed to solve all, except the "Could not create texture D3DPOOL_DEFAULT invalid call"..... I tried to use the scrcpy --render-driver=opengl command that kind of worked, but the app was acting broken, opening the window but showing a hole in the screen, dragging around the render of what was UNDER the window....how can i try to solve it?

Of course on the host it works like a charm.......so its a virtual machine problem.... (host win 10 enterprise ltsc 2021, guest win 7 2019)....every version I tried on the host operating system worked....

Thanks for any help

here the output

c:\Users\xxxxx\Desktop\scrcpy-win32-v1...ped. 45.4 MB/s (34930 bytes in 8.001s) 
[server] INFO: Device: samsung SM-G965F (Android 10)

Mesa: SVGA3D; build: RELEASE;

Mesa: mesa-21.3.8

Mesa: SUGA3D; build: RELEASE;

Mesa: mesa-21.3.8
INFO: Renderer: direct3d
INFO: Initial texture: 1448x2960
CRITICAL: Could not create texture: CreateTexture <D3DPOOL_DEFAULT): INUALIDCALL
WARN: Killing the server...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the reported VirtualBox Windows 7/10 environment and compare the default renderer with --render-driver=opengl. Trace the Windows rendering path around the reported D3DPOOL_DEFAULT texture-creation error; done means scrcpy displays the device screen correctly without the rendering artifact.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.