Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2024 18:45:59 +0200
From:      Tomek CEDRO <tomek@cedro.info>
To:        freebsd-x11@freebsd.org
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: 14.0 RELEASE drm kmod amdgpu kernel panics
Message-ID:  <CAFYkXjnAxB9QFpATGSsXUSUqS2Q6EuqGWQ=A89fzvU9sWt1X4w@mail.gmail.com>
In-Reply-To: <CAFYkXjnXDgV1w4eTjoCbo2ho0CEKZ9gH40jg5=2UvUB09N0c-A@mail.gmail.com>
References:  <CAFYkXjmEmGfx81o=Y%2BJ1DcwF5V=3JvLQGXf36=goykpNQtOr=g@mail.gmail.com> <CAFYkXjnXDgV1w4eTjoCbo2ho0CEKZ9gH40jg5=2UvUB09N0c-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008ce9ef0617cbceac
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, May 6, 2024, 16:10 Tomek CEDRO wrote:

> On Mon, May 6, 2024 at 3:39=E2=80=AFPM Tomek CEDRO wrote:
> > hello world :-)
> > i have upgraded to 14.0 RELEASE p6 and after recent pkg update i notice
> random drm kmod amdgpu (515 on rx570) hangs several minutes after i run
> desktop environment making workstation useless.
> > nothing like this happened before on 13 and probably right after upgrad=
e
> to 14.
> > this may be correlated with running firefox. until i run firefox all
> seems to work fine.
> > did anyone observe such problems recently?
>
> Okay looks like a known problem already reported before:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278212
>
> Small update: My GPU is RX580 ;-)
>
> Hope this gets fixed soon.. I will have to disable amgpu for now :-)


okay there are two problems that shows we need a "out-of-the-box fallback"
configuration when drm-kmod fails (that happens quite often). scfb (for
uefi) seems most generic approach. however:

1. for multi monitor setup i am unable to make scfb work with two different
monitors and the same card.

2. xorg will see two monitors only when amdgpu kmod is loaded. still did
not manage to have two monitors/screens with manual xorg.conf that would
use scfb to skip amdgpu bugs.

xorg log complains that VGA arbiter: cannot open kernel arbiter, no
multi-card support.

drm_info shows connectors: number 2 for HDMI-A with ID 74, number 3 for
HDMI-A with ID 79. how can i use that info to attach scfb over there in
xorg.conf?

would scfb work as fallback for failing amdgpu / drm kmod with
multi-monitor setup?

any hints welcome. connot work and now rollback to 13 seems the only option=
.

help :-)

--0000000000008ce9ef0617cbceac
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto">On Mon, May 6, 2024, 16:10 Tomek CEDRO =
wrote:<br></div><div class=3D"gmail_quote" dir=3D"auto"><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">On Mon, May 6, 2024 at 3:39=E2=80=AFPM Tomek CEDRO wrote:<br>
&gt; hello world :-)<br>
&gt; i have upgraded to 14.0 RELEASE p6 and after recent pkg update i notic=
e random drm kmod amdgpu (515 on rx570) hangs several minutes after i run d=
esktop environment making workstation useless.<br>
&gt; nothing like this happened before on 13 and probably right after upgra=
de to 14.<br>
&gt; this may be correlated with running firefox. until i run firefox all s=
eems to work fine.<br>
&gt; did anyone observe such problems recently?<br>
<br>
Okay looks like a known problem already reported before:<br>
<br>
<a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278212" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzi=
lla/show_bug.cgi?id=3D278212</a><br>
<br>
Small update: My GPU is RX580 ;-)<br>
<br>
Hope this gets fixed soon.. I will have to disable amgpu for now :-)</block=
quote></div><div dir=3D"auto"><br></div><div dir=3D"auto">okay there are tw=
o problems that shows we need a &quot;out-of-the-box fallback&quot; configu=
ration when drm-kmod fails (that happens quite often). scfb (for uefi) seem=
s most generic approach. however:</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">1. for multi monitor setup i am unable to make scfb work with two=
 different monitors and the same card.</div><div dir=3D"auto"><br></div><di=
v dir=3D"auto">2. xorg will see two monitors only when amdgpu kmod is loade=
d. still did not manage to have two monitors/screens with manual xorg.conf =
that would use scfb to skip amdgpu bugs.</div><div dir=3D"auto"><br></div><=
div dir=3D"auto">xorg log complains that VGA arbiter: cannot open kernel ar=
biter, no multi-card support.</div><div dir=3D"auto"><br></div><div dir=3D"=
auto">drm_info shows connectors: number 2 for HDMI-A with ID 74, number 3 f=
or HDMI-A with ID 79. how can i use that info to attach scfb over there in =
xorg.conf?</div><div dir=3D"auto"><br></div><div dir=3D"auto">would scfb wo=
rk as fallback for failing amdgpu / drm kmod with multi-monitor setup?</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">any hints welcome. connot wo=
rk and now rollback to 13 seems the only option.</div><div dir=3D"auto"><br=
></div><div dir=3D"auto">help :-)</div><div dir=3D"auto"><br></div><div cla=
ss=3D"gmail_quote" dir=3D"auto"></div></div>

--0000000000008ce9ef0617cbceac--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnAxB9QFpATGSsXUSUqS2Q6EuqGWQ=A89fzvU9sWt1X4w>