Date: Wed, 18 Dec 2013 12:22:57 +0800 From: J M <j@glx.me> To: Aleksandr Rybalko <ray@ddteam.net> Cc: current@freebsd.org, ports@freebsd.org, Aleksandr Rybalko <ray@freebsd.org>, x11@freebsd.org, Nathan Whitehorn <nwhitehorn@freebsd.org>, Steve Kargl <sgk@troutmask.apl.washington.edu> Subject: Re: [HEADS UP] xorg version switch in CURRENT Message-ID: <CAHCP5-wh6iz5eyQRtOb7RatT9QSH=3o7=TvtVO78a_LSJiWGGw@mail.gmail.com> In-Reply-To: <52B0DE17.7030104@ddteam.net> References: <52AEE215.1060806@freebsd.org> <20131217200756.GA46033@troutmask.apl.washington.edu> <52B0B015.4010600@freebsd.org> <20131217233202.952bc846.ray@freebsd.org> <52B0DDDA.8010608@freebsd.org> <52B0DE17.7030104@ddteam.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl glesv2 gl` J@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@build:~ # cd /usr/ports/x11/nvidia-driver-304 root@build:/usr/ports/x11/nvidia-driver-304 # make install clean J@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@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@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl gl` J@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@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@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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHCP5-wh6iz5eyQRtOb7RatT9QSH=3o7=TvtVO78a_LSJiWGGw>