#linuxcnc-devel Logs

Jun 19 2017

#linuxcnc-devel Calendar

04:56 AM pcw_mesa_ is now known as pcw_mesa
12:19 PM JT-Shop: pcw_home: what kernel are you using with Mint 18.1?
12:23 PM pcw_mesa: depends
12:24 PM pcw_mesa: on older Core Duo machines I am using 3.18 (because of videos bugs in 4.xx kernels on older hardware)
12:24 PM pcw_mesa: on newer hardware, I am using 4.9
12:33 PM pcw_mesa: If you have really dreadful latency, it possible that you have not got the PREEMPT_RT_FULL option set in the kernel configuration file
12:34 PM JT-Shop: the plasma is a Asus E45 M1-M Pro
12:34 PM JT-Shop: I'm pretty sure I selected fully preemptable, I do a search for it then select it
12:35 PM JT-Shop: the E45 book says it is a dual core
12:36 PM JT-Shop: http://gnipsel.com/images/emc/john-19Jun2017-503.png
12:38 PM JT-Shop: hmm this pc is a Intel® Pentium(R) CPU G3260 @ 3.30GHz × 2 I'd bet it's faster a building kernels :)
12:38 PM pcw_mesa: Might be something pathological with the kernel and that hardware,
12:38 PM pcw_mesa: Ive run Preempt-RT on that AMD CPU and it had poor but acceptable latency (maybe 80 usec or so)
12:39 PM pcw_mesa: A G3260 will be at least twice as fast
12:40 PM JT-Shop: I also have a J1900 1.66GHz x 4
12:40 PM JT-Shop: did you run 3.18 on the AMD E450?
12:40 PM pcw_mesa: A G3260 will run circles around the J1900 also
12:41 PM JT-Shop: ok, thanks
12:41 PM pcw_mesa: I think so, I did it a couple years ago
12:42 PM pcw_mesa: Also you could try your "bad" kernel on the G3260 (just move the harddrive) to see if its a config issue or some specific issue with the AMD
12:43 PM pcw_mesa: make sure you have all power management disabled in the BIOS setup (including cool&quiet and any cstates >C1)
12:43 PM JT-Shop: ok, let me look to be sure
12:44 PM JT-Shop: this is the AMD E-450 with ubuntu 10 http://gnipsel.com/images/emc/john-19Jun2017-386.png
12:45 PM pcw_mesa: so that probably means that the BIOS settings are correct
01:01 PM JT-Shop: in the Kernel Configuration is there anything else I need to select in addition to Fully Preemptible Kernel (RT)
01:02 PM pcw_mesa: That's the main one (32/64 bit and enable HPET are others though they probably default to the right thing)
01:02 PM JT-Shop: ACPI (Advanced Configuration and Power Interface) Support looks like it should be unchecked to me???
01:03 PM JT-Shop: I didn't select 64 bit last time and Mint 18.1 is 64 bit I'd bet that is a problem
01:04 PM pcw_mesa: if you uncheck that, you may lose the ability to power down under software control
01:04 PM JT-Shop: ok
01:05 PM JT-Shop: HPET is checked
01:05 PM pcw_mesa: I think the kernel 32/64 bittedness has to match the OS or it wont even boot (at least Ive seen that when I got it wrong)
01:07 PM pcw_mesa: try that hardrive on the G3260 if it has good latency then its a E-450 + that kernel issue
01:08 PM JT-Shop: just checked the .config and 64bit must be default for 4.x
01:08 PM JT-Shop: I'll try that when the 3.18 kernel is done building
01:16 PM pcw_mesa: if not already using one, A SSD helps with compiles
01:32 PM JT-Shop: I ordered some from Aliexpress but they never arrived :(
01:32 PM pcw_mesa: on the _very_ slow boat?
01:34 PM pcw_mesa: I have been buying used Intel SSDs (3G data rate) because the newer 6G data rate ones are flakey on some older MB hardware
01:35 PM pcw_mesa: This kind of thing:
01:35 PM pcw_mesa: http://www.ebay.com/itm/Intel-320-SSDSA2CW080G3-Series-2-5-80GB-SATA-II-MLC-Internal-SSD-Grade-A-/332249143851?hash=item4d5b979a2b:g:qiYAAOSwB-1Yx~oB
01:37 PM pcw_mesa: (just for testing, but I have about 5 and no problems so far)
01:38 PM JT-Shop: a good price to
01:38 PM JT-Shop: kernel is done building about 100 times faster...
01:39 PM pcw_mesa: on the G3260?
01:57 PM JT-Shop: hmm can't copy the folder to my NAS as it doesn't support symlinks :(
03:38 PM Bagi: Hi,
03:38 PM Bagi: i have running a cnc with Parport for several years now.
03:39 PM Bagi: now i want to migrate to MESA Card 7I92h or 5I25
03:39 PM Bagi: now i have some Questions about the ports of unused Stepgen end encoder pins
03:41 PM Bagi: if stepgen is not used, can i use the pin as Input or output ? or only as output ? same for the encoder inputs ? only inputs or output too ?
03:48 PM pcw_mesa: Any FPGA pin that is not used for step/dir/encoder/PWM etc reverts to GPIO so can be used for input or output
03:48 PM pcw_mesa: _but_ daughtercards/BOBs are usually one direction only
04:00 PM Bagi: i want to use the integreated bob of the Benezan Triplebeast.
04:03 PM Bagi: one reason for move the MESA card is, that i want to add a 4. axis with servo and encoder. Is it possible in config-file that the encoder is on the second Connector , because on the first connector are the limit switches ?
04:04 PM Bagi: or have i create a new firmware for the card ?
04:08 PM pcw_mesa: The encoder pins are avai so they are as GP inputs even if the encoder is enabled
04:09 PM pcw_mesa: that should say the encoder pins are available as GP inputs even if the encoder is enabled
04:13 PM pcw_mesa: so the standard Benezan firmware should work fine
04:14 PM pcw_mesa: (you would have to enable 2 encoders to have a encoder on the second connector)
04:15 PM Bagi: i understand . enable 2 encoders use on 1. header as input for the limit switches and on second the encoder function.
04:16 PM Bagi: sorry for my bad english. Thanks a lot for help
04:40 PM JT-Shop: -50 +40 after 3000 seconds with 3.18 on the E450 :) Houston we have lift off!
04:42 PM pcw_mesa: Yeah I ran a Ethernet FPGA card on a E450 (maybe E350) for a couple days without issue (I think with 3.18)
04:48 PM JT-Shop: now I can focus on testing Dgarr's external offsets branch with real hardware :)
04:51 PM pcw_mesa: Yeah external offsets are a neat feature and avoid a lot of HAL hackery
05:03 PM JT-Shop: the really neat thing is you can offset any kind of axis not just a stepper like the thc component
05:42 PM pcw_mesa: also obeys velocty/accel constraints, and following errors work
05:43 PM JT-Shop: yep it's pretty sweet, almost got a config working
07:46 PM DrippityDrops1 is now known as DrippityDrops
07:49 PM -!- #linuxcnc-devel mode set to +v by ChanServ
10:17 PM cradek_ is now known as cradek
10:17 PM -!- #linuxcnc-devel mode set to +v by ChanServ