🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.kern
Article #24

Re: NetBSD AMDGPU Cezanne: Best Way?

#24
From: wwr
Date: Fri, 13 Nov 2026 07:33
53 lines
6185 bytes
On Fri, Nov 13, 2026 at 09:14:51AM +0200, Andrius V wrote:
> On Mon, Nov 9, 2026 at 8:33???PM wwr lowkstupidaf
> <wwr.lowkstupidaf.2010@gmail.com> wrote:
> >
> > Okay, so some Exposition: I have a ThinkPad E14 Gen 4, and it uses an
> > AMD Ryzen 5625U with integrated graphics (cezanne generation).
> > However, netbsd doesn't appear to support or even have the pci id for
> > cezanne cards in the driver.
> >
> > How do I go about implementation? Do I:
> > A: Hack on the existing drm version to add basic cezanne support, or
> > B: try my hand at porting a newer drm version to netbsd
> >
> > Help would be appreciated! Also, does the driver work with Renoir?
> >
> > - RWX, professional idiot at his wits end
> 
> Hi,
> 
> Even for supported cards current support is far from the ideal,
> especially with hardware acceleration enabled.
> 
> That said, cezanne is vega GPU (Renoir), which seemingly has some
> support in current driver, so it is plausible that basic support is
> just adding your PCI IDs to amdgpu_drv.c.
> 
> Option B is quite a big undertaking. Not sure if somebody works on it
> now, but it is in the plans.
> 
> Regards,
> Andrius V
well, a few problems.
Ive tried both options, and eventually ended up switching to openbsd, so here
is a brief breakdown of what didnt work:
1. Cezanne (and barcelo) cannot use renoir firmware. they have their own
firmware binaries (green_sardine vs renoir). 

2. I went about it by essentially adding a new ASIC id thingy for cezanne,
but cezanne relies on functional IP discovery logic in the driver. linux 5.6
or netbsds drm port or whatever doesnt seem to have that, and there just isnt
a cezanne gpu info fw binary on the internet ANYWHERE.

3. porting drm 6.6 was something i tried after option A failed, but it relies on headers that are in different places than normal and shims that im not properly
equipped to write given my shitty lack of experience in writing driver code (and my lack of experience with netbsd code and linux code).

In conclusion, cezanne is cooked on netbsd 11.x .
-- 
===
// wwr, professional idiot

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <ava9Ll8_GdebNSB-@almond.is.laptop>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <CAFO4Nko8Pe7s3Q-J4dPjU_TRqT27N1XcMYQEe6+5KERuLiPgrA@mail.gmail.com> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: wwr <wwr.lowkstupidaf.2010@gmail.com>
Newsgroups: muc.lists.netbsd.tech.kern
Subject: Re: NetBSD AMDGPU Cezanne: Best Way?
Date: Fri, 13 Nov 2026 13:03:02 +0530
Organization: Newsgate at muc.de e.V.
Sender: tech-kern-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <ava9Ll8_GdebNSB-@almond.is.laptop>
References: <CAFO4Nko8Pe7s3Q-J4dPjU_TRqT27N1XcMYQEe6+5KERuLiPgrA@mail.gmail.com> <>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="84052"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1794555187; x=1795159987; darn=netbsd.org;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:message-id:subject:to:from:date:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=ksZ4H75xg2i20w8EM4U1+V6xPqpQlwh8pNYYvq6PQEE=;
        b=NGxGCv0r48/U0vsS8Kl6elR2OfTbZ49kl+GfR/6l90QdivIVN+h7Q3t3HANqr2b2gQ
         io+SJIaSi3EHEcmoEH10LW0cQ4bFETYYR2LeGAJR5t93iWfQPCVKTpqxLK5ML6OJ7RIu
         YQyWPoa6zulUaTyJymhdFgSjzHsHNCAHo8V3/1Fynt+4nAEzZ6yAUGJKjAuWcv2CzJ0T
         M7/ZW8FxjVwVoXIfZzdzgDuvaCxr5R2Gn8T9cKnVfaDg8SyDqnICguGAJBrSgvay6vD1
         ExsHuFryrsTjq7zcj8EjrGuA4RT8iPQQ47nE76bRn8KKliI2pBwho6o1ZvDyqingLgft
         ZJJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1794555187; x=1795159987;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:message-id:subject:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=ksZ4H75xg2i20w8EM4U1+V6xPqpQlwh8pNYYvq6PQEE=;
        b=T6iLfGyW29C1Hjl8uoFOvghHvuFoRITnGHWdqKWKVozXfev4zlV5wdlPWYZ/gSO3qz
         4AkCoXvtiua/P4hNo+ypr5eTSC5VTlwDwHZXAGmdAJZLLuvIzybpq7wacWtQSHtFS8HR
         OQVm0pcprS6rfwQwIeleN77HcH9ZK7foWPJXkkuoTcQnRu9Ucq5T7BsH7gws2SUbumBv
         HsGkw1FVGdLEnkz7pD55vxiQkwmN3Zd1EV/QCLq1OKkpX4LOAphAegYTF8uSbzUi+10R
         Z5sE18ctH4g4h/MeLLrKbVOsNWFiQ8L6C/vqbCis3ESUMDD2munpd5gQLxIMXD9LEndS
         oVnw==
X-Forwarded-Encrypted: i=1; AL+hErGQercnTR2MnLLDg5cFpua4+W5iVQ5F7rXCwTcBJlreHJGpH8RrWRF41l7bSc/ffQonhZ0vQ3t7iN0=@netbsd.org
X-Gm-Message-State: APuU4Z/v3PtM9CeBhBzCsti/8LS5crHCZ+/tJ5dF82zcfFP5wwrPlCyy
	5ZWuqjJZ/kWovcYOUKfRPp1HDM2EhQ9JufTtunxB07CRrlc2uTPFos46
X-Gm-Gg: AYBFou0qEefHmQihI1jDB8w5KAGWezyvqgeSHZgg7eHRRZ7ZnyKDspA6hbmnqKhCXKE
	ZSqJVs1XJgGjdJB10TMGIbhzC3aT/p2zSX54AlB64nv3MZBcp1evTV+fS4G2mHscmHCOcvT5d6f
	9kELesHnCU5xqrhAWM6RjJNd3LW8oNCvphfUX1galNzvs4dKeUNhokRSb8kT5ZgP1+xC7G2w7K5
	DisYwvRBdJcQWzdKGPLwLkbp4kBQHepv0js3avwF9Ygv6AIkggIBqHDksvvQt2Ebx/8yTC/DIDJ
	6xW0+iEl4BlOIYuES2VeK6tFpJSXNd2Y65AkTWX8xa1FMhT3boqVD3He70mJ1VWnSIZUIXEym8/
	obA6RaX2wvhL4+NB4FfEkzmX7CLDMFrn/VIggKZdbIRqSRh5RAb1t1vhgrAREVoUnXWvsUToPh6
	Z13fUr/AzccGag7L0qoTb38a0gwONK39uzrLlf9iHlbvkUXxwnNK6D3ZvGF+fXToIGmFC9hPMRr
	AF54MS9pZ0e6qv4WnZHDtXBV8l9cIZmYanfAczyOcFdWecJgzjqUcKIwYP9m2GsCf+vYiNXG+OO
	OBChRSejDWiAdxK/J+zIHLLlNyuXKRSqMSXeqkn7dZx0HUCqRJ/NO8n6B47ojaArEBv1gxcni4M
	RbvoD4pmTAcDsiTgKzgwHZ1ml5AHxqcvOm9xTfRLfORkCQhLNltUVkS2z631P6+E68emSfgKcPR
	6iq9xQ9duWgDAVMS7Xdp/QJDZwVznfjSyZs+OaBFD85CgxTo2Gn4lL
Content-Disposition: inline
In-Reply-To: <CAFO4Nko8Pe7s3Q-J4dPjU_TRqT27N1XcMYQEe6+5KERuLiPgrA@mail.gmail.com>
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes