Matthias Scheler | 5 Sep 2002 01:11
Picon
Favicon

HEADS UP: XFree86 4.2.1 imported


	Hello,

I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
of the changes:

XFree86 4.2.1 (03 September 2002)
 715. [SECURITY] Fix an Xlib problem that made it possible to load arbitrary
      code into privileged clients.
 714. Fix i810_free_page() and i830_free_page() for DRI kernel modules so
      that later 2.4.x kernels are supported.

XFree86 4.2.0.1 (21 August 2002)
 713. Fix intermittent XDarwin crash when changing cursors on dual processor
      machines (Torrey T. Lyons).
 712. Fix Finder warnings about XDarwin plist format on Jaguar
      (Torrey T. Lyons).
 711. Fix XDarwin build issues on Jaguar (Sean Fagan).
 710. When using the vesa driver and the DisplaySize option the server
      would crash with a floating point exception due to a divide by zero
      in miscreeninit() (#5298, Mike A. Harris).
 709. Updated patch from head to fix problem described in #5244
      (freed memory being deref'd in xaw) (jik <at> kamens.brookline.ma.us)
 708. The function MoveLine in lib/Xaw/TextAction.c sometimes attempts to
      read uninitialized memory when hit ctrl-N in a Text widget to move to
      the next line (#5245, Johnathan Kamens).
 707. Close XDarwin rootless windows properly for Jaguar compatibility
      (Greg Parker).
 706. Build libXt as a flat namespace image on Darwin (Torrey T. Lyons).
 705. Install the bitmap file xc/programs/bitmap/Stipple as Stippler on file
(Continue reading)

Wolfgang Rupprecht | 6 Sep 2002 16:09

Re: HEADS UP: XFree86 4.2.1 imported


tron <at> zhadum.de (Matthias Scheler) writes:
> I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
> of the changes:

Is this release meant to work on netbsd-current/sparc ?  The xfree86
folks mention that it now has sun framebuffer support, but I guess
they mean sun framebuffer support iff compiled up under solaris or
some such. 

I'm seeing what looks like include file problems in
sunINit.c. (Just a path problem or more serious?)

    In file included from sunInit.c:49:
    sun.h:103: machine/fbio.h: No such file or directory
    *** Error code 1

Strangely this error didn't cause the "make build" in /usr/xsrc to be
aborted with an error.  The build continued onto the install phase.
Unfortunately my shell script saw the zero return from the build and
dutifully cleaned up the compile directory with a make clean.  Grrr.
10 hrs of ss5 compile blown away.

Can the xsrc stuff be cross-compiled via nbmake-sparc ?

-wolfgang
--

-- 
       Wolfgang Rupprecht <wolfgang+gnus <at> dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
      Hackers don't spread viruses.  Microsoft spreads viruses.
(Continue reading)

Valeriy E. Ushakov | 6 Sep 2002 16:28
Picon

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, Sep 06, 2002 at 07:09:27 -0700, Wolfgang Rupprecht wrote:

> Is this release meant to work on netbsd-current/sparc ?  The xfree86
> folks mention that it now has sun framebuffer support, but I guess
> they mean sun framebuffer support iff compiled up under solaris or
> some such. 

You cannot compile XFree on NetBSD/sparc yet.

> I'm seeing what looks like include file problems in
> sunINit.c. (Just a path problem or more serious?)
> 
>     In file included from sunInit.c:49:
>     sun.h:103: machine/fbio.h: No such file or directory
>     *** Error code 1

fbio.h was moved to <dev/sun/fbio.h> some time ago.  In hindsight,
compatibility <macine/fbio.h> (that would just #include the header
from its new location) should have been kept around.  I'm afraid it's
to late to fix that for 1.6 though...

> Strangely this error didn't cause the "make build" in /usr/xsrc to be
> aborted with an error.

X top-level makefile builds world with -k flag to make ...

> Can the xsrc stuff be cross-compiled via nbmake-sparc ?

Not yet.

(Continue reading)

Wolfgang Rupprecht | 7 Sep 2002 06:06

Re: HEADS UP: XFree86 4.2.1 imported


uwe <at> ptc.spbu.ru (Valeriy E. Ushakov) writes:
> On Fri, Sep 06, 2002 at 07:09:27 -0700, Wolfgang Rupprecht wrote:
> > Is this release meant to work on netbsd-current/sparc ?  The xfree86
> > folks mention that it now has sun framebuffer support, but I guess
> > they mean sun framebuffer support iff compiled up under solaris or
> > some such. 
> You cannot compile XFree on NetBSD/sparc yet.

Ok, my poor ss5 finally finished the compile.  The trivial path-name
changes produce a working Xsun.  Folks with suns might want to ditch
the old Xfree 3.x and try 4.x.

-wolfgang

cvs server: Diffing .
Index: constype.c
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/programs/Xserver/hw/sun/constype.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 constype.c
--- constype.c	2002/01/19 15:05:52	1.1.1.4
+++ constype.c	2002/09/06 23:11:15
 <at>  <at>  -84,7 +84,11  <at>  <at> 
 #ifndef CSRG_BASED
 #include <sun/fbio.h>
 #else
-#include <machine/fbio.h>
+#  ifdef __NetBSD__
+#   include <dev/sun/fbio.h>	/* -wsr */
(Continue reading)

Greg A. Woods | 7 Sep 2002 18:31
X-Face
Favicon

Re: Xfree86 4.2.1 for NetBSD/sparc? (HEADS UP: XFree86 4.2.1 imported)

[ On , September 6, 2002 at 21:06:32 (-0700), Wolfgang Rupprecht wrote: ]
> Subject: Re: HEADS UP: XFree86 4.2.1 imported
>
> Ok, my poor ss5 finally finished the compile.  The trivial path-name
> changes produce a working Xsun.  Folks with suns might want to ditch
> the old Xfree 3.x and try 4.x.

[[ patch deleted, port-sparc readers can find it in current-users archives ]]

What benefits might we expect?  Can I get a smaller _and_ faster xserver
for bwtwo?  With tgx, etc.?  Are any of the 24-bit sbus framebuffers
fully supported?  Are any of the sbus boards with hardware accelleration
fully supported?

--

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods <at> ieee.org>;           <woods <at> robohack.ca>
Planix, Inc. <woods <at> planix.com>; VE3TCP; Secrets of the Weird <woods <at> weird.com>

Martin Husemann | 7 Sep 2002 23:03
Picon

Re: Xfree86 4.2.1 for NetBSD/sparc? (HEADS UP: XFree86 4.2.1 imported)

On Sat, Sep 07, 2002 at 12:31:43PM -0400, Greg A. Woods wrote:

> Are any of the sbus boards with hardware accelleration
> fully supported?

Yes. Don't know about the level of acceleration though, but overall much more
models than we support currently are listed there.

  http://www.xfree.org/current/Status32.html#32

Martin

Valeriy E. Ushakov | 7 Sep 2002 06:33
Picon

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, Sep 06, 2002 at 21:06:32 -0700, Wolfgang Rupprecht wrote:

> uwe <at> ptc.spbu.ru (Valeriy E. Ushakov) writes:
> > On Fri, Sep 06, 2002 at 07:09:27 -0700, Wolfgang Rupprecht wrote:
> > > Is this release meant to work on netbsd-current/sparc ?  The xfree86
> > > folks mention that it now has sun framebuffer support, but I guess
> > > they mean sun framebuffer support iff compiled up under solaris or
> > > some such.
> > You cannot compile XFree on NetBSD/sparc yet.
> 
> Ok, my poor ss5 finally finished the compile.

What I meant to say was "you cannot compile XF86Server ...".

SY, Uwe
--

-- 
uwe <at> ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

Greywolf | 6 Sep 2002 17:27

Re: HEADS UP: XFree86 4.2.1 imported

Regarding ttf support in xfs:  yes.  I use it.

				--*greywolf;
--
NetBSD: it's not free beer, but it's free.

RE: HEADS UP: XFree86 4.2.1 imported

> I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a
list
> of the changes:
> ..
> Matthias Scheler
http://scheler.de/~matthias/

Any chance it will be included in NetBSD 1.6 before it gets released?

G.

Brian A. Seklecki | 6 Sep 2002 10:38

Re: HEADS UP: XFree86 4.2.1 imported

On Thu, 5 Sep 2002  <at>  1:11am (+0200), Matthias Scheler wrote:

MS>
MS> 	Hello,
MS>
MS> I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
MS> of the changes:
MS>
MS> XFree86 4.2.1 (03 September 2002)
MS>  715. [SECURITY] Fix an Xlib problem that made it possible to load arbitrary

That's odd.  Is 4.2.1 simply a CVS tag/branch from xf-4_2-branch?  The
website says nothing about it.

MS>       code into privileged clients.
MS>  714. Fix i810_free_page() and i830_free_page() for DRI kernel modules so
MS>       that later 2.4.x kernels are supported.
MS>
MS> XFree86 4.2.0.1 (21 August 2002)
MS>  713. Fix intermittent XDarwin crash when changing cursors on dual processor
MS>       machines (Torrey T. Lyons).
MS>  712. Fix Finder warnings about XDarwin plist format on Jaguar
MS>       (Torrey T. Lyons).
MS>  711. Fix XDarwin build issues on Jaguar (Sean Fagan).
MS>  710. When using the vesa driver and the DisplaySize option the server
MS>       would crash with a floating point exception due to a divide by zero
MS>       in miscreeninit() (#5298, Mike A. Harris).
MS>  709. Updated patch from head to fix problem described in #5244
MS>       (freed memory being deref'd in xaw) (jik <at> kamens.brookline.ma.us)
MS>  708. The function MoveLine in lib/Xaw/TextAction.c sometimes attempts to
(Continue reading)

Bang Jun-Young | 6 Sep 2002 12:03

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, Sep 06, 2002 at 04:38:14AM -0400, Brian A. Seklecki wrote:
> On Thu, 5 Sep 2002  <at>  1:11am (+0200), Matthias Scheler wrote:
> 
> MS>
> MS> 	Hello,
> MS>
> MS> I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
> MS> of the changes:
> MS>
> MS> XFree86 4.2.1 (03 September 2002)
> MS>  715. [SECURITY] Fix an Xlib problem that made it possible to load arbitrary
> 
> That's odd.  Is 4.2.1 simply a CVS tag/branch from xf-4_2-branch?  The
> website says nothing about it.

Read the following page:

http://www.xfree86.org/4.2.1/RELNOTES.html

Jun-Young

--

-- 
Bang Jun-Young <junyoung <at> mogua.com>

Brian A. Seklecki | 6 Sep 2002 13:51

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, 6 Sep 2002  <at>  7:03pm (+0900), Bang Jun-Young wrote:

BJ> > website says nothing about it.
BJ>
BJ> Read the following page:
BJ>
BJ> http://www.xfree86.org/4.2.1/RELNOTES.html

..eehhh, very little is happening in that branch.  154 XF CVS commits since
Jul, only 12 in that branch.

What do you think about trying to merge in DRI support from:

http://people.freebsd.org/~anholt/dri/index.html

...it's on his todo list, but he doesn't mention a NetBSD liason.  Hopefully
one day we can have working DGA/XVideo/DRI/GLX support.

Come to think of it, do we even have a True Type enabled XFS?

-lava

BJ>
BJ> Jun-Young
BJ>
BJ> --
BJ> Bang Jun-Young <junyoung <at> mogua.com>
BJ>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
(Continue reading)

Erik Reid | 6 Sep 2002 15:17

Re: HEADS UP: XFree86 4.2.1 imported

Quoth "Brian A. Seklecki":
>On Fri, 6 Sep 2002  <at>  7:03pm (+0900), Bang Jun-Young wrote:
>
>BJ> > website says nothing about it.
>BJ>
>BJ> Read the following page:
>BJ>
>BJ> http://www.xfree86.org/4.2.1/RELNOTES.html
>
>..eehhh, very little is happening in that branch.  154 XF CVS commits since
>Jul, only 12 in that branch.
>
>What do you think about trying to merge in DRI support from:

I've got some portion of the work done making the stuff in the DRI CVS repository
work on NetBSD, but I'm not sure when they're going to be bringing that work up
to the XFree86 tree, and I suspect we don't want to pull in all of the new DRI bits
directly from the DRI repository.  I haven't touched it in a while, I might be able
to get back on it this weekend..

Brian A. Seklecki | 10 Oct 2002 22:15

Accelerated X Project ? (WAS: Re: HEADS UP: XFree86 4.2.1 imported)

On Fri, 2002-09-06 at 09:17, Erik Reid wrote:
> Quoth "Brian A. Seklecki":
> >On Fri, 6 Sep 2002  <at>  7:03pm (+0900), Bang Jun-Young wrote:
> >
> I've got some portion of the work done making the stuff in the DRI CVS repository
> work on NetBSD, but I'm not sure when they're going to be bringing that work up

interesting.  obviously i'm curious about what comes of that.  for some
reason, i was thinking TrueType fonts required DRI to be rendedered.

Or maybe I'm thinking anti-aliased fonts need DRI...

Either way I have access to an Voodoo3 PCI and a NVidia DDR AGP, so I'm
willing to help test stuff.

I think what we really need is a project(1) "Accelerated X" or "Enhanced
X" or whatever to help better document using X, as to address the
frequent X11 related questions in port-i386 <at>  and netbsd-help <at> ,
including, but not limted to:

*) OpenGL / DRI
*) MTRR 
*) XV / X-Video extension
*) Xinerama Extension
*) DGA
*) Playing media, pkgsrc apps, etc.  - DVD, MPEG, DiVx, AVI
*) TV Tuner Cards
*) True Type / Anti-Aliased Fonts
*) Scrollwheel, etc.
*) Other misc X Features (xdm, dpms, vesa, etc.)
(Continue reading)

Frederick Bruckman | 6 Sep 2002 20:52

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, 6 Sep 2002, Erik Reid wrote:

> Quoth "Brian A. Seklecki":
> >
> >What do you think about trying to merge in DRI support from:
>
> I've got some portion of the work done making the stuff in the DRI CVS repository
> work on NetBSD, but I'm not sure when they're going to be bringing that work up
> to the XFree86 tree, and I suspect we don't want to pull in all of the new DRI bits
> directly from the DRI repository.  I haven't touched it in a while, I might be able
> to get back on it this weekend..

The last time I tried to build a checkout of the DRI bsd-3-0-0-branch,
the DRM modules didn't build at all. You have nothing without them, right?

Frederick

Erik Reid | 6 Sep 2002 21:03

Re: HEADS UP: XFree86 4.2.1 imported

Quoth Frederick Bruckman:
>On Fri, 6 Sep 2002, Erik Reid wrote:
>
>> Quoth "Brian A. Seklecki":
>> >
>> >What do you think about trying to merge in DRI support from:
>>
>> I've got some portion of the work done making the stuff in the DRI CVS repository
>> work on NetBSD, but I'm not sure when they're going to be bringing that work up
>> to the XFree86 tree, and I suspect we don't want to pull in all of the new DRI bits
>> directly from the DRI repository.  I haven't touched it in a while, I might be able
>> to get back on it this weekend..
>
>The last time I tried to build a checkout of the DRI bsd-3-0-0-branch,
>the DRM modules didn't build at all. You have nothing without them, right?

Right.  This is the only part that really needs work.

The bsd-3-0-0-branch is no longer necessary, it's been brought to the mainline.

The stuff in there is also incomplete(as far as NetBSD is concerned).  One part
(DRM(ioremap)) that I sent a patch in didn't get committed because it was kind
of yucky, which I wasn't too surprised about. :)

I have seen my g450 "work", but it's not complete, and I haven't looked
at any of the other drivers yet.

I've cleaned up the DRM(ioremap) bits, but I've still got more work to do
to make it work properly on NetBSD.

(Continue reading)

Daniel Carosone | 6 Sep 2002 14:46
Picon

Re: HEADS UP: XFree86 4.2.1 imported

> Come to think of it, do we even have a True Type enabled XFS?

I don't know about the fontserver, I don't use it, but the core
server supports bitmap TrueType (module xtt), and even better Xft
supports anti-aliased TrueType via XRENDER.

--
Dan.

Martin Husemann | 6 Sep 2002 14:35
Picon

Re: HEADS UP: XFree86 4.2.1 imported

On Fri, Sep 06, 2002 at 07:51:30AM -0400, Brian A. Seklecki wrote:

> What do you think about trying to merge in DRI support from:

If you send-pr working patches against our xsrc tree, those have a very high
chance of being integrated *quickly*.

