Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2011 01:15:26 -0700 (PDT)
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1]
Message-ID:  <31151765.post@talk.nabble.com>
In-Reply-To: <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com>
References:  <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com>

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

Also I tried with intel D510MO motherboard (dmidecode said me Intel(R) GMA
3150 Video Device).
/usr/ports/x11-drivers/xf86-video-intel doesn`t support this video device.
/usr/ports/x11-drivers/xf86-video-intel29 doesn`t compile (ussually I use
this driver) and patches provided by George Liaskos (Mar 12, 2011; 07:21pm
and Mar 14, 2011; 12:03am) doesn`t help =3D( =20

=3D=3D=3D>  Building for xf86-video-intel29-2.9.1
make `test -z @ && echo -s` all-recursive
Making all in uxa
../doltcompile /bin/sh
/usr/ports/x11-drivers/xf86-video-intel29/work/xf86-video-intel-2.9.1/./sha=
ve
cc cc -DHAVE_CONFIG_H -I. -I..    -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1    -I/usr/local/include
-I/usr/local/include/libdrm -Wall -Wpointer-arith -Wstrict-prototypes      =
 =20
-Wmissing-prototypes -Wmissing-declarations      -Wnested-externs
-fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1  -O2 -pipe
-fno-strict-aliasing -MT uxa.lo -MD -MP -MF .deps/uxa.Tpo -c -o uxa.lo uxa.=
c
  CC    uxa.o
In file included from uxa.c:37:
uxa-priv.h: In function 'uxa_get_screen':
uxa-priv.h:185: warning: passing argument 2 of 'dixLookupPrivate' from
incompatible pointer type
uxa.c: In function 'uxa_close_screen':
uxa.c:393: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa.c: In function 'uxa_driver_alloc':
uxa.c:411: warning: 'Xcalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:225)
uxa.c: In function 'uxa_driver_init':
uxa.c:463: warning: 'Xcalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:225)
uxa.c:473: warning: passing argument 2 of 'dixSetPrivate' from incompatible
pointer type
mv -f .deps/uxa.Tpo .deps/uxa.Plo
../doltcompile /bin/sh
/usr/ports/x11-drivers/xf86-video-intel29/work/xf86-video-intel-2.9.1/./sha=
ve
cc cc -DHAVE_CONFIG_H -I. -I..    -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1    -I/usr/local/include
-I/usr/local/include/libdrm -Wall -Wpointer-arith -Wstrict-prototypes      =
 =20
-Wmissing-prototypes -Wmissing-declarations      -Wnested-externs
-fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1  -O2 -pipe
-fno-strict-aliasing -MT uxa-accel.lo -MD -MP -MF .deps/uxa-accel.Tpo -c -o
uxa-accel.lo uxa-accel.c
  CC    uxa-accel.o
In file included from uxa-accel.c:33:
uxa-priv.h: In function 'uxa_get_screen':
uxa-priv.h:185: warning: passing argument 2 of 'dixLookupPrivate' from
incompatible pointer type
uxa-accel.c: In function 'uxa_poly_point':
uxa-accel.c:523: warning: 'Xalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:221)
uxa-accel.c:537: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa-accel.c: In function 'uxa_poly_lines':
uxa-accel.c:560: warning: 'Xalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:221)
uxa-accel.c:576: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa-accel.c:600: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa-accel.c: In function 'uxa_poly_segment':
uxa-accel.c:631: warning: 'Xalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:221)
uxa-accel.c:659: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
mv -f .deps/uxa-accel.Tpo .deps/uxa-accel.Plo
../doltcompile /bin/sh
/usr/ports/x11-drivers/xf86-video-intel29/work/xf86-video-intel-2.9.1/./sha=
ve
cc cc -DHAVE_CONFIG_H -I. -I..    -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1    -I/usr/local/include
-I/usr/local/include/libdrm -Wall -Wpointer-arith -Wstrict-prototypes      =
 =20
-Wmissing-prototypes -Wmissing-declarations      -Wnested-externs
-fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1  -O2 -pipe
-fno-strict-aliasing -MT uxa-glyphs.lo -MD -MP -MF .deps/uxa-glyphs.Tpo -c
-o uxa-glyphs.lo uxa-glyphs.c
  CC    uxa-glyphs.o
In file included from uxa-glyphs.c:49:
uxa-priv.h: In function 'uxa_get_screen':
uxa-priv.h:185: warning: passing argument 2 of 'dixLookupPrivate' from
incompatible pointer type
uxa-glyphs.c: In function 'uxa_unrealize_glyph_caches':
uxa-glyphs.c:131: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa-glyphs.c:136: warning: 'Xfree' is deprecated (declared at
/usr/local/include/xorg/os.h:234)
uxa-glyphs.c: In function 'uxa_realize_glyph_caches':
uxa-glyphs.c:217: warning: 'Xalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:221)
uxa-glyphs.c:218: warning: 'Xalloc' is deprecated (declared at
/usr/local/include/xorg/os.h:221)
mv -f .deps/uxa-glyphs.Tpo .deps/uxa-glyphs.Plo
../doltcompile /bin/sh
/usr/ports/x11-drivers/xf86-video-intel29/work/xf86-video-intel-2.9.1/./sha=
ve
cc cc -DHAVE_CONFIG_H -I. -I..    -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1    -I/usr/local/include
-I/usr/local/include/libdrm -Wall -Wpointer-arith -Wstrict-prototypes      =
 =20
-Wmissing-prototypes -Wmissing-declarations      -Wnested-externs
-fno-strict-aliasing -D_THREAD_SAFE -I/usr/local/include/xorg
-I/usr/local/include -I/usr/local/include/pixman-1  -O2 -pipe
-fno-strict-aliasing -MT uxa-render.lo -MD -MP -MF .deps/uxa-render.Tpo -c
-o uxa-render.lo uxa-render.c
  CC    uxa-render.o
In file included from uxa-render.c:31:
uxa-priv.h: In function 'uxa_get_screen':
uxa-priv.h:185: warning: passing argument 2 of 'dixLookupPrivate' from
incompatible pointer type
uxa-render.c: In function 'uxa_acquire_pattern':
uxa-render.c:456: error: too few arguments to function 'image_from_pict'
*** Error code 1

Stop in
/usr/ports/x11-drivers/xf86-video-intel29/work/xf86-video-intel-2.9.1/uxa.
*** Error code 1


As Gustau P=C3=A9rez i Querol said:
"I think it would be better to wait until gem/kms works"


miwi-2 wrote:
>=20
> Hi,
>=20
> First of all, note that *this is very experimental, so you really have to
> know what
> you=E2=80=99re doing.* We managed to get drm/dri with the newer xorg-serv=
er to
> work,
> and we have removed the support for WITHOUT_NOUVEAU.
>=20
> We have just updated the xorg-dev repo:
>=20
> =E2=80=93 libdrm -> 2.4.24
> =E2=80=93 libGL to 7.10.1
> =E2=80=93 libGLU to 7.10.1
> =E2=80=93 libGLUw to 7.10.1
> =E2=80=93 libglut to 7.10.1
> =E2=80=93 xproto to 7.0.17
> =E2=80=93 libXaw to 1.0.9
> =E2=80=93 libXt to 1.1.0
> =E2=80=93 libX11 to 1.4.1
> =E2=80=93 xorg-server to 1.9.4
>=20
> After installing these, you will have to rebuild the following ports:
>=20
> =E2=80=93 your graphic driver
> =E2=80=93 keybord driver
> =E2=80=93 mouse/synaptics driver
>=20
> Upon rebuilt, restart them.
> So to get the xorg stuff you will need to:
> run
>=20
> svn co https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev
>=20
> A small merge script to merge the svn checkout into the real portstree ca=
n
> be found here:
>=20
> http://people.freebsd.org/~miwi/xorg/xorgmerge
>=20
> The script is a modified version of the kdemerge script. Please set the
> KDEDIR
> variable to the path of your X.org ports.
>=20
> After merging, run one of the following command, depending on which tool
> you
> use
> to manage your installed packages.
>=20
> portupgrade -af \*
> portmaster -af
>=20
> Please report any problems and issues to x11 (at) FreeBSD.org.
>=20
> *Again, please be aware that this is very experimental*, and
> I personally haven=E2=80=99t tested any 3D things yet, but we want
> to share our work and start testing to get early feedback
> for improvements. We plan to update Xorg fully to 7.6 after
> we get some feedback for update part 1. It will be much easier
> for us to figure out what the problems are with the updates
> being separated in 3 parts. Please make sure you know what
> you=E2=80=99re doing.
>=20
> Thanks to Piter (gahr@) for helping me to get it compiled with our
> base gcc version.
>=20
> - Martin
>=20
> PS: ECFT -> Experimental Call for Testing [image: :P]
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>=20
>=20

--=20
View this message in context: http://old.nabble.com/-ECFT--drm-dri-mesa-xor=
g-server-update--Part-1--tp31124272p31151765.html
Sent from the freebsd-ports mailing list archive at Nabble.com.




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