LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2009, 12:49 PM   #1
rosenbsn
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Accessing multiple video card devices from seperate shells in parallel


I have a PC with two video cards (GeForce 7900 GT x 2). I am trying to setup two shells that will each access one of the video card devices exclusively. My questions are:

1. Is this possible?
2. Can someone point me in the right direction regarding how to create a shell as well as setting up the video card for exclusive use by that shell?
 
Old 01-28-2009, 05:44 PM   #2
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
yes it is possible, i remember an old system i had with a hercules card that took over the teminals 12-14, and even ran as a second head for the X server.

I would imagine you set up the both cards with indepedant XF86 config files, and start in runlevel 3. then launch X twice with its own config for each card. finally .xinitrc should check which card it is running under before starting a shell (xterm) according to your needs.

you know a shell doesn't need a video card, you can run thousands of them?

otherwise use another machine to log in, if you just want a terminal.
 
Old 01-28-2009, 09:49 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Quote:
Originally Posted by rosenbsn View Post
I have a PC with two video cards (GeForce 7900 GT x 2). I am trying to setup two shells that will each access one of the video card devices exclusively. My questions are:

1. Is this possible?
2. Can someone point me in the right direction regarding how to create a shell as well as setting up the video card for exclusive use by that shell?
Try to define what do you want to do without using technical terminology, Your post as is doesn't make much sense. Shells are not connected to video cards in any way. They run at a much higher level.

If you mainly run X, then you just need to configure X correctly. You don't need two configuration files. You can have as many video cards and monitors in xorg and use them at all the same time.

nvidia-settings might help you in that task (it should be already installed if you are using the nvidia propietary driver, if not, first install the driver).
 
Old 01-29-2009, 08:23 AM   #4
rosenbsn
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
RE: Accessing multiple video card devices from seperate shells in parallel

i92guboj,

In response to your request

Quote:
Try to define what do you want to do without using technical terminology, Your post as is doesn't make much sense. Shells are not connected to video cards in any way. They run at a much higher level.
What I am trying to do is this:

I am trying to put together a single PC that will be able to capture and display 2 or more simultaneous streams of video to an HD capable TV. The cards that I have support component out. I am just trying to figure out how to do this in linux. I thought running the two applications in separate shells or XTerm sessions might make more sense. In any case any input would be appreciated.
 
Old 01-29-2009, 09:12 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Quote:
Originally Posted by rosenbsn View Post
I am trying to put together a single PC that will be able to capture
I assume you already have an hdtv capable capturer that will work under linux.

Quote:
and display 2 or more simultaneous streams of video to an HD capable TV. The cards that I have support component out. I am just trying to figure out how to do this in linux. I thought running the two applications in separate shells or XTerm sessions might make more sense. In any case any input would be appreciated.
First, note that I haven't tested hdtv. Mostly because I lack the needed hardware. However, a display device is a display device, and an hdtv shouldn't mean any difference at all, as long as your card is able to handle it.

If you want to attach a single screen (hdtv or whatever) to each video card then you just need to configure X as said. I would just plug them and use nvidia-settings. Try is and see if it can see both cards and monitors. If it works out of the box then we can worry about what do you want to display on each monitor later.

First thing first.
 
  


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
connect two usb devices in parallel biophysics Linux - Hardware 3 01-29-2008 10:23 AM
multiple monitors, laptop, one video card crazydark Linux - Hardware 3 03-18-2005 06:40 AM
Accessing Windows files on a seperate hard drive ickselglic Linux - Hardware 1 01-22-2005 06:13 PM
Using C++ to place information on multiple shells mattmole Programming 1 05-16-2004 07:58 AM
Parallel shells? (cluster question) Blinker_Fluid Linux - General 1 02-14-2004 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 PM.

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