Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2023 17:08:41 +0000 (UTC)
From:      mjchurchil@aol.com
To:        Kevin Oberman <rkoberman@gmail.com>,  Eivind Nicolay Evensen <eivinde@terraplane.org>
Cc:        Jake Freeland <jake@technologyfriends.net>, freebsd-stable@freebsd.org
Subject:   Re: Intel graphics
Message-ID:  <1765852278.2655161.1672765721046@mail.yahoo.com>
In-Reply-To: <20230103093129.1b1deaea@elg.hjerdalen.lokalnett>
References:  <20230101162949.347fdb72@elg.hjerdalen.lokalnett> <CAOgZAGYSk4Epmn_j62GYhV=BNdnyEYYDj7WeHjwrHD%2BENTy84w@mail.gmail.com> <CAN6yY1tV5Nxgo7m%2Bbhj%2B8aRqiX_Ku8WzVuqsFFmskGgFKT=mmg@mail.gmail.com> <20230101225635.2fb599a1@elg.hjerdalen.lokalnett> <20230103093129.1b1deaea@elg.hjerdalen.lokalnett>

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

 Eivind, I tried your suggestion to improve 'scfb' resolution with my AMD g=
raphics card and it's like magic. I didn't even have a /boot/loader.conf fi=
le, but added one and rebooted and the non-X screen seems much clearer and =
the X-window now has the resolution I am used to. Thank you. Mike
     On Tuesday, January 3, 2023, 12:30:11 AM PST, Eivind Nicolay Evensen <=
eivinde@terraplane.org> wrote: =20
=20
 Den Sun, 1 Jan 2023 22:56:35 +0100
skrev Eivind Nicolay Evensen <eivinde@terraplane.org>:

> Den Sun, 1 Jan 2023 12:48:44 -0800
> skrev Kevin Oberman <rkoberman@gmail.com>:
>=20
> > On Sun, Jan 1, 2023 at 7:41 AM Jake Freeland
> > <jake@technologyfriends.net> wrote:
> >=C2=A0=20
> > > On Sun, Jan 1, 2023 at 9:28 AM Eivind Nicolay Evensen <=C2=A0 =C2=A0=
=20
> > > eivinde@terraplane.org> wrote:=C2=A0 =C2=A0=20
> > >=C2=A0 =C2=A0=20
> > >> Hello.
> > >>
> > >> Is is possible to get X running adequately, or even at all
> > >> with this:
> > >>
> > >> vgapci0@pci0:0:2:0:=C2=A0 =C2=A0 class=3D0x030000 rev=3D0x0c hdr=3D0=
x00
> > >> vendor=3D0x8086 device=3D0x4692 subvendor=3D0x1025 subdevice=3D0x157=
2
> > >>=C2=A0 =C2=A0 vendor=C2=A0 =C2=A0 =3D 'Intel Corporation'
> > >>=C2=A0 =C2=A0 device=C2=A0 =C2=A0 =3D 'Alder Lake-S GT1 [UHD Graphics=
 730]'
> > >>=C2=A0 =C2=A0 class=C2=A0 =C2=A0 =C2=A0 =3D display
> > >>=C2=A0 =C2=A0 subclass=C2=A0 =3D VGA
> > >>=C2=A0 =C2=A0=20
> > >
> > > The drm-kmod master branch is updated to match Linux 5.12, as
> > > of right now, I believe. Alder Lake support was introduced in
> > > Linux 5.13/5.14, so unfortunately there is no way to get drm
> > > graphics going on your iGPU yet.
> > >
> > > It looks like work on 5.13 just started on behalf of dumbbell
> > > here:
> > >
> > > https://github.com/freebsd/drm-kmod/pull/224
> > >
> > > If you can compile that branch and install the correct Linux
> > > firmware for UHD Graphics 730, you might be able to get something
> > > going. If you try, definitely report back. I haven't done this
> > > step yet.
> > >
> > > Thanks,
> > > Jake Freeland
> > >=C2=A0 =C2=A0=20
> >=20
> > It was in 5.14, but was not declared stable until 5.16. If you don't
> > ned bells and whistles (or high performance), you can run with scfb.
> > It is working fine for me and has been for a few months.
> >=20
> > Hre is my config file (xorg.conf.d/device.conf):
> >=20
> > Section "Device"
> > Identifier "Device0"
> > Driver "scfb"
> > Option "NoAccel" "On"
> > EndSection=C2=A0=20
>=20
> Thanks. I'll have to try that when I'm around the
> machine again, to see if the performance is decent
> enough for now. I'll report back once I've checked.

