D
D
dr4wtn2014-10-30 05:49:59
linux
dr4wtn, 2014-10-30 05:49:59

How to implement 2 video cards + 2 monitors?

The situation is the following. There is a computer with a built-in video card, installed an external card. It would be desirable to achieve that on two monitors two separate X-servers were started. That is, one could work on one, and on the other monitor a program running in the virtual machine for monitoring network nodes would be displayed.
System - Centos 6.5 In the BIOS, enabled support for the built-in card.

#Xorg -version
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1)

# lshw -numeric -C display
  *-display
       description: VGA compatible controller
       product: G98 [GeForce 8400 GS Rev. 2] [10DE:6E4]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: [email protected]:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:16 memory:f6000000-f6ffffff memory:e0000000-efffffff(prefetchable) memory:f4000000-f5ffffff 
       ioport:e000(size=128) memory:f7000000-f701ffff(prefetchable)
  *-display
       description: Display controller
       product: 2nd Generation Core Processor Family Integrated Graphics
Controller [8086:102]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: [email protected]:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm bus_master cap_list
       configuration: driver=i915 latency=0
       resources: irq:29 memory:f7400000-f77fffff memory:d0000000-dfffffff(prefetchable) ioport:f000(size=64)

With x, I have a gap in knowledge, I ask for help where to dig, what to read, how to solve the problem, I don’t ask for more, I’ll try to figure it out myself and report on the results.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2014-10-30
@nazarpc

It's not entirely clear why you need 2 X servers.
1) You can simply open the virtual machine on the second monitor in full screen
2) Install
Xen, forward the video card to the virtual machine completely, it will have nothing to do with the host, it will be like 2 machines in one box (if you wish, you can also forward several USB ports to virtual machine for convenience).
I once wrote an article about this, it is not entirely relevant, now the setup is even easier, and it is for Ubuntu, but this is not a critical difference, the search will help: habrahabr.ru/post/149416

S
sixhundredsixtyfive, 2014-10-30
@sixhundredsixtyfive

I think you have already read it, but just in case: One computer for two (or more) or multiseat for ... I
did this with 2 nvidia 8800GTS video cards a long time ago, it even worked.
I want to warn you that I didn’t succeed with an integrated video card, I don’t remember for what reason, it is desirable that lspci | grep VGA showed 2 devices, not just one like yours.
By the way, the option with video forwarding to the xen virtual machine worked, and dom0 worked with integrated graphics, but there was an ATI card, pci forwarding is not friendly with nvidia.

H
Harbid Abu Marhamedoff, 2014-11-07
@harbid

I also did not succeed with the built-in - I insert pci-ex and the built-in automatically turns off. No options :( Not in lspci and lshw - that's the point. And I changed the vidyuhi, and changed the bios - the result is the same :(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question