madparts icon indicating copy to clipboard operation
madparts copied to clipboard

Doesn't work with 3d-accelerated debian VM

Open Drachenkaetzchen opened this issue 11 years ago • 4 comments

Hi,

I get the attached backtrace when attempting to run madparts in a 3D-accelerated Debian 64bit VM:

Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 308, in initializeGL
    self.font = glFreeType.font_data(self.font_file, 64)
  File "/home/felicitus/Downloads/madparts/gui/glFreeType.py", line 228, in __init__
    make_dlist (self.ft, i, self.m_list_base, self.textures);
  File "/home/felicitus/Downloads/madparts/gui/glFreeType.py", line 174, in make_dlist
    glEndList()
  File "/usr/lib/python2.7/dist-packages/OpenGL/error.py", line 208, in glCheckError
    baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
    err = 1280,
    description = 'invalid enumerant',
    baseOperation = glEndList,
    cArguments = ()
)
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'
Traceback (most recent call last):
  File "/home/felicitus/Downloads/madparts/gui/gldraw.py", line 323, in paintGL
    self.gldraw.color = self.colorscheme
AttributeError: 'JYDGLWidget' object has no attribute 'gldraw'

It just works fine when not using 3D acceleration.

Drachenkaetzchen avatar Apr 01 '13 13:04 Drachenkaetzchen

I have never used a 3D-accelerated VM. What setup are you using, so it can be reproduced?

andete avatar Apr 01 '13 13:04 andete

I'm using Windows 7 (not my main OS ;)), and a virtualized debian 64 bit on VirtualBox. If you have access to a Windows box, it should be pretty straightforward using VirtualBox, you just have to tick the "3D acceleration enabled" checkbox under VM options.

Drachenkaetzchen avatar Apr 01 '13 13:04 Drachenkaetzchen

Thanks, next time I'm booting the old windows laptop to make a new build I'll give it a try.

andete avatar Apr 01 '13 13:04 andete

Cool! It's not urgent on my side, as I'm fine with the OpenGL software emulation.

Drachenkaetzchen avatar Apr 01 '13 13:04 Drachenkaetzchen