> > > Message: 4 > > > Date: Fri, 29 Jan 2010 09:45:15 -0800 > > > From: Michael Lucas-Smith <[hidden email]> > > > Subject: Re: [vwnc] VWNC 7.7 OPENGL > > > To: [hidden email] > > > Message-ID: <[hidden email]> > > > Content-Type: text/plain; charset="iso-8859-1" > > > > > > On 1/29/10 8:13 AM, Hamid Hadavi wrote: > > > > Hello, > > > > I am trying to load the OPENGL packages from the public repository > > > > into a vwnc 7.7 running on 32 bit x86 linux. Unfortunately, the load > > > > process goes into some infinite loop from which it never recovers. > > Has > > > > anyone had any prior experience with OPENGL packages? Is there a > > > > particular way to load/install these packages? > > > > > > I've never had it go in to an infinite loop before - what about loading > > > the parcels that come with 7.7 instead? > > > > > When I load the parcels that come with 7.7 I get a series of > > undeclared variables (as listed below). When I try to run any of the > > lessons in OPENGL-LESSONS package, I get error messages. I've tried in > > two different linux installations getting the same errors. > > I've pasted the stack and the errors produced below. Am I loading the > > parcels wrong? > First a disclaimer - the opengl code base is not officially supported > and I'm essentially a 1.5 man team on it (I occasionally get > contributions - thanks to you people, you know who you are!). > > The warnings while loading are okay, they resolve themselves later, it's > a weird load order issue to do with shared variables, but it doesn't > adversely affect anything. > > The error you're getting is a bug, the fix is to change > initializeContext's use of "gl TRUE" to a straight 1. The gl variable is > not expected to be set up in initializeContext. I've published the fix > to public store - but if you're having trouble loading from there still, > just patch your local copy. > > Let me know if you have any other crashes. > > A word of warning on Linux - most Linux installations come with OpenGL > 1.x, which is not sufficient to run any of the code that comes in the > OpenGL package. You need OpenGL 2.x at a minimum and newer versions are > desirable. You can only get new OpenGL rendering on Linux if you have a > good graphics card and a good driver for it - the free drivers that come > with X11 are usually not good enough. This is just a public service > announcement, make sure you check your set up with glxinfo. > > Cheers, > Michael > -------------- next part -------------- Michael, thanks for your help. I have patched the local code with the fix you provided (Changed "gl True" to "1" in initializeContext). Unfortunately a new error is generated as listed below. Hamid Unhandled exception: Message not understood: #glXDestroyContext:with: OpenGL.OpenGLInterface(Object)>>doesNotUnderstand: GLX.RenderContextX11Window>>release OpenGL.Lessons.Lesson00RenderContext(OpenGL.Lessons.Lesson)>>releaseOpenGL optimized [] in OpenGL.Lessons.Lesson00RenderContext>>demo BlockClosure>>valueAsUnwindBlockFrom: BlockClosure>>ensure: OpenGL.Lessons.Lesson00RenderContext>>demo OpenGL.Lessons.Lesson00RenderContext class>>unboundMethod OpenGL.Lessons.Lesson00RenderContext class(Object)>>performMethod:arguments: OpenGL.Lessons.Lesson00RenderContext class(Object)>>performMethod: TextEditorController(ParagraphEditor)>>evaluateCompiled: optimized [] in ParagraphEditor>>evaluateSelection BlockClosure>>ensure: Cursor>>showWhile: TextEditorController(ParagraphEditor)>>evaluateSelection optimized [] in ParagraphEditor>>doIt BlockClosure>>on:do: TextEditorController(ParagraphEditor)>>doIt Refactory.Browser.BrowserCommentTool(Refactory.Browser.BrowserTextTool)>>doIt Refactory.Browser.RBCommand>>perform:on: Refactory.Browser.RBCommand>>performWith: Refactory.Browser.BrowserCommentTool(Refactory.Browser.BrowserApplicationModel)>>performAction: Refactory.Browser.BrowserCommentTool(Refactory.Browser.BrowserApplicationModel)>>action: optimized [] in Refactory.Browser.BrowserApplicationModel>>createActionMenuItemFrom: TextEditorController>>dispatchBlockClosure: TextEditorController>>dispatchMenuSelection: TextEditorController(ControllerWithMenu)>>processMenu:at:centered: TextEditorController(ControllerWithMenu)>>processMenuAt:centered: TextEditorController(ControllerWithMenu)>>yellowButtonPressedEvent: TextEditorController(ParagraphEditor)>>yellowButtonPressedEvent: TextEditorController>>yellowButtonPressedEvent: YellowButtonPressedEvent>>dispatchTo: TextEditorController(ControllerWithMenu)>>handleEvent: EventDispatcher>>dispatch:to: EventDispatcher>>dispatchEvent: YellowButtonPressedEvent(Event)>>dispatch YellowButtonPressedEvent(Event)>>dispatchForWindowManager: optimized [] in WindowManager>>safelyDispatchForWindowManager: BlockClosure>>on:do: WindowManager>>safelyDispatchForWindowManager: WindowManager>>processNextEvent optimized [] in [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in Process class>>forBlock:priority: ---------------------------------------------------------------------- OpenGL.OpenGLInterface(Object)>>doesNotUnderstand: Receiver: an OpenGL.OpenGLInterface Arguments: aMessage = a Message with selector: #glXDestroyContext:with: and arguments: #(156899728 a CPointer {0B987268} (GLXContext)) Temporaries: excpt = a MessageNotUnderstood resumeValue = nil Context PC = 25 ---------------------------------------------------------------------- GLX.RenderContextX11Window>>release Receiver: a GLX.RenderContextX11Window Instance Variables: interface = an OpenGL.OpenGLInterface view = an ApplicationWindow nil vendor = 'Tungsten Graphics, Inc' renderer = 'Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2' version = '2.1 Mesa 7.6' program = nil textures = an Array[8] texturesHistory = an Array[8] extensions = an OrderedCollection[112] xif = a GLX.GLXInterface drawableHandle = 69207024 context = a CPointer {0B987268} (GLXContext) displayHandle = 156899728 Context PC = 5 ---------------------------------------------------------------------- OpenGL.Lessons.Lesson00RenderContext(OpenGL.Lessons.Lesson)>>releaseOpenGL Receiver: a OpenGL.Lessons.Lesson00RenderContext Instance Variables: isRunning = nil window = an ApplicationWindow nil context = a GLX.RenderContextX11Window renderJob = nil resizeJob = nil idleJob = nil Context PC = 4 ---------------------------------------------------------------------- optimized [] in OpenGL.Lessons.Lesson00RenderContext>>demo Receiver: an UndefinedObject Temporaries: .self = an OpenGL.Lessons.Lesson00RenderContext Context PC = 11 ---------------------------------------------------------------------- BlockClosure>>valueAsUnwindBlockFrom: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in OpenGL.Lessons.Lesson00RenderContext>>demo outerContext = nil copiedValues = an OpenGL.Lessons.Lesson00RenderContext Arguments: aContextOrNil = nil Temporaries: shouldTerminate = false Context PC = 10 ---------------------------------------------------------------------- BlockClosure>>ensure: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in OpenGL.Lessons.Lesson00RenderContext>>demo outerContext = nil copiedValues = an OpenGL.Lessons.Lesson00RenderContext Arguments: aBlock = BlockClosure [] in OpenGL.Lessons.Lesson00RenderContext>>demo Temporaries: result = a TextCollector on: Text for ' visualnc.im created at December 15, 2009 1:13:01 PM Autoloading SUnitPreload from $(VISUALWORKS)/contributed/SUnit/SUnitPreload.pcl /home/hamid/.vw77/image/visualnc.im created at January 29, 2010 7:03:38 PM /home/hamid/.vw77/image/visualnc.im created at January 29, 2010 7:04:06 PM Autoloading OpenGL-Windows from $(VISUALWORKS)/contributed/OpenGL-Windows.pcl Autoloading DLLCC from $(VISUALWORKS)/dllcc/DLLCC.pcl Autoloading OpenGL from $(VISUALWORKS)/contributed/OpenGL.pcl Autoloading Graphics-Images-FixedPalettes from $(VISUALWORKS)/contributed/Graphics-Images-FixedPalettes.pcl A_8 is Undeclared BGRA_8888 is Undeclared ARGB_8888 is Undeclared ABGR_8888 is Undeclared RGBA_8888 is Undeclared RGB_888 is Undeclared BGR_888 is Undeclared Autoloading OpenGL-Linux from $(VISUALWORKS)/contributed/OpenGL-Linux.pcl Autoloading OpenGL-MacOSX from $(VISUALWORKS)/contributed/OpenGL-MacOSX.pcl Autoloading ObjectiveCConnect from $(VISUALWORKS)/contributed/ObjectiveCConnect.pcl Autoloading SUnitToo from $(VISUALWORKS)/contributed/SUnitToo.pclSUnitToo suggests SUnitToo(ls) NSString is Undeclared NSOpenGLContext is Undeclared NSOpenGLPixelFormat is Undeclared Autoloading CairoGraphics from $(VISUALWORKS)/preview/cairo/CairoGraphics.pcl Autoloading Weaklings from $(VISUALWORKS)/contributed/Weaklings.pcl LittleEndianARGB is Undeclared BigEndianARGB is Undeclared Autoloading OpenGL-CairoGraphics from $(VISUALWORKS)/contributed/OpenGL-CairoGraphics.pcl Autoloading OpenGL-Arithmetic from $(VISUALWORKS)/contributed/OpenGL-Arithmetic.pcl Window Rendering: Vendor: Tungsten Graphics, Inc Renderer: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 Version: 2.1 Mesa 7.6 VSync Enabled: false Window Rendering: Vendor: Tungsten Graphics, Inc Renderer: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 Version: 2.1 Mesa 7.6 VSync Enabled: false' Context PC = 8 ---------------------------------------------------------------------- OpenGL.Lessons.Lesson00RenderContext>>demo Receiver: a OpenGL.Lessons.Lesson00RenderContext Instance Variables: isRunning = nil window = an ApplicationWindow nil context = a GLX.RenderContextX11Window renderJob = nil resizeJob = nil idleJob = nil Temporaries: pixmap = nil image = nil Context PC = 27 _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |