gnif / LookingGlass

An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
GNU General Public License v2.0
4.74k stars 261 forks source link

two graphic cards #214

Closed Adel-Magebinary closed 4 years ago

Adel-Magebinary commented 4 years ago

Hi team,

I have two grahpic cards as you can see below. When I run the client in my ubuntu, it somehow defines the render as RTX2060? which is the card that is being used by the ubuntu.

How do I tell looking-glass that try to mirror another grahpics card?

 ./looking-glass-client -s
[I]               main.c:1377 | main                           | Looking Glass (B1-16-g7d6e061ade+1)
[I]               main.c:1378 | main                           | Locking Method: Atomic
[I]                egl.c:187  | egl_initialize                 | Double buffering is on
[I]                egl.c:201  | egl_initialize                 | Multsampling enabled, max samples: 4
[I]               main.c:916  | try_renderer                   | Using Renderer: EGL
[I]               main.c:1228 | lg_run                         | Using Clipboard: X11
[I]               main.c:1261 | lg_run                         | Waiting for host to signal it's ready...
[I]                egl.c:447  | egl_render_startup             | Vendor  : NVIDIA Corporation
[I]                egl.c:448  | egl_render_startup             | Renderer: GeForce RTX 2060/PCIe/SSE2
[I]                egl.c:449  | egl_render_startup             | Version : OpenGL ES 3.2 NVIDIA 430.50
[I]               main.c:597  | eventFilter                    | Quit event received, exiting...

System spec:

H/W path               Device           Class          Description
==================================================================
                                        system         Z370 AORUS ULTRA GAMING 2.0 (Default string)
