DRI Breakage

Robert Noland rnoland at 2hip.net
Fri Oct 19 16:08:28 PDT 2007


On Fri, 2007-10-19 at 13:04 -0700, vehemens wrote:
> On Friday 19 October 2007 12:52:09 pm Adam K Kirchhoff wrote:
> > On Friday 19 October 2007 15:32:53 vehemens wrote:
> > > On Friday 19 October 2007 07:42:40 am Adam K Kirchhoff wrote:
> > > > On Sun, 2007-09-16 at 16:32 -0700, vehemens wrote:
> > > > > The recent change to use a common option file for several ports
> > > > > including the dri and libGL ports results in a blank window when
> > > > > running glxgears on my -current xp system with a rv350.
> > > > >
> > > > > I have traced the problem down to the inclusion of the following
> > > > > compile option flags to the dri port:
> > > > >                -e 's|CFLAGS = |CFLAGS = ${CFLAGS} |g' \
> > > > >                -e 's|OPT_FLAGS = .*|OPT_FLAGS = ${CFLAGS}|g' \
> > > > >
> > > > > I suspect most people didn't notice as the port version wasn't bumped
> > > > > for this change.
> > > > > _______________________________________________
> > > > > freebsd-x11 at freebsd.org mailing list
> > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> > > > > To unsubscribe, send any mail to
> > > > > "freebsd-x11-unsubscribe at freebsd.org"
> > > >
> > > > I take it that this hasn't been fixed in the ports tree?  I just
> > > > updated various ports this morning, including dri and libGL, and now I
> > > > get the black windows again.  If I build the drivers from Mesa git,
> > > > which is what I did before, AIGLX won't work.
> > >
> > > Never saw any other reports of the problem (until now), so left my system
> > > patched.
> > >

FWIW, my ports are built with :

CFLAGS=                 -O2 -fno-strict-aliasing -pipe

and I haven't had any issues with the port.

robert.

> > > The patch consisted of copying the shared make file into the dri Makefile
> > > and removing the two offending lines.
> > >
> > > Try the patch followed by a portupgrade -f dri, and see it it works for
> > > you.
> >
> > Sorry, but which shared makefile are you referring to?
> 
> In the dri Makefile, replace the line
> .include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
> with the actual file, then delete two compile option flags lines mentioned 
> above.
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20071019/a30ece15/attachment.pgp


More information about the freebsd-x11 mailing list