Re: Problem with Controller Trackpad. Need some help

Thank you for your input in this. I'm quite intruiged in what's causing this, and why we seem to be the only people even talking about it.Something I really need to mention: Have you tested every other input? I ask because even though I titled this thread to be a trackpad problem, I later realised this is actually an issue with the way the controller makes inputs with every button, not just the trackpad. So, if I make any kind of input such as pressing the grip, menu button, system button, or just touching the trackpad, then the input will sometimes permanently linger. As you said, the only way to stop the input from lingering is to make another input, but for me I have to make that input on the same controller for it to fix it. I assume this is the same for you?But if you can, could you run some tests and try to confirm if you're getting the problem with every input, and not just the trackpad? It seems like we must be having the same problem.Something that I'm fairly sure of, but I can't 100% confirm is that the problem is isolated to the controllers themselves. I've tried to replicate the problem with the button on the headset by tapping it repeatedly to open and close the Steam overlay. This function is exactly the same as the system button on the controller, and sometimes when tapping it on the controller I don't see the overlay open, and then a second later the power off menu opens because it thinks I'm holding the button down. When I tried to replicate that problem on the headset system button, it never happened so I 'think' the issue is isolated to the controllers themselves, and is not a universal issue with the way all inputs are handled. I earlier learned that all input data from the controllers is sent via a Valve built wireless signal straight to the Vive Headset, and then to the computer. Maybe it's a problem with that wireless signal because, as I said, it doesn't seem to happen with the inputs on the headset.Another question: are you near a router/is there a lot of Wi-Fi traffic around you? I also found out that the Wi-Fi signals on routers use the same sort of wireless line that the controllers inputs use when being sent to the headset. I'm interested to hear your response with that because I tried unplugging my router and I could still replicate the issue.

Re: Problem with Controller Trackpad. Need some help

I'll look into some other tests, honestly I have only experienced 3 main problems so far. It doesn't matter where I setup my Vive, I take it everywhere practically, yes on the go. Controller issues I have are, the untouch trackpad event seems to be missed, and sometimes but also rare, the controllers swap during the first time I use them as they load (like index switching). Both issues are very frustrating. Especially when my modeled hands are loaded and although they appear completely loaded somehow SteamVR still swapped indexes. This problem is very rare but it does happen.

I have watched the loading controllers process best I can and from what I can tell, it loads left controller first, then moves the left controller to right controller, this process re-creates left controller index. Maybe this process is so fast that usually it is not noticed. However I have spent days trying to get my modeled hands to not swap indexes. I have decided to just make a scene detect controllers and then load my main game scene. I know for sure that stops the problem because the controllers are fully loaded with a lot of time waited and nothing happens after that point. My code as of now waits for both controllers to load, so why else they swap indexes? Only can be from my observation, the controller creation is re-created after the controllers did load. But again this is very rare.

The other problem is random 30 fps lock. No joke. I will start up my game scene and bam cannot get out of 30 fps. I have to restart the scene. And this issue is completely random. It will be there or not. I have tried changing settings with SteamVR just to find out I am wasting even more time. However I could not recreate this problem on a desktop cpu with nvidia 1060, so I suppose this problem comes back to not using direct mode on a laptop. It is also possible because I have Unity editor open, problems happen because of slight lag, it isn't a perfect 90fps world with my game and programs open.

Yes, I will run some other tests. I have too, creating a game with this VR. I don't want players crying about anything but gameplay. Bugs I stomp the heck out of.

Re: Problem with Controller Trackpad. Need some help

Yes you are correct. I always run max performance and I always leave my laptop plugged in, if not, the performance would be terrible. I will be doing some tests with a desktop, see if the controllers can generate the same bugs. I'm very curious if these issues are related to not having a direct mode.

Re: Problem with Controller Trackpad. Need some help

Did you have a chance to test on a different PC? As far as Direct Mode goes, you should be able to make it work regardless, but even if it wouldn't it's only related to the display and I don't think it would affect the controller trackpad.

Thank you,

-John C

"Welcome to the desert of the real."

If your base station has a Fault 02/03 error or a red light or both, the ONLY solution is to contact our support on vive.com and set up an RMA. There is no user fix for this issue.

Re: Problem with Controller Trackpad. Need some help

I am rather frustrated. I don't understand how one game build can work on my laptop, detect the controllers, and then move over to the desktop, it detects the controllers once, play my game, no issues. Restart the game and now the desktop can't detect the controllers in my game anymore. I take the game build over to my laptop, detects controllers, no problem, play after play. I think the desktop is fast enough to not detect the controllers and get stuck in a loop. I am looking into this. Also for sure, the desktop runs very clean, smooth, quick 90fps even while turning. On my laptop there is very slight loss of fps, maybe 5-10fps, especially turning it is noticible.

