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

CPU mode support #20

Closed
erikhric opened this issue Sep 25, 2018 · 17 comments
Closed

CPU mode support #20

erikhric opened this issue Sep 25, 2018 · 17 comments
Assignees
Labels

Comments

@erikhric
Copy link

I can see all of my spout senders in resolume arena and in any demo app for receiving spout input.
When I play any of the streams I always get only blank black screen.
Has anybody had this issue before? Can specific graphics card be problem?
When I play demo app I can receive any other spout application even the demo itself.

@keijiro keijiro self-assigned this Sep 25, 2018
@keijiro
Copy link
Owner

keijiro commented Sep 25, 2018

Which "demo app" are you trying? Is it a demo sender/receiver app included in the official Spout package, or example scenes included in this package (KlakSpout)?

@erikhric
Copy link
Author

I'm using Unity Scene Included in project to receive output from Spout sample sender and it works.
But when I try to do the opposite - stream from unity via KlakSpout to demo receiver or resolume arena I get only black screen. All of the senders are listed, but when I select them they only show black screen.
Thank you for your assistance in this matter.

@keijiro
Copy link
Owner

keijiro commented Sep 26, 2018

Thanks for clarification. Hmm, weird. The sender implementation is fairly simple and rarely has trouble. Could you send the editor log? I'd like to look into it.

@erikhric
Copy link
Author

Thank you for the quick reply. Here is the log file:
Editor.log

Spout demo sender is working flawlessly in Resolume Arena:
spout-cam1-working

But klakSpout sources are still black like this:
sput-dx11-cpu-sender-not-working

@keijiro
Copy link
Owner

keijiro commented Sep 26, 2018

Thanks for providing the information.

I noticed that the window title contains the word "CPU" -- indicating that it's running in the CPU mode. It means your PC doesn't support NV_DX_interop extension, so the textures are not actually shared between apps (transferred via CPU instead).

I wonder if it actually doesn't. As far as I know, most GPUs support it (including AMD, Intel ones). Are you using the latest version of the graphics driver? If not, I'd strongly recommend updating it.

@erikhric
Copy link
Author

We are trying to run this on computer with integrated intel graphics running on latest version of the driver. Name ' Spout DX11 CPU Sender' comes from the demo sender application.

spout dx11 cpu sender-explanation

@michalkrendzelak
Copy link

Hello keijiro,
I am working on the project mentioned above together with Erik. I would like to ask what is the difference between spout inputs that I see in resolume:

  • Direct show capture devices / Spout Cam 1
  • Spout / [sender name for example ' Spout DX11 CPU Sender' ]
    (because first one works with demo sender, other not + for all other builds we have no option : 'Direct show capture devices / Spout Cam 1')

Thank you very much for your support.
resolume-spout inputs

@keijiro
Copy link
Owner

keijiro commented Sep 26, 2018

Please ignore Spout Cam. You shouldn't use it if the application supports Spout.

@michalkrendzelak
Copy link

ok, understood. do you have any advice for us what should we do next?
Do you need any additional information from us? thx again.

@keijiro
Copy link
Owner

keijiro commented Sep 26, 2018

I don't have any PC that lacks NV_DX_interop support -- actually I didn't know that there is such a case with the current generation PCs.

I'd admit I have no workaround for this problem. I'll think about how I can test it with my dev environment.

@keijiro keijiro added bug and removed question labels Sep 26, 2018
@keijiro keijiro changed the title Black screen in resolume arena CPU mode support Sep 26, 2018
@Milkorva
Copy link

Hi Keijiro,
Thanks for this Unity's spout version !
I just have one question. I have quite the same problem that other guys. When I play your scene exemple, Spout receiver shows me all the cameras but I've got only a black screen (with the name of the camera). I already check that I'm using DirectX 11 in my player settings. For informations, I don't have Spout problem with other softwares. I send you in attached file a screenshot of my setup.

Do you have any ideas of what it's going wrong ?
Thanks so much.

spout

@keijiro
Copy link
Owner

keijiro commented Feb 24, 2019

@Milkorva Thanks for reporting. Could you send the Editor log file?

@Milkorva
Copy link

Here it is :)

Editor.log

@keijiro
Copy link
Owner

keijiro commented Feb 24, 2019

Hmm, weird. According to your screenshot, the receiver is running in the memoryshare mode. It's only used when the hardware doesn't support direct GPU sharing.

Could you try changing configurations to disable it? I'm not sure how to do it because it's not used by default.

@Milkorva
Copy link

You're totally right ! For a project I changed the Spout settings. I put them back and it works perfectly now!
Well done ! :)

@keijiro
Copy link
Owner

keijiro commented Feb 24, 2019

Thanks for shaking it out. I'll add it to the documentation.

@keijiro
Copy link
Owner

keijiro commented Apr 18, 2020

The CPU mode support is going to be removed in Spout SDK 2.007, so I'd like to abandon the CPU mode support in this plugin.

@keijiro keijiro closed this as completed Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants