Advertisement Jump to content
Sign in to follow this  
Dumuzi

OpenGL OpenGL app output to two monitors in Linux?

This topic is 4880 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Could someone please explain to me how I could create an OpenGL application that would display graphics on two separate monitors in full screen mode under Linux? From what I understand, I can specify which display to use when I call glutInit. What I don't understand is how I can output to both displays. Would I need a separate thread for each display and each of the threads would call glutInit? If it matters, I am using the Intel 915G chipset. Thanks, Dave

Share this post


Link to post
Share on other sites
Advertisement
Connect the 2 monitors in Horizontal Span mode and create a window that spans both monitors and simply draw it. If you want to draw different things to each monitor, use separate glViewport's.

Hope this helps!

Share this post


Link to post
Share on other sites
Thanks, that's a start but if that's the standard way of doing it then I have a couple of questions.
- How do I configure X to support this for the 915G? I managed to find some instructions for nVidia chipsets but not Intel.
- Will both screen be acclerated?
- If no one here can help then where is a good place to find this information myself? I hate asking potentially newbish questions but I'm having a very difficult time finding Linux information on this. It's like trying to find a needle in a haystack except the needle is in 1000 pieces.

Thanks,
Dave

Share this post


Link to post
Share on other sites
Quote:
Original post by Dumuzi
Thanks, that's a start but if that's the standard way of doing it then I have a couple of questions.
- How do I configure X to support this for the 915G? I managed to find some instructions for nVidia chipsets but not Intel.

I don't know how to do this on Linux using Intel chip sets.

- Will both screen be acclerated?

If you had properly connected in Horizontal Span, it should be fully accelerated.

- If no one here can help then where is a good place to find this information myself? I hate asking potentially newbish questions but I'm having a very difficult time finding Linux information on this. It's like trying to find a needle in a haystack except the needle is in 1000 pieces.

Thanks,
Dave


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!