OpenGL Out of Memory Error
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 863
- Thank you received: 452
10 Jan 2023 14:21 #261447
by JT
OpenGL Out of Memory Error was created by JT
I ran memtest86+ and memory passed. I upgraded all the software... no LinuxCNC will run.
JT
john@cave:~$ uname -a
Linux cave 6.1.0-rt5-linuxcnc-rt #4 SMP PREEMPT_RT Wed Dec 14 00:49:27 AEST 2022 x86_64 GNU/Linux
john@cave:~$ cat /etc/debian_version
bookworm/sid
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre0+git20221105.ffb6bda926
Machine configuration directory is '/home/john/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
INIFILE=/home/john/linuxcnc/configs/sim.axis/axis.ini
VERSION=1.1
PARAMETER_FILE=sim.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(lib): /usr/share/linuxcnc/hallib/check_xyz_constraints.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
task: 641 cycles, min=0.000003, max=0.005049, avg=0.001037, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
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 3960, in <module>
get_coordinate_font(vars.dro_large_font.get())
File "/usr/bin/axis", line 3838, 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(0, 0, 0, 0, 0, h-d, ''.encode())
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 = (0, 0, 0, 0, 0, 14.0, b''),
cArgs = (0, 0, 0, 0, 0, 14.0, b''),
cArguments = (0, 0, 0, 0, 0, 14.0, b'')
)
2245
2296
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
JT
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 863
- Thank you received: 452
10 Jan 2023 15:07 #261449
by JT
Replied by JT on topic OpenGL Out of Memory Error
Interestingly the PC in the shop with the exact same hardware and OS and LinuxCNC runs fine... I suspect something is broken on this PC.
JT
JT
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4003
- Thank you received: 1730
10 Jan 2023 15:41 #261453
by Aciera
Replied by Aciera on topic OpenGL Out of Memory Error
I've noticed something similar on my (non-rt) test setup, this occurs fairly regularly but not at startup. Sometimes the backplot stops working though.
note: jog_invert=set()
all joints must be homed before going into coordinated mode
Can't issue MDI command when not homed
kinematicsSwitch(): type=1
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/usr/lib/python3.8/tkinter/__init__.py", line 814, in callit
func(*args)
File "/home/user/linuxcnc-dev/bin/axis", line 566, in actual_tkRedraw
self.tkRedraw_perspective()
File "/home/user/linuxcnc-dev/bin/axis", line 526, in tkRedraw_perspective
self.redraw_perspective()
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 401, in inner
return f(self, *args, **kw)
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 664, in redraw_perspective
self.redraw()
File "/home/user/linuxcnc-dev/bin/axis", line 605, in redraw
GlCanonDraw.redraw(self)
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1474, in redraw
glCallList(base + ord(char))
File "/home/user/.local/lib/python3.8/site-packages/OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
OpenGL.error.GLError: GLError(
err = 1285,
description = b'out of memory',
baseOperation = glCallList,
cArguments = (91,)
)
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/usr/lib/python3.8/tkinter/__init__.py", line 814, in callit
func(*args)
File "/home/user/linuxcnc-dev/bin/axis", line 566, in actual_tkRedraw
self.tkRedraw_perspective()
File "/home/user/linuxcnc-dev/bin/axis", line 526, in tkRedraw_perspective
self.redraw_perspective()
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 401, in inner
return f(self, *args, **kw)
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 664, in redraw_perspective
self.redraw()
File "/home/user/linuxcnc-dev/bin/axis", line 605, in redraw
GlCanonDraw.redraw(self)
File "/home/user/linuxcnc-dev/lib/python/rs274/glcanon.py", line 1474, in redraw
glCallList(base + ord(char))
File "/home/user/.local/lib/python3.8/site-packages/OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
OpenGL.error.GLError: GLError(
err = 1285,
description = b'out of memory',
baseOperation = glCallList,
cArguments = (68,)
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4003
- Thank you received: 1730
10 Jan 2023 15:50 - 10 Jan 2023 15:54 #261456
by Aciera
Replied by Aciera on topic OpenGL Out of Memory Error
Also it seems that the error only appears when the axis backplot is visible. Vismach doesn't seem to cause any errors.
This is using 2.10.
[edit]
Same happens in a recently built 2.9.0
This is using 2.10.
[edit]
Same happens in a recently built 2.9.0
Last edit: 10 Jan 2023 15:54 by Aciera.
Please Log in or Create an account to join the conversation.
- antbarney
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 Jan 2023 21:01 - 10 Jan 2023 21:03 #261492
by antbarney
Replied by antbarney on topic OpenGL Out of Memory Error
I noticed that this was also being discussed in the github repo under this issue as I also started to see this error recently.
OpenGL error messages at startup cause error messages · Issue #1599 · LinuxCNC/linuxcnc (github.com)
OpenGL error messages at startup cause error messages · Issue #1599 · LinuxCNC/linuxcnc (github.com)
Last edit: 10 Jan 2023 21:03 by antbarney.
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 863
- Thank you received: 452
11 Jan 2023 13:04 #261556
by JT
Replied by JT on topic OpenGL Out of Memory Error
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- antbarney
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
12 Jan 2023 02:36 #261653
by antbarney
Replied by antbarney on topic OpenGL Out of Memory Error
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19464
- Thank you received: 6529
12 Jan 2023 02:58 #261657
by tommylight
Replied by tommylight on topic OpenGL Out of Memory Error
Check the locale settings, pretty sure it causes such issues with the DRO, but no idea how to check.
I just choose UTF-8 when installing, no issues.
I just choose UTF-8 when installing, no issues.
Please Log in or Create an account to join the conversation.
- JT
- Topic Author
- Away
- Administrator
Less
More
- Posts: 863
- Thank you received: 452
12 Jan 2023 13:32 #261697
by JT
Replied by JT on topic OpenGL Out of Memory Error
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds