Date: Sun, 27 Mar 2022 12:33:34 -0600 From: Warner Losh <imp@bsdimp.com> To: Pete Wright <pete@nomadlogic.org> Cc: Chris <bsd-lists@bsdforge.com>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: loading amfgpu results in immefiate power off on 12.3-STABLE r371721 Message-ID: <CANCZdfoHC=XKs4vCCgc9tWN%2B%2BypZv4_LqQU=dYNL3a=UEo%2Bi4w@mail.gmail.com> In-Reply-To: <25bc8195-9ed4-1ff1-02f9-078a605b5307@nomadlogic.org> References: <ef1ac4a32583d0586f4e1012a37fddc7@bsdforge.com> <25bc8195-9ed4-1ff1-02f9-078a605b5307@nomadlogic.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008c087105db376f1c Content-Type: text/plain; charset="UTF-8" On Sun, Mar 27, 2022 at 11:09 AM Pete Wright <pete@nomadlogic.org> wrote: > > > On 3/25/22 21:42, Chris wrote: > > This probably isn't the correct list. But it's the closest of > > all the lists I'm subscribed to. Please forgive me. > > OK so here's what happened. I couldn't get the trackpad on a > > Dell laptop I just got to work in FreeBSD-13. So after a couple > > of days, I gave up and tried 12.3-STABLE r371721 today. Once I got > > the network (wifi) going. I pkg installed drm-kmod && it's depends. > > Added kld_list="amdgpu" to rc.conf && rebooted. The moment it > > loaded, the screen went black and it powered off. Booted to > > single-user, fsck && cp /var/log/messages to ~/ . > > I'm attaching a copy in case it sheds any light on the cause. > > The most interesting thing about all this, is that amdgpu > > worked flawlessly on 13 -- go figure. > > > > this discussion is probably best suited for the freebsd-x11 mailing > list, but i think you can try a couple things: > > - give NomadBSD a spin (https://nomadbsd.org/). it's a live USB image > that does a really good job at auto-detecting hardware and giving you > nice desktop. it's based on freebsd-13.0. you can also install it on > your disk if everything looks good. i frequently use it to test > hardware support on new systems i encounter. > > - it's hard to tell without any hardware info provided, but its possible > you have an older AMD gpu, as such you might want to try using radeonkms > in rc.conf rather than amdgpu. > > if neither of those things help i'd definitely suggest subscribing to > the freebsd-x11@ mailing list to get the appropriate eyes on things: > https://lists.freebsd.org/subscription/freebsd-x11 > I'd like to share with people that I'm working on a statement of what works and what the graphics team will spend a lot of effort on vs continue to have build support in the tree. The short version is that the latest stable branch, the latest current and the last most-recent release will be the ones best supported. Anything older than that (prior stable branches, even those supported by the rest of the project) may work great, but may also be broken or perform less well or support fewer newer graphics cards. In addition, cards older than about a decade may stop working on an upgrade because upstream's attention to these isn't so great or the driver is a binary driver that the upstream vendor has not upgraded to support its older cards with newer interfaces, etc. Short of doubling or tripling the graphics team size (volunteers welcome), it's too hard to commit to more than this limited subset of support. Even with a larger active developer group, expanding beyond this envelope would be hard given the size of the testing matrix... Also, I don't think we've ever supported unloading the drm drivers, so it's not too surprising that didn't work. Also, I know the older hardware thing is hard to swallow. I get that people want that stuff to work forever because it performs adequately. However, we are heavily dependent on leveraging the work of others to support what we can, so when the work we depend on starts to bitrot, our support for that hardware suffers as well... Warner > -pete > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA > > > --0000000000008c087105db376f1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Sun, Mar 27, 2022 at 11:09 AM Pete= Wright <<a href=3D"mailto:pete@nomadlogic.org">pete@nomadlogic.org</a>&= gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> <br> On 3/25/22 21:42, Chris wrote:<br> > This probably isn't the correct list. But it's the closest of<= br> > all the lists I'm subscribed to. Please forgive me.<br> > OK so here's what happened. I couldn't get the trackpad on a<b= r> > Dell laptop I just got to work in FreeBSD-13. So after a couple<br> > of days, I gave up and tried 12.3-STABLE r371721 today. Once I got<br> > the network (wifi) going. I pkg installed drm-kmod && it's= depends.<br> > Added kld_list=3D"amdgpu" to rc.conf && rebooted. Th= e moment it<br> > loaded, the screen went black and it powered off. Booted to<br> > single-user, fsck && cp /var/log/messages to ~/ .<br> > I'm attaching a copy in case it sheds any light on the cause.<br> > The most interesting thing about all this, is that amdgpu<br> > worked flawlessly on 13 -- go figure.<br> ><br> <br> this discussion is probably best suited for the freebsd-x11 mailing <br> list, but i think you can try a couple things:<br> <br> - give NomadBSD a spin (<a href=3D"https://nomadbsd.org/" rel=3D"noreferrer= " target=3D"_blank">https://nomadbsd.org/</a>).=C2=A0 it's a live USB i= mage <br> that does a really good job at auto-detecting hardware and giving you <br> nice desktop.=C2=A0 it's based on freebsd-13.0.=C2=A0 you can also inst= all it on <br> your disk if everything looks good.=C2=A0 i frequently use it to test <br> hardware support on new systems i encounter.<br> <br> - it's hard to tell without any hardware info provided, but its possibl= e <br> you have an older AMD gpu, as such you might want to try using radeonkms <b= r> in rc.conf rather than amdgpu.<br> <br> if neither of those things help i'd definitely suggest subscribing to <= br> the freebsd-x11@ mailing list to get the appropriate eyes on things:<br> <a href=3D"https://lists.freebsd.org/subscription/freebsd-x11" rel=3D"noref= errer" target=3D"_blank">https://lists.freebsd.org/subscription/freebsd-x11= </a><br></blockquote><div><br></div><div>I'd like to share with people = that I'm working on a statement of what works</div><div>and what the gr= aphics team will spend a lot of effort on vs continue to have</div><div>bui= ld support in the tree.</div><div><br></div><div>The short version is that = the latest stable branch, the latest current and the</div><div>last most-re= cent release will be the ones best supported. Anything older</div><div>than= that (prior stable branches, even those supported by the rest of the</div>= <div>project) may work great, but may also be broken or perform less well o= r</div><div>support fewer newer graphics cards. In addition, cards older th= an about</div><div>a decade may stop working on an upgrade because upstream= 's attention</div><div>to these isn't so great or the driver is a b= inary driver that the upstream vendor</div><div>has not upgraded to support= its older cards with newer interfaces, etc.</div><div>Short of doubling or= tripling the graphics team size (volunteers welcome), it's too</div><d= iv>hard to commit to more than this limited subset of support. Even with a = larger</div><div>active developer group, expanding beyond this envelope wou= ld be hard given</div><div>the size of the testing matrix...<br></div><div>= <br></div><div>Also, I don't think we've ever supported unloading t= he drm drivers, so it's not</div><div>too surprising that didn't wo= rk.</div><div><br></div><div>Also, I know the older hardware thing is hard = to swallow. I get that people want</div><div>that stuff to work forever bec= ause it performs adequately. However, we are heavily</div><div>dependent on= leveraging the work of others to support what we can, so when the</div><di= v>work we depend on starts to bitrot, our support for that hardware suffers= as well...<br></div><div><br></div><div>Warner<br></div><div>=C2=A0</div><= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex"> -pete<br> <br> -- <br> Pete Wright<br> <a href=3D"mailto:pete@nomadlogic.org" target=3D"_blank">pete@nomadlogic.or= g</a><br> @nomadlogicLA<br> <br> <br> </blockquote></div></div> --0000000000008c087105db376f1c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoHC=XKs4vCCgc9tWN%2B%2BypZv4_LqQU=dYNL3a=UEo%2Bi4w>