bugpyFormex - Bugs: bug #41638, 8aa0319: pyFormex does not start

 
 

bug #41638: 8aa0319: pyFormex does not start

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Wed 19 Feb 2014 11:00:04 AM UTC  
 
Category: RenderingSeverity: 5 - Blocker
Item Group: Fatal ErrorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 19 Feb 2014 06:09:37 PM UTC, comment #4:

ddc2dae4d reverts the changes made in 8aa0319 that caused the problem.

A new branch 'ati' has been created where the changes of 8aa0319 are implemented. This branch will be used to further explore the incompatibilities between different opengl hardware, and to find ways to work around them. Meanwhile, normal users can continue untroubled.

Users wanting to follow the ati branch can just do
git co ati

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Wed 19 Feb 2014 11:30:08 AM UTC, comment #3:

Both on Gianluca's and Tim's laptop pyFormex correctly starts with GL1 but not with GL2 engine.

gianluca de santis <gianlucadesi>
Project Member
Wed 19 Feb 2014 11:19:32 AM UTC, comment #2:

After latest pull, this is what I get when starting pyFormex from terminal:

gianluca@ir15c441 13:18 ~/pyformex $ pyformex --gl2 --redirect
CANVAS ('NVIDIA Corporation', 'Quadro 2000M/PCIe/SSE2', '4.2.0 NVIDIA 304.64', '4.20 NVIDIA via Cg compiler')
Traceback (most recent call last):
File "/home/gianluca/bin/pyformex", line 67, in <module>
sys.exit(main.run(sys.argv[1:]))
File "/home/gianluca/pyformex/pyformex/main.py", line 672, in run
res = guimain.startGUI(args)
File "/home/gianluca/pyformex/pyformex/gui/guimain.py", line 1391, in startGUI
pf.GUI.viewports.changeLayout(1)
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 1621, in changeLayout
self.addView()
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 1488, in addView
canv.initializeGL() # Initialize OpenGL context and camera
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 902, in initializeGL
self.initCamera()
File "/home/gianluca/pyformex/pyformex/opengl/canvas.py", line 883, in initCamera
self.renderer = Renderer(self)
File "/home/gianluca/pyformex/pyformex/opengl/renderer.py", line 55, in _init_
shader = Shader()
File "/home/gianluca/pyformex/pyformex/opengl/shader.py", line 126, in _init_
fragment_shader = GL.shaders.compileShader(FragmentShader, GL.GL_FRAGMENT_SHADER)
File "/usr/lib/python2.7/dist-packages/OpenGL/GL/shaders.py", line 162, in compileShader
shaderType,
RuntimeError: ('Shader compile failure (0): 0(33) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(34) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(35) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(42) : error C7011: implicit cast from "int" to "bool"\n0(42) : warning C7533: global variable gl_FragColor is deprecated after version 120\n', ['/* $Id: aaa54d7 on Tue Feb 18 18:21:27 2014 +0100 by Benedict Verhegghe $ */\n//\n// This file is part of pyFormex\n// pyFormex is a tool for generating, manipulating and transforming 3D\n// geometrical models by sequences of mathematical operations.\n// Home page: http://pyformex.org\n// Project page: http://savannah.nongnu.org/projects/pyformex/\n// Copyright 2004-2012 (C) Benedict Verhegghe (benedict.verhegghe@ugent.be)\n// Distributed under the GNU General Public License version 3 or later.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see http://www.gnu.org/licenses/.\n//\n\n// Fragment shader\n\n#version 130\n\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nvarying vec3 fragmentColor;\nvarying vec4 fragColor;\nvarying int fDiscard;\n\nuniform float alpha;\n\nvoid main(void) {\n if (fDiscard)\n discard;\n gl_FragColor = fragColor;\n}\n\n// End\n'], GL_FRAGMENT_SHADER)

gianluca de santis <gianlucadesi>
Project Member
Wed 19 Feb 2014 11:17:30 AM UTC, comment #1:

That is very little information to do something about it ~)

Meanwhile, to be productive again, you can roll back to c8603c2:
git co c8603c2

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Wed 19 Feb 2014 11:00:04 AM UTC, original submission:

on my machine pyFormex does not start after this commit

gianluca de santis <gianlucadesi>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by gianlucadesi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Mar 2014 04:21:29 PM UTCbverhegOpen/ClosedOpen=>Closed
    Wed 19 Feb 2014 06:09:37 PM UTCbverhegCategoryNone=>Rendering
      Item GroupNone=>Fatal Error
      StatusNone=>Fixed
      Assigned toNone=>bverheg

    Back to the top


    Powered by Savane 3.1-cleanup1