From: Kyle Milz <krwmilz@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] igfx on haswell
Date: Sun, 14 Nov 2021 19:05:44 -0800 [thread overview]
Message-ID: <YZHOiNHpPp+r3nso@imac.0x30.net> (raw)
In-Reply-To: <6E92F9EE21592F1B49362DB7013D8E5C@wopr.sciops.net>
On Sat, Nov 13, 2021 at 11:29:31PM +0100, qwx@sciops.net wrote:
> Interesting. I'll play around with the x240 and retest with my
> desktop, I've never had issues with that one with the monitors
> I've used. Reading the linux code isn't super helpful though,
> it's just a huge mishmash of incomprehensible and undocumented
> black magic.
yeah i've noticed that. the docs on kernel.org are not a bad
introduction.
> > > If possible, please add the pci did to
> > > /sys/src/9/pc/vgaigfx.c:152. The hardware cursor should be
> > > enabled when you invoke aux/vga. If it's visible while
> > > /dev/vgactl shows `hwgc igfxhwgc', it works.
> >
> > i tried that, but got the same output as before. forcing it with
> >
> > % echo hwgc igfxhwgc >/dev/vgactl
> >
> > causes the cursor to disappear.
>
> 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.
> 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?
next prev parent 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 [this message]
2021-11-15 9:25 ` qwx
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=YZHOiNHpPp+r3nso@imac.0x30.net \
--to=krwmilz@gmail.com \
--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).