Accessing multiple video card devices from seperate shells in parallel
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.