LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2008, 12:49 PM   #1
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 68

Rep: Reputation: 15
Programming / Debugging OpenGL on two monitors


Hello. This a general question on 3D graphics programming using twin views (or two monitors) on Linux.

I would like to purchase a 3D card, probably an nVidia card, with twin view.

I was wondering if it was at all possible to program and debug OpenGL programs on one monitor while the second monitor displays the actual rendering. It's probably possible but as I google with keywords such as nVidia + twin + openGL + programming, many useless results come up (lots on OpenGL programming, but nothing on the actual hardware setup), I also tried "Remote debugging", which was the old way of dealing with this kind of problem using 2 machines, but such a name hasn't been used to describe a twin card setup (and probably too Microsoft-oriented which probably coined the term for Visual Studio).

So I need extra pointers on the subject. Does this setup have a specific name or acronym? Any help would be much appreciated.

Cheers.
 
Old 04-07-2008, 10:23 PM   #2
thelordmule
LQ Newbie
 
Registered: Jul 2006
Location: Australia
Distribution: Mac OSX 10.6, Ubuntu 10.10
Posts: 23

Rep: Reputation: 0
Quote:
Originally Posted by narc View Post
Hello. This a general question on 3D graphics programming using twin views (or two monitors) on Linux.

I would like to purchase a 3D card, probably an nVidia card, with twin view.

I was wondering if it was at all possible to program and debug OpenGL programs on one monitor while the second monitor displays the actual rendering.
If you are talking about a single Linux PC with a nvidia twinview setup, then there is no problem running multiple 3d applications across the 2 displays.

If you are specifically looking to debug programs that run in full screen on one desktop then you should be make sure that the mouse can leave the program window. I am currently doing exactly what you are suggesting, debugging opengl application while programming/debugging on linux, I have (glxinfo):

OpenGL renderer string: GeForce FX 5950 Ultra/AGP/SSE2/3DNOW!
OpenGL version string: 2.1.2 NVIDIA 169.09

nvidia twinview used to be a pain to setup, but now the driver on Ubuntu comes with application nvidia-settings or nvidia-xconfig.

Im not aware of ATI driver support for linux.
 
Old 04-08-2008, 08:54 PM   #3
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 68

Original Poster
Rep: Reputation: 15
Thank you for you answer, thelordmule.

Quote:
If you are specifically looking to debug programs that run in full screen on one desktop then you should be make sure that the mouse can leave the program window.
This particular line is troubling. I haven't thought about this. Obviously I do want full control on the mouse during the debugging but actually, I'm programming with vim, so I don't technically need a mouse for my own groking. ;-) My guess in that you may actually put some RealeaseMouse() routine before arriving to the break point ?

Thanks for the tip and your setup details. This will make my purchasing easier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opengl window not having title bar-using freeglut for opengl programming in c++ ashjas Fedora 0 01-19-2008 03:46 AM
Complete ARM7 programming+debugging solution fireball003 Linux - Software 0 04-17-2007 10:43 AM
C/C++ Multi-Threaded Programming Debugging powah Programming 2 04-24-2006 08:03 PM
OpenGL programming koyi Programming 10 04-22-2004 08:28 PM
OpenGL programming help TheGr81 Linux - General 1 10-02-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration