From nobody Fri Sep 16 22:08:32 2022 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MTpB73mBvz4cDZK for ; Fri, 16 Sep 2022 22:08:47 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MTpB617qsz3hDl; Fri, 16 Sep 2022 22:08:46 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 225436cb; Fri, 16 Sep 2022 22:08:42 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 7e847aeb (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 16 Sep 2022 22:08:42 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-F7737DCD-353D-4C23-83FF-4624AFC540B4 Content-Transfer-Encoding: 7bit List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: Using SCFB or VESA on unsupported graphics device From: Michael Gmelin In-Reply-To: Cc: x11-list freebsd Date: Sat, 17 Sep 2022 00:08:32 +0200 Message-Id: <28654EB2-6498-46E1-B05E-842C45C284F7@freebsd.org> References: To: Kevin Oberman X-Mailer: iPhone Mail (20A362) X-Rspamd-Queue-Id: 4MTpB617qsz3hDl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 213.239.217.29 is neither permitted nor denied by domain of grembo@freebsd.org) smtp.mailfrom=grembo@freebsd.org X-Spamd-Result: default: False [-0.38 / 15.00]; MIME_MA_MISSING_TEXT(2.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; MV_CASE(0.50)[]; MIME_HTML_ONLY(0.20)[]; MIME_GOOD(-0.10)[multipart/alternative]; FREEMAIL_TO(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-x11@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; MIME_TRACE(0.00)[0:+,1:~]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[grembo]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail-F7737DCD-353D-4C23-83FF-4624AFC540B4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On 17= . Sep 2022, at 00:04, Kevin Oberman <rkoberman@gmail.com> wrote:
=EF=BB=BF
I have a new laptop with Alder Lake graphics. While L= inux now as the device is listed as stable on the latest kernel, FreeBSD is n= ot there, yet, and probably won't be until it reaches a long-term support ve= rsion. That leaves me with  a nice paper weight.

I assume that I should be able to use SCFB or VESA toi et some gr= aphics support, but the attempt to start X results in a log entry that no gr= aphic device can be found. pciconf -lc reports:
gapci0@pci0:0:= 2:0: class=3D0x030000 rev=3D0x0c hdr=3D0x00 vendor=3D0x8086 device=3D0x4= 628 subvendor=3D0x17aa subdevice=3D0x22e8
    vendor   &nb= sp; =3D 'Intel Corporation'
    device     =3D 'Alder= Lake-UP3 GT2 [UHD Graphics]'
    class      =3D= display
    subclass   =3D VGA

How do I make X recognise this device so that I can get graphics= to work?


Something like this, maybe?


=
pkg install xf86-video-scfb
cat >/usr/local/etc/X11/xorg.c= onf.d/driver-scfb.conf<<EOF
Section "Device"
 = ;   Identifier     "Device0"
    Driver &= nbsp;       "scfb"
    Option   &nbs= p;     "NoAccel" "On"
EndSection
EOF

Best

Thanks!
--
Kevin O= berman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
<= /div>
= --Apple-Mail-F7737DCD-353D-4C23-83FF-4624AFC540B4--