7i92T and 7i95T on LinuxCNC 2.9

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 12:21 - 16 Sep 2023 12:22 #280916 by JT
I pulled the bit of code from 2.10 to 2.9 for testing the 7i92T and 7i95T. LinuxCNC is building now on Debian 12 ATM. Trying to use 2.10 is very frustrating because it fails on both Debian 12 and Debian 13.

So far I've done this on Debian 12 to build:
git clone git@github.com:LinuxCNC/linuxcnc.git emc
or
git clone https://github.com/LinuxCNC/linuxcnc.git emc

cd emc
git checkout 2.9

src/hal/drivers/mesa-hostmot2/hm2_eth.c

https://github.com/LinuxCNC/linuxcnc/commit/223837403938b43f0233e1216e65dfeb2b7cf3e4
add new code for 7i80hdt, 7i92t, 7i95t
debian/configure no-docs
dpkg-checkbuilddeps
resolve any missing dependencies
debuild -uc -us
install deb with gdebi

JT
Last edit: 16 Sep 2023 12:22 by JT.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 12:26 #280917 by JT
Replied by JT on topic 7i92T and 7i95T on LinuxCNC 2.9
Well I still get OpenGl errors
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 43, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/axis", line 3967, in <module>
    get_coordinate_font(vars.dro_large_font.get())
  File "/usr/bin/axis", line 3845, in get_coordinate_font
    glnav.use_pango_font(coordinate_font, 0, 128)
  File "/usr/lib/python3/dist-packages/glnav.py", line 65, in use_pango_font
    glBitmap(1, 0, 0, 0, 0, h-d, bytearray([0]*4))
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 47, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 700, in wrapperCall
    raise err
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 693, in wrapperCall
    result = wrappedOperation( *cArguments )
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 415, in __call__
    return self( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/error.py", line 230, in glCheckError
    raise self._errorClass(
OpenGL.error.GLError: GLError(
	err = 1285,
	description = b'out of memory',
	baseOperation = glBitmap,
	pyArgs = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f061ac87da0>,
	),
	cArgs = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f061ac87da0>,
	),
	cArguments = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f061ac87da0>,
	)
)
265080
265127
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

JT

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
16 Sep 2023 12:35 #280918 by tommylight
Replied by tommylight on topic 7i92T and 7i95T on LinuxCNC 2.9
Can you run glxgears?
What PC and graphic card?
-
I got GL errors using RT kernel with new AMD proprietary drivers, included Linux drivers work perfectly with RT.

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

More
16 Sep 2023 12:58 #280922 by rodw
Replied by rodw on topic 7i92T and 7i95T on LinuxCNC 2.9
just in case you are missing a dependency, try:

sudo apt install -y  dh-python libudev-dev docbook-xsl asciidoc ghostscript imagemagick asciidoc-dblatex bwidget intltool libboost-python-dev libepoxy-dev libgl1-mesa-dev libglu1-mesa-dev libgtk-3-dev libmodbus-dev libgpiod-dev libeditreadline-dev libusb-1.0-0-dev libxmu-dev netcat-traditional  netcat-openbsd po4a python3-dev python3-tk python3-xlib tcl8.6-dev tclx tk8.6-dev yapps2 libgtk2.0-dev iptables mesa-utils python3-numpy python3-cairo python3-gi-cairo python3-opengl python3-configobj libgtksourceview-3.0-dev tcl-tclreadline python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-opencv python3-dbus python3-espeak python3-dbus.mainloop.pyqt5 espeak-ng pyqt5-dev-tools gstreamer1.0-tools espeak python3-poppler-qt5 python3-pyqt5.qtwebengine  python3-pyqt5.qtwebkit xvfb python3-serial
 

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

More
16 Sep 2023 13:01 #280923 by rodw
Replied by rodw on topic 7i92T and 7i95T on LinuxCNC 2.9
John, also seb;s new buildbot lets you grab 2.9 or 2.10 without building form source
buildbot2.highlab.com/
 The 2.9 getting linuxcnc docs show you how to set the repos up so its simple to upgrade linuxcnc and you just need to modify the sources.list to get master branch
The following user(s) said Thank You: JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 15:26 #280932 by JT
Replied by JT on topic 7i92T and 7i95T on LinuxCNC 2.9

Can you run glxgears?
What PC and graphic card?
-
I got GL errors using RT kernel with new AMD proprietary drivers, included Linux drivers work perfectly with RT.
 


Yes I can run glxgears and 2.9 worked before from the debian repo

I'll try the buildbot to see if that's better.

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 17:11 #280934 by JT
Replied by JT on topic 7i92T and 7i95T on LinuxCNC 2.9

John, also seb;s new buildbot lets you grab 2.9 or 2.10 without building form source
buildbot2.highlab.com/
 The 2.9 getting linuxcnc docs show you how to set the repos up so its simple to upgrade linuxcnc and you just need to modify the sources.list to get master branch
 

I only see 2.9 and older in the buildbot2, have you seen 2.10?

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 18:43 #280940 by JT
Replied by JT on topic 7i92T and 7i95T on LinuxCNC 2.9
When I install the 2.9 from buildbot I get the following error again.
Debug file information:
Note: Using POSIX realtime
note: MAXV     max: 5.000 units/sec 300.000 units/min
note: LJOG     max: 5.000 units/sec 300.000 units/min
note: LJOG default: 0.250 units/sec 15.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 43, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/axis", line 3967, in <module>
    get_coordinate_font(vars.dro_large_font.get())
  File "/usr/bin/axis", line 3845, in get_coordinate_font
    glnav.use_pango_font(coordinate_font, 0, 128)
  File "/usr/lib/python3/dist-packages/glnav.py", line 65, in use_pango_font
    glBitmap(1, 0, 0, 0, 0, h-d, bytearray([0]*4))
  File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 47, in __call__
    return self._finalCall( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 700, in wrapperCall
    raise err
  File "/usr/lib/python3/dist-packages/OpenGL/wrapper.py", line 693, in wrapperCall
    result = wrappedOperation( *cArguments )
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 415, in __call__
    return self( *args, **named )
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/OpenGL/error.py", line 230, in glCheckError
    raise self._errorClass(
OpenGL.error.GLError: GLError(
	err = 1285,
	description = b'out of memory',
	baseOperation = glBitmap,
	pyArgs = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f2a1b2d7da0>,
	),
	cArgs = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f2a1b2d7da0>,
	),
	cArguments = (
		1,
		0,
		0,
		0,
		0,
		16.0,
		<OpenGL.arrays._buffers.Py_buffer object at 0x7f2a1b2d7da0>,
	)
)
272789
272841
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime


JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
16 Sep 2023 18:46 #280942 by JT
Replied by JT on topic 7i92T and 7i95T on LinuxCNC 2.9
So I uninstalled the buildbot version of 2.9 and apt auto-remove then install the debian version of 2.9 and it works so something is very broken now.

JT

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
16 Sep 2023 22:47 #280953 by tommylight
Replied by tommylight on topic 7i92T and 7i95T on LinuxCNC 2.9

/usr/lib/python3/dist-packages/OpenGL/error.py

Always this error, so the opengl version for python is having a hiatus, the normal opengl is working ok as glxgears run ok

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

Moderators: PCWjmelson
Time to create page: 0.106 seconds
Powered by Kunena Forum