From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A24515852A for ; Wed, 21 Aug 2024 15:47:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1D31E2AC5; Wed, 21 Aug 2024 15:47:32 +0000 (UTC) Received: from smarthost01a.sbp.mail.zen.net.uk (smarthost01a.sbp.mail.zen.net.uk [212.23.1.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 799B0E2AC0 for ; Wed, 21 Aug 2024 15:47:32 +0000 (UTC) Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01a.sbp.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sgnYY-007qfL-UF for gentoo-user@lists.gentoo.org; Wed, 21 Aug 2024 15:47:30 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Do I need firmware for an integrated graphics unit? Date: Wed, 21 Aug 2024 16:47:30 +0100 Message-ID: <12495124.O9o76ZdvQC@cube> In-Reply-To: References: <2621935.Lt9SDvczpP@rogueboard> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01a-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 614074ad-9e57-4fda-84bb-64dbc52c4595 X-Archives-Hash: 5a1847acaba7a0b3c09d4aa231516a21 On Wednesday, 21 August 2024 16:22:18 BST Wol wrote: > On 21/08/2024 14:49, Michael wrote: > >> That would involve me learning how to make and handle a modular kernel, > >> something I'd really rather not have to do. > > > > Well, there's nothing to it really. Just configure your kernel with the > > drivers needed by your graphics card, but set them as modules. Then boot > > with it and check dmesg. The kernel will load the modules and try to > > fetch the requisite firmware. > > Just don't forget to "make modules" and "make modules_install". Then you > need to make sure it's included in any initramfs, so no it's not quite > as simple as "but set them as modules" if you don't have any other modules. > > That said, I've always had a modular kernel and there really isn't > anything much to it - I just do my best (provided I can find them) to > configure all the *required* drivers into the kernel, so if the module > system fails the system still boots, or if only sometimes need them, > modules aren't loaded until necessary to save ram. > > Knowing how to boot a modular kernel is a sensible skill to have. And > booting the modular way (even if you don't actually have any modules) is > an easy and sensible thing to do. Someone said once that he builds-in everything necessary to start the system, and all the less essential things as modules. That seems to make sense, and I followed that advice for some years. I haven't been too particular more recently, though. -- Regards, Peter.