From owner-freebsd-x11@freebsd.org Thu Sep 27 20:25:50 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E121B10B8FDA for ; Thu, 27 Sep 2018 20:25:49 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7EF4B75F84 for ; Thu, 27 Sep 2018 20:25:49 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42LmXX4w1MzDhmv; Thu, 27 Sep 2018 20:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1538079948; bh=J1YKJoBpC99YdQ41o0J768de jkmT6aDQ+ILZLVxHv3Q=; b=hRZ154WUdHw/cH+dIToNktI6Kz5pZVymAiK6pW8u gK7jzyZQ8xnI5bP/utNQ4Fr/DF6xR+KWsVkTEsH54esKOEOs3moWrxk4SDJo3aJy 3poQIj6Cxsvex6lCgY93Skj7ITC0Jp2xYHl3zDjL3bvd4sgBoH2pp1X0wvKKS8es TOI= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id gf_A5evQoVLQ; Thu, 27 Sep 2018 20:25:48 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:9eda:3eff:fe70:24c0]) by mail.daemonic.se (Postfix) with ESMTPSA id 42LmXW64CCzDhFd; Thu, 27 Sep 2018 20:25:47 +0000 (UTC) Subject: Re: fence_wait returned with error -512 To: sgk@troutmask.apl.washington.edu Cc: Johannes Lundberg , freebsd-x11@freebsd.org References: <20180926170105.GA8906@troutmask.apl.washington.edu> <20180926232051.GA13774@troutmask.apl.washington.edu> <20180927014128.GA14820@troutmask.apl.washington.edu> <20180927190409.GA27756@troutmask.apl.washington.edu> <20180927201928.GA86166@troutmask.apl.washington.edu> From: Niclas Zeising Message-ID: Date: Thu, 27 Sep 2018 22:25:47 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <20180927201928.GA86166@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2018 20:25:50 -0000 On 9/27/18 10:19 PM, Steve Kargl wrote: > On Thu, Sep 27, 2018 at 10:17:02PM +0200, Niclas Zeising wrote: >> On 9/27/18 9:04 PM, Steve Kargl wrote: >>> On Thu, Sep 27, 2018 at 09:13:46AM +0200, Niclas Zeising wrote: >>>> On 9/27/18 3:41 AM, Steve Kargl wrote: >>>>> On Wed, Sep 26, 2018 at 04:45:10PM -0700, Johannes Lundberg wrote: >>>>>> >>>>>> I=E2=80=99ve attached what I think is the correct ports patch for = this if you want >>>>>> to build yourself. I don=E2=80=99t know when the package will be u= pdated but it >>>>>> will definitely be before 12 is released. >>>>>> >>>>>> You can also always clone the git repo and build from there for la= test >>>>>> version. >>>>>> github.com/freebsddesktop/drm-legacy >>>>>> >>>>>> I don=E2=80=99t have the hardware to test myself so I=E2=80=99d be= grateful if you can give >>>>>> the patch a try and see if firmware loading works. >>>>>> >>>>> >>>>> I'll see if I can pull the source tomorrow. >>>>> >>>> >>>> Hi! >>>> The port has been updated with the latest version of drm-legacy-kmod= . I >>>> don't exactly know when packages are updated, but you can build it f= rom >>>> ports in the meantime. >>>> Regards >>> >>> Ugh. Seems I have to build a new world. :( >>> >>> >>> --- i915_drv.o --- >>> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/d= rm2/i915/i915_drv.c:1240:26: error: too few arguments provided to functio= n-like macro invocation >>> nitems(pciidlist) - 1); >>> ^ >>> /usr/src/sys/sys/module.h:181:9: note: macro 'MODULE_PNP_INFO' define= d here >>> #define MODULE_PNP_INFO(d, b, unique, t, l, n) = \ >>> ^ >>> /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/d= rm2/i915/i915_drv.c:1239:1: error: type specifier missing, defaults to 'i= nt' [-Werror,-Wimplicit-int] >>> MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, pciidl= ist, >>> ^ >>> 2 errors generated. >>> *** [i915_drv.o] Error code 1 >>> >> >> Or someone broke something inadvertently. Which revision are you >> currently on? >=20 > % uname -a > FreeBSD troutmask.apl.washington.edu 12.0-ALPHA7 FreeBSD 12.0-ALPHA7 r3= 38862 HPC amd64 >=20 You probably need to move past r338948, I'm afraid. I'm not sure that=20 drm-legacy-kmod can be changed to work both on the before and after versi= on. Regards --=20 Niclas