I agree MWilliamGoody, the headset buttons seems to be quick response compared to pressing the button on the controllers. I can confirm the trackpad issue is there even on my desktop. I also can confirm it's there in the Steam Home. I can clearly see the trackpad touch stuck, just looking down at the trackpad, it shows a dot on the trackpad (input dot). I also can confirm the issue ONLY APPEARS at the EDGE OF THE TRACKPAD. This number I get in programming is near the 0.9 and I cannot ever trigger this issue in the center of the trackpad. So for instance a vector2 looks like (x.x, 0.9) or (0.9, y.y). It seems the only way to trigger this issue is sliding the thumb off the trackpad edge, but it is rare, you have to keep trying until it happens. I can be trying for a good minute or two before it does show up.

I have noticed there is slight movement in the trackpad, if I press softly and then harder while circling my thumb, I can feel what is best described as free space for the trackpad to float around. I understand that might be necessary for pressing down on the thumbpad. But maybe the controller's trackpad is slightly too loose?

As for the 30FPS frame rate lock, I cannot seem to trigger this issue on a desktop computer. I have tried two and it doesn't appear. On my laptop is it random and just comes out of the blue even with the game build. I have tried with Unity closed.

As for more testing, it just takes time. I will try to use some gettouch events. I think I wouldn't even discover this issue if I used getpress. But that gettouch is a nice function as a button.

Re: Problem with Controller Trackpad. Need some help

Wow is all I can say... I did a Unity update yesterday. The game started bricking today. Got to a point it could never find the controllers. I knew I didn't change any code. I only built the game. The problem started happening in Unity too. I tried putting debug.log("hi"); in fixedupdate and only one would show up. I thought about it for an hour. How could my game brick like this. I couldn't find anyone online with the issue, so I tried setting the timescale to 1f, and of course the game works again. But NO WHERE EVER in my code do I change timescale to 0f. There is definitely a glitch, bug, in Unity that did that. So now I start the timescale at 1f no matter what. Very frustrating. I will run some testing now.

Re: Problem with Controller Trackpad. Need some help

The trackpad issue is either the controllers' hardware or the code. I know that for sure. My club on Fridays has another Vive, it is one of the older ones. I guess I could try their controllers and see if it comes up on their system. If it does, it is definitely related to code. I haven't dug into the code deep enough to say it is 100% code related. The functions are still returning true and a positive vector when they shouldn't. Of course I know that because I can see the input in Steam Home also getting stuck.

Re: Problem with Controller Trackpad. Need some help

The trackpad problem is there, tried on a much older Vive. I am pretty sure you will see the problem if you attempt to re-create it yourself. Could be the hardware to the controller but I believe it probably is connected to the code. You will experience the problem as long as the library that uses the trackpad is connected to this:

To find out if it isn't a code problem, someone would have to follow _GetControllerState, which I cannot. I don't know where the code is nor if I am able to look into it. When I highlight over it, I get:

Of course I can't find that. But the return of VRControllerState_t is incorrect or the hardware is telling the code it's incorrect. The reason I suppose it is the code is from my belief in experience. After more testing I noticed it is possible to even get vector2 values such like 0.2f to 0.9f while the GetTouch() function return is still positive and nothing is touching it. My belief is the event of a getuntouch is missed and the functions return the belief of being touched when not. Workarounds? I am going to try GetPress() instead. If that becomes the same problem, well then that means the code is wrapped around the same similar design. There is not much I can do from this point because none of it I created or have access to address it. If it is a code problem, it can be fixed much more easily. Hardware... well that's a different story of course. I still believe it is the code though. I trust my gut on it being the code. I been programming for over 10 years and I can imagine how some of that code might be written causing this problem.

Re: Problem with Controller Trackpad. Need some help

I found this discussion by googling for the exact same problem. Same symptoms; both controllers do it, both SteamVR beta and non-beta does it, occurs in all games and Home. I've programmed firmware myself, so I have pretty good instincs for isolating a problem, and nothing isolates it. I agree with the previous commenter that this is almost certainly a bug either in the controller firmware, or the SteamVR API. This is precisely the sort of bug that I myself would have in my own code. I also am amazed at how little it's being talked about. It's annoying enough that I have changed my recommendation for people wanting to buy VR from Vive to Oculus.

Re: Problem with Controller Trackpad. Need some help

Yeah, this is a common problem. I've had it for a long, long time. Resetting the controllers doesn't fix it. Maybe temporarily, but it's back pretty soon. I got a Rift as a supplement, but that has its own problems (USB and tracking issues).