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

[Bug]: D3DTexture2D import encode crashing with MFX_ERR_LOCK_MEMORY #318

Open
ma3uk opened this issue Feb 17, 2024 · 0 comments
Open

[Bug]: D3DTexture2D import encode crashing with MFX_ERR_LOCK_MEMORY #318

ma3uk opened this issue Feb 17, 2024 · 0 comments
Assignees

Comments

@ma3uk
Copy link

ma3uk commented Feb 17, 2024

Which component impacted?

Encode

Is it regression? Good in old configuration?

None

What happened?

OS: Windows 11 23 H2
Video driver: gfx_win_101.5330, gfx_win_101.5194, gfx_win_101.5186
Video card: Arc A380

I am developing a plugin for OBS Studio using libvpl for real-time coding. With the release of libvpl 2.10, textures for encoding were added and supported, it works, but I ran into a problem, after a few minutes the encoding process was interrupted with the error MFX_ERR_LOCK_MEMORY from the EncodeFrameAsync function. Further attempts to start encoding are immediately interrupted with the MFX_ERR_LOCK_MEMORY error until the application is restarted.

A step-by-step process that I'm doing:

  1. A pool of intermediate textures is being created
  2. Copying an external texture to pool
  3. Importing textures from a pool to libvpl
  4. Encode
    The error occurs at stage 4. There are no errors in the first 3 stages

The source code of the application can be found at the links below:

It is also worth clarifying that in my case the error occurs when encoding the 65537 frame.

What's the usage scenario when you are seeing the problem?

Game Streaming

What impacted?

No response

Debug Information

No response

Do you want to contribute a patch to fix the issue?

None

@ma3uk ma3uk changed the title [Bug]: D3DTexture2D import encode crashed with MFX_ERR_LOCK_MEMORY error [Bug]: D3DTexture2D import encode crashing with MFX_ERR_LOCK_MEMORY Feb 20, 2024
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