Strange symptom with keyboard and mouse
- @cghague
Tinypilot comes up fine and I can see the video with no problem. When I move the cursor or try to key something in, nothing happens (at least that's the way it looks). Cursor doesn't move, keys are not echoed.
But, in reality the mouse movements and key strokes are going to the PC but the view seems to not reflect that.
As an example, if I cursor over the wastebasket and right click, nothing will show up on the screen. But if i refresh the page, it shows that the movement and click have occured.
Running latest version 2.6.2 of Tinypilot. Windows 11.
- CIn reply tojohnsikora⬆:Charles Hague @cghague2024-01-11 18:39:39.893Z
Hi John, thanks for reaching out. I'm sorry to hear you're having trouble with the video freezing.
There could be several explanations for this issue, so we'll need to investigate further. It sounds like the TinyPilot device isn't having any issues capturing the screen or sending input, so the problem is most likely with the video stream between the TinyPilot device and your web browser.
Could you please send me a link to your logs by going to System, Logs, and Get Sharable URL? Can you please also try switching the streaming mode by going to System, then Video Settings, and then choosing whichever of MJPEG or H.264 isn't currently selected from the dropdown menu?
- JJohn Sikora @johnsikora
Here is the link:
https://logs.tinypilotkvm.com/9Ng9sVCP
Tried setting the video to H.264 but got a message that it couldn't do it. Running MPEG.
- CCharles Hague @cghague2024-01-15 01:56:14.164Z
Thanks for getting back to me!
I've reviewed the logs you provided, and everything looks normal. I don't believe H.264 works with RemoteIT by default, but you may be able to fix that by configuring a STUN server.
Regarding MJPEG not working, the video appears to be getting cached or frozen somewhere in transit. It would be good to rule out RemoteIT as the explanation, so would it be possible for you to try accessing the TinyPilot device over a local network to check if the issue still happens?
- JIn reply tojohnsikora⬆:John Sikora @johnsikora
I just noticed something when I tried to test this morning. I have "timer" on the computer that counts down on the screen. When I access the screen, I thought that it was not responding but the timer does indeed count down albeit very slowly which seems to concur with your thoughts ont he video being hung up somewhere.
I don't have the ability to add another computer to the network. But, I did log into tinypilot from the PC that I was monitoring. You get the infinite mirror effect, but I did see the countdown dropping normally on the infinite number of screens. And the screens came up very quickly.
I also installed tailscale and tried to connect with it. Got the same symptoms.
The last thing I changed was the SD card with the new version 2.6.2. Could the speed of the SD card be an issue?
- JIn reply tojohnsikora⬆:John Sikora @johnsikora
Ok, made some progress. I had said that tailscale did not improve the situation. But on a whim, I moved the video to H.264 and everything works as it should. Speed is normal
- Progresswith handling this problem
- JJohn Sikora @johnsikora
More information. It looks like the video is not working. it come up fine but does not update unless you do a page refresh. Running the current version of remote it as well.
- JJohn Sikora @johnsikora
Went back and forth between the two video versions. MPEG consistently was very slow H.256 seems to work fine. On both tailscale and remote.it
- CCharles Hague @cghague2024-01-17 03:28:23.732Zreplies tojohnsikora⬆:
Thanks for getting back to me with your detailed notes!
The symptoms you've described strongly suggest that there is something between the TinyPilot device and your computer causing problems with the video stream. It's doubtful that a configuration problem on the TinyPilot device or a slow microSD card is causing this issue.
As you're working over the Internet, it's unlikely that you can do anything to fix whatever is causing the underlying issue. However, you mentioned that H.264 works when using Tailscale. I recommend using H.264 over MJPEG, as H.264 performs better, and I know that many of our customers use Tailscale, so if possible, I'd recommend sticking with H.264 over Tailscale if that's an option.