Garry's Mod

Garry's Mod

VRMod - Experimental Virtual Reality
62 Nov 28, 2022 @ 2:10pm
Multicore ideas?
I'm fairly sure half life 2 vr mod uses multicore and it's using source 1. Maybe there is some way to be able to use it in gmod without the flickering issue?
< >
Showing 1-9 of 9 comments
Catse  [developer] Nov 28, 2022 @ 3:04pm 
i did some experiments like a year ago and the flickering can be easily fixed and it will give a performance boost but it caused the view to be delayed by 1 frame which is why i didnt include that fix in release. i also tried a bunch of workarounds and got it to work with multicore on and no flickering and no delay but then it didnt give the performance boost. i'm still not sure how to get it to work flawlessly

i also started working on a version that uses vulkan through dxvk to see if it would magically fix it or just help performance in general but didnt get around to finishing it cause it was around the time i stopped working on vrmod full time

i dont know how hl2vr fixed it all i know is that they also use dxvk
62 Nov 28, 2022 @ 9:40pm 
Well... Maybe somebody could ask the hl2 vr creators but I am guessing it would be pretty technical

btw did you ever look at AMD FidelityFX Super Resolution? It can help with performance. I had a go with it but couldn't get it working properly. Requires modified dlls
Last edited by 62; Nov 28, 2022 @ 9:46pm
SiEgE Dec 1, 2022 @ 3:21am 
Originally posted by Catse:
i did some experiments like a year ago and the flickering can be easily fixed and it will give a performance boost but it caused the view to be delayed by 1 frame which is why i didnt include that fix in release. i also tried a bunch of workarounds and got it to work with multicore on and no flickering and no delay but then it didnt give the performance boost. i'm still not sure how to get it to work flawlessly

i also started working on a version that uses vulkan through dxvk to see if it would magically fix it or just help performance in general but didnt get around to finishing it cause it was around the time i stopped working on vrmod full time

i dont know how hl2vr fixed it all i know is that they also use dxvk
I think dxvk in its default, non-changed form, is nothing more but a DX replacement, with the exact same outcome.

Unless you know what features you're going to tune there, on the vulkan's part, there would be no point going for that implementation.
Last edited by SiEgE; Dec 1, 2022 @ 3:31am
SiEgE Dec 1, 2022 @ 3:25am 
Originally posted by 62:
Well... Maybe somebody could ask the hl2 vr creators but I am guessing it would be pretty technical

btw did you ever look at AMD FidelityFX Super Resolution? It can help with performance. I had a go with it but couldn't get it working properly. Requires modified dlls
FidelityFX and DLSS are out of question.
You'll get a major input lag, combined with grainy picture. It works okay for a single monitor setup, but once you'll make it work together with 2 screens simulaneously, you'll start seeing "resize artifacts" instantly. Those artifacts will look like "glittering", like when one of your eyes is seeing something the other eye doesn't.
SiEgE Dec 1, 2022 @ 3:31am 
I'd suggest replicating HL:Alyx'es console command values would be a good start. I think there are plenty of basic console commands that only work well for monoscreen/single POV that are no different between Source 1 and Source 2, and Valve has already changed to the most apropriate ones.

Chance of success is around 15%, but it is well worth it to at least give it a try.

My second suggestion would be to go for an alternative physics engine for GMod. There are plenty of them compiled and ready. This will not reduce the visual lag, but it will make the gameplay stable and performant during interactions. That is what Valve did to Source 1 physics engine once they've started Source 2 development.
Last edited by SiEgE; Dec 1, 2022 @ 3:36am
62 Dec 1, 2022 @ 10:52am 
There are all sorts of potential "fixes" for other VR games that have this issue but none of them work. Interestingly the left 4 dead 2 VR mod has exactly same issue if you don't disable multicore so it's definitely source engine 1
Hugo Dec 10, 2022 @ 3:35am 
Originally posted by Catse:
i did some experiments like a year ago and the flickering can be easily fixed and it will give a performance boost but it caused the view to be delayed by 1 frame which is why i didnt include that fix in release. i also tried a bunch of workarounds and got it to work with multicore on and no flickering and no delay but then it didnt give the performance boost. i'm still not sure how to get it to work flawlessly

i also started working on a version that uses vulkan through dxvk to see if it would magically fix it or just help performance in general but didnt get around to finishing it cause it was around the time i stopped working on vrmod full time

i dont know how hl2vr fixed it all i know is that they also use dxvk
For the clinically insane, is that experimental multicore support (with the 1-frame-delay) available to test anywhere? I'd totally try it out, 1 frame (out of potentially 90) doesn't sound too bad it it means my FPS going from 45 to 90
62 Dec 10, 2022 @ 7:58pm 
Originally posted by Hugo:
Originally posted by Catse:
i did some experiments like a year ago and the flickering can be easily fixed and it will give a performance boost but it caused the view to be delayed by 1 frame which is why i didnt include that fix in release. i also tried a bunch of workarounds and got it to work with multicore on and no flickering and no delay but then it didnt give the performance boost. i'm still not sure how to get it to work flawlessly

i also started working on a version that uses vulkan through dxvk to see if it would magically fix it or just help performance in general but didnt get around to finishing it cause it was around the time i stopped working on vrmod full time

i dont know how hl2vr fixed it all i know is that they also use dxvk
For the clinically insane, is that experimental multicore support (with the 1-frame-delay) available to test anywhere? I'd totally try it out, 1 frame (out of potentially 90) doesn't sound too bad it it means my FPS going from 45 to 90

I'd pay to see it 45fps is such a headache in VR
cazanu Jan 8, 2023 @ 2:38am 
yeah for real 1 frame aint meaning nothing comapred to the drops to 40 all the time,pls upload that version
< >
Showing 1-9 of 9 comments
Per page: 1530 50