From owner-freebsd-ports@FreeBSD.ORG Wed Dec 18 04:22:59 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3566936 for ; Wed, 18 Dec 2013 04:22:59 +0000 (UTC) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D77B1055 for ; Wed, 18 Dec 2013 04:22:59 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id n12so7020450wgh.14 for ; Tue, 17 Dec 2013 20:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=glx.me; s=g; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cYGSH5ULRqu9eeXd5A38mwatPnTGRm8M8EIDi1jCWkA=; b=eqLBR8qEJLE1igYL1crDy9PY3R+19sj3mmLjshUUBcJHWRs6O2VjmLyh7QbYq+zcwu SPupJnOLiRWLb3B5c9gocOKe2ipj4PLIukkHMVzQgSLeLlCnrWxX94O/tVy6oJyZ5IgC WMcBHbtmmKvyk0Zs+eX/L04Q0ivUbvYMZs2qA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cYGSH5ULRqu9eeXd5A38mwatPnTGRm8M8EIDi1jCWkA=; b=SPiZxehah1qY1L+Yvw0kAKERMaPqX0qr0buas0OJc3XzjI2Hfo1133iO8CQIgv6yv3 yiR+a2o7CDlGB91Sgx333sbKQOB5ZEiTiG60VN1yJctsH6N9mygtX7BqmoZKMtF4Vus9 tvTyGsEvSJWiTYAat6LliNcGxtPSKQdYAqgc5tMFHSX3RLb51bqdWowfcP+ncM31eesr HxjeabdWWCyUMgQa2rQuCmUO3MNTXHcHqJLmX+iAu1dtjbxUujAJqBNPY8qie5rlDT4h f+MAZI014/WyHexxkBgWWnuZGWLAkpjBN0dpcieXp3No3JrR0lv+8yTwOAfnkz1Rn8RX fnng== X-Gm-Message-State: ALoCoQmZIbm3yr2gTFcEGcNsVXIqTrx+rx4DAQBNgYfmym8rGA3TbrRqwlmHeM+1V6F+hNs2T807 MIME-Version: 1.0 X-Received: by 10.180.106.40 with SMTP id gr8mr6160831wib.48.1387340577472; Tue, 17 Dec 2013 20:22:57 -0800 (PST) Received: by 10.194.62.230 with HTTP; Tue, 17 Dec 2013 20:22:57 -0800 (PST) X-Originating-IP: [101.82.173.103] 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> Date: Wed, 18 Dec 2013 12:22:57 +0800 Message-ID: Subject: Re: [HEADS UP] xorg version switch in CURRENT From: J M To: Aleksandr Rybalko Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: current@freebsd.org, ports@freebsd.org, Aleksandr Rybalko , x11@freebsd.org, Nathan Whitehorn , Steve Kargl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 04:22:59 -0000 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 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 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" >