Thread View: muc.lists.netbsd.tech.kern
3 messages
3 total messages
Started by wwr lowkstupidaf
Mon, 09 Nov 2026 18:32
NetBSD AMDGPU Cezanne: Best Way?
Author: wwr lowkstupidaf
Date: Mon, 09 Nov 2026 18:32
Date: Mon, 09 Nov 2026 18:32
16 lines
4088 bytes
4088 bytes
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 -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: NetBSD AMDGPU Cezanne: Best Way?
Author: Andrius V
Date: Fri, 13 Nov 2026 07:14
Date: Fri, 13 Nov 2026 07:14
34 lines
4866 bytes
4866 bytes
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 -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: NetBSD AMDGPU Cezanne: Best Way?
Author: wwr
Date: Fri, 13 Nov 2026 07:33
Date: Fri, 13 Nov 2026 07:33
53 lines
6185 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads