9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] igfx on haswell
@ 2021-11-10 15:03 qwx
  2021-11-12 18:37 ` Kyle Milz
  0 siblings, 1 reply; 7+ messages in thread
From: qwx @ 2021-11-10 15:03 UTC (permalink / raw)
  To: 9front

Hello,

I recently acquired an x240 and upgraded it with some
x250 parts, and I noticed that igfx now magically works
on it.  Previous reports suggested that the only
haswell machines on which igfx worked were the two I
had worked with in the past.  Everything was configured
correctly according to both the spec and the values of
the card's registers, but screens remained blank, and
short of blind guessing games and trial and error, I
couldn't do much debugging without the hardware at hand.
Since broadwell is not very different from haswell, it's
possible that it works there as well without modification.

It would be great if anyone with haswell (*40 thinkpads)
or broadwell (*50 thinkpads) could try to test if it
works for them as well.  eDP (internal display), DP
and HDMI/DVI could/should work, as they do for me.  Note
that haswell VGA is still unimplemented.

The steps necessary are adding the PCI did (use pci(8))
to /lib/vgadb under the igfx ctrl entry, and
/sys/src/cmd/aux/vga/igfx.c:/^devtype if it's not
there already, and either booting with monitor=auto in
plan9.ini, or calling vga(8) eg.:

	; aux/vga -m auto -l $vgasize

If things worked correctly, you will see a picture,
otherwise the screen will remain blank.

Setups that require more than just automatic
configuration would be more painful.  You could either
refer to [1] or ask here, but please don't waste too
much time :)

Thanks!

Cheers,
qwx

[1] http://nopenopenope.net/posts/igfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-15 10:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 15:03 [9front] igfx on haswell qwx
2021-11-12 18:37 ` Kyle Milz
2021-11-13  9:42   ` qwx
2021-11-13 21:49     ` Kyle Milz
2021-11-13 22:29       ` qwx
2021-11-15  3:05         ` Kyle Milz
2021-11-15  9:25           ` qwx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).