From owner-freebsd-x11@freebsd.org Wed Sep 26 23:45:24 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 28D5310B9466 for ; Wed, 26 Sep 2018 23:45:24 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86DF593031 for ; Wed, 26 Sep 2018 23:45:23 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x42f.google.com with SMTP id v16-v6so588528wro.11 for ; Wed, 26 Sep 2018 16:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tYfYEtW/e6nAtMBf2WX8DJ7B+1CNx4VAKR3sU2L7KDc=; b=gv2lgig29CICnjVl9+3hkVjRQTpxAteT5ADsYq66OrjKXQhnKMY/Ik6FfZTHLCD0I+ r9CFx1cVhE3d8VSus7JAzybWgieQdgAXPY+s+qfJ6ib9cFvRxNWM7iVuFiZ+3fvghvWY 8lK6zy8gmaj1XG9oaeFdTL20ZUkRE0s2GszgoduJUCBcwem8yGJx1NKFW+imrLlbkBbA kea9mA7DZuL5lSjyjxPJYorgefdMO08fYYHt1h3HfjN8fChU1sH+5tR7EH4zc2LEZf/K NA7Sb0XXr63jxirV6W72IaXBnuf+lBJ6tk9rl2XG2m3DkEKhsquD+QzJV3z+9temng8A YbHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tYfYEtW/e6nAtMBf2WX8DJ7B+1CNx4VAKR3sU2L7KDc=; b=UkTvLlvoai7jvpM17lGkNDmA/D8YodnKXXws9AW9l39OVvE1Opavm7bwZST6y3I52g PZArJHbqOhitaqFLlK/rAQTy1UqF+bNW6IjQMFh77M098hpxzospuJAfXIFvYelKsLDv +BRac/48r64cD4ll5uTj+mcyiv8rHkFoVMInLs29xIq7KvA2DzUt3S4sMqlL5Rj7M8/P RD2OHnI49OVLTZMRQHFrrjwtQ9G2cr6mp88ftxVmOP1d8HM5SpfLMRUapLkJzZu6OUWP kocLy3yx/IAo4kXOYlBe65sYQnqawUwl1oZQTL46Inq64HdTKkcjSR1t9UKdJVrMbu3b UIgA== X-Gm-Message-State: ABuFfohsnH9Xsv0/OA+igzLG3htepccUtpOwHXMqYiFhYOIT/Dqo/53y OlK3nvu+MmhTrSbAzmBSeTBBkI8yVzfGpLVmv1nx/w== X-Google-Smtp-Source: ACcGV62dRjF8O+FC3jXZSuFMGf8z/folBcIaoL2LLYp4NdFyYBRu9scGNQMmAvwC1CgFK1uj2V6qvzzfmHM2Mmnjz+o= X-Received: by 2002:a5d:5002:: with SMTP id e2-v6mr3555170wrt.210.1538005521562; Wed, 26 Sep 2018 16:45:21 -0700 (PDT) MIME-Version: 1.0 References: <20180926170105.GA8906@troutmask.apl.washington.edu> <20180926232051.GA13774@troutmask.apl.washington.edu> In-Reply-To: <20180926232051.GA13774@troutmask.apl.washington.edu> From: Johannes Lundberg Date: Wed, 26 Sep 2018 16:45:10 -0700 Message-ID: Subject: Re: fence_wait returned with error -512 To: sgk@troutmask.apl.washington.edu Cc: freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Wed, 26 Sep 2018 23:45:24 -0000 On Wed, Sep 26, 2018 at 16:20 Steve Kargl wrote: > On Wed, Sep 26, 2018 at 02:32:24PM -0700, Johannes Lundberg wrote: > > On Wed, Sep 26, 2018 at 10:01 Steve Kargl < > sgk@troutmask.apl.washington.edu> > > wrote: > > > > > Because drm2 in the base system is going away, I install > > > drm-stable-kmod. In doing so, I also removed the old drm2 > > > modules under /boot/kernel to ensure that I picked up the > > > modules from /boot/modules. To /etc/rc.conf, I added the > > > line 'kld_list=3D/bootmodules/radeonkms.ko'. Upon reboot, > > > I see > > > > > (snip) > > > > > > > My console and /var/log/messages now contains a slew of > > > > > > fence_wait returned with error -512 > > > > > > This message is coming from /boot/modules/drm.ko > > > > > > % strings /boot/modules/drm.ko | grep fence_wait > > > fence_wait returned with error %d > > > > > > Why? > > > > From what I found on Wikipedia your hardware seem to be from 2010. The > new > > drm based on linuxkpi is not guaranteed to work with that old hardware. > If > > drm2 worked for you before it=E2=80=99s best to use the pkg drm-legacy-= kmod > (which > > is the same as drm2 in base). > > > > Firmware loading is broken but an update is on its way to fix this. > > Yes, drm2 in base worked. Is the update days or weeks away? > Switching from possibly broken drm-stable-kmod to possibly > crippled drm-legacy-kmod seems dubious. > drm-stable-kmod is not broken, you=E2=80=99re using it on unsupported hardw= are. I=E2=80=99ve attached what I think is the correct ports patch for this if y= ou want to build yourself. I don=E2=80=99t know when the package will be updated bu= t it will definitely be before 12 is released. You can also always clone the git repo and build from there for latest 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. [image: File] ports.graphics.drm-legacy-kmo=E2=80=A6 > -- > Steve >