Raymond Wong
2024-Apr-16 19:10 UTC
Nouveau on a RISC-V SBC with Tesla K80? Supposed to not work or yes?
NOUVEAU MESSAGE :* {* *[ 47.314360] nouveau 0001:03:00.0: enabling device (0000 -> 0002)[ 47.314452] nouveau 0001:03:00.0: unknown chipset (0f22d0a1) [ 47.323897]pci 0001:02:10.0: enabling device (0000 -> 0002) [ 47.323938] nouveau 0001:04:00.0: enabling device (0000 -> 0002)[ 47.324095] nouveau 0001:04:00.0: unknown chipset (0f22d0a1)* } CONTEXT : { This thing belongs to someone else, but I'm playing with it. It is a VisionFive 2 (a third one). It would seem like the PCIe implementation in there is missing something that Navi 2s and 3s want. Therefore some Polaris cards and Kepler cards are probably the best GPUs this SBC can run. Of course, it is two GPUs on a single PCIe 2.0 x1 lane using a riser. I see that the Tesla K80 has it's own suspiciously incomplete line in the CodeNames section. But nouveau reports unknown chipset when attempting to load drivers onto the GPUs. Maybe it doesn't have the configuration for a Tesla K80 after all? However, given Fishwaldo's 5.15.131 kernel is running on the SBC, I wonder if Tesla K80 support has been added somewhere, But my roommates (myself included) are combined all just too noob at googling to find it. } SYSTEM : { Board : VisionFive 2 Kernel : 5.15.131 Fishwaldo using pine64-star64_defconfig Nouveau enabled using scripts/config -m CONFIG_DRM_NOUVEAU GPU : Tesla K80 dual GPU wanting to use nouveau drivers. One PCIe 2.0 x1 link connects both GPUs. OS : Slackware ARM RISC-V (Full system, 16GB installed) Notes : It would appear that a GTX 750 Ti worked on another VisionFive 2, as did a RX 550 on my Star64. } -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20240416/8b801c3b/attachment-0001.htm>
Ilia Mirkin
2024-Apr-19 15:25 UTC
Nouveau on a RISC-V SBC with Tesla K80? Supposed to not work or yes?
I don't think anyone was ever able to get their hands on a K80 to confirm. It's a different ID than the GK110 (0xf0) / GK110B (0xf1). I believe it's referred to as a GK210, but not sure if that's just a marketing thing or if it's actually different. You can try copying the 0xf1 entry in devinit and seeing what happens. https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c#n3284 i.e. just add "case 0xf2: device->chip = &nvf1_chipset; break;" However it does seem somewhat likely there would be additional differences, so I wouldn't be extremely surprised if it didn't come up without at least some extracted firmware (which we've never done for that chipset). Cheers, -ilia On Fri, Apr 19, 2024 at 11:14?AM Raymond Wong <raymondwong3690 at gmail.com> wrote:> > NOUVEAU MESSAGE : { > [ 47.314360] nouveau 0001:03:00.0: enabling device (0000 -> 0002) > > [ 47.314452] nouveau 0001:03:00.0: unknown chipset (0f22d0a1) [ 47.323897] > > pci 0001:02:10.0: enabling device (0000 -> 0002) [ 47.323938] nouveau 0001:04:00.0: enabling device (0000 -> 0002) > > [ 47.324095] nouveau 0001:04:00.0: unknown chipset (0f22d0a1) > } > > CONTEXT : { > This thing belongs to someone else, but I'm playing with it. It is a VisionFive 2 (a third one). It would seem like the PCIe implementation in there is missing something that Navi 2s and 3s want. Therefore some Polaris cards and Kepler cards are probably the best GPUs this SBC can run. > Of course, it is two GPUs on a single PCIe 2.0 x1 lane using a riser. I see that the Tesla K80 has it's own suspiciously incomplete line in the CodeNames section. But nouveau reports unknown chipset when attempting to load drivers onto the GPUs. Maybe it doesn't have the configuration for a Tesla K80 after all? > However, given Fishwaldo's 5.15.131 kernel is running on the SBC, I wonder if Tesla K80 support has been added somewhere, But my roommates (myself included) are combined all just too noob at googling to find it. > } > > SYSTEM : { > Board : VisionFive 2 > Kernel : 5.15.131 Fishwaldo using pine64-star64_defconfig > Nouveau enabled using scripts/config -m CONFIG_DRM_NOUVEAU > GPU : Tesla K80 dual GPU wanting to use nouveau drivers. One PCIe 2.0 x1 link connects both GPUs. > OS : Slackware ARM RISC-V (Full system, 16GB installed) > Notes : It would appear that a GTX 750 Ti worked on another VisionFive 2, as did a RX 550 on my Star64. > }