ATC Project - Debug phase

More
25 May 2022 00:43 #243736 by andypugh
Replied by andypugh on topic ATC Project - Debug phase
I had trouble with the LinuxCNC VM on my iMac.

I created a file called

/etc/X11/xorg.conf

containing
Section "Monitor"
 Identifier "27-inch iMac Display"
 ModeLine "2560x1440V" 4.50 2560 2632 2880 3200 1440 1443 1448 1451 -hsync +vsync
EndSection
 
Section "Screen"
 Identifier "Default Screen"
 Monitor "27-inch iMac Display"
 DefaultDepth 24
 SubSection "Display"
  Modes "2560x1440V"
 EndSubSection
EndSection

Though I don't recall where I got the "Modelines" bit from.

However, up to the point that I added that I, too, could only have 800x600

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

More
25 May 2022 01:04 #243739 by spumco
Replied by spumco on topic ATC Project - Debug phase
I created an xorg.conf file in /etc/X11/ and pasted what you had.  Edited the text to '1920x1080' where appropriate, as well as the monitor name.

Rebooted.... and MX21 is now broken and won't start to desktop.  Stops at 'Welcome to MX Linux! [somethign cut off by screen] 3:Cannot probe codecs, giving up.

I'll try bookworm again now.

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

More
25 May 2022 02:11 #243747 by spumco
Replied by spumco on topic ATC Project - Debug phase
Finally - Bookworm is good to go.  RT kenel installed, no display resolution issues.

uname -a
Linux debian 5.17.0-17-rt-amd64 #1 SMP PREEMPT_RT Debian 5.17.3-1 (2022-04-18...

So now what's the next step?  There are so many 'how-to's' available I'm not sure which one to start from.  Seems like all the other times I've made it this far I've picked the 'wrong' one and wound up with issues later on.

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

More
25 May 2022 11:37 #243784 by spumco
Replied by spumco on topic ATC Project - Debug phase
I jumped the gun and tried this from Tommy's post on Bookworm:

sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash

That was stupid easy. LCNC is installed and starts.  Hopefuly I haven't installed the 'wrong' version.

Of course, there's a problem.  Axis and gmoccapy load, but all qtvcp screens fail with an error.  log attached.
Attachments:
The following user(s) said Thank You: tommylight

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

More
25 May 2022 15:50 #243804 by andypugh
Replied by andypugh on topic ATC Project - Debug phase
Hmm, that looks like a bug in the GUI code, rather than a misconfig on your part.

Is the problem with qtvcp or qtpyvcp?

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

More
25 May 2022 16:05 #243807 by spumco
Replied by spumco on topic ATC Project - Debug phase

Hmm, that looks like a bug in the GUI code, rather than a misconfig on your part.

Is the problem with qtvcp or qtpyvcp?


Issue is with qtvcp.

I have not tried to install qtpyvcp - that's the next step once we establish I didn't mess anything up thus far.  Didn't want to color too far outside the lines without adult supervision.

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

More
25 May 2022 16:10 #243808 by andypugh
Replied by andypugh on topic ATC Project - Debug phase
So, which GUI in particular are you using? Perhaps someone else using the Bookworm packages can try it out.

At this point, perhaps is it worth making a backup of the HDD?

(My next suggestion is going to involve grabbing and attempting to install the Buster packages. It would be good to have a route back to here)

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

More
25 May 2022 16:34 #243816 by spumco
Replied by spumco on topic ATC Project - Debug phase
My preference is Probe Basic.  That's what I've been working with since day 1, and while I've run other GUIs as sims I haven't connected my machine up using a different GUI.

Having said that, I would like to try the vertical/portrait version of qtvcp-Woodpecker that was posted here late last year.  My ultimate goal is to have a vertical GUI... and the PB developers have their hands full with the py2 to py3 thing.  The PB-Vertical version is likely a long time off.

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

More
25 May 2022 18:51 #243828 by andypugh
Replied by andypugh on topic ATC Project - Debug phase
I was actually asking which GUI crashed on you.

Also: I don't know which version of Carousel you will have got from the Bookworm repository but from the package name
2.9.0~pre0+git20220402.2500863908-4
I am guessing the 2nd of April build, which still has a buggy carousel.

It should be safe (ish) to grab this .deb package:
buildbot.linuxcnc.org/dists/buster/maste...g433a36711_amd64.deb
Which is the latest version, though built for Buster against a different kernel.
If it doesn't work then re-installing LinuxCNC from the Bookworm repository ought to be relatively easy.

to use the .deb..

sudo dpkg --install linuxcnc-uspace_2.9.0~pre0.6521.g433a36711_amd64.deb

And, basically, see what happens....

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

More
25 May 2022 20:42 - 25 May 2022 20:44 #243839 by spumco
Replied by spumco on topic ATC Project - Debug phase
Sorry, misunderstood the question.  qtdragon_hd is what caued the fault in the report, but all qtvcp sims cause the same fault.

Have tried blender, qtdragon, qtaxis - all the same error.

gscreen errors out (ImportError: cannot import name Vte, introspection typelib not found)

pyvcp works, no errors.

glade works, no errors.

EDIT - downloaded the .deb and ran the dpkg you posted.  Error report:

mill@debian:~/Downloads$ sudo dpkg --install linuxcnc-uspace_2.9.0~pre0.6521.g433a36711_amd64.deb
(Reading database ... 150854 files and directories currently installed.)
Preparing to unpack linuxcnc-uspace_2.9.0~pre0.6521.g433a36711_amd64.deb ...
Unpacking linuxcnc-uspace (1:2.9.0~pre0.6521.g433a36711) over (2.9.0~pre0+git20220402.2500863908-4) ...
dpkg: dependency problems prevent configuration of linuxcnc-uspace:
 linuxcnc-uspace depends on python3 (<< 3.8); however:
  Version of python3 on system is 3.10.4-1+b1.
 linuxcnc-uspace depends on libboost-python1.67.0; however:
  Package libboost-python1.67.0 is not installed.
 linuxcnc-uspace depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:
  Package libgdk-pixbuf2.0-0 is not installed.
 linuxcnc-uspace depends on libpython3.7 (>= 3.7.0); however:
  Package libpython3.7 is not installed.
 linuxcnc-uspace depends on libreadline5 (>= 5.2); however:
  Package libreadline5 is not installed.

dpkg: error processing package linuxcnc-uspace (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.33-7) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Errors were encountered while processing:
 linuxcnc-uspace
mill@debian:~/Downloads$


 
Last edit: 25 May 2022 20:44 by spumco.

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

Time to create page: 0.358 seconds
Powered by Kunena Forum