Ubuntu 18.04 RK image

User avatar
mad_ady
Posts: 5107
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Ubuntu 18.04 RK image

Unread post by mad_ady » Thu Dec 20, 2018 3:34 am

Maybe because I speciffically asked for X (while your build doesn't)? -DENABLE_X=ON
I was confused - if I use gbm, will kodi work from within X11?

User avatar
meveric
Posts: 9605
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: Ubuntu 18.04 RK image

Unread post by meveric » Thu Dec 20, 2018 6:08 am

some of the patches makes it work.. don't ask how.. don't understand it... it's running on gbm which is only running outside of X11, but it kinda switches to a layer that is gbm from within X11 so it "seems" as if it's working under X.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
mad_ady
Posts: 5107
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Ubuntu 18.04 RK image

Unread post by mad_ady » Thu Dec 20, 2018 2:02 pm

Got it. Black magic and unicorn dust for the win! :)

User avatar
rooted
Posts: 6085
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Ubuntu 18.04 RK image

Unread post by rooted » Thu Dec 20, 2018 2:08 pm

mad_ady wrote:Got it. Black magic and unicorn dust for the win! :)
-DENABLE_X=OFF ?

User avatar
mad_ady
Posts: 5107
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Ubuntu 18.04 RK image

Unread post by mad_ady » Thu Dec 20, 2018 2:13 pm

Yup. Will try that when I get to work.

User avatar
mad_ady
Posts: 5107
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Ubuntu 18.04 RK image

Unread post by mad_ady » Thu Dec 20, 2018 6:07 pm

Ok, now kodi compiled and plays back fine, with hardware decoding.
Now I need to clean things up (my current image with all sorts of development packages takes up ~28G - yikes!).
@meveric - do you have a checklist/scripts that clean up your images before you publish them?
I was thinking of:
* uninstall some development packages (based on apt history)
* clear apt cache
* create odroid user with an empty skeleton
* delete ssh keys, root history, root files
* add partition resize script
* resize partition + xz + ship for testing

Am I missing out something?

User avatar
meveric
Posts: 9605
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: Ubuntu 18.04 RK image

Unread post by meveric » Thu Dec 20, 2018 7:18 pm

mad_ady wrote:
Thu Dec 20, 2018 6:07 pm
@meveric - do you have a checklist/scripts that clean up your images before you publish them?
Simple, don't sh*t where you eat :P
Means I don't develop on the same system where I deploy software, else you never know if you have dependencies correct.
In the past I've build all my software for the N1 on the C2, and then tested it on a clean N1 system if everything works correctly.
I build debootstrap images for my Debian System, and only install packages that I deem necessary.
The rest is in my repository and only being installed when required.
mad_ady wrote:
Thu Dec 20, 2018 6:07 pm
I was thinking of:
* uninstall some development packages (based on apt history)
* clear apt cache
* create odroid user with an empty skeleton
* delete ssh keys, root history, root files
* add partition resize script
* resize partition + xz + ship for testing

Am I missing out something?
I would start with a empty image and then just try to deploy the software that you build.. Like put your software that you build on an external disk, then start with an fresh image, and try to deploy the software you build.
Or do it the proper way and build .deb packages :P
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
mad_ady
Posts: 5107
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: Ubuntu 18.04 RK image

Unread post by mad_ady » Thu Dec 20, 2018 9:32 pm

Doing it properly takes more time than I have. And considering the n1 was given to developers/tinkerers, this will be a ubuntu 'development-ready' release :D (bloatware edition).

If I magically get time (e.g. I get fired), I might do it properly next time.
Thanks for all the advice and help!

User avatar
rooted
Posts: 6085
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Ubuntu 18.04 RK image

Unread post by rooted » Sun Jan 06, 2019 5:38 pm

mad_ady wrote:Doing it properly takes more time than I have. And considering the n1 was given to developers/tinkerers, this will be a ubuntu 'development-ready' release :D (bloatware edition).

If I magically get time (e.g. I get fired), I might do it properly next time.
Thanks for all the advice and help!
Here is something for you to tinker with

https://www.phoronix.com/scan.php?page= ... ntal-Video

Post Reply

Return to “Ubuntu/Debian”

Who is online

Users browsing this forum: No registered users and 1 guest