/0                                      bus            Z370 AORUS ULTRA GAMING 2.0-CF
/0/0                                    memory         64KiB BIOS
/0/3d                                   memory         32GiB System Memory
/0/3d/0                                 memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/3d/1                                 memory         Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02
/0/3d/2                                 memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/3d/3                                 memory         Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02
/0/43                                   memory         384KiB L1 cache
/0/44                                   memory         1536KiB L2 cache
/0/45                                   memory         12MiB L3 cache
/0/46                                   processor      Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
/0/100                                  bridge         8th Gen Core Processor Host Bridge/DRAM Registers
/0/100/1                                bridge         Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
/0/100/1/0                              display        NVIDIA Corporation
/0/100/1/0.1                            multimedia     NVIDIA Corporation
/0/100/1/0.2                            bus            NVIDIA Corporation
/0/100/1/0.2/0         usb3             bus            xHCI Host Controller
/0/100/1/0.2/1         usb4             bus            xHCI Host Controller
/0/100/1/0.3                            bus            NVIDIA Corporation
/0/100/1.1                              bridge         Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8)
/0/100/1.1/0                            display        GP104 [GeForce GTX 1070 Ti]
/0/100/1.1/0.1                          multimedia     GP104 High Definition Audio Controller
/0/100/8                                generic        Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
/0/100/14                               bus            200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
/0/100/14/0            usb1             bus            xHCI Host Controller
/0/100/14/0/3                           input          ARGB Box
/0/100/14/0/7                           input          AZIO Retro Classic USB
/0/100/14/0/a                           input          SteelSeries QCK Prism Cloth
/0/100/14/0/b                           communication  Bluetooth wireless interface
/0/100/14/0/d                           input          USB Receiver
/0/100/14/1            usb2             bus            xHCI Host Controller
/0/100/16                               communication  200 Series PCH CSME HECI #1
/0/100/17                               storage        200 Series PCH SATA controller [AHCI mode]
/0/100/1b                               bridge         200 Series PCH PCI Express Root Port #17
/0/100/1b.2                             bridge         200 Series PCH PCI Express Root Port #19
/0/100/1b.2/0                           bus            ASMedia Technology Inc.
/0/100/1b.2/0/0        usb5             bus            xHCI Host Controller
/0/100/1b.2/0/1        usb6             bus            xHCI Host Controller
/0/100/1b.4                             bridge         200 Series PCH PCI Express Root Port #21
/0/100/1b.4/0                           storage        NVMe SSD Controller SM981/PM981
/0/100/1c                               bridge         200 Series PCH PCI Express Root Port #1
/0/100/1c.1                             bridge         200 Series PCH PCI Express Root Port #2
/0/100/1c.2                             bridge         200 Series PCH PCI Express Root Port #3
/0/100/1c.2/0          wlp8s0           network        Wireless-AC 9260
/0/100/1c.4                             bridge         200 Series PCH PCI Express Root Port #5
/0/100/1c.4/0          scsi0            storage        SAS3008 PCI-Express Fusion-MPT SAS-3
/0/100/1c.4/0/0.6.0    /dev/sdk         disk           2TB ST2000LM015-2E81
/0/100/1c.4/0/0.6.0/1  /dev/sdk1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.6.0/9  /dev/sdk9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.7.0    /dev/sdl         disk           1TB ST1000LM010-9YH1
/0/100/1c.4/0/0.7.0/1  /dev/sdl1        volume         931GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.7.0/9  /dev/sdl9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.0.0    /dev/sde         disk           1TB ST1000LM048-2E71
/0/100/1c.4/0/0.0.0/1  /dev/sde1        volume         931GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.0.0/9  /dev/sde9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.1.0    /dev/sdf         disk           2TB ST2000VN004-2E41
/0/100/1c.4/0/0.1.0/1  /dev/sdf1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.1.0/9  /dev/sdf9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.2.0    /dev/sdg         disk           2TB ST2000VN004-2E41
/0/100/1c.4/0/0.2.0/1  /dev/sdg1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.2.0/9  /dev/sdg9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.3.0    /dev/sdh         disk           2TB ST2000VN004-2E41
/0/100/1c.4/0/0.3.0/1  /dev/sdh1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.3.0/9  /dev/sdh9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.4.0    /dev/sdi         disk           2TB ST2000DM001-1ER1
/0/100/1c.4/0/0.4.0/1  /dev/sdi1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1c.4/0/0.4.0/9  /dev/sdi9        volume         8191KiB reserved partition
/0/100/1c.4/0/0.5.0    /dev/sdj         disk           1TB ST1000LM014-1EJ1
/0/100/1d                               bridge         200 Series PCH PCI Express Root Port #9
/0/100/1f                               bridge         Z370 Chipset LPC/eSPI Controller
/0/100/1f.2                             memory         Memory controller
/0/100/1f.3                             multimedia     200 Series PCH HD Audio
/0/100/1f.4                             bus            200 Series/Z370 Chipset Family SMBus Controller
/0/100/1f.6            enp0s31f6        network        Ethernet Connection (2) I219-V
/0/1                   scsi2            storage        
/0/1/0.0.0             /dev/sda         disk           500GB Hitachi HTS72505
/0/1/0.0.0/1           /dev/sda1        volume         465GiB OS X ZFS partition or Solaris /usr partition
/0/1/0.0.0/9           /dev/sda9        volume         8191KiB reserved partition
/0/2                   scsi3            storage        
/0/2/0.0.0             /dev/sdb         disk           1TB ST1000LM014-1EJ1
/0/2/0.0.0/1           /dev/sdb1        volume         931GiB OS X ZFS partition or Solaris /usr partition
/0/2/0.0.0/9           /dev/sdb9        volume         8191KiB reserved partition
/0/3                   scsi5            storage        
/0/3/0.0.0             /dev/sdc         disk           500GB ST9500420AS
/0/3/0.0.0/1           /dev/sdc1        volume         465GiB OS X ZFS partition or Solaris /usr partition
/0/3/0.0.0/9           /dev/sdc9        volume         8191KiB reserved partition
/0/4                   scsi6            storage        
/0/4/0.0.0             /dev/sdd         disk           2TB ST2000DL003-9VT1
/0/4/0.0.0/1           /dev/sdd1        volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/4/0.0.0/9           /dev/sdd9        volume         8191KiB reserved partition
/1                                      power          To Be Filled By O.E.M.
/2                     vethca127d5      network        Ethernet interface
/3                     vethd80680b      network        Ethernet interface
/4                     virbr0-nic       network        Ethernet interface
/5                     virbr0           network        Ethernet interface
/6                     vethe244b1f      network        Ethernet interface
/7                     br-f10b1a27fb52  network        Ethernet interface
/8                     br-c1feedbd28bb  network        Ethernet interface
/9                     br-a18cbbfc8f91  network        Ethernet interface
/a                     br-84757cf63c39  network        Ethernet interface
/b                     br-457a9633d29a  network        Ethernet interface
/c                     br-3735491ef2f1  network        Ethernet interface
/d                     docker0          network        Ethernet interface
/e                     veth72f2941      network        Ethernet interface
/f                     br-32f9c1085bd8  network        Ethernet interface
gnif commented 4 years ago

This is not the place to ask for support, please follow the instructions in the README and use the Level1Tech forums instead.