Giter Site home page Giter Site logo

Comments (5)

leadedge avatar leadedge commented on June 25, 2024

GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT is commented out in the function PrintFBOstatus. I can't recall now the problem I had with it. Try removing it.

But the fact that the Spout Demo receiver does not get the texture from the sender indicates a possible driver issue. Try using "SpoutDXmode" and select "CPU texture mode". Test again with the demo sender and receiver. Also try "Shared Memory". Success or failure with these will narrow it down.

from spout2.

SirDifferential avatar SirDifferential commented on June 25, 2024

CPU mode works, shared memory works. Both have bad FPS though, shared memory more so. CPU mode has good framerate, but occasional hick-ups.

I changed https://github.com/leadedge/Spout2/blob/master/SpoutSDK/Source/SpoutGLDXinterop.cpp#L1644

from

if(status == GL_FRAMEBUFFER_COMPLETE_EXT) {

to

if(status == GL_FRAMEBUFFER_COMPLETE_EXT || status == GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT) {

And no errors are logged anymore. The texture is not transferred, though. The received texture is completely black.

EDIT: I just disabled "DX9" in the Spout DXmode, and the transmission started working in both the demo and our application. So this is a DX9 issue?

from spout2.

leadedge avatar leadedge commented on June 25, 2024

I recall a similar problem a while back with Unity where switching to DX11 solved an antialiasing problem which could have been due to multisampling.

It is discussed for DirectX 9 in the specification document. Look at the DISCUSSION section and the example code -
http://developer.download.nvidia.com/opengl/specs/WGL_NV_DX_interop.txt

But it is not mentioned in the DirectX 11 equivalent -
https://www.khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop2.txt

I don't know the significance of this in your application but maybe it might give you some ideas.

Edit:
In the first document they mention "driver control panel settings regarding anti-aliasing". The NVIDIA control panel has several settings for antialiasing. Maybe there are different settings on this particular machine

from spout2.

SirDifferential avatar SirDifferential commented on June 25, 2024

The Intel control panel has application specific options under the "3D" page that include CMAA aliasing, MSAA aliasing and anisotropic filtering. I played around with all those settings with DX9 enabled, but couldn't get anything displaying. I don't know if updating the GPU driver would make a difference as in this case we can't upgrade the drivers due to the specific driver version being required.

As far as our case is considered using DX11 solves this issue.

from spout2.

leadedge avatar leadedge commented on June 25, 2024

OK then. I think it is in the too hard basket. May we close this issue?

from spout2.

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.