From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SHrbObZuvl8/ZAAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 14:48:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uAu2NbZuvl+HLAAAbx9fmQ (envelope-from ) for ; Wed, 25 Nov 2020 14:48:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 82EF19401C0 for ; Wed, 25 Nov 2020 14:48:22 +0000 (UTC) Received: from localhost ([::1]:43506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khw5l-0005Ts-H7 for larch@yhetil.org; Wed, 25 Nov 2020 09:48:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khs0d-0000sV-G6 for help-guix@gnu.org; Wed, 25 Nov 2020 05:26:48 -0500 Received: from cyberdimension.org ([80.67.179.20]:49776 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1khs0V-0001uQ-V7 for help-guix@gnu.org; Wed, 25 Nov 2020 05:26:47 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 3fdcd511; Wed, 25 Nov 2020 10:20:45 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 79b8e085; Wed, 25 Nov 2020 10:20:45 +0000 (UTC) Date: Wed, 25 Nov 2020 11:24:27 +0100 From: Denis 'GNUtoo' Carikli To: jbranso@dismail.de Subject: Re: Can Guix support Zen 2/AMD Ryzen? Message-ID: <20201125112427.6bc18024@primarylaptop.localdomain> In-Reply-To: <94fa6e136ac69235e6d3ddbefb1e068a@dismail.de> References: <1f577837-099c-e2ed-4c8d-45d050b40671@gmail.com> <94fa6e136ac69235e6d3ddbefb1e068a@dismail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/FiPJyEW/0WTKL3BSkF3kutt"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 25 Nov 2020 09:48:07 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org, Jesse Gibbons Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.11 X-TUID: jaF1h1LbU6Vu --Sig_/FiPJyEW/0WTKL3BSkF3kutt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 24 Nov 2020 02:31:47 +0000 jbranso@dismail.de wrote: > All AMD graphics cards are virtually useless on the Linux > libre kernel. Not all of them. The issue is that I've been the only one working on making ATI/AMD GPUs somewhat useful on linux-libre by making the radeon driver work: - In contrast with the VESA driver and UEFI equivalent (efifb?), having the radeon driver working enables the right resolution, multi display, and probably some other features too that makes such GPUs much more usable. - As I only worked around the lack of firmware, 3D still doesn't work. To work it would probably need someone to work on free firmwares. - Like with nouveau, it depends on bytecode that is AFAIK nonfree and that probably contains code. That bytecode is in the video BIOS. - I'm unsure of the status of video BIOS replacements for AMD/ATI GPUs, but AFAIK, like with Nvidia GPUs it's still an issue. Since it's useful to have a working display at boot (like in GRUB), it's a good idea to fix that too. I worked on doing that for Intel GPUs in Coreboot, along with other people that helped me, so it's possible. In addition GRUB (and probably radeonhd too) have some interesting code for some specific Radeons to init it without the bytecode and without the video bios AFAIK. Since I don't have infinite time nor all the GPU families, and that linux-libre requires patches to be tested before merging them, I didn't add the GPU I don't have. I also don't have much time anymore for doing that kind of work. There is more information about this issue on the linux-libre wiki[1], including a howto on how to add support for your GPU in linux-libre. The amdgpu driver requires a bit more work, I started working on it by helping someone on the linux-libre mailing list but it took me too much time so I had to stop working on it. References: ----------- [1]https://libreplanet.org/wiki?title=3DGroup:Hardware/research/gpu/radeon Denis. --Sig_/FiPJyEW/0WTKL3BSkF3kutt Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl++MNsACgkQX138wUF3 4mMJxQ//Rg4So//r+ClarFjwxR/Ezj5ed+6ewslhfE3fHaa7n84BKFBE/CKV3Fmd 4ZAJdEOCof4Kk+ZteVv/feNJIIAxcoVhc+TbBeosXE7Rmf4HMiYFtX3FWLmn+JBs OcsAELsVCFBuGHroJL4Zk+5XHwSi8X0tYXotytG9ZRKSbuRW+z+mnFLflVMu/tKU VExXjs/i2Pmlp4/q3ZWKDwysG4SqkYgTCIAOChz5QsVQ/pZVqWIHZphtokMt51qp hKm28hD0xkvtG+i/qrTBpyzfpFvLgQ7N0eWRvUBZlRQSlKiJKnOaaMfN4NYsVCak nBGtxrS6oyfQu0fW/N6essgWN0De8XoTGstrXu3L7IA4JTHt/rhkorlPBU+4Hj6D 86uXaHprL/4Z1P+cROcS5KMoFJcuJMjaeMqSA5QN/5gakyqH1HF9536Qughq09q0 98bIX11OLBGYKWb07pTXpYjiQUs7UyenxS5U249qiNk/+rj7vb+uSSLKgA9ddEs0 doch0IOkox/Wfl89uFHlSbKQUa5Vr0LvbTFjJcH+6swMxSFpWhTLlRcGobFXhaDr Iz4ug9b6t9VJUNIFgOYtr8wuGxuib9gpACIdKZl8JouvmnOfbogy80iYFO6dlh71 3l1CIATf1EzuqLuNg4b9ncX88mDd7qr39o7lCQ3kS02aIUr5dXU= =Jj4t -----END PGP SIGNATURE----- --Sig_/FiPJyEW/0WTKL3BSkF3kutt--