Date: Wed, 26 Sep 2018 16:45:10 -0700 From: Johannes Lundberg <johalun0@gmail.com> To: sgk@troutmask.apl.washington.edu Cc: freebsd-x11@freebsd.org Subject: Re: fence_wait returned with error -512 Message-ID: <CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw@mail.gmail.com> In-Reply-To: <20180926232051.GA13774@troutmask.apl.washington.edu> References: <20180926170105.GA8906@troutmask.apl.washington.edu> <CAECmPwvFXoBqjC7YZ3ZE=W6u0YHmSGAHuJ9hzLDwC2=VnG7fDQ@mail.gmail.com> <20180926232051.GA13774@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 26, 2018 at 16:20 Steve Kargl <sgk@troutmask.apl.washington.edu= > 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 <https://drive.google.com/open?id=3D13QFQJan0EssmB1gbbbvdvt8xqA4V_Hs8> > -- > Steve >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw>