From owner-freebsd-x11@FreeBSD.ORG Sun Sep 14 20:41:57 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99E0357A for ; Sun, 14 Sep 2014 20:41:57 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08C5A3E8 for ; Sun, 14 Sep 2014 20:41:56 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id s18so3572260lam.14 for ; Sun, 14 Sep 2014 13:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rVz2pjnod6fcJizSrRaK4dhaRTzqJ8psHRY4skl4ddI=; b=pUBMGK+eOehIo97tFKG0di0VINO+YvGXhaTPTexP8HMdl6dA9vphPbj8abQrkA1KKX wmPGCFEkJWMhxiIZNPED8vmcT6/yHOsdlx2uyTuquYcfJQ8T5yna8gmSFyyr0+ykCnfo RJDDvQDXFkBn+3b4SS3iQxeTqCGGpRKp53i7nHBtFHIgrxhMigsXVAvuD/3ZxFDnKJA2 E4USy156h2iX+0CJZFq8AF83FKb2gpyrG8+kerQGCxXLRRqg7yfcJe+uNagk/tLFhinb 64l1tBII4/hRdTxfMhqGijnLv+ka31pKU32P8v6jSe7dyV59YLMfGDV+s+wtM9d5rgqQ 4rWA== MIME-Version: 1.0 X-Received: by 10.112.62.200 with SMTP id a8mr22113953lbs.34.1410727314847; Sun, 14 Sep 2014 13:41:54 -0700 (PDT) Received: by 10.114.29.200 with HTTP; Sun, 14 Sep 2014 13:41:54 -0700 (PDT) In-Reply-To: References: Date: Sun, 14 Sep 2014 22:41:54 +0200 Message-ID: Subject: Re: test results: HW context switching patch and experimental Xorg repo on T430s From: Johannes Dieterich To: Henry Hu , freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 20:41:57 -0000 Follow up to the report and the off-list recommendation I received: On Sun, Sep 14, 2014 at 7:43 PM, Henry Hu wrote: > > > On Sun, Sep 14, 2014 at 9:02 AM, Johannes Dieterich < > dieterich.joh@gmail.com> wrote: > >> Dear all, >> >> please CC me, as I am not subscribed. >> >> I included the HW context switch on a Thinkpad T430s (dual Intel HD4000 >> graphics and NVIDIA Optimus, the later is disabled) and merged the xorg >> repo in as per wiki instructions. >> >> Intel GPU is: >> >> vgapci0@pci0:0:2:0: class=0x030000 card=0x220017aa chip=0x01668086 >> rev=0x09 hdr=0x00 >> vendor = 'Intel Corporation' >> device = '3rd Gen Core processor Graphics Controller' >> class = display >> subclass = VGA >> bar [10] = type Memory, range 64, base 0xf0000000, size 4194304, >> enabled >> bar [18] = type Prefetchable Memory, range 64, base 0xe0000000, size >> 268435456, enabled >> bar [20] = type I/O Port, range 32, base 0x5000, size 64, enabled >> cap 05[90] = MSI supports 1 message enabled with 1 message >> cap 01[d0] = powerspec 2 supports D0 D3 current D0 >> cap 13[a4] = PCI Advanced Features: FLR TP >> >> Everything works very nicely, interestingly though with the exception of >> glxgears which segfaults, I get a core and this is the backtrace: >> > > Have you tried setting LIBGL_DRI3_DISABLE=1? I think that this is the same > bug as > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757435 > And that works for me. > Indeed, that also works for me. For what it's worth, I now get consistently some 10% higher framerate using glxgears w/ vblank_mode=0 than on the "old" setup currently in HEAD and ports (with the usual grain of salt as it is the infamous glxgears "benchmark"). Best Johannes > > >> >> (gdb) bt >> #0 0x0000000806183623 in __driDriverGetExtensions_i965 () from >> /usr/local/lib/dri/i965_dri.so >> #1 0x000000080613b52f in __driDriverGetExtensions_i965 () from >> /usr/local/lib/dri/i965_dri.so >> #2 0x000000000040298e in ?? () >> #3 0x0000000000402745 in ?? () >> #4 0x0000000000401b0f in ?? () >> #5 0x0000000800622000 in ?? () >> #6 0x0000000000000000 in ?? () >> >> Is this along the same lines as the known Xorg -configure segfault? >> Nothing >> big though. >> >> More importantly: thanks to everybody involved for the great work, can't >> wait for all these improvements to make it into trunk (also longing for >> OpenCL@radeon support, different story...)! >> >> Please find some more details attached, let me know if there is more to be >> sent or tested. >> >> Best >> >> Johannes >> >> _______________________________________________ >> 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" >> > > > > -- > Cheers, > Henry >