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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 5744 invoked from network); 10 Nov 2021 15:11:21 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 10 Nov 2021 15:11:21 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by 4ess; Wed Nov 10 10:03:16 -0500 2021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1636556587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vTIu3krCN+KhVhnE8wGhygQ+RFf8rqm710FNm2lsLeU=; b=IkoVxtBwVlhB34mNi9dozoFuReTeEb0CuW40+fiiaqeGayvpb/dCDqtKGYeApXGQ9VG4dH S4+jgVHNWBrdMxSQyqjFhHhrnJqnO/ciV/F59k6CxEO4nE2jvZoFrKxCjweLQO/7GM02yb toYpCltD4Gl0IPlG3lXiauP0sa3pav8= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id d3ad9d62 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Wed, 10 Nov 2021 07:03:07 -0800 (PST) Message-ID: <7E90DAD1DDA3E727F15D70ACD67F1717@wopr.sciops.net> Date: Wed, 10 Nov 2021 16:03:05 +0100 From: qwx@sciops.net To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared method method-oriented CMS-aware map/reduce interface Subject: [9front] igfx on haswell Reply-To: 9front@9front.org Precedence: bulk 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