Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-6958

3D struct is not rendered on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Basic-Protein
    • Labels:
    • Story Points:
      8
    • Sprint:
      DEV-38-2, DEV-38-3
    • Affect Type:
      Userdefined

      Description

      When a 3D structure is opened (together with a .pdb file), the 3D model is not drawn. 3D Structure Viewer displays a blue screen. This is due to OpenGL errors. The following errors are displayed in the log:

      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:144: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:178: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:69: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:86: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:102: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:133: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:140: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:182: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:196: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:228: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:196: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:228: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:196: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:228: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:192: OpenGL error (1282): invalid operation
      [User Interface][TRACE][11:00] C:\Users\biserova\Documents\Ugene\UgeneRepo\ugene\src\plugins\biostruct3d_view\src\deprecated\AnaglyphRenderer.cpp:129: OpenGL error (1282): invalid operation

      What is known at the time of the opening of the bug:

      • Those parts of the code that throw an error are deprecated (see the file path). The project has the same classes that don't use the deprecated QT. They are not used because they led to some problems.
      • Anaglyph is a stereo effect for displaying a picture in 3D.
      • The AnaglyphRenderer.cpp calls the glGetError(), which returns the GL_INVALID_OPERATION error, which means that the specified operation is not allowed in the current state.
      • I add my OpengGL configurations to attachments. Maybe the lack of shader programs can make a difference.
      • After errors BioStruct3DView continues rendering (what for? Still nothing is drawn. Looks like a bug).
      • I also consider it important to note that in the log above, OpenCL could not be validated:
        Promoting task {Add plugin task: opencl_supportd} to 'Prepared'
        Promoting task {Add plugin task: opencl_supportd} to 'Running'
        Loading OPENCL driver library
        Cannot load OpenCL library. Error while loading OpenCL
        Promoting task {Add plugin task: opencl_supportd} to 'Finished'

        Attachments

          Activity

            People

            Assignee:
            yalgaer Yuliya Algaer
            Reporter:
            biserova Evelina
            Assigned Tester:
            Evelina
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: