[Glamor] glamor with xserver > 1.12

zhigang gong zhigang.gong at gmail.com
Mon Mar 18 02:12:26 PDT 2013


Oh, Really? That's a great news for me, I will have a try tomorrow.

But To be honest, even it works, such dependencies is still an issue. And
I'm
afraid it may break the indirect GLX's context somehow. As the GLX server
side
may have a different gl dispatch table from the mesa's.

On Mon, Mar 18, 2013 at 4:48 PM, Michel Dänzer <michel at daenzer.net> wrote:

> On Mon, 2013-03-18 at 16:40 +0800, Zhigang Gong wrote:
> > > -----Original Message-----
> > > From:
> > > glamor-bounces+zhigang.gong=linux.intel.com at lists.freedesktop.org
> > > [mailto:glamor-bounces+zhigang.gong
> =linux.intel.com at lists.freedesktop.o
> > > rg] On Behalf Of Chris Wilson
> > > Sent: Tuesday, March 12, 2013 7:05 PM
> > > To: Michel Dänzer
> > > Cc: Alex B; xorg-devel at lists.x.org; glamor at lists.freedesktop.org
> > > Subject: Re: [Glamor] glamor with xserver > 1.12
> > >
> > > On Mon, Mar 11, 2013 at 07:23:52PM +0100, Michel Dänzer wrote:
> > > > On Mon, 2013-03-11 at 00:25 +0400, Alex B wrote:
> > > > >
> > > > > I need working glamor to get 3d acceleration on my video card
> > > > > (Radeon HD 7700) My current distribution Arch Linux provides
> > > xserver
> > > > > 1.13 and about to move on 1.14.
> > > > >
> > > > > Only way I found to make glamor work is to add
> /usr/lib/xorg/modules
> > > > > to ld.so.conf.
> > > > >
> > > > > So question is:
> > > > > Is it valid way to make glamor work and can be recommended for
> > > distro packaging?
> > > >
> > > > I think it would be better to install libglamor.so in the normal lib
> > > > directory. Can you submit a glamor patch or bug report for that?
> > > >
> > > >
> > > > But, this is rather interesting news: So far the assumption has been
> > > > that glamor cannot work at all with current xserver. However, I
> cannot
> > > > reproduce the problem I reported a while ago even with xserver
> 1.13.0,
> > > > let alone newer versions, though I still can with the pre-1.13 Git
> > > > snapshot I reported the problem for. Apparently the problem was fixed
> > > > before the final 1.13.0 release. Was I really the only one who ever
> > > > tried this, and everyone else just took my word for it? :\
> > >
> > > libglamor is still very confused and calls into the wrong GL functions
> for
> > me
> > > with intel and Xorg-1.14.
> > [Gong, Zhigang]
> > Unfortunately, that's expected behavior of current glamor on intel
> platform
> > (with mesa and latest xorg server).
> > Junyan submitted some patchset to this lsits to fix this issue, but the
> work
> > is incomplete. And if someone have
> > time and interests to fix it, those patchset may be a good reference. The
> > major gap is to create a GL context in
> > xserver side. We depends on the xorg module initialization to make sure
> we
> > can get a correct GL context for
> > glamor. But latest xorg change the module initialization method, and
> break
> > us.
>
> It turns out that problem introduced during the 1.13 cycle was fixed
> somehow before the final 1.13 release. Chris got it working with 1.14,
> he hadn't been loading the glamoregl module early.
>
>
> --
> Earthling Michel Dänzer           |                   http://www.amd.com
> Libre software enthusiast         |          Debian, X and DRI developer
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130318/af0357ca/attachment.html>


More information about the xorg-devel mailing list