Open rwebber opened 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 :)
We are waiting for!
amazing!
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 :)
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: Is it normal? Thanks!
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.
@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
@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.
@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
@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.
@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.
@aurialLoop I shall do it in the week end, I tell you how it works, thanks!
@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 :)
@aurialLoop 1.1 is grabbing the correct display size for me now. And no crash when minimizing the display window :)
@aurialLoop I did it, but it doesn't work.
And the result is:
Spout works fine:
Thanks!
@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.
@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.
I updated my driver nvidia and the control panel has disappeared... I am looking for solve this problem.
Works great, thanks so much! Took a lot of googling to find.
Any chance you have a release of this project available?