spiraltechnica / ScreenShare

Share your screen as a texture via the Spout texture sharing framework.
23 stars 1 forks source link

any chance you have a release available? #1

Open rwebber opened 7 years ago

rwebber commented 7 years ago

Any chance you have a release of this project available?

aurialLoop commented 7 years ago

Hi there. I can see about compiling a build and putting it up on this repository in the next day or so :)

anibalzorrilla commented 7 years ago

We are waiting for!

rwebber commented 7 years ago

amazing!

aurialLoop commented 7 years ago

I've tidied up the code and updated to latest openframeworks 0.9.8 and spout 2.006. I've compiled a 1.0 version for you to try: https://github.com/spiraltechnica/ScreenShare/releases/tag/v1.0

Enjoy :)

anibalzorrilla commented 7 years ago

I am testing, for twice it crashed, I think because is necesary launch the app with the spout receiver working before... When it works, the result is like this: imagen Is it normal? Thanks!

rwebber commented 7 years ago

I have tested the build on my Win 10 64 bit machine, using Isadora as a Spout receiver (utilizing the Spout FFGL plugin). I have not had any issue with the order of launch. The app launches and starts to send a Spout feed of the Main Display. I can easily pick this up on the Isadora side. I do have 2 possible bugs to report, and a minor feature request. bug1: the window that opens to show the primary display, is showing an area larger than my primary ( I think it matches my second display, which is my largest). I can work around this. bug2: the app crashes is the ScreenShare 'display' window is minimized. featureRequest: a terminal style window opens with the app, it would be nice to disable this window. If you don't know how to do this I can share the code I use.

Thanks again for publishing this so quickly.

aurialLoop commented 7 years ago

@rwebber I'll adjust the default window size to something smaller than 1280x720. You should be able to drag and resize the window however. And yeah, I'll look into the minimizing issue. I think it's to do with the fact that opengl context's don't render while they're minimised.

@anibalzorrilla you shouldn't need a spout receiver setup for this to work. The app will create a spout sender, which then Spout adds to its list of available senders for receivers to pickup when necessary. That output is also wrong...which could point to a number of potential issues. Could you describe what kind of setup you're running? E.g., windows 10, 64bit, what kind of graphics card, etc? Thanks

anibalzorrilla commented 7 years ago

@aurialLoop My sistem: Windows 10 Home 64-bit, Intel Core i5 2430M @ 2.40GHz, RAM 4,00GB Single-Channel DDR3 @ 665MHz. My Nvidia: NVIDIA GeForce GT 540M, Manufacturer NVIDIA, Model GeForce GT 540M, GPU GF108, Device ID 10DE-0DF4, Revision A2.

aurialLoop commented 7 years ago

@anibalzorrilla Thank you! This is a laptop I'm assuming? I'm wondering if this could be an Nvidia Optimus issue. Can you try setting it to run on the Nvidia gpu instead of native, or if that doesn't work, then setting it to run on the integrated gpu on the i5? http://nvidia.custhelp.com/app/answers/detail/a_id/2615/~/how-do-i-customize-optimus-profiles-and-settings%3F

Thanks

rwebber commented 7 years ago

@aurialLoop It's not that the window pops up the incorrect size, its that it's capturing the wrong size. Bottom left of the ScreenShare window is my main displays bottom left, but the top edge and right edge have ~100px extra (black x bar top and right, black to match my desktop). My secondary display is 2048 x 1152 px, and my primary is 1920 x 1080, so it looks like its probably getting the width and height of the second display. (in settings Display 1 at 1920 x1080 is set as Primary). The received Spout also contains the top/right black area.

aurialLoop commented 7 years ago

@rwebber thank you that helps a lot. I think you're right. I believe what's happening is the ofGetScreenWidth() and height command must be getting the wrong monitor on start of application. I'll set it to force the primary and try again.

anibalzorrilla commented 7 years ago

@aurialLoop I shall do it in the week end, I tell you how it works, thanks!

aurialLoop commented 7 years ago

@rwebber and @anibalzorrilla Here is a new build that improves upon the issues mentioned. Thanks for bringing them up :) https://github.com/spiraltechnica/ScreenShare/releases/download/v1.1/ScreenShare.1.1.zip

@rwebber I think you're right about it being a good idea to remove the console window. I've got some code from another project that I can use. Will add it when I get around to another release :)

rwebber commented 7 years ago

@aurialLoop 1.1 is grabbing the correct display size for me now. And no crash when minimizing the display window :)

anibalzorrilla commented 7 years ago

@aurialLoop I did it, but it doesn't work.

imagen

And the result is:

imagen

Spout works fine:

imagen

Thanks!

rwebber commented 7 years ago

@aurialLoop Please try setting ScreenShare.exe to only use your dedicated graphics card via the NVidia control panel. It should be the 3D tab, there you select the EXE and set it to only use the dedicated card.

aurialLoop commented 7 years ago

@anibalzorilla,

As @rwebber suggests, try the Nvidia control panel route.

The bug you are experiencing is incredibly odd. Nothing in my code has anything to do with skewing an image like we see in your screenshots. I will investigate this more. I have an older laptop with a nvidia Optimus setup, so I will test with that.

So far though I must have tried this software on about 10 different computers, all worked and none has the issue you're experiencing. So there is some odd configuration or hardware issue happening.

anibalzorrilla commented 7 years ago

I updated my driver nvidia and the control panel has disappeared... I am looking for solve this problem.

shwhjw commented 4 years ago

Works great, thanks so much! Took a lot of googling to find.