Script for automated testing of computer latency.

More
5 years 8 months ago #199530 by danielcharles
Replied by danielcharles on topic Script for automated testing of computer latency.
Hello,
Screen Latency Automated Testing (SLATE)
This is not an officially supported Google product

This is a 2 part software that helps to measure typing latency on display devices.

In a more elaborate sense, it measures how much time it takes a key you typed to appear on your screen. As the latency can vary with the use of a different keyboard, this software carries the measurement only from the point operating system gets to know a key-press input is received, as that measurement will be keyboard independent.

Install instructions
Clone the repository or download it from the source.

git clone github.com/googleinterns/screen-latency-testing.git

Import the Camera2SlowMotion android app in Android Studio.

Install the app on your smartphone from Android Studio. (App will not run without step 5)

Build the server script.

go build Server/serverSlate.go

Enable USB-debugging mode on your phone from Developer options. Used to communicate with phone during testing.

Connect your smartphone to your laptop/pc/testing-device using a USB cable and run the server script on your laptop/pc/testing-device.

go run Server/serverSlate.go

The app will be opened on your phone automatically.

Open a text editor on your laptop/pc/testing device and place the cursor somewhere in the editor. Make sure the editor is in the camera field of view of the opened app.

Press and hold the capture button for some time. The text will be typed/simulated automatically on the editor.

Wait for the lag to be calculated and displayed on the screen.

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199534 by andypugh
The message above is very close to being deleted as spam. It has no relevance at all to the thread, or to LinuxCNC. But it is also not obviously malicious.

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199543 by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
Screen latency is a topic for gamers, not linuxcnc.
I feel a ban going on ... :)

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202120 by JohnnyCNC
I acquired a HP Slimline S5000 computer with 4GB ram and decided to give it a try. I followed the Linuxcnc-on-linux-mint-19-3-quick-and-easy-installation. I installed a PCI gracphics card because the video would go nuts and the machine would freeze when the lcnc-hw script or I manually tried to make the glxgears full screen. When I run the script it looks like it runs OK and is getting decent latency but at the end of the script is shows an error. Any idea what if anything I can do about this?

Closing browser firefox with WID of 65011715
Done.
..IPDL protocol error: Handler returned error code!

###!!! [Parent][DispatchAsyncMessage] Error: PLayerTransaction::Msg_ReleaseLayer Processing error: message was deserialized, but the handler returned false (indicating failure)

IPDL protocol error: Handler returned error code!

###!!! [Parent][DispatchAsyncMessage] Error: PLayerTransaction::Msg_ReleaseLayer Processing error: message was deserialized, but the handler returned false (indicating failure)

IPDL protocol error: Handler returned error code!



Thanks
John

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202129 by seuchato
John
I cross my fingers, stating, that soon my worries are over and I can finally revert to this topic for good.

Allow me a sideremark: According to this , the cpu looks like (ehem) old?

Now, LCNC is known to work on just plain ole hardware. Not sure yet, if it covers this type. However, something like "IPDL protocol error: " is unknown to me. I'll have to dig into this.
Kindly be patient. I NEED to get through with some obstacles in my life I can dedicate the time to this again.

Greez
Chris

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #202130 by seuchato
John
Kindly post the .hw file and say the last 50 lines of the .lat file.
Greez
chris

Please Log in or Create an account to join the conversation.

Time to create page: 0.188 seconds
Powered by Kunena Forum