Comments (5)
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.
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.
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.
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.
OK then. I think it is in the too hard basket. May we close this issue?
from spout2.
Related Issues (20)
- I found 1-2 frame delay fluctuation when I used spout for texture transmission. How can I eliminate this delay? HOT 7
- Windows on ARM binaries missing HOT 8
- Exclude binaries from repo HOT 1
- Recommended API and method HOT 2
- A way to build Demo/SpoutSender.exe and Demo/SpoutReceiver.exe HOT 1
- Getting nullptr textures with spout receiver HOT 5
- Spout with WebGPU HOT 6
- D3D11 Format HOT 28
- SpoutSender/Receiver sourcecode HOT 5
- SpoutLibrary : unable to setup multiple named Spout Receivers HOT 11
- Unused #include <d3d9.h> in SpoutLibrary.h makes compilation with JUCE fail. HOT 2
- GL-Spout-NDI-DX ? HOT 3
- Global registry settings HOT 3
- Multiple Senders in SpoutDX HOT 4
- CPU sharing flag is always false in OpenSpout HOT 7
- Small code issue in SpoutGL.cpp HOT 3
- Use SendImage without using OF, Cinder, etc. HOT 2
- flickering because receiver sometimes can't access the shared texture. HOT 5
- Add ossia to the list of Spout-compatible software :) HOT 3
- Should the solutions be removed from the repo? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spout2.