pythops / jetson-image

💾 Create minimalist, Ubuntu based images for the Nvidia jetson boards
371 stars 108 forks source link

Ubuntu 22.04 #96

Closed debloper closed 12 months ago

debloper commented 1 year ago

So, I've been able to update the installation (distro upgrade) to 22.04 (please excuse the poor/low-light quality); so it's possible to run it.

photo_2023-05-12

Just wondering if there's any docs on why we couldn't build the image around it. What are the errors, and if we can keep this issue as a paper trail of how we're approaching to fix them.

I'll give it a try in my fork, and document the findings here. Meanwhile, if anyone else is trying, please also share your findings here.

pythops commented 1 year ago

GJ :clap: I had some issues with nvidia libraries and I've just gave up. on the jetson orin nano I'm working on, it will be based on 22.04

mrcmunir commented 1 year ago

Hi for nvidia blobs gpu libs working you needed apt hold xorg server package stuck down to 1.20 version.

Seems xorg 1.21 broken ABI compatibility due changes in https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/468

Drivers with old structure always broken due randr variable are different. @pythops Screenshot from 2023-05-12 21-05-31

debloper commented 1 year ago

Was able to optimize the boot down to 4 seconds, and total installed storage size below 2GB (ref). I was trying for sub-10sec boot, but got carried away, and for the image size, smaller is better, right!

I've also enabled the remaining 2 hidden cores, for a hexacore powerhouse (well, for a ~4yo SBC anyway).

Just posting this as a reference for what seems possible, for anyone continuing the work (also, official guide).

☣️ Now personally, I really want to create a spin-off aftermarket distro image for Jetson Nano that's heavily focused on latest software and extreme performance (by slicing down everything that can get in its way). I taste blood in the water lol!

pythops commented 1 year ago

@debloper you can make a PR for 22.04, that would be awesome

pythops commented 12 months ago

Done here #104