[HEADS UP] xorg version switch in CURRENT

J M j at glx.me
Wed Dec 18 04:23:00 UTC 2013


Following this list:
http://lists.freebsd.org/pipermail/freebsd-x11/2013-December/013911.html

Rebuild xorg again on FreeBSD 10.0 rc2:
WITH_NEW_XORG=
WITH_KMS=
WITH_GALLIUM=

Build es2tri.c in mesa demos
http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengles2/es2tri.c
#################################################################################
J at build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl
glesv2 gl`
J at build:~ % ./es2tri
#################################################################################
A window with a triangle is shown.

It is on an Intel video card.

But when I built nvidia driver and found this error again.
#################################################################################
root at build:~ # cd /usr/ports/x11/nvidia-driver-304
root at build:/usr/ports/x11/nvidia-driver-304 # make install clean

J at build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl
glesv2 gl`
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch'
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
J at build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl
glesv2`
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch'
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
J at build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl gl`
J at build:~ % ./es2tri
Bus error (core dumped)
#################################################################################

I think it is because a mismatch configure, and also because gles driver is
incomplete.


On Wed, Dec 18, 2013 at 7:28 AM, Aleksandr Rybalko <ray at ddteam.net> wrote:

> On 18.12.2013 01:27, Nathan Whitehorn wrote:
> > On 12/17/13 15:32, Aleksandr Rybalko wrote:
> >> On Tue, 17 Dec 2013 14:12:05 -0600
> >> Nathan Whitehorn <nwhitehorn at freebsd.org> wrote:
> >>
> >>> On 12/17/13 14:07, Steve Kargl wrote:
> >>>> On Mon, Dec 16, 2013 at 12:20:53PM +0100, Niclas Zeising wrote:
> >>>>> To get VT switching when using KMS drivers (ATI, Intel) please use
> >>>>> newcons: https://wiki.freebsd.org/Newcons or if that is not
> >>>>> possible, force the use of the vesa driver for xorg.
> >>>>>
> >>>> It appears that newcons is unusable with a static kernel.
> >>>> Adding 'device drm2' and 'device i915kms' to my kernel
> >>>> config results in a quick death to 'make buldkernel'.
> >>>>
> >>> You may not want it either. The radeon KMS driver, if loaded with
> >>> newcons before X, replaces your console with snow (or at least it did
> >>> the last time I tried it).
> >> Nathan, on which h/w you did that test? 3 different systems with Intel
> >> graphic works fine for me.
> >
> > This is on the following graphics card on amd64:
> >
> > vgapci0 at pci0:3:0:0:     class=0x030000 card=0x10022f43 chip=0x95cc1002
> > rev=0x00 hdr=0x00
> >     vendor     = 'Advanced Micro Devices [AMD] nee ATI'
> >     device     = 'RV620 [ATI FireGL V3700]'
> >
> > I'll run the test again today or tomorrow and see if it still happens.
> > -Nathan
> Please do.
>
> Thanks!
>
> _______________________________________________
> 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"
>


More information about the freebsd-x11 mailing list