ATC Project - Debug phase

More
4 years 5 months ago #243548 by tommylight
Replied by tommylight on topic ATC Project - Debug phase


Should I reinstall Debian from scratch, or is there something else I should do to correct this?
I would, but also i would like to see how far it works as such, been a long time since i was root all the time.

I've lost count how many times I've wiped & reinstalled variations of Linux over the past year of trying LCNC, so at this point I don't care about doing it again if it means future problems are avoided.

I do new installs almost daily, have a lot of older PC's and laptops in the shop. Now it is easy to install LinuxCNC, 10 years back it took some doing to have it running on a non official distro.

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

More
4 years 5 months ago #243646 by andypugh
Replied by andypugh on topic ATC Project - Debug phase

Since I was having problems running the updater, I thought I'd have a go at just hand-editing carousel.comp to match the change in the github update.

Behavior is unchanged.  This may mean nothing, 

If you didn't recompile then the actual executable module will be unchanged.

If the updater script doesn't work, then run the installer. 

Or go back to a "normal" installation, using the system that I understand. 
 

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

More
4 years 5 months ago #243683 by spumco
Replied by spumco on topic ATC Project - Debug phase

Or go back to a "normal" installation, using the system that I understand. 
 


What is a 'normal' installation?  This is a serious question, because I'm unclear on how to achieve this. 

I wasted another 8 hours last night trying to get Linux and/or LCNC installed and working without success.  Bought a new computer Sunday because the other computer (Odroid H2+) was giving me fits (can't boot from USB, no NIC drivers even in non-free distros, can't install standard LCNC ISO).

New computer giving me some new and interesting problems.  Last night I tried:
  • 'Standard' LCNC 2.8.2 ISO
    • No wifi drivers, have to get an ethernet cable.  Halfway through installation it reboots to load the RT kernel and the screen goes black, linux quits loading & locks up.
  • Debian Bookworm
    • Followed Rod W's video, all good.  LCNC loads, but gives me OpenGL errors and shuts down.  Then followed the qtpyvcp installation on the qtpyvcp site and wound up with vtk error messages.  LCNC would run, but qtpyvcp wouldn't run, and I couldn't find any of the installation folders in the file manager.
  • Debian 11.3 non-free
    • Can't find wifi drivers during installation.  Have to get an ethernet cable.  Debian installs, but the screen is stuck in 800x600 (on a 1920x1080 monitor) with no other options.  Waste an hour searching the internet for a solution and the most common solution I found doesn't fix anything (remove xserver-xorg-video-intel, install xserver-xorg-core).
  • Debian 11.2
    • Same as 11.3
  • Debian 11.1
    • same as 11.3 & 11.2
  • MX 21.1
    • Install goes smooth, all drivers found (wifi & ethernet).  apt update & apt  upgrade go fine.  Install RT kernel, reboot, and it's back to 800x600.  Can't fix, same as Debian.
MX 21 seems the most promising, but when I get through all the LCNC installation hoops and eventually get to run Probe Basic, there's some sort of incompatibility issue with the fonts/colors/themes and the G-code in Probe Basic is unreadable.  Asked for help on forum, no response; had to switch to Debian just to read the g-code.  

Since I've been unsuccessful installing the stable ISO, I can't use the 'stable' installation method published on the QtPyVCP/ProbeBasic site.  Which means I'm now obligated to use a python3 environment, which requires an RIP installation, and now nothing is 'normal.'

Thought everything was sorted out as of last week, but as you saw I couldn't get halcompile to work while trying to debug the carousel - indicating some other mistake I made during the Linux or LCNC installation.

I'm starting to 'get' LCNC (a little) but Linux is driving me insane.  The last year of my life has been spent fighting Linux or LCNC; I just want a stable computer that can run LCNC, qtpyvcp or qtvcp, and Probe Basic or QTDragonHD. 

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

More
4 years 5 months ago #243687 by andypugh
Replied by andypugh on topic ATC Project - Debug phase
I was meaning the 2.8.2 ISO. I was rather expecting that to solve, not cause, problems.

Where are you currently? MX21 with a resolution from last century?

I have done that by creating an Xorg.conf file in the past, but you could try with xrandr: www.linuxfordevices.com/tutorials/linux/...ge-screen-resolution

Lets get a working Linux + kernel first, then knock the other issues off one by one

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

More
4 years 5 months ago #243689 by tommylight
Replied by tommylight on topic ATC Project - Debug phase
Just a stab in the dark and i might be repeating myself, but did you disable secure boot in BIOS?

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

More
4 years 5 months ago #243692 by spumco
Replied by spumco on topic ATC Project - Debug phase
I am currently nowhere - to be more specific, I can try installing any flavor of Linux on either of the two computers I have available.  I think I quit at 1am with a failed attempt at Debian 10.1 non-free.

I would prefer MX as the desktop and other features are more 'friendly' - i.e. wifi & eth work, and there are more familiar features like built-in file searching.  Screen resolution was fine until the RT kernel reboot.

But I don't really care at this point.  This is for a CNC mill, and there won't be any other software on the PC once with mill is working, perhaps with the exception of VScode for g-code editing.  It doesn't even need to be internet-connected, although it'd be nice to connect to my NAS for file transfers.

I'll re-load MX21 after work and let you know where it stands.

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

Time to create page: 0.639 seconds
Powered by Kunena Forum