Linux/Windows RV530 FireGL 5200 unsupported?

Issue #102 new
One Percent created an issue

Both windows and linux die out on my thinkpad.MlRawViewer v1.3.1 I thought it was the win7 driver but the same repats on linux. OpenGL is working, glxgears runs, both have acceleration, etc.

MlRawViewer v1.3.1
(c) Andrew Baldwin & contributors 2013-2014
Using GLUT instead of GLFW. Some features may be disabled.
pyAudio not available. Cannot play audio
Opening CinemaDNG /media/EOS_DEVELOP/DCIM/100CANON
(25000, 1000)
FPS: 25.0 (25000, 1000)
brightness 1.0
Black level: 2047 White level: 12000
BitsPerSample: 14
Compression: 1
(0, 1, 1, 2)
rgb [2.1113304548861467, 1.0, 1.6025641025641026]
(0, 0)
(5496, 3671)
(52, 72, 3723, 5568)
Crop origin: (0, 0)
Crop size: (5496, 3671)
Active area: (52, 72, 3723, 5568)
Traceback (most recent call last):
  File "/home/deadlights/mlrawviewer/GLComputeGLUT.py", line 232, in __draw
    self.onDraw(w,h)
  File "/home/deadlights/mlrawviewer/Viewer.py", line 265, in onDraw
    self.init()
  File "/home/deadlights/mlrawviewer/Viewer.py", line 247, in init
    self.demosaic = DemosaicScene(self.raw,self,self,self,size=(self.raw.width(),self.raw.height()))
  File "/home/deadlights/mlrawviewer/Demosaicer.py", line 257, in __init__
    self.demosaicer = Demosaicer(settings,encoder,frames)
  File "/home/deadlights/mlrawviewer/Demosaicer.py", line 50, in __init__
    self.shaderHistogram = ShaderHistogram()
  File "/home/deadlights/mlrawviewer/ShaderHistogram.py", line 68, in __init__
    super(ShaderHistogram,self).__init__(myclass.vertex_src,myclass.fragment_src,["rawtex","rawres"],**kwds)
  File "/home/deadlights/mlrawviewer/GLCompute.py", line 94, in __init__
    self.vertex = glGetAttribLocation(self.program, "vertex")
  File "/usr/lib/pymodules/python2.7/OpenGL/latebind.py", line 61, in __call__
    return self.wrapperFunction( self.baseFunction, *args, **named )
  File "/usr/lib/pymodules/python2.7/OpenGL/GL/VERSION/GL_2_0.py", line 219, in glGetAttribLocation
    return baseOperation( program, name )
  File "/usr/lib/pymodules/python2.7/OpenGL/error.py", line 208, in glCheckError
    baseOperation = baseOperation,
GLError: GLError(
    err = 1282,
    description = 'invalid operation',
    baseOperation = glGetAttribLocation,
    cArguments = (15, 'vertex\x00'),
    result = -1
)
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 314, in 'calling callback function'
  File "/home/deadlights/mlrawviewer/GLComputeGLUT.py", line 270, in __idle
    self.onIdle()
  File "/home/deadlights/mlrawviewer/Viewer.py", line 769, in onIdle
    if self.display.isDirty():
AttributeError: 'NoneType' object has no attribute 'isDirty'

