#linuxcnc Logs
Oct 18 2025
#linuxcnc Calendar
12:51 AM Deejay: moin
05:41 AM Tom_L: morning
06:28 AM -!- #linuxcnc mode set to +v by ChanServ
06:28 AM -!- #linuxcnc mode set to +v by ChanServ
07:19 AM lcnc-relay: <meisterdippel@> https://forum.linuxcnc.org/38-general-linuxcnc-questions/57506-raspberry-pi4-5-i2c-support-for-non-realtime-io-adc-lcd
07:24 AM JT-Cave: neat, but I would never use time.sleep() in code except for testing
09:18 AM rdtsc: interesting aside, was tinkering with SDL3 and made a "hello world" C app, which worked fine, but had slightly excessive CPU usage due to no delay in main loop... SDL_Delay( 16 ); // ~60 fps solved that :) but anyways
09:33 AM rmu: rdtsc: dearimgui syncs with display refresh
01:28 PM andypugh: I created a Trixie ISO image. In testing I did not get the fancy custom LinuxCNC splash screen for the installer menu. Has anyone here done a recent install and knows if it was there then?
01:29 PM andypugh: This background here: https://github.com/LinuxCNC/linuxcnc-live-build/blob/bookworm/config/bootloaders/isolinux/splash.svg
01:30 PM xxcoder: I want to update that to use logo I made lol
01:37 PM Tom_L: sry, i don't recall either
01:38 PM JT-Shop: I haven't done a live cd install in a long time
01:38 PM Tom_L: are you planning to do one for rpi too?
01:39 PM JT-Shop: no plans yet for the rpi but I might try rolling my own
01:39 PM Tom_L: https://www.raspberrypi.com/software/operating-systems/
01:40 PM Tom_L: looks like 13 is out for them now
01:41 PM Tom_L: both 32 and 64 bit
01:45 PM Tom_L: JT-Shop, was looking at this as a screen: https://www.amazon.com/15-6inch-HDMI-LCD-case-Resolution/dp/B07QXKKHRF
01:45 PM Tom_L: the one you linked a while back is out of stock
01:45 PM Tom_L: was
01:48 PM JT-Shop: interesting it has 10 point touch
01:48 PM Tom_L: is that good?
01:48 PM Tom_L: i know very little about them
01:48 PM JT-Shop: I've never used that I just get single touch
01:48 PM Tom_L: rdtsc is using one or at least that brand
01:49 PM Tom_L: yeah from the sounds of it, it's not necessary
01:54 PM lcnc-relay: <lucid.nonsense@> Nice thing about multitouch is two finger scrolling
01:55 PM lcnc-relay: <lucid.nonsense@> And two fingers for right click
01:55 PM lcnc-relay: <vibram@> https://imgur.com/a/VDQz2xU
01:56 PM lcnc-relay: <vibram@> Still have this annoying pike at the acceleration
01:56 PM lcnc-relay: <vibram@> But after it's better
01:56 PM lcnc-relay: <meisterdippel@> JT-Cave: What else do you want to do for a loop?
01:56 PM lcnc-relay: <vibram@> Any advice?
01:56 PM Tom_L: vibram, do you have backlash comp enabled
01:57 PM Tom_L: it is added in at the beginning of a move
01:58 PM lcnc-relay: <vibram@> Backlash at 0 for the moment
01:58 PM lcnc-relay: <vibram@> But one thing worries me, when enabled but idle, I feel the screw turning from one direction to another in order to compensate
01:58 PM Tom_L: meisterdippel, the delay is just to display the credits?
01:59 PM lcnc-relay: <vibram@> Even with the deadband
01:59 PM Tom_L: get rid of as much as you can mechanically
02:00 PM JT-Shop: <meisterdippel@> JT-Cave: What else do you want to do for a loop? a loop for what?
02:00 PM Tom_L: his i2c code with the sleep in it
02:01 PM Tom_L: https://github.com/multigcs/riocore/blob/dev/riocore/plugins/rpii2c/rpii2c.py
02:01 PM Tom_L: looks like it's purely for the credits
02:02 PM JT-Shop: I would use non blocking timer
02:02 PM Tom_L: no there's a few more
02:02 PM lcnc-relay: <meisterdippel@> there is no other way, there are no callbacks and it's a user component
02:02 PM Tom_L: on LCD's we waited with a timeout
02:03 PM lcnc-relay: <meisterdippel@> JT-Shop: ans the main loop ?
02:03 PM Tom_L: so it didn't get stuck with no reply
02:03 PM lcnc-relay: <vibram@> Tom_L: Of course this is what I did 😭
02:04 PM JT-Shop: I would have to study the code but generally using time.sleep() is blocking so not good to use
02:04 PM lcnc-relay: <meisterdippel@> You can do things like that in Qt apps, but not as a background program.
02:04 PM JT-Shop: except for testing
02:05 PM lcnc-relay: <meisterdippel@> It should also block, otherwise you'll have a loop that eats up your CPU.
02:05 PM JT-Shop: try using a threading timer
02:05 PM JT-Shop: so you won't need to do a loop that never stops
02:06 PM lcnc-relay: <meisterdippel@> How do you make sure the main thread doesn't end?
02:06 PM JT-Shop: I've only used threads once or twice so I would have to research it
02:07 PM JT-Shop: iirc you spawn a worker thread
02:07 PM lcnc-relay: <meisterdippel@> It could be that you have no idea 🙂
02:07 PM JT-Shop: now where is the other strut adjustment bold
02:07 PM JT-Shop: it could be that I forgot
02:07 PM * JT-Shop leaves now
02:08 PM lcnc-relay: <meisterdippel@> And why should I open multiple threads? One is enough for me, and when I put it to sleep, I free up the CPU for that time.
02:12 PM lcnc-relay: <meisterdippel@> Sorry, but I do this shit for a living.
02:12 PM lcnc-relay: I think I know what I'm doing.
02:15 PM JT-Shop: sounds like your taking my comment way to personal... take a chill pill
02:16 PM roycroft: welcome to the internet :)
02:18 PM JT-Shop: yup
02:20 PM lcnc-relay: <meisterdippel@> A little, I just don't like it when someone thinks something is bad even though there is no alternative.
02:20 PM lcnc-relay: And you can't give me a working example of how it could be done differently.
02:22 PM lcnc-relay: <meisterdippel@> We can certainly discuss this further.
02:25 PM lcnc-relay: <meisterdippel@> I think I know what you mean. I wouldn't do that in a Qt program either, but what do you think app.exec does in the background?
02:30 PM andypugh: pere: Do you know where the “stock” Trixe live-build config can be found?
02:30 PM lcnc-relay: <meisterdippel@> There are only three options:
02:30 PM lcnc-relay: * The program ends.
02:30 PM lcnc-relay: * It eats up the CPU in a loop.
02:30 PM lcnc-relay: * Or it has a loop with a sleep in it.
02:30 PM lcnc-relay: This applies to every program, whether C, Python, etc., and whether CPU or MCU.
02:31 PM * roycroft notes that being exclusive in and of itself in no way precludes goodness, badness, or anything other than non-exclusivity
02:31 PM JT-Shop: https://cloud.debian.org/images/release/current-live/amd64/iso-hybrid/
02:33 PM lcnc-relay: <meisterdippel@> But sorry, I didn't mean to attack you directly, I had a stressful day.
02:33 PM pere: andypugh: not really, but I can look for it.
02:35 PM pere: andypugh: could it be <URL: https://salsa.debian.org/live-team/live-config > you are looking for?
02:36 PM JT-Shop: https://stackoverflow.com/questions/22180915/non-polling-non-blocking-timer
02:38 PM andypugh: Possibly. But I don’t seem to be finding what I am lookign for, ie the base versions of our config at https://github.com/LinuxCNC/linuxcnc-live-build/tree/bookworm/config
02:38 PM * JT-Shop goes to spoil the chickens then another nap is needed to fight off this cold
02:43 PM lcnc-relay: <vibram@> I don't understand something. My program is finished (last row is M2 and M2 is active in the window above the gcode). However my motor is still pumping between 0.001 and 0.009
02:43 PM lcnc-relay: This is not huge but I can feel the leadscrew turning with my hand.
02:43 PM lcnc-relay: Is it normal that the motor can move back and forth even after end of program?
02:44 PM lcnc-relay: <meisterdippel@> JT-Shop: yes, for multithreading, but what du you think is myThread.start() doing in the background, there is a loop with a sleep
02:49 PM Tom_L: i don't see myThread.start() there
02:49 PM Tom_L: i wouldn't understand it anyway...
02:53 PM lcnc-relay: <meisterdippel@> Tom_L: one of the examples on this page
03:05 PM lcnc-relay: <meisterdippel@> http://linuxcnc.org/docs/2.9/html/hal/halmodule.html#_basic_usage_example
03:06 PM lcnc-relay: <andypugh@> vibram@ Is this a servo or stepper setup? If stepper, is there a PID in the control loop?
03:07 PM lcnc-relay: <andypugh@> The control loop is still live, even when not running G-code
03:24 PM lcnc-relay: <vibram@> Servo
03:24 PM lcnc-relay: <vibram@> And with pid yes
03:24 PM lcnc-relay: <vibram@> So my P in too high then...
03:24 PM lcnc-relay: <vibram@> I is 0
04:29 PM JT-Shop: another nap down and I feel a tiny bit better
04:31 PM JT-Shop: meisterdippel note that I commented that "I" would not use time.sleep() I didn't say you should not and I also thought what you did was neat
04:34 PM Tom_L: naps are wonderful things
04:36 PM JT-Shop: it's weird I'm not congested now and the green apple trots are gone I was just tired all day dunno what I had
04:37 PM JT-Shop: just about got the hal led worked out
04:49 PM Tom_L: maybe some bad food?
04:49 PM Tom_L: i've had that happen more than once
04:50 PM xxcoder: probably spending energy digesting it
04:50 PM Tom_L: doesn't esplain the congestion though
04:50 PM Tom_L: x
04:52 PM xxcoder: just got one mystery package. it was what I ordered, PID plug controller to heat or cool. weird because I had gotten fedex tracking number that never moved
04:52 PM JT-Shop: congestion, sore throat and an occasional cough
04:52 PM Tom_L: seems i've been napping more after this procedure but starting to feel somewhat normal other than the healing
04:52 PM xxcoder: I was wondering when I saw it. pink plastic bag type packaging. but thankfully it wasnt something for ladies like my last 2 mystery packages.
04:53 PM Tom_L: kinda takes the wind outta the sails for a spell
04:53 PM xxcoder: I bet yeah
04:53 PM JT-Shop: yup
04:54 PM JT-Shop: couldn't concentrate on anything
04:54 PM Tom_L: i can relate to that
04:54 PM Tom_L: leg compressions keep me up half the night
04:55 PM JT-Shop: I can't even imagine that
04:55 PM Tom_L: i've cut back some on that
04:55 PM xxcoder: ones that help push water to upper body?
04:56 PM Tom_L: i guess
04:56 PM Tom_L: it's for clotting
04:56 PM Tom_L: or to prevent blood clots
05:01 PM JT-Shop: rain is getting close
05:02 PM xxcoder: its here for me. it was sunny in morning
05:08 PM Tom_L: rained a bit here but for now has stopped
05:09 PM Tom_L: hal led wasn't that bad to begin with...
05:09 PM Tom_L: just thought sizing might be a good feature
05:10 PM JT-Shop: it was not able to change size if you changed the window size but you won't know about that because you don't use layouts
05:10 PM Tom_L: true
05:11 PM JT-Shop: also the QRadialGradient would not be in the correct place
05:11 PM Tom_L: if i start another one maybe i'll start off using them
05:11 PM JT-Shop: so now or when I push the led will scale with the window
05:14 PM Tom_L: i'll be glad to return to work... at least i'll know what day of the week it is
05:15 PM JT-Shop: you got someone minding the jobs?
05:15 PM Tom_L: i keep my schedule so i just cleared it
05:15 PM JT-Shop: ah ok
05:15 PM JT-Shop: are you the only one left?
05:15 PM Tom_L: yup
05:16 PM Tom_L: he still helps out but is 'officially' retired
05:16 PM JT-Shop: nice
05:16 PM Tom_L: finally at 78
05:17 PM lcnc-relay: <andypugh@> vibram@: Possibly. You could try less P and a hint of I. You could also look at enough deadband to ignore a single encoder count dither. (but only do that if you really have to)
05:17 PM JT-Shop: so I have 6 more years to call it quits?
05:17 PM Tom_L: heh
05:18 PM Tom_L: you can take the jobs or turn them down just the same
05:18 PM JT-Shop: yup
05:19 PM Tom_L: what came of the nail factory one?
05:20 PM Tom_L: i think the C3 took it's place...
05:21 PM JT-Shop: the one that owes me money?
05:21 PM Tom_L: oh i didn't recall that part
05:21 PM Tom_L: that's pretty self explanatory
05:21 PM JT-Shop: yup I won't even answer calls from them for blowing me off
05:22 PM JT-Shop: so I got to do a bit more to the copy lathes to make them do a coarse cut then a fine finish cut
05:22 PM Tom_L: i thought you just made feeders for them
05:23 PM JT-Shop: for foxy?
05:23 PM JT-Shop: or the nail plant?
05:23 PM Tom_L: maybe i'm confused... hammer handles?
05:23 PM Tom_L: yes foxy
05:23 PM JT-Shop: yup that's foxy
05:23 PM JT-Shop: I converted a few late 1800's machines and converted 4 copy lathes to plc
05:24 PM Tom_L: nail plant is not nailed now.. they're screwed
05:24 PM JT-Shop: for foxy
05:24 PM Tom_L: yeah i remember that
05:26 PM xxcoder: I wonder why company thought it was okay to rip off people
05:26 PM JT-Shop: the owner is a bit of a jerk and has been for a long time
05:27 PM Tom_L: i did a few software projects and always kept an out
05:27 PM Tom_L: programmed a run date
05:28 PM JT-Shop: I did that on a plc once because I suspected the guy to be a bit of cheat
05:28 PM Tom_L: kinda fun to watch em squirm
05:28 PM JT-Shop: yup
05:29 PM JT-Shop: I had one guy put in jail for writing two bad checks
05:29 PM Tom_L: remind me not to write you a check
05:30 PM xxcoder: dont even have checkbook, not for decades
05:30 PM Tom_L: yeah we're probably the last generation for that
05:30 PM JT-Shop: the bad check lady looked really mean and said we'll get your money
05:31 PM JT-Shop: so she put him in jail
05:31 PM JT-Shop: shit is fixing to hit the fan here
05:32 PM xxcoder: lady wrote bad checks and wanted your money?
05:32 PM * Tom_L checks the colorful radar
05:32 PM Tom_L: no she's the collection agent
05:32 PM JT-Shop: lady was the bad check collection person for the county
05:32 PM xxcoder: ahh
05:32 PM xxcoder: what is colorful radar?
05:32 PM Tom_L: over Mo
05:32 PM JT-Shop: lots of red
05:32 PM xxcoder: ahh cloud/rain
05:33 PM Tom_L: swampeast Mo to be more precise
05:33 PM JT-Shop: https://radar.weather.gov/station/kpah/standard
05:35 PM xxcoder: https://earth.nullschool.net/#current/wind/surface/level/orthographic=-100.34,40.27,1028
05:35 PM xxcoder: lots wind in middlw
05:36 PM Tom_L: wind is not a new thing here
05:36 PM Tom_L: we consider 50mph a light breese
05:36 PM xxcoder: didnt say it was new ;)
05:37 PM Tom_L: i know
05:37 PM xxcoder: if I lived there, I'd certainly try set wind power
05:37 PM Tom_L: we have windmills all over the place here now
05:37 PM JT-Shop: I've been to an airport over your way and was a bit surprised to see an anchor chain as a wind sock
05:37 PM xxcoder: nice
05:39 PM Tom_L: headin to get a few groceries in a bit but if you push i'll build when i get back
05:39 PM JT-Shop: it will be in the morning
05:39 PM Tom_L: ok
05:40 PM Tom_L: not sure about the supper menu yet
05:40 PM JT-Shop: spaghetti here
05:40 PM JT-Shop: with sourdough toast
05:41 PM xxcoder: bahh need to make decision on that myself too
05:41 PM Tom_L: put an extra plate on..
05:42 PM JT-Shop: ok
05:42 PM Tom_L: thinking about getting another nvme hat for the 2nd pi
05:42 PM JT-Shop: second pi5?
05:42 PM Tom_L: yeah i got 2
05:43 PM Tom_L: probably don't need the extra nvme..
05:44 PM Tom_L: considered messin with trixie though
05:45 PM * JT-Shop calls it a night before the rain starts
05:45 PM Tom_L: ok i'm off to the store
05:45 PM xxcoder: good night, dont let rain bite
05:47 PM xxcoder: oh weird. guy marsden went way out of way of his usual, hes building manta ray kit
07:04 PM flyback: https://www.serialtool.com/_en/serial-port-serial-tool-screenshots
08:22 PM lcnc-relay: <skunkworks8841@> The mic audio in my pix 4 5g seems to sound about the same as my pixel 8
08:23 PM Tom_L: nice
08:28 PM Tom_L: i'm supposing one can set a static ip on a wifi connection the same as a hard wired one
08:30 PM Tom_L: i wonder if they're separate on the router...
08:33 PM -!- #linuxcnc mode set to +v by ChanServ
08:33 PM -!- #linuxcnc mode set to +v by ChanServ
08:38 PM Tom_L: took a few to remember where i even set that up on the router
09:15 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/BdUAWsSLnznD4aTw9
09:16 PM Tom_L: :) awesome
09:17 PM Tom_L: a size bigger
09:17 PM xxcoder: nice!
09:29 PM lcnc-relay: <skunkworks8841@> Yes.. hopefully last him a while
09:29 PM lcnc-relay: <skunkworks8841@> Still printing stuff
09:59 PM Unterhaus__ is now known as Unterhausen
10:11 PM _unreal_: having trouble getting this ubuntu 25 machine to see my NAS
10:11 PM _unreal_: in nautil
10:11 PM _unreal_: I can FTP no issue
10:12 PM _unreal_: smbclient -L=192.168.1.161
10:12 PM _unreal_: Protocol negotiation to server 192.168.1.161 (for a protocol between SMB2_02 and SMB3) failed: NT_STATUS_CONNECTION_DISCONNECTED
10:14 PM _unreal_: dsm-g600 is my nas
10:44 PM _unreal_: I believe the issue is SMBv1
10:45 PM xxcoder: super mario brothers 1? ;)
10:48 PM _unreal_: HAR HAR HAR
10:49 PM _unreal_: I really dont want to but am tempted to look into the open router firmware upgrade for my nas
10:49 PM _unreal_: from the default DLINK