Matrox, and window size?

Hello everyone!

I recently buy a Matrox Digital ME splitter, and i’m trying to use it with two screen… But, the window do not want to take the rigth heigth and width… even with “windowResized”.

I want my window App 1360*2 x 768px… And it is not working if i want more, it just keep the size of one screen (and i don’t use ofGetWidth…).

Does anyone had the same problem?

Hey, sorry for some obvious questions here:
Did you check out the display settings options? are the screens connected? what does you panel look like ? what windows? or linux?
There must be a way to do it…

this is very old but it might help:

No, thank you for this question, i was a little bit fast.

I’m working on Xcode on OSX (maverick, not windows, but i will look at your link), and i have two televisions screen, who are perfectly connected to the matrox display, and i use the matrox software to have a 1360*2 x 768px resolution.

When i click on the resize button, it works perfectly, but i want to have it in a fullscreen mode :frowning:

Can you help me about it?

how does your main.cpp look like?
maybe this post will help you better:

sorry, what is the [image] sidebar ?

here is my main.cpp

#include “ofMain.h”
#include “ofApp.h”

//========================================================================
int main( ){
    //ofSetupOpenGL(1360, 768,OF_WINDOW);            // <-------- setup the GL context
    
    ofSetupOpenGL(1360*2, 768, OF_FULLSREEN);
    ofSetWindowPosition(ofGetWidth(), 0);

// this kicks off the running of my app
    // can be OF_WINDOW or OF_FULLSCREEN
    // pass in width and height too:
    ofRunApp(new ofApp());

}

try this in main.cpp

#include "ofMain.h"
#include "ofApp.h"
int main( ){
	ofSetupOpenGL(1024,768,OF_FULLSCREEN);
	ofRunApp(new ofApp());
}

and this in the ofApp.h:

void ofApp::setup(){
	ofSetWindowPosition(0, 0);
	ofSetWindowShape(ofGetScreenWidth()*2, ofGetScreenHeight());
}

Let us know what is the result please.

Probably something like that would work :

In main.cpp:

#include "ofMain.h"
#include "testApp.h"

#include "ofAppGLFWWindow.h"

int main(){
 ofAppGLFWWindow window; 
 window.setMultiDisplayFullscreen(true);
 ofSetupOpenGL(&window,  1360*2, 768, OF_FULLSCREEN);
 ofRunApp(new testApp());
}

yes that must do too. Both codes work well on my computer.

… hmm… simply…
… i restarted my computer, and it’s working fine now… (i’m laugthing, that was really stupid, my apologize ^^")