#linuxcnc-devel Logs
May 01 2020
#linuxcnc-devel Calendar
12:08 AM Tom_dev: Linux buster 4.19.114-rtai-amd64 #1 SMP Thu Apr 30 23:42:09 CDT 2020 x86_64 GNU/Linux
12:12 AM Tom_dev: that's something. now to attach linuxcnc
12:12 AM Tom_dev: attack*
01:21 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/Screenshot%20at%202020-05-01%2001-19-26.png
01:30 AM Tom_L: gigabyte mb
01:31 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/Screenshot%20at%202020-05-01%2001-28-10.png
01:31 AM Tom_L: asrock q1900
01:31 AM Tom_L: then it jumped to http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/Screenshot%20at%202020-05-01%2001-29-02.png
08:21 AM jepler: new kernel package is done, now building a pi4 image with pi-gen .. hopefully that hasn't bitrotted in the last weeks/months
09:19 AM Centurion-Dan2 is now known as Centurion_Dan
09:57 AM skunkworks: Tom_L: this ? https://www.youtube.com/watch?v=OfaQbrQO2AQ
09:57 AM skunkworks: jepler: let me know
09:57 AM skunkworks: * us
10:01 AM jepler: looks like it'll take a few tries, I reorganized the scripts a bit and it created failures
10:01 AM jepler: teach me to try to ever improve things, let alone when they have a >1 hour build+test cycle
10:04 AM skunkworks: heh - I can fix that - just give me a few minutes.. (5 hours later)
10:07 AM skunkworks: Is thingiverse not working?
10:14 AM Tom_L: skunkworks, yes looks like it
10:41 AM Tom_L: has the git repository for 2.8 been separated from master now?
10:42 AM Tom_L: i do a checkout and it shows 2.8 as new
12:05 PM sync: aaaa why is halshow fixedwidth
12:09 PM sync: ah oh and it only updates every 250ms
01:50 PM jepler: looks like I'll finally get an image .. I should probably test it tho, before sending anybody on a wild goose chase
01:50 PM Tom_L: duck duck goose
01:52 PM jepler: I wonder if there's any reason to leave noobs-image building intact. I've never used one.
01:52 PM Tom_L: to build an iso?
01:54 PM jepler: it's something in addition to .img, the thing you copy to an sd card. I can't even quite figure out what it is from the offical description: "NOOBS is an easy operating system installer which contains Raspbian and LibreELEC. It also provides a selection of alternative operating systems which are then downloaded from the internet and installed."
01:55 PM jepler: these are pi images, not PC / x86 images
01:58 PM Tom_L: oh
01:58 PM Tom_L: if the pi4 works out it might become more useful
02:00 PM jepler: It seems to have okay performance with uspace and preempt-rt realtime. skunkworks is using it successfully.
02:00 PM jepler: running some ethernet mesa hardware I think
02:01 PM Tom_L: rather impressed with what he's been doing
02:01 PM Tom_L: pretty sure he's running the 7i92?
02:02 PM Tom_L: did you have any luck back when you were trying spi with the pi3?
02:02 PM Tom_L: wonder how that would do on the pi4
02:09 PM jepler: I haven't moved motors with linuxcnc for ages so who can say. It does "work" as in it loads, meets realtime deadlines, etc. on pi3 and pi4 both afaik.
02:14 PM andypugh: I spun a motor today with LinuxCNC! Trying to remind myself that is isn’t just an excuse to code.
02:14 PM Tom_L: andypugh, it's not as bad as i'd expected
02:14 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/D525_Latency_Wheezy.png
02:14 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/screenshots/D525_Buster_Rtai_2.png
02:15 PM Tom_L: running glxgears on both for a short bit
02:16 PM andypugh: I would say that is good.
02:16 PM Tom_L: it would likely take a week or so to build it on the D525
02:17 PM Tom_L: it was worse on the asrock 1900
02:17 PM Tom_L: odd
02:18 PM Tom_L: maybe worth a try on your mill board if you had a spare drive. i'm not ready to commit to it
02:33 PM rene_dev_: pyhton3 support is comming along nicely
02:56 PM skunkworks: rene_dev_: yay!
02:57 PM rene_dev_: axis fully works, some pyvcp panels dont work
02:57 PM rene_dev_: almost all tests pass
02:57 PM rene_dev_: and looks like I can have it in a single codebase
02:58 PM skunkworks: Tom_L: jepler: yes - running 7i92 ethernet. I have to though run a 500hz servo thread.
02:58 PM skunkworks: (I think spi works better from what peter has said)
02:59 PM skunkworks: less overhead I suppose.
02:59 PM skunkworks: I think he was running >1khz servo threads.
03:00 PM rmu|w: I am running rpi4 with spi and 1kHz servo thread. Did also work on rpi3.
03:00 PM skunkworks: ethernet didn't work <rp4 because of the usb interface.
03:01 PM rmu|w: although user interface snappiness (is that a word?) is night and day between rpi3 and rpi4
03:01 PM skunkworks: Yes - rpi4 is very usable.
03:01 PM skunkworks: Like I totally forget it is running on the PI
03:02 PM rmu|w: also up to 4gig ram on the pi4 also helps
03:02 PM pcw_home: yes, lack of memory in the RPI3 is also an issue
03:02 PM skunkworks: yes - that is what I am running.. Peter though 2gb minimu
03:02 PM skunkworks: minimum
03:03 PM pcw_home: manipulating a big complex backplot would crash the RPI3
03:03 PM pcw_home: VTK might fix that
03:04 PM rmu|w: i did not manage to find a prebuilt VTK for the pi or build one that has the python module included and working
03:05 PM pcw_home: Yeah I have not tried it , just know that it is much less resource intensive
03:12 PM jepler: is there a UI that uses vtk instead of gremlin for preview / backplot? I've missed more than I knew.
03:12 PM pcw_home: hazzy/probe-basic
03:12 PM * jepler continues to wrestle with pi image generation
03:19 PM skunkworks: pcw_home: what servo thread have you been running with the pi4 and spi?
03:38 PM pcw_home: 1 KHz
04:13 PM sync: oh, I just noticed, the rollmode in the halscope is not a roll mode
04:16 PM sync: https://sync-hv.de/ncloud/index.php/s/y5ygDwkazcgCRYo
04:19 PM rmu|w: sync: try retriggereing the trigger "permanently"
04:21 PM sync: rmu|w: roll mode should work untriggered
05:10 PM -!- #linuxcnc-devel mode set to +v by ChanServ
05:13 PM -!- #linuxcnc-devel mode set to +v by ChanServ
05:36 PM rmu|w: sync: workaround
05:40 PM sync: well yes
05:40 PM sync: but ehh
06:01 PM rene_dev_: Python 3 stuff seems to work with 2 and 3
06:01 PM rene_dev_: only one place in the python code is ugly
06:18 PM jepler: new image, runs on pi4 only. linuxcnc is some old master version from january or even december. main advance is that hopefully raspberrypi-kernel updates can't render it unbootable
06:18 PM jepler: https://zaphod.unpythonic.net/pi/image_2020-05-01-linuxcnc-pi4.zip
06:18 PM jepler: not considered safe for anyone to use, but we'll let skunkworks risk it all on our behalf
06:26 PM rene_dev_: jepler very close to having a fully working branch that works with python2 and 3, with all tests passing on both versions
06:27 PM jepler: that's very exciting, will love to see it merged to master
06:27 PM rene_dev_: most of the python related stuff is already in master, as it doesnt affect python2 in any way.
06:41 PM rene_dev_: Im still looking for a way to run the Tests with the correct python version
06:46 PM andypugh: Break master, share the problem.
06:47 PM andypugh: (Serious suggestion)
06:48 PM andypugh: Maybe it’s time for an IRC meeting to say we commit to Py3 in master now, Accept it will break and live with that.
06:52 PM andypugh: IRC agends (draft)
06:53 PM andypugh: Should Master always compile(yes, though with a few days grace for legacy platforms, (it isn’t reasonable to expect every dev to have a private build farm)
06:55 PM andypugh: Should Master never be broken? “No, LinuxCNC is always broken, Master can always be more broken:
07:03 PM jepler: make a program linuxcnc-python and point all the #!-s at it?
07:04 PM jepler: #!/usr/bin/env linuxcnc-python
07:05 PM jepler: and the linuxcnc-python script would be created by configure and say #!/bin/sh / exec "@PYTHON@" "$@" or so
07:11 PM rene_dev_: Ah, good idea
07:12 PM rene_dev_: andypugh we can commit to python 3 once I know what the gacreen situation is
07:14 PM rene_dev_: otherwise we are stuck with axis and the qt UIs, so no touchy for you ;D
07:14 PM rene_dev_: I probably have an answer to that question this weekend
07:15 PM andypugh: There is no option to _not_ move to Python3 (well, we could dumjp Python and move to Tcl or APL or Rust, but….)
07:15 PM rene_dev_: Jepler can you create such a script? Im always confused by configure. I can take care about updating all the tests
07:16 PM rene_dev_: I know:D
07:29 PM skunkworks: jepler: that is what I do :)
07:31 PM jepler: https://emergent.unpythonic.net/files/sandbox/0001-Add-a-script-to-run-the-right-python-version-for-lin.patch https://github.com/jepler/linuxcnc/pull/new/linuxcnc-python-script rene_dev_
07:41 PM rene_dev_: jepler that was quick! thanks!
07:42 PM rene_dev_: andypugh I dont think you understand the problem in https://github.com/LinuxCNC/linuxcnc/issues/814
07:42 PM rene_dev_: can you see the box?
07:46 PM andypugh: Yes, I see the box. No box makes everything equally bad. Full box makes the preview invisible.
07:47 PM andypugh: G54 does not deserve a box, btut XYZ in a box might be a good compromise.
07:52 PM sync: or make it 50% opaque or something?
07:53 PM rene_dev_: ah, ok. then maybe not a bigger box, but only behind the text background maybe?
08:02 PM andypugh: Maybe XYZ bright yellow opaque, all the rest blue and ghosted
08:04 PM andypugh: Basically if the foregound colour is different then the different background treatment looks deliberate.
08:04 PM andypugh: Anyway, sleep..
08:52 PM jepler: kernel git tree and building scripts pushed too
09:37 PM rene_dev_: jepler do you happen to know boostpython? :D
09:40 PM skunkworks: I think jepler wasn't involved with the addition of boost... That iirc was the machinekit guy - micheal?
09:40 PM rene_dev_: yes :(
09:41 PM skunkworks: I remember there being friction there.. ;)
09:45 PM rene_dev_: its badly done, and I think no one ever used it
09:45 PM rene_dev_: but I already figured it out
09:48 PM rene_dev_: ok, looks like remaps are working in python3
09:50 PM skunkworks: wow - you guys are on fire!
09:55 PM jepler: I do have to confess to past work with boost_python at $DAY_JOB but it doesn't make me like it :-P
09:55 PM jepler: $OLD_DAY_JOB that is
09:56 PM rene_dev_: im not sure the c interface is better
09:57 PM rene_dev_: anyway, I need some sleep. hopt to get it to pass some more tests tomorrow.
11:06 PM linuxcnc-build: build #4430 of 1402.rip-wheezy-rtpreempt-i386 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1402.rip-wheezy-rtpreempt-i386/builds/4430 blamelist: Rene Hopf <renehopf@mac.com>
11:06 PM linuxcnc-build: build #6771 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/6771 blamelist: Rene Hopf <renehopf@mac.com>