Comments (7)

  1. One Percent reporter

    Still dies :(

     File "/usr/lib/pymodules/python2.7/OpenGL/error.py", line 208, in glCheckError
        baseOperation = baseOperation,
    GLError: GLError(
        err = 1282,
        description = 'invalid operation',
        baseOperation = glGetAttribLocation,
        cArguments = (15, 'vertex\x00'),
        result = -1
    )
    
  2. One Percent reporter

    Here it is.

    MlRawViewer v1.3.1
    (c) Andrew Baldwin & contributors 2013-2014
    Using GLUT instead of GLFW. Some features may be disabled.
    pyAudio not available. Cannot play audio
    Traceback (most recent call last):
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/GLComputeGLUT.py", line 232, in __draw
        self.onDraw(w,h)
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/Viewer.py", line 265, in onDraw
        self.init()
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/Viewer.py", line 247, in init
        self.demosaic = DemosaicScene(self.raw,self,self,self,size=(self.raw.width(),self.raw.height()))
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/Demosaicer.py", line 260, in __init__
        self.demosaicer = Demosaicer(settings,encoder,frames)
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/Demosaicer.py", line 50, in __init__
        self.shaderHistogram = ShaderHistogram()
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/ShaderHistogram.py", line 68, in __init__
        super(ShaderHistogram,self).__init__(myclass.vertex_src,myclass.fragment_src,["rawtex","rawres"],**kwds)
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/GLCompute.py", line 95, in __init__
        self.vertex = glGetAttribLocation(self.program, "vertex")
      File "/usr/lib/pymodules/python2.7/OpenGL/latebind.py", line 61, in __call__
        return self.wrapperFunction( self.baseFunction, *args, **named )
      File "/usr/lib/pymodules/python2.7/OpenGL/GL/VERSION/GL_2_0.py", line 219, in glGetAttribLocation
        return baseOperation( program, name )
      File "/usr/lib/pymodules/python2.7/OpenGL/error.py", line 208, in glCheckError
        baseOperation = baseOperation,
    GLError: GLError(
        err = 1282,
        description = 'invalid operation',
        baseOperation = glGetAttribLocation,
        cArguments = (15, 'vertex\x00'),
        result = -1
    )
    Traceback (most recent call last):
      File "_ctypes/callbacks.c", line 314, in 'calling callback function'
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/GLComputeGLUT.py", line 270, in __idle
        self.onIdle()
      File "/home/deadlights/baldand-mlrawviewer-3691b5509d83/Viewer.py", line 769, in onIdle
        if self.display.isDirty():
    AttributeError: 'NoneType' object has no attribute 'isDirty'
    
  3. One Percent reporter

    This is the next crash.

    MlRawViewer v1.3.1
    (c) Andrew Baldwin & contributors 2013-2014
    Using GLUT instead of GLFW. Some features may be disabled.
    pyAudio not available. Cannot play audio
    Opening CinemaDNG /media/EOS_DEVELOP/DCIM/100CANON
    (25000, 1000)
    FPS: 25.0 (25000, 1000)
    brightness 1.0
    Black level: 2047 White level: 12000
    BitsPerSample: 14
    Compression: 1
    (0, 1, 1, 2)
    rgb [2.1113304548861467, 1.0, 1.6025641025641026]
    (0, 0)
    (5496, 3671)
    (52, 72, 3723, 5568)
    Crop origin: (0, 0)
    Crop size: (5496, 3671)
    Active area: (52, 72, 3723, 5568)
    Traceback (most recent call last):
      File "/home/deadlights/mlrawviewer/GLComputeGLUT.py", line 232, in __draw
        self.onDraw(w,h)
      File "/home/deadlights/mlrawviewer/Viewer.py", line 265, in onDraw
        self.init()
      File "/home/deadlights/mlrawviewer/Viewer.py", line 247, in init
        self.demosaic = DemosaicScene(self.raw,self,self,self,size=(self.raw.width(),self.raw.height()))
      File "/home/deadlights/mlrawviewer/Demosaicer.py", line 261, in __init__
        self.initTextures()
      File "/home/deadlights/mlrawviewer/Demosaicer.py", line 266, in initTextures
        self.rawUploadTex = GLCompute.Texture((raw.width(),raw.height()),None,hasalpha=False,mono=True,sixteen=True)
      File "/home/deadlights/mlrawviewer/GLCompute.py", line 213, in __init__
        except GLError: glTexImage2D(GL_TEXTURE_2D,0,GL_RGB16,self.width,self.height,0,GL_RED,GL_UNSIGNED_SHORT,rgbadata)
      File "/usr/lib/pymodules/python2.7/OpenGL/latebind.py", line 41, in __call__
        return self._finalCall( *args, **named )
      File "/usr/lib/pymodules/python2.7/OpenGL/wrapper.py", line 791, in wrapperCall
        raise err
    GLError: GLError(
        err = 1281,
        description = 'invalid value',
        baseOperation = glTexImage2D,
        pyArgs = (
            GL_TEXTURE_2D,
            0,
            GL_RGB16,
            5568,
            3723,
            0,
            GL_RED,
            GL_UNSIGNED_SHORT,
            None,
        ),
        cArgs = (
            GL_TEXTURE_2D,
            0,
            GL_RGB16,
            5568,
            3723,
            0,
            GL_RED,
            GL_UNSIGNED_SHORT,
            None,
        ),
        cArguments = (
            GL_TEXTURE_2D,
            0,
            GL_RGB16,
            5568,
            3723,
            0,
            GL_RED,
            GL_UNSIGNED_SHORT,
            None,
        )
    )
    Traceback (most recent call last):
      File "_ctypes/callbacks.c", line 314, in 'calling callback function'
      File "/home/deadlights/mlrawviewer/GLComputeGLUT.py", line 270, in __idle
        self.onIdle()
      File "/home/deadlights/mlrawviewer/Viewer.py", line 769, in onIdle
        if self.display.isDirty():
    AttributeError: 'NoneType' object has no attribute 'isDirty'
    
  4. One Percent reporter

    MLV and .Raw I tried play back, however. Colors are correct on linux. Still probably not on windows.

  5. Log in to comment