Indeed, this section was enough to get X to use that driver
and it seems to work and even be usable for now. To see anyhing
more than 800x600, I had to set=20

=C2=A0 efi_max_resolution=3D"1920x1080"

in /boot/loader.conf.

Using Darktable, I can see that zooming in and moving the image
is a bit unpleasant, in that updates are more sluggish. Apart
from that, so far this seems to be usable.

Thanks for your help.

--=20
Eivind Nicolay Evensen

 =20
------=_Part_2655160_1442606813.1672765721043
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>                Eivind, I tried your suggestion to improve &#39;scfb&#=
39; resolution with my AMD graphics card and it&#39;s like magic.  I didn&#=
39;t even have a /boot/loader.conf file, but added one and rebooted and the=
 non-X screen seems much clearer and the X-window now has the resolution I =
am used to.  Thank you.  Mike<br>            </div>            <div class=
=3D"yahoo_quoted" style=3D"margin:10px 0px 0px 0.8ex;border-left:1px solid =
#ccc;padding-left:1ex;">                        <div style=3D"font-family:'=
Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;=
">                                <div>                    On Tuesday, Janu=
ary 3, 2023, 12:30:11 AM PST, Eivind Nicolay Evensen &lt;eivinde@terraplane=
.org&gt; wrote:                </div>                <div><br></div>       =
         <div><br></div>                <div><div dir=3D"ltr">Den Sun, 1 Ja=
n 2023 22:56:35 +0100<br clear=3D"none">skrev Eivind Nicolay Evensen &lt;<a=
 shape=3D"rect" ymailto=3D"mailto:eivinde@terraplane.org" href=3D"mailto:ei=
vinde@terraplane.org">eivinde@terraplane.org</a>&gt;:<br clear=3D"none"><br=
 clear=3D"none">&gt; Den Sun, 1 Jan 2023 12:48:44 -0800<br clear=3D"none">&=
gt; skrev Kevin Oberman &lt;<a shape=3D"rect" ymailto=3D"mailto:rkoberman@g=
mail.com" href=3D"mailto:rkoberman@gmail.com">rkoberman@gmail.com</a>&gt;:<=
br clear=3D"none">&gt; <br clear=3D"none">&gt; &gt; On Sun, Jan 1, 2023 at =
7:41 AM Jake Freeland<br clear=3D"none">&gt; &gt; &lt;<a shape=3D"rect" yma=
ilto=3D"mailto:jake@technologyfriends.net" href=3D"mailto:jake@technologyfr=
iends.net">jake@technologyfriends.net</a>&gt; wrote:<br clear=3D"none">&gt;=
 &gt;&nbsp;  <br clear=3D"none">&gt; &gt; &gt; On Sun, Jan 1, 2023 at 9:28 =
AM Eivind Nicolay Evensen &lt;&nbsp; &nbsp; <br clear=3D"none">&gt; &gt; &g=
t; <a shape=3D"rect" ymailto=3D"mailto:eivinde@terraplane.org" href=3D"mail=
to:eivinde@terraplane.org">eivinde@terraplane.org</a>&gt; wrote:&nbsp; &nbs=
p; <br clear=3D"none">&gt; &gt; &gt;&nbsp; &nbsp; <br clear=3D"none">&gt; &=
gt; &gt;&gt; Hello.<br clear=3D"none">&gt; &gt; &gt;&gt;<br clear=3D"none">=
&gt; &gt; &gt;&gt; Is is possible to get X running adequately, or even at a=
ll<br clear=3D"none">&gt; &gt; &gt;&gt; with this:<br clear=3D"none">&gt; &=
gt; &gt;&gt;<br clear=3D"none">&gt; &gt; &gt;&gt; <a shape=3D"rect" ymailto=
=3D"mailto:vgapci0@pci0" href=3D"mailto:vgapci0@pci0">vgapci0@pci0</a>:0:2:=
0:&nbsp; &nbsp;  class=3D0x030000 rev=3D0x0c hdr=3D0x00<br clear=3D"none">&=
gt; &gt; &gt;&gt; vendor=3D0x8086 device=3D0x4692 subvendor=3D0x1025 subdev=
ice=3D0x1572<br clear=3D"none">&gt; &gt; &gt;&gt;&nbsp; &nbsp;  vendor&nbsp=
; &nbsp;  =3D 'Intel Corporation'<br clear=3D"none">&gt; &gt; &gt;&gt;&nbsp=
; &nbsp;  device&nbsp; &nbsp;  =3D 'Alder Lake-S GT1 [UHD Graphics 730]'<br=
 clear=3D"none">&gt; &gt; &gt;&gt;&nbsp; &nbsp;  class&nbsp; &nbsp; &nbsp; =
