Terrible 4K performance

Hello, I recently updated my build and started gaming at 4K, and LG performance is terrible. Used to work fine at 1080p.

I am running a 7950X with iGPU for the host, Asus ProArt B650, 32GB 6000 CL30 dual channel RAM and an AMD 7900XTX GPU for the guest using Windows 10.

With the guest GPU either plugged into my monitor via DP or to an HDMI dummy and using LG, I get ~40fps (confirmed by Afterburner and LG FPS and UPS) at a 100% GPU utilization.

By directly using the monitor via DP, I get 140+fps.

I am on Arch Linux 6.2.11, LG B6 both host and guest, using KDE with X11 with “VariableRefresh” and “TearFree” options enabled and confirmed to be working. shmem is set at 128M.

I am worried that I might have set the wrong setting somewhere and I feel like the Linux host is actually causing the issues, because driving the display directly from the guest GPU works as expected.

Is there something I can do to troubleshoot or try?

Your bottleneck is probably your iGPU. iGPUs lack VRAM and use the system RAM as a “poor man’s” VRAM. Using an iGPU has a dramatic performance hit with LookingGlass. Once your expectations go beyond the basic 1080p@60, you should seriously consider following our recommended requirements.

I am doing a case swap in the coming days, I will try with an RX 570 as the host GPU to see if anything changes and report back.

Also provide at the very minimum your LG client log (terminal output) so we can see how you have your system configured and if there are any glaring issues.

are you certain?
i am on x670e aorus master with a 7800x3d and 32gb@6k with a 4080.
Using a 1440p ultrawide i can not yet see any bottleneck even up to 165hz/fps

Yes I’m certain. iGPUs do not use proprietary VRAM. They share system RAM with the CPU. Looking-Glass is a massive data mover application. Large data blocks need to be moved around very fast. The problem arises when your iGPU needs to move data into system RAM, it will pause any CPU governed memory transfer. Basically your CPU will now wait during those transfers. As Looking-Glass is moving those large blocks at the same time, you’ll get at least 50% bandwidth limitation compared to a dGPU that can execute those transfers independently of the CPU RAM moves. Performance is dependent on a myriad of parameters and modern iGPUs can perform pretty OK, but that minimum 50% bandwidth limit is a killer on many system setups.

2 Likes

which model and do you have the reset bug or does it work?
I have the same board and am thinking about buying a 7900XTX, hence the question.

I got that iGPU/IDG does not have VRAM (:
but i have to say that thoe bandwith limit so far did not affect me.
And as i wrote i push 4k60Hz 4:4:4 RGB or 1440uw at RGB4:4:4.

Or i just do no notice the difference? (i had the same setup on AM4 with a wx3200 for the host and a 6900xt for the guest) But lookingglass performance overlay always shows the same FPS as my RTSS

therefor i would wager that your point is technically correct but not affecting the small workload of lookingglass

You have lost that bet.

We have gone to great lengths to get iGPU performance reasonable. On more modern hardware the performance isn’t as bad as it was but it’s still far from optimal.

Great, you’re one of the lucky few. There are hundreds of reports of poor performance when using iGPUs.

ok :confused: havent thought that.
the theroy looked great for that. And since ive recently sold all my gpus which are not i use i am happy that i feel no bottleneck ^^

7800x3d is as new as it get though.

@gnif is there a way to measure fps/performance of LG aside the build in fps counter? to check that i really am not missing frames?

I wonder if the 96MB of cache is what makes the difference there? It’s about 4x the size of the frame to be copied, which is a nice amount of room to operate in.
I would think, though, that PCIE bandwidth would be a problem faster than memory bandwidth for something like lookingglass. It should only be a couple gigs/second?

You can use a high-speed camera to record the screen if you have one. Afaik, most high end phones have a 120fps camera option. Just scrub through for doubled up frames. I did that to sanity check Gsync frame pacing problems in newer nvidia drivers on Windows.

@sotiris_bos could you share your IOMMU groupings please (I’m very interested in this board you have) ??

Of course, here you go:

IOMMU Group 0:
        00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
IOMMU Group 1:
        00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
IOMMU Group 10:
        00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]
IOMMU Group 11:
        00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
        00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 12:
        00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e0]
        00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e1]
        00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e2]
        00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e3]
        00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e4]
        00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e5]
        00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e6]
        00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e7]
IOMMU Group 13:
        01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev 10)
IOMMU Group 14:
        02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479] (rev 10)
IOMMU Group 15:
        03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8)
IOMMU Group 16:
        03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:ab30]
IOMMU Group 17:
        04:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
IOMMU Group 18:
        05:00.0 Ethernet controller [0200]: Mellanox Technologies MT27500 Family [ConnectX-3] [15b3:1003]
IOMMU Group 19:
        06:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f4] (rev 01)
IOMMU Group 2:
        00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
IOMMU Group 20:
        07:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
IOMMU Group 21:
        07:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
IOMMU Group 22:
        07:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
        0a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
IOMMU Group 23:
        07:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
        0b:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
IOMMU Group 24:
        07:0b.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
IOMMU Group 25:
        07:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
        0d:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01)
IOMMU Group 26:
        07:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01)
        0e:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01)
IOMMU Group 27:
        0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1)
IOMMU Group 28:
        0f:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
IOMMU Group 29:
        0f:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
IOMMU Group 3:
        00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
IOMMU Group 30:
        0f:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b6]
IOMMU Group 31:
        0f:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b7]
IOMMU Group 32:
        0f:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
IOMMU Group 33:
        10:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
IOMMU Group 34:
        05:00.1 Ethernet controller [0200]: Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function] [15b3:1004]
IOMMU Group 35:
        05:00.2 Ethernet controller [0200]: Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function] [15b3:1004]
IOMMU Group 36:
        05:00.3 Ethernet controller [0200]: Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function] [15b3:1004]
IOMMU Group 37:
        05:00.4 Ethernet controller [0200]: Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function] [15b3:1004]
IOMMU Group 4:
        00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
IOMMU Group 5:
        00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db]
IOMMU Group 6:
        00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
IOMMU Group 7:
        00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
IOMMU Group 8:
        00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da]
IOMMU Group 9:
        00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd]

A post was split to a new topic: iGPU Ram for Looking Glass