Garry's Mod

Garry's Mod

VRMod - Experimental Virtual Reality
62 2022 年 11 月 28 日 下午 2:10
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?
< >
目前顯示第 1-9 則留言,共 9
Catse  [開發人員] 2022 年 11 月 28 日 下午 3:04 
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 2022 年 11 月 28 日 下午 9:40 
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
最後修改者:62; 2022 年 11 月 28 日 下午 9:46
SiEgE 2022 年 12 月 1 日 上午 3:21 
引用自 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.
最後修改者:SiEgE; 2022 年 12 月 1 日 上午 3:31
SiEgE 2022 年 12 月 1 日 上午 3:25 
引用自 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 2022 年 12 月 1 日 上午 3:31 
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.
最後修改者:SiEgE; 2022 年 12 月 1 日 上午 3:36
62 2022 年 12 月 1 日 上午 10:52 
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 2022 年 12 月 10 日 上午 3:35 
引用自 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 2022 年 12 月 10 日 下午 7:58 
引用自 Hugo
引用自 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 2023 年 1 月 8 日 上午 2:38 
yeah for real 1 frame aint meaning nothing comapred to the drops to 40 all the time,pls upload that version
< >
目前顯示第 1-9 則留言,共 9
每頁顯示: 1530 50