Given that the nvidia driver is present in the 22 channel pc-kernel snaps, I’m surprised to find it’s not included in the hwe variants.
Can anyone tell me the reason it’s not included ?
Right now I can’t upgrade to Ubuntu Core 24 [ because of missing nvidia support ] , but need a newer kernel than 5.15 for some development work. When nvidia lands in UC24 I’ll be ok, but in the meantime I’m it’s making development a bit tricky.
I’d really like to keep FDE as well, so creating my own kernel wouldn’t be the ideal solution for me [ although eventually I may have to ].
Thank you for pointing this out! I actually just discovered this issue myself while helping someone troubleshoot NVIDIA GPU support on Ubuntu Core 22.
We ran into the exact same problem - they were on 22-hwe/stable (kernel 6.8.x) and nvidia-assemble couldn’t find any NVIDIA driver components. Once we switched to 22/stable (kernel 5.15.x), everything worked perfectly - nvidia-assemble loaded the modules and nvidia-smi detected the GPU immediately.
Unfortunately, I don’t have a solution for getting NVIDIA support with the HWE kernel on UC22. It seems like a gap in the current kernel snap offerings - you can have either:
It’s been a while since that post, and I’m happy to say that NVIDIA support is alive an well in UC24 now. The implementation has changed a bit, and it’s a lot better IMO. You don’t need the nvidia-corexx snaps or nvidia-assemble any more. The NVIDIA driver parts now ship as components for the pc-kernel snap [ 24 branch ], and are delivered via a content interface in the the mesa-2404 snap.
Have a play with it if you can - and generally I advise moving to UC24 if it suits.