Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 17:26:56 +0200
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        x11@FreeBSD.org
Cc:        Tom Evans <tevans.uk@googlemail.com>
Subject:   Re: Problem with OpenGL and ATI HD3850
Message-ID:  <20090514172656.18fb4350.oliver@FreeBSD.org>
In-Reply-To: <20090513203129.fb21a669.oliver@FreeBSD.org>
References:  <20090429164113.f0b48048.lehmann@ans-netz.de> <20090429163843.GB370@slackbox.xs4all.nl> <18936.36210.823588.838523@gromit.timing.com> <20090430063454.969303d0.lehmann@ans-netz.de> <1241092672.3294.6.camel@localhost> <20090430122155.6643.qmail@avocado.salatschuessel.net> <18937.44531.88172.177326@gromit.timing.com> <20090430173416.042e03a8.oliver@FreeBSD.org> <20090513203129.fb21a669.oliver@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

talking with the ogre guy (I opened a bug report about that) He told me,
that True is hardcoded here when calling glXCreatecontextwithConfigSGIX
is set because:

"The implementation should know whether it can do direct rendering or
not, and fall back on X rendering if not, so True should always be a safe
option. The only reason to pass False is if you need to share the context
between processes. So this looks like an error in some part of your
installed software."

So if this is true, and regarding to

http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?db=man&fname=/usr/share/catman/g_man/cat3/OpenGL/glxcreatecontextwithconfigsgix.z

it looks like that, I wonder why the context returned by the function
when having no 3d support is not working. What is wrong with either the
drm for ATI, opengl or the glXCreatecontextwithConfigSGIX call?

Oliver Lehmann wrote:

> Oliver Lehmann wrote:
> 
> > A guy in the ogre forum told me that Ogre cannot be run with a Software 
> > Rasterizer - that might be the case but I still wonder why glGetString
> > isn't returning anything....
> 
> Ok,
> 
> I found out, that the glContext is getting somehow created wrong.
> It is created with
> 
> glxContext = glXCreateContextWithConfigSGIX(mGLDisplay, fbConfig,
> renderType, shareList, direct);
> 
> having direct alwasy be True and renderType GLX_RGBA_TYPE.
> Changing direct to False it gets a bit further and glGetString returns
> the requested information. (Then it still crashes with some framebuffer
> related message which I haven't looked at yet).
> 
> Can someone explain to me what the last parameter of
> glXCreateContextWithConfigSGIX is for and why True is not working here?
> glxContext is not NULL when True was specified.

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090514172656.18fb4350.oliver>