Script for automated testing of computer latency.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
22 Sep 2020 21:07 #183347
by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
Done.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
23 Sep 2020 06:37 #183412
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
Just one little thing to watch, observed on a official 2.8.0 iso buster install:
if you start the script in a root shell using "su" (like me), then make sure you get root by doing "su -". Just "su" (without the "-") will leave the path not properly set.
greez
chris
if you start the script in a root shell using "su" (like me), then make sure you get root by doing "su -". Just "su" (without the "-") will leave the path not properly set.
greez
chris
Please Log in or Create an account to join the conversation.
27 Sep 2020 01:51 #183910
by txtrone
Replied by txtrone on topic Script for automated testing of computer latency.
I cannot get this to run on a Raspberry Pi4. This is the error msg:
pi@linuxcnc:~/Downloads $ sudo bash lcnc-hw
ls: cannot access '/proc/sys/dev/parport': No such file or directory
dpkg-query: no packages found matching xdotool*
dpkg-query: no packages found matching lshw*
dpkg-query: no packages found matching bc*
Cannot proceed, need missing packages to be installed:
for example: apt-get install dialog xdotool lshw firefox lm-sensors bc
Want me to install it for you now? [Y/n]y
Standby, I am going to install the required packages.
you will be prompted when cpmpleted, this may take a while...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firefox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'firefox' has no installation candidate
Installation failed
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
27 Sep 2020 02:54 #183916
by BeagleBrainz
Replied by BeagleBrainz on topic Script for automated testing of computer latency.
try
sudo apt-get install firefox-esr
Please Log in or Create an account to join the conversation.
27 Sep 2020 03:12 #183921
by txtrone
Replied by txtrone on topic Script for automated testing of computer latency.
Thanks! My bad, I should have found that on google. Anyhow, I have the script running now.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
28 Sep 2020 05:52 #184108
by seuchato
txtrone
I lack a pi4 - yet. I might get one soon. The errors you got. Afaik the stock pi4 is based on debian buster, which is exactly what I am using as my test pc (dell 980) for "lcnc-hw" script. I will look into that on a fresh install however.
Greez
chris
PS: Thx beaglebrainz for pointing the handish install
Replied by seuchato on topic Script for automated testing of computer latency.
I cannot get this to run on a Raspberry Pi4. This is the error msg:
pi@linuxcnc:~/Downloads $ sudo bash lcnc-hw ls: cannot access '/proc/sys/dev/parport': No such file or directory dpkg-query: no packages found matching xdotool* dpkg-query: no packages found matching lshw* dpkg-query: no packages found matching bc* ...
txtrone
I lack a pi4 - yet. I might get one soon. The errors you got. Afaik the stock pi4 is based on debian buster, which is exactly what I am using as my test pc (dell 980) for "lcnc-hw" script. I will look into that on a fresh install however.
Greez
chris
PS: Thx beaglebrainz for pointing the handish install
Please Log in or Create an account to join the conversation.
28 Sep 2020 11:23 #184139
by txtrone
Replied by txtrone on topic Script for automated testing of computer latency.
After I got firefox installed everything was fine.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
28 Sep 2020 18:53 #184199
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
The problem is, I had deliberately removed all required packages including firefox to test whether the script would recognize and successfully install those. On my machine it worked, not on yours. So I am not satisfied or happy.
Has to work.
But Thanks for the reply anyway.
greez
chris
Has to work.
But Thanks for the reply anyway.
greez
chris
Please Log in or Create an account to join the conversation.
30 Sep 2020 16:26 - 30 Sep 2020 16:27 #184392
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
Hi all
Attached is an updated version. what's different?
Greez
chris
@tommylight: I know, you know the drill : kindly update the link in your first post in this thread
Attached is an updated version. what's different?
- (hopefully better info on desktop environment, window manager and display manager
If what you have, is not what is evaluated, kindl post pstree here and give some hints on what you use. I might be able to fix it later. - if "snd" modules are detected, a script to "fake" install and thus avoid them from being loaded is added
- some bugs eleiminated and also typos. If you find others, kindly nitfy me.
Greez
chris
@tommylight: I know, you know the drill : kindly update the link in your first post in this thread
Last edit: 30 Sep 2020 16:27 by seuchato.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
30 Sep 2020 17:07 #184393
by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
Will do that as soon as i get out of the hospital, bro had an OP.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
Time to create page: 0.095 seconds