- Posts: 22010
- Thank you received: 3
Script for automated testing of computer latency.
- tommylight
-
Topic Author
- Offline
- Administrator
-
Less
More
6 years 1 month ago #183347
by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
Done.
Please Log in to join the conversation.
6 years 1 month ago #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 to join the conversation.
6 years 1 month ago #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:
Code:
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 to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 1 month ago #183916
by BeagleBrainz
Replied by BeagleBrainz on topic Script for automated testing of computer latency.
try
Code:
sudo apt-get install firefox-esr
Please Log in to join the conversation.
6 years 1 month ago #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.
Please Log in to join the conversation.
6 years 1 month ago #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.
txtrone wrote: I cannot get this to run on a Raspberry Pi4. This is the error msg:
Code: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 to join the conversation.
6 years 1 month ago #184139
by txtrone
Replied by txtrone on topic Script for automated testing of computer latency.
After I got firefox installed everything was fine.
Please Log in to join the conversation.
6 years 1 month ago #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 to join the conversation.
6 years 1 month ago #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
Attachment not found
@tommylight: I know, you know the drill
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 1 month ago #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.
Please Log in to join the conversation.
Time to create page: 0.279 seconds
