From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10518 invoked from network); 15 Nov 2021 10:07:26 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 15 Nov 2021 10:07:26 -0000 Received: from mail-qv1-f53.google.com ([209.85.219.53]) by 4ess; Sun Nov 14 22:13:21 -0500 2021 Received: by mail-qv1-f53.google.com with SMTP id s9so10406295qvk.12 for <9front@9front.org>; Sun, 14 Nov 2021 19:13:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HMbPrKrGWFwqNPArdiKGs8Kvon0bLXxNH6Wyt9Zdl7A=; b=FZPNLFj46SifDmiFeINUSBQiEBRXQrGFN9UMDurh6fG1QqE6JtEL3/YJloj64b+vnH YRLF5lA5ZRJkFVO6pjAMvvpHZ2G36vJhQMzxyXVQxZ2fAuMXDxY/tafQ2i6YPhr1Zgo4 d4J064dL7a6rG+FX8ybQpqxb+fm4uVbTZyvncA1jp/YEcen3Dw4wmUXdC7wuBNVOldUy XhVd0VwfMLYEGV6dEX/mzL5tPCYh87LsmjICk5cwWuCzIPM/u5RpVb/q8kGptmW4iCFT /e4mH8WYvteZ70qiK1Vn/8pj6JAMWl/2MQSnlzZ3jRVsECgLcH1UsI1osaNe7OxAb1Q5 hxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HMbPrKrGWFwqNPArdiKGs8Kvon0bLXxNH6Wyt9Zdl7A=; b=wtcN35AmSxh9A3z1egNQeL1GlRbiEuOqvlPD4dsX+zE9iVd4CAiFA+y1GWYIsGy7+A 9TPBXp42DbNbJvoaBKygW6VrYGi1R1NMJTUyoSsOHGVPjDDpBCZZHCc3/RMDP1fn+elb JXlVYBnsa9l2pIwynIvq2QV9mIE/YAvIfH6UIbHXzQPNcmYfMJuqEYHY5vB2DON0DAaa W1L2NoMYU7vMqxNZhZZO5IXlvF91RxvlY2g7L2n5j8S+IhUzJ/Wmags9oUwaYGhG7AxK ei9lHaRLHT1IbINGP3QW9qxKB0GlJ0lmAhA8qiYDvYUQWRTlvCKPTEXUmPA1/pKUw2Rl 6NXw== X-Gm-Message-State: AOAM531kaVDao9T2a5P1edE9alFbTHuJnd70Dijrh5Wv0EFntnzPIUAQ EA0oXIP5Wb3wGFEx09BFY4x+lv6W5oQ= X-Google-Smtp-Source: ABdhPJwvHEo4EfbGIUGtJZaXzMw6pFIHI5skPOVWV8f9I38CwHvCaUgQtAiBgtag8V9kLlDSYjy1lg== X-Received: by 2002:a17:902:d114:b0:142:3934:be82 with SMTP id w20-20020a170902d11400b001423934be82mr31217359plw.40.1636945546404; Sun, 14 Nov 2021 19:05:46 -0800 (PST) Return-Path: Received: from imac.0x30.net (d205-250-121-157.bchsia.telus.net. [205.250.121.157]) by smtp.gmail.com with ESMTPSA id p124sm13102758pfg.110.2021.11.14.19.05.45 for <9front@9front.org> (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 14 Nov 2021 19:05:46 -0800 (PST) Date: Sun, 14 Nov 2021 19:05:44 -0800 From: Kyle Milz To: 9front@9front.org Message-ID: References: <6E92F9EE21592F1B49362DB7013D8E5C@wopr.sciops.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6E92F9EE21592F1B49362DB7013D8E5C@wopr.sciops.net> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: managed immutable session session factory-aware locator Subject: Re: [9front] igfx on haswell Reply-To: 9front@9front.org Precedence: bulk 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?