Multiple monitors support patch – by Nir Hasson

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: Multiple monitors support patch – by Nir Hasson

Post by Assaf Raman »

We have no "networked streaming" render system, it is a good idea - but no one (as far as I know) implemented it in OGRE in the core level.
Watch out for my OGRE related tweets here.
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: Multiple monitors support patch – by Nir Hasson

Post by spacegaier »

Perhaps put that idea on the HelpRequested wiki page then?
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: Multiple monitors support patch – by Nir Hasson

Post by Assaf Raman »

Mmm, we were never able to decide if a general networked render system should be a part of OGRE.
As I remember - some of the team members didn't think that the networking code should be a part of OGRE core.
Yes, add it, it can be nice to have, I needed the same requirement over and over.
Watch out for my OGRE related tweets here.
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: Multiple monitors support patch – by Nir Hasson

Post by spacegaier »

Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: Multiple monitors support patch – by Nir Hasson

Post by Assaf Raman »

You want to add something about multiple computers used to render a single view and communicate with each other with a network.
Watch out for my OGRE related tweets here.
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 136

Re: Multiple monitors support patch – by Nir Hasson

Post by spacegaier »

Okay, it is probably more effective if you just add that, rather than me going through thousands of iterations until it is fine :D .
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: Multiple monitors support patch – by Nir Hasson

Post by Assaf Raman »

You are right.
Watch out for my OGRE related tweets here.
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Re: Multiple monitors support patch – by Nir Hasson

Post by syedhs »

Honestly, I think it is not Ogre-related features. And plus, there are many network libraries around - so which you going to choose?
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
CABAListic
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2903
Joined: Thu Jan 18, 2007 2:48 pm
x 58

Re: Multiple monitors support patch – by Nir Hasson

Post by CABAListic »

Yeah, this is not a core feature, to be sure. But it could still be an interesting project for an addon (not in the core codebase, though).
ngcmos
Gnoblar
Posts: 4
Joined: Wed May 04, 2011 4:45 pm

Re: Multiple monitors support patch – by Nir Hasson

Post by ngcmos »

To go back to the multi-monitor support of Ogre 1.7, I am having a similar problem to juharkonen's and to http://www.ogre3d.org/forums/viewtopic.php?f=2&t=61190.

I am using Win7 with Nvidia Quadro 5000 (Nvidia with Win7 has no spanning desktop available as far as I understand, so I'm using extended desktop), 2 monitors at 1920x1200.

My application runs with 2 borderless 1920x1200 windows, each on one monitor. With the upgrade to 1.7, I get this error:

Code: Select all

OGRE EXCEPTION(7:InternalErrorException): Cannot begin frame - no viewport selected. in D3D9RenderSystem::_beginFrame at ..\..\..\ogre_src_v1-7-2\RenderSystems\Direct3D9\src\OgreD3D9RenderSystem.cpp (line 2819)
This happens also when I use only one window and I move it from one monitor to another. It works well with an ATI card I have, using spanning desktop (but not extended). I hope to find a better solution than to get a new video card; any hints will be welcomed.

What is more troubling though is this. Using the the sample browser in windowed mode, with the Compositor sample, I tried to move it from one monitor to another. It works fine except if I have the B&W or the Heat Vision compositors on - then the sample browser crashes with:

Code: Select all

OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource RT in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 753)
Any thoughts? Anything I should try?
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel
x 76

Re: Multiple monitors support patch – by Nir Hasson

Post by Assaf Raman »

ngcmos wrote:...Nvidia with Win7 has no spanning desktop available as far as I understand...
There is such an option, look for "stretch" .
Watch out for my OGRE related tweets here.
ngcmos
Gnoblar
Posts: 4
Joined: Wed May 04, 2011 4:45 pm

Re: Multiple monitors support patch – by Nir Hasson

Post by ngcmos »

Thanks Assaf for the suggestion. I can't seem to find any "Stretch" besides the desktop background option. I only have Extend and Duplicate Displays as multi-monitor configuration options. There is also NVIDIA scaling vs display's built-in scaling, but that is on a per-monitor basis. Would stretch be in these categories or is it something completely different?

I should clarify that the problem is more along the lines of this: http://www.ogre3d.org/forums/viewtopic.php?f=2&t=61190. Unfortunately spanning mode does not exist on Windows Vista and Windows 7 with NVIDIA (http://nvidia.custhelp.com/cgi-bin/nvid ... faqid=2026). In extended mode, for some reason the sample browser would mysteriously crash with the compositors mentioned.

However, I did find "Set up Mosaic" in the NVIDIA control panel (I don't know how I missed that before!). It fixed the sample browser crash problem.

Now for my application, I could not make 2 windows to work each on their own monitor (window in monitor 2 is black) but I can make 1 window that stretches onto both. I guess that will have to do for now.
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: Multiple monitors support patch – by Nir Hasson

Post by Transporter »

Use case: Many monitors joined toghether to form one huge screen, where each monitor has its own PC/CPU. The different PCs now need to update the scene via the network...so stream the scene state. An example could be many screens forming a circle where the user stands in the middle and his/her movements/gestures should e.g. move the scene displayed on the screens around him.
I'm setting up such an environment now. In the beginning I have two rendering computers each with two graphic cards and three displays. I can post the results after I finished but first I need some help how to setup multiple monitors. Has somebody a code example how to setup multiple displays? This is a common question now, It would be helpful to post an example or create a wiki page.
nickG
Greenskin
Posts: 122
Joined: Fri Jan 20, 2012 6:44 pm
Location: Russia,Moscow
x 1

Re: Multiple monitors support patch – by Nir Hasson

Post by nickG »

What status on current version?-i'm cannot check now
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: Multiple monitors support patch – by Nir Hasson

Post by Transporter »

Multiple monitors are working with 1.9.0, 1.10.0 and also 2.0.0 out of the box.