#linuxcnc Logs
Dec 28 2024
#linuxcnc Calendar
12:00 AM xxcoder: wtching that video now tom
12:14 AM lcnc-relay: <ntulinux2467@discord> oh nice!
12:14 AM lcnc-relay: <ntulinux2467@discord> i just read the reviews for ksp2, looks like they fired the entire dev team just about
12:19 AM xxcoder: assembly now, mostly suff I dont know
12:23 AM xxcoder: Tom_L: thanks for link, it was very nice
12:25 AM xxcoder: same person also made cabinet assembly
12:25 AM xxcoder: https://youtu.be/oXLrEydllwc
12:32 AM Deejay: moin
01:20 AM memleak: mornin!
01:21 AM memleak: so the linuxcnc chat relay is back
01:21 AM memleak: was the problem fixed or do we just not care anymore?
02:14 AM lcnc-relay: <TurBoss> hello good morning
02:15 AM lcnc-relay: <TurBoss> memleak: we figured the issue was discord showing previes of linked images caused a seccond message with a link to 404
02:15 AM memleak: i thought there was a spam issue too
02:16 AM lcnc-relay: <TurBoss> was a bit of anoying that linked 404
02:18 AM lcnc-relay: <ntulinux2467@discord> did you manage to boot the kernel btw?
02:18 AM lcnc-relay: <TurBoss> sorry could not
02:18 AM lcnc-relay: <ntulinux2467@discord> what happened? kernel panic?
02:18 AM lcnc-relay: <TurBoss> I can try today
02:19 AM lcnc-relay: <TurBoss> ran out of time
02:19 AM lcnc-relay: <TurBoss> was away
02:19 AM lcnc-relay: <ntulinux2467@discord> ah ok, yeah sorry about that first kernel config, i forget that debian uses systemd
02:19 AM lcnc-relay: <TurBoss> no problem
02:19 AM lcnc-relay: <TurBoss> is fine
02:19 AM lcnc-relay: <ntulinux2467@discord> how many years of python do you have under your belt?
02:20 AM lcnc-relay: <TurBoss> 15
02:20 AM lcnc-relay: <TurBoss> π
02:21 AM lcnc-relay: <ntulinux2467@discord> did you have to re-write a lot of stuff with the python 2 -> 3 migration?
02:21 AM lcnc-relay: <turboss@discord> yeah that was bit of pain
02:22 AM lcnc-relay: <ntulinux2467@discord> heh
02:23 AM lcnc-relay: <turboss@discord> I'll give a try to the kernel latter this morning
02:23 AM lcnc-relay: <ntulinux2467@discord> ok, yeah i'll be around
02:23 AM lcnc-relay: <turboss@discord> ok
02:23 AM lcnc-relay: <turboss@discord> thanks!
02:23 AM lcnc-relay: <ntulinux2467@discord> np!
02:28 AM lcnc-relay: <ntulinux2467@discord> what time is it there rn?
02:28 AM lcnc-relay: <turboss@discord> 9:20am
02:28 AM lcnc-relay: <ntulinux2467@discord> do you like spain?
02:29 AM lcnc-relay: <ntulinux2467@discord> i heard the cost of electronics are a lot more expensive there
02:29 AM lcnc-relay: <ntulinux2467@discord> brazil too
02:31 AM lcnc-relay: <turboss@discord> not sure about other parts
02:31 AM lcnc-relay: <ntulinux2467@discord> like how much would a 7900 XT GPU cost there?
02:32 AM lcnc-relay: <TurBoss> let me check
02:32 AM lcnc-relay: <ntulinux2467@discord> thanks, i'm very curious lol
02:33 AM lcnc-relay: <TurBoss> 700β¬
02:33 AM lcnc-relay: <ntulinux2467@discord> is that in Spanish Peseta?
02:34 AM lcnc-relay: <TurBoss> we use euro β¬
02:34 AM lcnc-relay: <TurBoss> that was long ago
02:34 AM lcnc-relay: <TurBoss> π
02:34 AM lcnc-relay: <ntulinux2467@discord> ah lol
02:36 AM lcnc-relay: <turboss@discord> https://dpaste.com/2VFB5MKW2 config diff
02:36 AM lcnc-relay: <turboss@discord> looks good?
02:37 AM lcnc-relay: <ntulinux2467@discord> yup
02:39 AM lcnc-relay: <turboss@discord> found another monitoring tool "gtop"
02:40 AM lcnc-relay: <turboss@discord> π
02:40 AM lcnc-relay: <ntulinux2467@discord> i just learned they use mushroom extract as a preservative for capri-sun
02:40 AM lcnc-relay: <ntulinux2467@discord> no idea how that works but cool lol
02:42 AM lcnc-relay: <turboss@discord> afk while compiles
02:42 AM lcnc-relay: <ntulinux2467@discord> ok π
02:45 AM lcnc-relay: <ntulinux2467@discord> going to reboot into gentoo here, brb as well
02:45 AM lcnc-relay: <TurBoss> back
02:45 AM lcnc-relay: <turboss@discord> ok
02:51 AM lcnc-relay: <ntulinux2467@discord> back
02:53 AM lcnc-relay: <turboss@discord> this still running
03:00 AM lcnc-relay: <ntulinux2467@discord> oh yeah since this is a Xeon system you might need the Intel VMD driver so the kernel can find the hard drive. Are you using SATA or NVMe?
03:04 AM lcnc-relay: <TurBoss> sat
03:04 AM lcnc-relay: <TurBoss> * sata
03:07 AM lcnc-relay: <ntulinux2467@discord> to be safe, hit control+c to cancel the build
03:07 AM lcnc-relay: <turboss@discord> done
03:07 AM lcnc-relay: <ntulinux2467@discord> ok 1 sec
03:08 AM lcnc-relay: <turboss@discord> π
03:16 AM lcnc-relay: <ntulinux2467@discord> ok run git pull in the kernel sources
03:16 AM lcnc-relay: <ntulinux2467@discord> i updated it to 6.12.7
03:16 AM lcnc-relay: <ntulinux2467@discord> and added the intel VMD driver
03:17 AM lcnc-relay: <ntulinux2467@discord> new kernel config: https://github.com/NTULINUX/gentoo_backup/blob/linuxcnc/kernel_config/config-6.12.7-SystemD-RT
03:17 AM lcnc-relay: <turboss@discord> okay getting the sources and the confi
03:18 AM lcnc-relay: <ntulinux2467@discord> π
03:19 AM lcnc-relay: <ntulinux2467@discord> "LLVM=1 make mrproper" then copy config-6.12.7-SystemD-RT to .config
03:19 AM lcnc-relay: <ntulinux2467@discord> "LLVM=1 make oldconfig"
03:19 AM lcnc-relay: <ntulinux2467@discord> then "LLVM=1 make -j8"
03:21 AM lcnc-relay: <turboss@discord> oh, did make clean
03:21 AM lcnc-relay: <turboss@discord> staring over
03:22 AM lcnc-relay: <ntulinux2467@discord> that config should be good now
03:22 AM lcnc-relay: <turboss@discord> building
03:23 AM lcnc-relay: <ntulinux2467@discord> you ran git pull and applied the config, make oldconfig didn't ask you any questions?
03:23 AM lcnc-relay: <turboss@discord> nop no questions
03:23 AM lcnc-relay: <ntulinux2467@discord> ok good
03:23 AM lcnc-relay: <turboss@discord> π
03:24 AM lcnc-relay: <ntulinux2467@discord> yeah 6.12.7 got released today, figured might as well run the latest sources
04:02 AM lcnc-relay: <turboss@discord> ntulinux2467@discord build success
04:02 AM lcnc-relay: <turboss@discord> `LLVM=1 make modules install ?
04:02 AM lcnc-relay: <turboss@discord> -install
04:03 AM lcnc-relay: <ntulinux2467@discord> "sudo make modules_install"
04:03 AM lcnc-relay: <turboss@discord> π
04:03 AM lcnc-relay: <turboss@discord> irrc i need to copy something by hand?
04:04 AM lcnc-relay: <ntulinux2467@discord> then install the kernel to /boot like so: "sudo cp -rLv arch/x86/boot/bzImage /boot/vmlinuz-6.12.7-rt6-RT && sudo cp -rLv System.map /boot/System.map-6.12.7-rt6-RT && sudo cp -rLv .config /boot/config-6.12.7-rt6-RT"
04:05 AM lcnc-relay: <ntulinux2467@discord> then "sudo grub-mkconfig -o /boot/grub/grub.cfg"
04:05 AM lcnc-relay: <turboss@discord> RT or systemd Rt ?
04:05 AM lcnc-relay: <ntulinux2467@discord> oh that's right, systemd, hold on
04:05 AM lcnc-relay: <turboss@discord> π
04:06 AM lcnc-relay: <ntulinux2467@discord> then install the kernel to /boot like so: "sudo cp -rLv arch/x86/boot/bzImage /boot/vmlinuz-6.12.7-SystemD-RT && sudo cp -rLv System.map /boot/System.map-6.12.7-SystemD-RT && sudo cp -rLv .config /boot/config-6.12.7-SystemD-RT"
04:06 AM lcnc-relay: <ntulinux2467@discord> updated message
04:06 AM lcnc-relay: <turboss@discord> ok
04:07 AM lcnc-relay: <turboss@discord> reboot?ΒΏ π€
04:07 AM lcnc-relay: <ntulinux2467@discord> then when you reboot, make sure you select the SystemD-RT kernel
04:07 AM lcnc-relay: <turboss@discord> okay
04:08 AM lcnc-relay: <turboss@discord> up
04:08 AM lcnc-relay: <ntulinux2467@discord> is it booting ok?
04:09 AM lcnc-relay: <turboss@discord> yes its on desktop
04:09 AM lcnc-relay: <ntulinux2467@discord> YES!
04:10 AM lcnc-relay: <ntulinux2467@discord> WOOOOO
04:10 AM lcnc-relay: <turboss@discord> "Linux tncx 6.12.7-rt6-SystemD-RT+ #1 SMP PREEMPT_RT Sat Dec 28 10:41:58 CET 2024 x86_64 GNU/Linux"
04:10 AM lcnc-relay: <ntulinux2467@discord> nice!!
04:10 AM lcnc-relay: <ntulinux2467@discord> we did it!
04:10 AM lcnc-relay: <turboss@discord> tncx@tncx:~$ latency-histogram --nobase --nox
04:10 AM lcnc-relay: Note: Using POSIX realtime
04:10 AM lcnc-relay: 0 s servo min: -4.500 us max: 5.400 us sdev: 0.600 us
04:10 AM lcnc-relay: <turboss@discord> without loafd
04:10 AM lcnc-relay: <turboss@discord> * load
04:11 AM lcnc-relay: <ntulinux2467@discord> try youtube lol that always does it
04:11 AM lcnc-relay: <ntulinux2467@discord> sound won't work btw, i wanted to mitigate latency spikes as much as possible so all sound card modules are disabled just in case
04:12 AM lcnc-relay: <ntulinux2467@discord> it's a very minimalistic kernel
04:13 AM lcnc-relay: <turboss@discord> -64 +65 us
04:13 AM lcnc-relay: <turboss@discord> playing ypoutube
04:13 AM lcnc-relay: <turboss@discord> * youtube
04:13 AM lcnc-relay: <ntulinux2467@discord> is that higher or lower than it was before?
04:14 AM lcnc-relay: <turboss@discord> lower and much more consistent
04:14 AM lcnc-relay: <ntulinux2467@discord> oh hell yeah!
04:14 AM lcnc-relay: <turboss@discord> still 64~
04:14 AM lcnc-relay: <turboss@discord> trying glxgears
04:14 AM lcnc-relay: <ntulinux2467@discord> can you run "glxinfo" too? i wonder if it's using the i915 driver or the new Xe driver
04:15 AM lcnc-relay: <turboss@discord> 82
04:15 AM lcnc-relay: <turboss@discord> +us with 4 glsgears
04:15 AM lcnc-relay: <turboss@discord> ok sek
04:15 AM lcnc-relay: <ntulinux2467@discord> is that... still better?
04:16 AM lcnc-relay: <ntulinux2467@discord> π€
04:16 AM lcnc-relay: <turboss@discord> oh
04:17 AM lcnc-relay: <turboss@discord> i have pcie gpu here
04:17 AM lcnc-relay: <ntulinux2467@discord> oh ok, what kind?
04:17 AM lcnc-relay: <turboss@discord> nvidia 710 gt
04:18 AM lcnc-relay: <ntulinux2467@discord> oh ok
04:18 AM lcnc-relay: <ntulinux2467@discord> latency still good compared to before?
04:18 AM lcnc-relay: <turboss@discord> yes ! \o/ under 100 us -82 +84 us
04:18 AM lcnc-relay: <ntulinux2467@discord> ok good, so my work paid off lol
04:18 AM lcnc-relay: <turboss@discord> 5 minutes running for now
04:18 AM lcnc-relay: <turboss@discord> bravoooo!!!
04:19 AM lcnc-relay: <ntulinux2467@discord> π
04:19 AM lcnc-relay: <ntulinux2467@discord> this makes me very happy
04:19 AM lcnc-relay: <turboss@discord> youtube 4 glxgears
04:19 AM lcnc-relay: <turboss@discord> it rised to 109 maybe some bios tweaks
04:19 AM lcnc-relay: <turboss@discord> * and cpu governor
04:20 AM lcnc-relay: <ntulinux2467@discord> oh the cpu governor is disabled in the kernel, there's no speed stepping enabled at all so you dont need to work about "performance" mode
04:20 AM lcnc-relay: <turboss@discord> ok
04:20 AM lcnc-relay: <turboss@discord> fine
04:20 AM lcnc-relay: <ntulinux2467@discord> you can try disabling hyperthreading though in the bios
04:22 AM lcnc-relay: <ntulinux2467@discord> afterward, it'll be a 4-core, then you can try on the kernel command line: rcu_nocbs=1-3 nohz_full=1-3 isolcpus=1-3
04:22 AM lcnc-relay: <ntulinux2467@discord> that'll move kernel timekeeping and ticks all on cpu 0
04:23 AM lcnc-relay: <ntulinux2467@discord> linuxcnc will use cpu 3
04:24 AM lcnc-relay: <ntulinux2467@discord> and tasks such as youtube and glxgears will all work on cpu 0 as well
04:24 AM lcnc-relay: <ntulinux2467@discord> giving linuxcnc free range on cpu 3
04:26 AM lcnc-relay: <turboss@discord> is ruinning youtube 4 glxgears now -81 +80 us
04:26 AM lcnc-relay: <turboss@discord> just 2 minutes
04:27 AM lcnc-relay: <ntulinux2467@discord> without hyperthreading and all that stuff on the kernel cli?
04:27 AM lcnc-relay: <turboss@discord> 160 s servo min: -81.700 us max: 80.300 us sdev: 1.600 us
04:27 AM lcnc-relay: <turboss@discord> yes
04:27 AM lcnc-relay: <ntulinux2467@discord> ok cool, it should be better now
04:27 AM lcnc-relay: <turboss@discord> yeah it hasnt moved up from 81
04:28 AM lcnc-relay: <ntulinux2467@discord> well at least now i know it's not my kernel but my system
04:28 AM lcnc-relay: <ntulinux2467@discord> ryzen no likey the preempt_rt
04:28 AM lcnc-relay: <turboss@discord> you have issues?
04:28 AM lcnc-relay: <turboss@discord> ouch
04:28 AM lcnc-relay: <ntulinux2467@discord> oh yeah, several thousand microseconds on servo thread
04:29 AM lcnc-relay: <turboss@discord> brb β
04:29 AM lcnc-relay: <ntulinux2467@discord> whew, i'm glad i wasn't doing something stupid
04:31 AM lcnc-relay: <turboss@discord> great ! well done ! thank you !
04:31 AM lcnc-relay: <ntulinux2467@discord> you're very welcome, thank you so much for testing!
04:32 AM lcnc-relay: <turboss@discord> :/
04:32 AM lcnc-relay: <turboss@discord> it rised to 123
04:32 AM lcnc-relay: <ntulinux2467@discord> so it's worse than before now?
04:33 AM lcnc-relay: <turboss@discord> better for sure
04:33 AM lcnc-relay: <ntulinux2467@discord> oh it's better than the debian kernel?
04:33 AM lcnc-relay: <turboss@discord> i havent tryied the debain one
04:33 AM lcnc-relay: <turboss@discord> can't remembere
04:33 AM lcnc-relay: <turboss@discord> * remember
04:33 AM lcnc-relay: <ntulinux2467@discord> what were you using on the xeon system for linuxcnc?
04:34 AM lcnc-relay: <turboss@discord> yes its for a future build with 6i25+7i76 combo
04:34 AM lcnc-relay: <ntulinux2467@discord> oh you haven't used that one before for linuxcnc?
04:34 AM lcnc-relay: <turboss@discord> its here acumulating dust
04:34 AM lcnc-relay: <ntulinux2467@discord> gotcha
04:34 AM lcnc-relay: <turboss@discord> no i run pi on machien with rio-core
04:34 AM lcnc-relay: <ntulinux2467@discord> as a comparison you can try installing the debian rt kernel and see how it does
04:35 AM lcnc-relay: <turboss@discord> sure
04:35 AM lcnc-relay: <turboss@discord> 6.1.0-28
04:35 AM lcnc-relay: <ntulinux2467@discord> yeah the rt one of that
04:38 AM Tom_L: morning
04:39 AM lcnc-relay: <ntulinux2467@discord> hey tom!
04:39 AM lcnc-relay: <turboss@discord> good morning
04:39 AM lcnc-relay: <ntulinux2467@discord> turboss just compiled my kernel and ran it π
04:39 AM Tom_L: is 6.12 better?
04:39 AM lcnc-relay: <ntulinux2467@discord> waiting to see how it does against debian's 6.1 preempt_rt kernel
04:40 AM lcnc-relay: <turboss@discord> π¦ its -75 +75 us on debian rt kernel
04:40 AM lcnc-relay: <turboss@discord> just 2 minutes
04:40 AM lcnc-relay: <ntulinux2467@discord> youtube and glxgears?
04:40 AM lcnc-relay: <turboss@discord> yes same youtube + 4 glxgears
04:40 AM lcnc-relay: <ntulinux2467@discord> hmm.. :/
04:40 AM Tom_L: same pron vid?
04:40 AM Tom_L: :)
04:41 AM lcnc-relay: <turboss@discord> π€£
04:41 AM lcnc-relay: <turboss@discord> ceephax
04:41 AM lcnc-relay: <turboss@discord> + ads
04:41 AM lcnc-relay: <turboss@discord> arround 75 us
04:41 AM lcnc-relay: <ntulinux2467@discord> maybe it'll jump after awhile
04:42 AM lcnc-relay: <turboss@discord> yup I'm waiting moving windows arround
04:42 AM Tom_L: i'm using a parallel port interface on my mesa card and found that preempt-rt doesn't work as well with that as RTAI
04:42 AM lcnc-relay: <turboss@discord> here it fgoes 101 us
04:42 AM Tom_L: both showed good latency
04:42 AM lcnc-relay: <ntulinux2467@discord> ok so it's not me
04:43 AM lcnc-relay: <turboss@discord> this had corebot used to work well but 6.12 refused to work with the vga bios
04:43 AM lcnc-relay: <turboss@discord> will give a try latter meybe
04:44 AM lcnc-relay: <ntulinux2467@discord> do things feel snappier with my kernel or the debian one?
04:44 AM lcnc-relay: <turboss@discord> can't notice
04:44 AM lcnc-relay: <ntulinux2467@discord> ok
04:44 AM Tom_L: yours should be, you turned everything off didn't you?
04:45 AM lcnc-relay: <ntulinux2467@discord> lol yeah
04:45 AM lcnc-relay: <ntulinux2467@discord> plus it's built with -O3 and LTO, debian kernel is not
04:46 AM lcnc-relay: <ntulinux2467@discord> microbenchmarks show that building a kernel with -O3 makes context switching faster
04:46 AM Tom_L: 44Β°F and foggy as heck
04:47 AM Tom_L: what does -03 do?
04:48 AM lcnc-relay: <ntulinux2467@discord> enables more compiler optimizations
04:48 AM lcnc-relay: <ntulinux2467@discord> LTO is link-time optimization, also helps with performance
05:00 AM lcnc-relay: <ntulinux2467@discord> getting back to qtpyvcp... what's that halcompile command again?
05:00 AM lcnc-relay: <ntulinux2467@discord> ModuleNotFoundError: No module named 'qtpyvcp.vcp_chooser.vcp_chooser_ui'
05:01 AM lcnc-relay: <turboss@discord> "qcompile ." in project root
05:03 AM lcnc-relay: <ntulinux2467@discord> damn.. i'm still missing pyside6-uic and pyside6-rcc
05:03 AM lcnc-relay: <ntulinux2467@discord> but the mini sim works in qtpyvcp
05:04 AM lcnc-relay: <turboss@discord> sorry goin afk
05:04 AM lcnc-relay: <turboss@discord> cu latter
05:04 AM lcnc-relay: <ntulinux2467@discord> alright take care!
05:04 AM lcnc-relay: <ntulinux2467@discord> https://imgur.com/a/DtaTtIJ
05:05 AM lcnc-relay: <ntulinux2467@discord> i'm going to talk to the gentoo guys again and see about getting those pyside6 commands
05:07 AM lcnc-relay: <ntulinux2467@discord> i'll talk to them later on, it's 5am here, need sleep
05:08 AM lcnc-relay: <ntulinux2467@discord> thanks again for testing!
06:07 AM lcnc-relay: <triwayudist@discord> have error when compiling esp32 from wezzhunter..... 2 failed 1 succes, the succes from spi enviroment...
06:07 AM lcnc-relay: <triwayudist@discord> anyone have succes with rmii and woki-woki?
06:08 AM lcnc-relay: <triwayudist@discord> Environment Status Duration
06:08 AM lcnc-relay: --------------------- -------- ------------
06:08 AM lcnc-relay: esp32-rmii-ethernet FAILED 00:00:03.781
06:08 AM lcnc-relay: esp32-spi-ethernet SUCCESS 00:02:00.506
06:08 AM lcnc-relay: esp32-wokwi-simulator FAILED 00:00:06.773
06:08 AM lcnc-relay: <triwayudist@discord> my device is lolin s2 mini
06:09 AM lcnc-relay: <triwayudist@discord> whants to use usb as descriptionπ
09:25 AM lcnc-relay: <schoch_@discord> my encoder RPS just started being flakey out of nowhere, it was working for a few days and the pins all work A,B,Z but I don't get a reliable velocity signal. i don't think I changed anything. oh, the jig saw puzzle of linuxcnc just knocked a piece off the table and I can't find it.
10:37 AM lcnc-relay: <captainhindsight_.@discord> https://imgur.com/gallery/metal-s76YbFx and probably has a lower failure rate than some factories near here with $500k CNC machines
10:49 AM JT-Woodshop is now known as JT-C3-shop
10:49 AM JT-C3-shop is now known as C3-shop