9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] igfx on haswell
Date: Mon, 15 Nov 2021 10:25:51 +0100	[thread overview]
Message-ID: <8E25E9CE890F7851A3F4A6101AC2F09E@wopr.sciops.net> (raw)
In-Reply-To: <YZHOiNHpPp+r3nso@imac.0x30.net>

On Mon Nov 15 04:18:36 +0100 2021, krwmilz@gmail.com wrote:
> > If you got the same output as before, it might be because you
> > haven't updated or installed a new kernel.  Your vgadb diff
> > shows that you had inserted the did in the correct ctrl
> > section which sets igfxhwgc, so that should happen
> > automatically when you boot with whatever params or use
> > aux/vga, ie. you shouldn't need to write to /dev/vgactl.  Not
> > to say that a bug isn't possible of course!
> 
> i've been hacking the kernel already and got installation figured
> out, copying into /n/9fat/ in my case. i double checked and
> no difference, still 'hgwc soft'. i added some debugging in the
> functions of vgaigfx.c and they only fire when i force hwgc to
> igfxhwgc as above. so it looks like they are not being triggered
> automatically for whatever reason.

Huh, maybe I'm misremembering or missing something as well.
I'll check what happens out again.


> > Thanks a lot, I'll push your diff and vgaigfx.c change,
> > and please report back about the cursor when possible.
> > I think we may now claim that we support broadwell!
> 
> haha, i guess for some definition of support :)
> 
> is 'hwaccel' ever available for igfx? i understand this would only
> be 2D but i was curious why it is off. same for 'hwblank', is that
> expected to work?

Hey, you've got a picture and you can use the mouse, that's
a win :)  hwaccel hasn't been implemented for igfx.  iirc
mischief took a stab at it some years ago, but it wasn't
that trivial.  So, you can turn it on, but it won't really
do anything.  As far as hwblank...  I honestly don't
remember.  vgaigfx.c doesn't check for sandybridge or later
and I don't remember why.  Soft blanking should work though
and that's one reason to have igfx working, otherwise,
unless blanking is turned off, the screen will stay blanked
forever.  This is true for every thinkpad from sandybridge
or earlier on, according to all reports.

Thanks again for your work!

Cheers,
qwx

      reply	other threads:[~2021-11-15 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 15:03 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8E25E9CE890F7851A3F4A6101AC2F09E@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).