Team Fortress 2
Rumple Jul 29, 2020 @ 3:55pm
Head tracking not working.
I followed Serge's TF2 VR guide on youtube and got the game working in VR mode but the head tracking isn't working, but it doesn't seem like he had to do anything to get his to work.

I'm using the same headset as him, the Rift S.
Any ideas?
< >
Showing 1-15 of 48 comments
Jackington Moron Jul 31, 2020 @ 3:20pm 
The VR mode for this game is long abandoned and has been broken, don't bother.
The VR mode isn't broken, it just wasn't updated to use direct mode, but it still works in indirect mode.

I don't play TF2 much in VR because it's really difficult to aim and after you've played a few rounds the novelty factor makes way for frustration of being unable to aim well, but it still works as of today. I posted some gameplay footage of me playing on the Oculus Rift CV1 as well
https://youtu.be/v_ZNUwFvkBg

Unfortunately I have no idea why it doesn't work for you. I'd need to see your steps and if you made an error on the way.
I just watched the tutorial and I find it odd that he says you must open VirtualDesktop through SteamVR. I never did that and it still worked. Maybe VirtualDesktop somehow prevents head tracking in TF2 if launched through SteamVR?
Rumple Oct 1, 2020 @ 10:13pm 
I don't remember if I tried running the software and game in another order its been so long. Are you still able to launch the game in VR with head tracking?
Unfortunately it appears you're right, Valve screwed up big time and something in SteamVR prevents head tracking from working in anything that is not currently the focused game in SteamVR.

This means you need to downgrade to an older version of SteamVR and that's a dumb and somewhat complicated process, but it can be done.

Follow this guide
https://knockout.chat/thread/10205/1
and then this one
https://steamcommunity.com/sharedfiles/filedetails/?id=1985923465

The only thing I'm not sure about is which version to downgrade to. I'd take one from before Serge's guide was made since obviously at that point SteamVR didn't yet have this weird issue.

Other than that, all we can do is wait and hope Valve fixes this in current versions, but just in case and for TF2 I'd simply keep the old version around
Rumple Oct 3, 2020 @ 3:10am 
That was fast. Thank you for figuring all this out for me. Now I just gotta find out when between April and July steamVR broke, and if I get it working It's time to try rocket jumping in VR. :A)
Rumple Oct 3, 2020 @ 6:10pm 
It worked. Head tracking is now functional.

Another wierd problem reared its head though, I use Voice Meeter to split Mic/Discord and game audio but when I use its driver the audio enters a feedback loop, doesn't happen if I use my headset driver directly though so its not really an issue.

The 3D effect doesn't look that good though and I think it might be because the distortion effect isn't working properly. Any ideas about that?
I've read up on the distortion not working, and if I remember correctly it's the fault of Oculus. Back in the DK1 days, the method of rendering an image to your headset was via making it an extended desktop in Windows, and this is the method that TF2 VR uses. Since then, VR drivers have been improved to allow the headset display to be its own unique entity rather than a Windwos desktop extended screen.

Therefore, since games stopped using the extended display method, Oculus figured they could cut down on their drivers and remove the driver required for this old method in 2017 or so. The Oculus drivers are not giving TF2 the info it needs in order to properly distort the image according to the lenses.

Valve never abandoned this method, which is why Vive and Index users can play TF2 VR relatively out of the box, with distortion and without needing Virtual Desktop.



I haven't looked much into a fix for this yet. Maybe you can both install an old version of the Oculus Drivers as well as the Virtual Desktop app, but that seems more trouble than it's worth and there's no guarantee it'll work.

I guess you'd need some kind of mod to create a distortion. I'm thinking a ReShade shader, but I'm not sure if there is a shader to create a Rift headset-specific distortion and I'm also not sure if ReShade works with TF2. I heard something about Valve blocking it? Dunno if true.

You can read more about it here: https://steamcommunity.com/app/382110/discussions/0/2549465882932031827/?ctp=2



In case you find a solution, do let me know. I would be interested in a better 3D effect, naturally. I had managed to set up Virtual Desktop so that the 3D effect itself looks great but the trade-off was that it looked like I was wearing a long black tube on my face.

I'll also try to look into a fix but it's not a priority for me. I have to admit I'm not having much fun in TF2 VR, as aiming is a lot harder when the crosshair keeps changing its Z position and when I have to physically turn my head all the time. My interest in TF2 VR is more due to the novelty factor of getting to see the world and characters in life-size.
Rumple Oct 5, 2020 @ 3:01am 
Alright if I figure anything out I'll definitely post here or send you a DM about it, you've given me a lot of info to work with. Its probably gonna take a while though considering I've got a lot to learn about messing with this sorta stuff.

If I can track down old Oculus drivers I'll try to install them but if I need to change them in any way to make them work with newer headsets I'll probably hit a wall real quick. I wouldn't be surprised if the inside out tracking headsets like the Rift S not being compatible.
As for ReShade, VAC kinda scares me so I don't think I'll be messing with that at least not on my main account. :A)

I did try the game in VR for a little bit and aiming hitscan wasn't as hard as I thought it would be, with the classic on sniper at least, however projectiles had a learning curve.
As for rocket jumping, I did manage to do the upward rollout after some practice which was fun.
The most challenging thing was doing pogos.

Oh and I fixed the audio issue by un-checking the virtual sound driver in virtual desktop.
Actually, I read something about SDKs that made this work having been removed from Virtual Desktop? Perhaps downgrading to an old version of VD similar to how we downgraded to an old version of Steam VR will make the distortion work. Worth a shot I guess.
Rumple Oct 5, 2020 @ 3:56am 
I'll give that a shot right now, when was that posted? I'll download a really old version to start but it'd be nice to narrow it down to the latest version it still works with if this actually does work.
Rumple Oct 5, 2020 @ 5:26am 
I might be doing something wrong but v 1.0.0 Virtual Desktop closes when ever I start TF2. I tried v 1.17.2 and it didn't do this but the distortion did work either. So I'm gonna give it a rest for a little bit maybe I'll try again later this today. A good version to start with would probably be the first one that added head lock, which v 1.0.0 didn't have.
Yeah they were talking about 1.7.2 I think.


It's also possible that you can do something with ReShade:
https://youtu.be/1UPfS4oUSjI

- As this shader claims to emulate Oculus Rift distortion:
https://github.com/fre-sch/sweetfx-vr-sbs

I don't know why this exists because I played Elite Dangerous on my Rift and didn't need it, but I guess it should be helpful for TF2's SBS 3D.
Rumple Oct 5, 2020 @ 7:15am 
Just tested v1.5.1, and I couldn't get the distortion effect to work.
I found this distortion shader for ReShade: https://reshade.me/forum/shader-presentation/5104-vr-universal-shader#39720

It's included with ReShade 4.7 if you download all the shaders.

Problem: It seems that this shader has no option for games that already produce SBS output. Instead it assumes that the game needs to be converted into VR first, and that's of course not what we want.

I just replied and asked if there's an option to have the shader distort the left and right halves of the screen individually but I don't have high hopes for a reply. A customizable shader like this would be the most simple solution. We're so close, it's such a shame. I bet it would not be too hard to modify the shader but I have no idea what I'm doing when it comes to ReShade.
Rumple Oct 5, 2020 @ 7:54am 
Alright, I'm gonna call it for today I think. At least until you get a response on the ReShade thread.
< >
Showing 1-15 of 48 comments
Per page: 1530 50