Giter Site home page Giter Site logo

Comments (6)

grancia avatar grancia commented on August 18, 2024

Hi,

Do you have a log( %LOCALAPPDATA%\FBCapture\FBCaptureSDK.txt)? One thing you might want to take a look is D3D11CreateDevice in FBCaptureSystem.cpp. If it's failing there, you will need to install D3D11 SDK layer or you can also remove that flag.

Solution 1:
#ifdef DEBUG
// createDeviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
#endif

Solution 2:
https://stackoverflow.com/questions/32809169/use-d3d11-debug-layer-with-vs2013-on-windows-10

from 360-capture-sdk.

psychicteeth avatar psychicteeth commented on August 18, 2024

Thanks, I will check those solutions out. The log is thus:

[ 2018-07-04 09:52:54 ][INFO] Capture SDK Version: : 2.0
[ 2018-07-04 09:52:54 ][INFO] Graphics Card Info: : Radeon RX 580 Series
[ 2018-07-04 09:52:54 ][INFO] Graphics Card Info: : Microsoft Basic Render Driver
[ 2018-07-04 09:52:54 ][INFO] Output folder already existed
[ 2018-07-04 09:52:54 ][INFO] AMF version (header): : 1000400000000
[ 2018-07-04 09:52:54 ][INFO] AMF version (runtime): : 1000400020000
[ 2018-07-04 09:52:54 ][INFO] Passed capture capability tests. Ready to start encoding
[ 2018-07-04 09:52:55 ][ERROR] No endpoints found
[ 2018-07-04 09:52:55 ][INFO] Can't find VR audio devices. Just use default audio input and output
[ 2018-07-04 09:52:55 ][ERROR] Failed to get default input audio endpoint with GetDefaultAudioEndpoint. [Error code] : -2147023728
[ 2018-07-04 09:52:55 ][INFO] But we want to keep going without microphone
[ 2018-07-04 09:52:55 ][INFO] Start audio capture
[ 2018-07-04 09:52:55 ][INFO] Encoding configuration is initiated

And the crash occurs when you start recording. The encoding thread starts up, and when you pass the first frame the AMD encoder crashes. The call stack looks like:

ID3D11DeviceContext::CopySubresourceRegion
AMDEncoder::fillSurface
AMDEncoder::encodeMain
EncoderMain::startEncoding

from 360-capture-sdk.

psychicteeth avatar psychicteeth commented on August 18, 2024

Output from DirectX

D3D11 CORRUPTION: ID3D11DeviceContext::CopySubresourceRegion: First parameter is corrupt or NULL [ MISCELLANEOUS CORRUPTION #13: CORRUPTED_PARAMETER1]

from 360-capture-sdk.

psychicteeth avatar psychicteeth commented on August 18, 2024

The texture descriptors look fine - they match exactly except for the encoding texture is marked as a shared resource
image

from 360-capture-sdk.

psychicteeth avatar psychicteeth commented on August 18, 2024

The crash also occurs if you replace CopySubresourceRegion with CopyResource

from 360-capture-sdk.

grancia avatar grancia commented on August 18, 2024

Can you check if you're still able to see the issue with v2.2? Please don't forget to build in release mode or remove following line in FBCaptureSystem.cpp if you didn't install D3D11 SDK Layers library.

#ifdef DEBUG
// createDeviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
#endif

from 360-capture-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.