Martin

itojun | 5 Sep 2002 01:27

Re: HEADS UP: XFree86 4.2.1 imported

>I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
>of the changes:

	is it possible to identify these changes and backport to 3.3.6 tree?
	as we will ship 3.3.6 for most of the platforms, it would be important.

itojun

>XFree86 4.2.1 (03 September 2002)
> 715. [SECURITY] Fix an Xlib problem that made it possible to load arbitrary
>      code into privileged clients.
>XFree86 4.2.0.1 (21 August 2002)
> 703. [SECURITY] MIT-SHM update: try to avoid using SHM segments that the
>      client user doesn't have sufficient privileges to access
>      (Roberto Zunino, Matthieu Herrb).
> 701. [SECURITY] Zlib error handling fix (Mark Adler).

Matthias Scheler | 7 Sep 2002 10:08
Picon
Favicon

Re: HEADS UP: XFree86 4.2.1 imported

In article <20020904232729.A4D6A4B22 <at> coconut.itojun.org>,
	itojun <at> iijlab.net writes:
>>I've imported XFree86 4.2.1 into NetBSD's X11 sources today. Here is a list
>>of the changes:
> 
> 	is it possible to identify these changes and backport to 3.3.6 tree?
> 	as we will ship 3.3.6 for most of the platforms, it would be important.

The XFree86 maintainers assured that only XFree86 4.2.0 is vulnerable.

	Kind regards

--

-- 
Matthias Scheler                                  http://scheler.de/~matthias/


Gmane