Re: [AD] multi display regression on X |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On November 27, 2010, Thomas Fjellstrom wrote:
> On November 27, 2010, Peter Wang wrote:
> > On 2010-11-27, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > On November 25, 2010, Peter Wang wrote:
> > > > On 2010-11-20, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > > > Seems sometime between .21 and 5.0 branch (possibly .22 and rc1)
> > > > > something has broken using multiple displays via a single thread.
> > > > >
> > > > > As seen from ex_multiwin
> > > > >
> > > > > (gdb) run
> > > > > Starting program:
> > > > > /home/moose/projects/allegro-5.0/build/examples/ex_multiwin [Thread
> > > > > debugging using libthread_db enabled]
> > > > > [New Thread 0x7fffefa78710 (LWP 9705)]
> > > > > ex_multiwin:
> > > > > /home/moose/projects/allegro-5.0/src/opengl/extensions.c:589:
> > > > > fill_in_info_struct: Assertion `renderer' failed.
> > > >
> > > > Seems like for some reason your driver is returning NULL for
> > > > glGetString(GL_RENDERER);
> > > > We can work around that easily but if there is a more serious issue
> > > > then we should try to solve that.
> > >
> > > I'm not sure what the problem is to be honest. The first display
> > > returns a valid RENDERER string, but the second one doesn't seem to.
> > > Does allegro do anything special that would make gl flip out? Maybe it
> > > isn't liking how it might be separate contexts? Maybe we don't have
> > > the context setup properly at that point? I don't know, I'm a gl n00b.
> >
> > Shouldn't do; this is pretty basic stuff that we've had working for
> > ages. If it worked in previous versions, the first step would be to
> > bisect the offending commit.
>
> I've got an ancient git-svn checkout "Fetch"ing, and meanwhile I've asked
> in #intel-gfx what exactly could cause glGetString to work one time, but
> not another.. Its possible its a driver issue.
It seems it might be a driver issue. 4.9.22 also asserts on renderer, but
4.9.21 and 4.9.20 asserts on extension in print_extensions in
src/opengl/extensions.c (4.9.19 crashes in a similar place).
It seems something on my system doesn't like it when theres two
windows/contexts up?
I guess I could try updating my xorg drivers. see if that helps.
> > Peter
> >
> > -------------------------------------------------------------------------
> > -- --- Increase Visibility of Your 3D Game App & Earn a Chance To Win
> > $500! Tap into the largest installed PC base & get more eyes on your
> > game by optimizing for Intel(R) Graphics Technology. Get started today
> > with the Intel(R) Software Partner Program. Five $500 cash prizes are up
> > for grabs. http://p.sf.net/sfu/intelisp-dev2dev
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx