LinuxCNC running on Ubuntu 18.04 updated to kernel 4.18.12 with Preempt RT

More
7 years 5 months ago #133351 by bkt
not so easy to do!

you must add:
Code:
deb http://old-releases.ubuntu.com/ubuntu/ precise main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ precise main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ precise-security main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ precise-security main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ precise-updates main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ precise-updates main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse

in your source.list, because precise is now old releases ... + you need to solve no_public key issue with old release so:
Code:
sudo apt-get install debian-archive-keyring

Than tcl8.4-dev package required is possible to install only in new releases tcl8.5-dev. But these is quite simple to do:
Code:
sudo apt-get install tcl8.5-dev tk8.5-dev

+ printui support is no more avaiable so i use these link:
Code:
https://www.ubuntuupdates.org/package/core/precise/universe/base/libgnomeprintui2.2-dev

after these ... without any type of latency issue trik and max abuse of pc (glx 4 windows, youtube 3 video, install multiple addictional package during running latency test) and after 2 hour the result is in these pic.

During upload of the image latency base max-jitter go to 100.000 .... asusB250M, I5 7500 ... I try with isol-cpu and fix smi if i have these issue. But probabily not because the result is after 2 hour of work.

regards

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #155147 by jferguson
if this is actually working - ie, cutting metal, is it possible to share an iso?
I ask because I'm running 10.04 on a machine to which i just added a modern nvidia card which has only 64 bit driers. I also use machine for 18.04 and 10 hence the nvidia card. solution may be too hang a second monitor on intel xvga port and see if i can get 10.04 to alwasy boot into that port.

I don't think I'm up to doing a full build from source anymore.vwhat do you guys think?
Last edit: 6 years 9 months ago by jferguson. Reason: better grammar on the installment plan

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155172 by andypugh

jferguson wrote: if this is actually working - ie, cutting metal, is it possible to share an iso?


Making a .iso isn't that trivial, as that (nearly) requires all the packages to exist on a public repository somewhere, and to be signed.

If you are running 10,04 then I guess that you have an RTAI system? What hardware interface are you using?
The following user(s) said Thank You: jferguson

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #155204 by jferguson
HI,
I'm running a Sherline 2000 with a controller that I built up using a Probotics PBX-2 parallel interface. The other machine is a Chinese 6040 router which came with a parallel controller. it worked from the start so I don't know how they did it.

As an aside, I bought the 6040 on Ebay from an outfit in Shanghai. It arrived in a bale of styrofoam, plywood and cardboard and probably could have been dropped from a plane without any damage.

The only thing I really needed to do to get it going, besides assembly was ease all the sharp edges on the aluminum frame and gantry and install the water pump on top of a homedepot 5 gallon pail full of water. I did have a bit of a hassle before discovering that the lead screws were imperial not metric as had been advertised.

I sent them an email about it and got a nice one back apologizing. then most amazingly, about 6 months later I got another email from them asking how it was going, was I happy with it and had I discovered anything that might improve the product.

I'm 77 and have been buying stuff since i was 12 and have NEVER received anything like this. I was really impressed that they were doing anything more than running these things out the door.

Back to subject at hand.

I had no idea that doing an iso was complex, but what you say makes sense and it sounds like it would actually not be beyond me to to build up my own 18.04 RTAI using the Russian page as a guide along with the additional suggestions here.

I really like LinuxCNC and have been using it 5 years now without any problem. I have a remote shop with above tools and a couple of 3d printers. I design at home either in Creo or OnShape but often do the stl export from OnShape at the shop and then Simplify3D for the slicing, Octopi to control the MakerGear M2.

I have two HP8300 Towers, one at home with 18.04, Windows 10 (for the Creo) and a Nvidia GTX 1070. One at shop basically same except it also has 10.04 rtai with linuxcnc. It has two parallel ports for the controllers. I was using intel onboard graphics on the shop machine which wasn't doing at all well rotating sliced objects in Simplify3D. It did work fine with everything else including 10.04.

So without thinking enough I bought a Nvida 1650 Super, installed it and discovered that 10.04 couldn't handle it. It's a 64 bit card so I doubt that there is anything simple I can do and so went looking for a fresher version of LinuxCNC which might run on an Ubuntu which could live with the card.

So here I am.
I'm pretty sure I can build up the 18.04 RTAI and install the LinuXCNC stuff, assuming it's possible and from what I read above and found in the references I can see it likely is.

Have you done it?

best,

John
Last edit: 6 years 9 months ago by jferguson. Reason: I can't do anything right the first time.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155253 by andypugh

jferguson wrote: Have you done it?


Many times.

Can you install debian packages? There is a set here:
www.linuxcnc.org/temp
If you install 18.04 from the standard .iso, then install the kernel deb above, then the rtai application, then the rest, you stand a good chance of ending up with a working LinuxCNC installation.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #155424 by jferguson
I apologize if this should be obvious to me, but if I'm now running 4.15.0-74-generic, should the kernel source and patch I download be the same rev?.

I'll look at the debian packages.

FWIW, the last time I did a kernel (re)compile was SunOS 4.1.4, and I can't remember why, probably to get rid of functions I didn't need in the hope of getting performance improved.

thanks for helping here.

john

Please Log in or Create an account to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum