Re: Distributed Multihead X
* tom fogal schrieb: > > What's the exact reason for using dlopen() ? > > Our application uses multiple OpenGL implementations. We don't know > which one to use until we've parsed command line arguments. You're walking on thin ice this way. You always have to make sure you're using the right API+ABI each time - the compiler can't offer much help here. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme -- ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Distributed Multihead X
Enrico Weigelt writes: > * tom fogal schrieb: > > > We're pretty sure the issue started coming up when we began > > dlopen()ing the OpenGL library. The problem appears to be getting > > NULL function pointers when glXGetProcAddressARB'ing some or all > > OpenGL functions (though I'll note that I do not have access to the > > failing system -- however we've seen that crash many times before > > and the crash report is consistent). > > What's the exact reason for using dlopen() ? Our application uses multiple OpenGL implementations. We don't know which one to use until we've parsed command line arguments. -tom ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Distributed Multihead X
* tom fogal schrieb: > We're pretty sure the issue started coming up when we began dlopen()ing > the OpenGL library. The problem appears to be getting NULL function > pointers when glXGetProcAddressARB'ing some or all OpenGL functions > (though I'll note that I do not have access to the failing system -- > however we've seen that crash many times before and the crash report is > consistent). What's the exact reason for using dlopen() ? cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme -- ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Distributed Multihead X
On 2011-02-01 20:56, tom fogal wrote: > We're having some issues getting our software to work on a display well > which is configured to use DMX. > > We're pretty sure the issue started coming up when we began dlopen()ing > the OpenGL library. DMX doesn't support much of OpenGL. You might have better luck with Chromium. http://en.wikipedia.org/wiki/Chromium_%28computer_graphics%29 Although even Chromium looks like it hasn't been updated in a while. Peter Harris -- Open Text Connectivity Solutions Group Peter Harrishttp://connectivity.opentext.com/ Research and DevelopmentPhone: +1 905 762 6001 phar...@opentext.comToll Free: 1 877 359 4866 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Distributed Multihead X
On Tue, Feb 01, 2011 at 06:56:31PM -0700, tom fogal wrote: > We're having some issues getting our software to work on a display well > which is configured to use DMX. > > We're pretty sure the issue started coming up when we began dlopen()ing > the OpenGL library. The problem appears to be getting NULL function > pointers when glXGetProcAddressARB'ing some or all OpenGL functions > (though I'll note that I do not have access to the failing system -- > however we've seen that crash many times before and the crash report is > consistent). > > Looking at the docs that are available, it seems like there should > be some sort of GLX proxy library -- perhaps a full replacement for > libGL, since GLX must live in the GL library? My hypothesis is that > we're loading the 'backend' GLX library, i.e. what the GLX proxy should > be forwarding to, instead of the proxy itself, and therefore Badness > ensues. > > Side note, is DMX alive? I mean, it appears to be shipping and all, > but the main source of documentation is dmx.sf.net -- which hasn't seen > an update since 2004. it's alive in terms of we try to keep it building and sometimes someone even runs it. it hasn't had a maintainer for ages. Cheers, Peter > I haven't found much documentation as to the architecture. If someone > could enlighten me, it would be much appreciated. > > Thanks for any help, ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Distributed Multihead X
We're having some issues getting our software to work on a display well which is configured to use DMX. We're pretty sure the issue started coming up when we began dlopen()ing the OpenGL library. The problem appears to be getting NULL function pointers when glXGetProcAddressARB'ing some or all OpenGL functions (though I'll note that I do not have access to the failing system -- however we've seen that crash many times before and the crash report is consistent). Looking at the docs that are available, it seems like there should be some sort of GLX proxy library -- perhaps a full replacement for libGL, since GLX must live in the GL library? My hypothesis is that we're loading the 'backend' GLX library, i.e. what the GLX proxy should be forwarding to, instead of the proxy itself, and therefore Badness ensues. Side note, is DMX alive? I mean, it appears to be shipping and all, but the main source of documentation is dmx.sf.net -- which hasn't seen an update since 2004. I haven't found much documentation as to the architecture. If someone could enlighten me, it would be much appreciated. Thanks for any help, -tom ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com