I’m running at 1440p at 144hz for both host and guests
The 3090 ti is plugged in to slot 1 x16 running at 8x speed and the amd card is running in slot two x16 at 4x speed which is the fastest I can run the amd card in any slot that isn’t slot 1
I get lag spikes on the graph I think it might be a memory transfer issue. I have no idea how memory copying works with graphics card so I wouldn’t know to diagnose it. I’m a software engineer so hardware isn’t my most studied thing with computers
It was a necro thread but used this one so I did not create a new thread and was hoping the original poster had insights on something
Doesn’t sound like a bandwidth issue, you need roughly 2160px * 1440px * 144hz * 3 colours ~= 1.2 GB/s, and one PCIe 4.0 lane is good for 2 GB/s. It’s 4k at 144hz (~3.3 GB/s) that hits an uncomfortable limit on older PCIe 3.0 x 4 cards. Also are those 4 lanes from CPU or GPU, you could have an issue on chipset lanes.
VM copies video buffer from VRAM of guest GPU to RAM (in shared memory), then host copies video buffer from RAM to VRAM of host gpu.
Which graph had am issue? A screenshot would be useful. (This will show where the lag comes from, generation, transfer or display)
Also could you try testing with a lower resolution, then a lower framerate. You might be hitting an FPS limit somewhere. Also are you pinning your VM to one CCD? If you’re not you may be having latency issues on your 5950x.
Ive pinned to use one ccd and lowered the refresh rate to 120 on both the host and guest, I’m still getting hitching but not as bad and the LOD issue is now gone, I wonder if I need to do some more optimizations
Try something slower, like 60 hz. Then try 1080p at 144 hz (looking glass has FSR built in). The point is to isolate whether framerate is the trigger.
Also does the hitching happen when playing directly on the monitor? (You can leave looking glass running with mouse / keyboard captured and switch monitors to easily test this).
As for optimisations The Arch wiki is king here. If pinning appears to help (FYI you should have pinned CCD 2 cores), then maybe try isolation next. The point is to reduce scheduling latency, which makes it harder to hit high framerates.
I think I’m going to reinstall arch without zfs and see if that helps, it might be that I’m saturating the memory bandwidth between the ram cacheing on zfs and doing this… I’m going to try that and see
I don’t see how that’s possible, and reinstalling your entire OS based on a hunch feels like a waste of time. All filesystems have a RAM cache, and it isn’t magically going to steal all your RAM bandwith. Dual channel 2133 MHz DDR4 is rated for 34GB/s, you aren’t hitting anywhere near that with looking glass.
Do you get the hitching at 1080p 144hz or 1440p 60hz on the guest?
What I am experiencing is that the game through the looking glass client either in obs or the standalone look stunningly great but there is a bit of lag sometimes, like the framerate or frametime drops on my linux machine, via hdmi and seperate monitor out the game runs perfectly fine and no lag or microstutter at all, its only in the looking glass client.