qtdragon crash during 3d viewer translation (QTvcp ERROR! Message # 1)

More
10 Nov 2025 04:25 #338133 by EDesro
Hi, 

I'm a new user of LinuxCNC, and want to try the qtdragon interface.
I made a recent LinuxCNC installation using the downloadable image.

The problem is that the interface crash when I try to translate the 3d viewer.
In addition :
  • Only the qtdragon and qtdragon_hd seems to have the problem, all the other interfaces I tried (provided with linuxcnc) are working normally.
  • Only the translation (left mouse + drag) crash. Sometime immediately, sometime after 1-2 move.
  • Zoom and rotation works normally.
ThanksTraceback (most recent call last):File "/usr/lib/python3/dist-packages/qt5_graphics.py", line 1057, in mouseMoveEventself.translateOrRotate(event.pos().x(), event.pos().y())File "/usr/lib/python3/dist-packages/glnav.py", line 374, in translateOrRotateself.translate(x, y)File "/usr/lib/python3/dist-packages/glnav.py", line 319, in translatewin = gluProject( obj_c[0], obj_c[1], obj_c[2])^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 63, in __call__return self.wrapperFunction( self.baseFunction, *args, **named )^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/OpenGL/GLU/projection.py", line 34, in gluProjectraise ValueError( """Projection failed!""" )ValueError: Projection failed!

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

More
10 Nov 2025 23:51 #338171 by EDesro
Coming from Mach3, QtDragon felt more natural.

After, if it is not working... I might have to try another one.

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

More
10 Nov 2025 23:55 #338172 by EDesro
glxgears works perfectly. That was part of the validation I made for the latency.
The following user(s) said Thank You: langdons

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

More
11 Nov 2025 02:02 #338173 by EDesro
Tonight I asked chatGPT (not my first reflex).

It proposed to try running "LIBGL_ALWAYS_SOFTWARE=1 linuxcnc" to disable the GPU rendering (use software rendering) from what I understand.

And you know what... it worked!

To make the change permanent, I added "export LIBGL_ALWAYS_SOFTWARE=1" to the usr/bin/linuxcnc

Unless somebody has an idea of the real root cause. Now it is working. Probably not exploiting my GPU, but don't seems to cause problem.

Thanks!
The following user(s) said Thank You: tommylight

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

More
11 Nov 2025 02:54 #338174 by cmorley

Use AXIS at first; there's a reason it's the default.

It is easy for inexperienced users.

What version are you using?
 

Please quit giving this advice.
If there are bugs in other screens we want to know so we can fix them.
The following user(s) said Thank You: unknown

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

More
11 Nov 2025 02:55 #338175 by cmorley
I am glad you got this working.
What version of linuxcnc are you using?
I feel we had this or a similar problem a while back.

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

More
11 Nov 2025 03:10 #338176 by EDesro
I tried it like 2 weeks ago for the first time, it was on 2.9.6
I upgraded to 2.9.7 this week.
Both version had the same problem.

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

More
13 Nov 2025 01:37 #338297 by EDesro
I effectively use an NVIDIA 1070 GPU (overkill, but that's what I have and there is no onboard GPU).

GL_RENDERER = NV134
GL_VERSION = 4.3 (Compatibility Profile) Mesa 22.3.6
GL_VENDOR = nouveau
GL_EXTENSIONS = (There is a huge quantity of things, do you really want to see them? :)

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

More
13 Nov 2025 02:14 #338298 by tommylight
If software mode is working for you, keep using it.
-
Additional info:
NVIDIA does have issues with new RT kernels for some reason, but on some PC's, so not always:
-two of new PC's and a HP Z420 will work happily with NVIDIA 1060/6GB and 1070 and 1660 super
-none of 5 HP Z600 will work with any NVIDIA card above and many Quadro variants
That is all with 6.10 and 6.13 RT kernels, and the strange thing is after installing the RT kernel, all HP Z600 will boot and run LinuxCNC happily, until you reboot, from then on just a blank screen (no, nomodeset will not work, Linux will boot but screen will be off), hence so many installs till i figured out what was going on.
All work with older 4.19 (i think, not sure) RT kernel.
Also, all those kernels work with AMD RX480/8GB, RX580/8GB and RX6800/16GB

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

Moderators: cmorley
Time to create page: 0.071 seconds
Powered by Kunena Forum