=3D display<br clear=3D"none">&gt; &gt; &gt;&gt;&nbsp; &nbsp;  subclass&nbs=
p;  =3D VGA<br clear=3D"none">&gt; &gt; &gt;&gt;&nbsp; &nbsp; <br clear=3D"=
none">&gt; &gt; &gt;<br clear=3D"none">&gt; &gt; &gt; The drm-kmod master b=
ranch is updated to match Linux 5.12, as<br clear=3D"none">&gt; &gt; &gt; o=
f right now, I believe. Alder Lake support was introduced in<br clear=3D"no=
ne">&gt; &gt; &gt; Linux 5.13/5.14, so unfortunately there is no way to get=
 drm<br clear=3D"none">&gt; &gt; &gt; graphics going on your iGPU yet.<br c=
lear=3D"none">&gt; &gt; &gt;<br clear=3D"none">&gt; &gt; &gt; It looks like=
 work on 5.13 just started on behalf of dumbbell<br clear=3D"none">&gt; &gt=
; &gt; here:<br clear=3D"none">&gt; &gt; &gt;<br clear=3D"none">&gt; &gt; &=
gt; <a shape=3D"rect" href=3D"https://github.com/freebsd/drm-kmod/pull/224"=
 target=3D"_blank">https://github.com/freebsd/drm-kmod/pull/224</a><br clea=
r=3D"none">&gt; &gt; &gt;<br clear=3D"none">&gt; &gt; &gt; If you can compi=
le that branch and install the correct Linux<br clear=3D"none">&gt; &gt; &g=
t; firmware for UHD Graphics 730, you might be able to get something<br cle=
ar=3D"none">&gt; &gt; &gt; going. If you try, definitely report back. I hav=
en't done this<br clear=3D"none">&gt; &gt; &gt; step yet.<br clear=3D"none"=
>&gt; &gt; &gt;<br clear=3D"none">&gt; &gt; &gt; Thanks,<br clear=3D"none">=
&gt; &gt; &gt; Jake Freeland<br clear=3D"none">&gt; &gt; &gt;&nbsp; &nbsp; =
<br clear=3D"none">&gt; &gt; <br clear=3D"none">&gt; &gt; It was in 5.14, b=
ut was not declared stable until 5.16. If you don't<br clear=3D"none">&gt; =
&gt; ned bells and whistles (or high performance), you can run with scfb.<b=
r clear=3D"none">&gt; &gt; It is working fine for me and has been for a few=
 months.<br clear=3D"none">&gt; &gt; <br clear=3D"none">&gt; &gt; Hre is my=
 config file (xorg.conf.d/device.conf):<br clear=3D"none">&gt; &gt; <br cle=
ar=3D"none">&gt; &gt; Section "Device"<br clear=3D"none">&gt; &gt; Identifi=
er "Device0"<br clear=3D"none">&gt; &gt; Driver "scfb"<br clear=3D"none">&g=
t; &gt; Option "NoAccel" "On"<br clear=3D"none">&gt; &gt; EndSection&nbsp; =
<br clear=3D"none">&gt; <br clear=3D"none">&gt; Thanks. I'll have to try th=
at when I'm around the<br clear=3D"none">&gt; machine again, to see if the =
performance is decent<br clear=3D"none">&gt; enough for now. I'll report ba=
ck once I've checked.<br clear=3D"none"><br clear=3D"none">Indeed, this sec=
tion was enough to get X to use that driver<br clear=3D"none">and it seems =
to work and even be usable for now. To see anyhing<br clear=3D"none">more t=
han 800x600, I had to set <br clear=3D"none"><br clear=3D"none">&nbsp; efi_=
max_resolution=3D"1920x1080"<br clear=3D"none"><br clear=3D"none">in /boot/=
loader.conf.<br clear=3D"none"><br clear=3D"none">Using Darktable, I can se=
e that zooming in and moving the image<br clear=3D"none">is a bit unpleasan=
t, in that updates are more sluggish. Apart<br clear=3D"none">from that, so=
 far this seems to be usable.<br clear=3D"none"><br clear=3D"none">Thanks f=
or your help.<div class=3D"yqt5100395686" id=3D"yqtfd36882"><br clear=3D"no=
ne"><br clear=3D"none">-- <br clear=3D"none">Eivind Nicolay Evensen<br clea=
r=3D"none"><br clear=3D"none"></div></div></div>            </div>         =
       </div>
------=_Part_2655160_1442606813.1672765721043--



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