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

any chance you have a release available? #1

Open
rwebber opened this issue Sep 26, 2017 · 19 comments
Open

any chance you have a release available? #1

rwebber opened this issue Sep 26, 2017 · 19 comments

Comments

@rwebber
Copy link

rwebber commented Sep 26, 2017

Any chance you have a release of this project available?

@aurialLoop
Copy link
Contributor

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

@anibalzorrilla
Copy link

We are waiting for!

@rwebber
Copy link
Author

rwebber commented Sep 27, 2017

amazing!

@aurialLoop
Copy link
Contributor

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
Copy link

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
Copy link
Author

rwebber commented Sep 29, 2017

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
Copy link
Contributor

@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
Copy link

@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
Copy link
Contributor

@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
Copy link
Author

rwebber commented Sep 29, 2017

@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
Copy link
Contributor

@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
Copy link

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

@aurialLoop
Copy link
Contributor

@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
Copy link
Author

rwebber commented Sep 29, 2017

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

@anibalzorrilla
Copy link

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

imagen

And the result is:

imagen

Spout works fine:

imagen

Thanks!

@rwebber
Copy link
Author

rwebber commented Oct 3, 2017

@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
Copy link
Contributor

@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
Copy link

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

@shwhjw
Copy link

shwhjw commented Aug 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants