Dolby Vision Profile, VS10, plus other info on skins

Ryzen 7 2700X with 16GB RAM and m.2 ssd on WSL2 takes ~1 hour for a fresh build.

Edit:
to get access to the WSL2 file system just enter this in Windows Explorer at the top of the bar:

\\wsl$

1 Like

maybe we can reach out to each other in different forum?

We can do what you want but there’s no harm in sharing your steps here. they’ll help the others too.

3 Likes

I often compile CE21 using WSL2 running Ubuntu 22.04.06(?), and it definitely is taking a long time on my 5950X if I run a completely fresh build and clean Kodi first (because I have a small whitelisting patch to apply).

I feel the operation wouldn’t take so long if the compiler options weren’t verified all the time when building Kodi :smile:

For those building, CPM just posted another commit.

thx, easiest way is just subscribe to notifications via Watch → All Activity on GH without the need to constantly check it (though for force-pushes it doesn’t often work, if ever…)

I pointed out to him earlier that the last commit from yesterday was incorrect in one place and he fixed it and redid the commit. Only one line was changed.

Changed from:

{"video.dovi.source.min.nits", PLAYER_PROCESS_VIDEO_DOVI_SOURCE_MIN_NITS },
                                  
{"video.dovi.source.min.nits", PLAYER_PROCESS_VIDEO_DOVI_SOURCE_MAX_NITS },

to

{"video.dovi.source.min.nits", PLAYER_PROCESS_VIDEO_DOVI_SOURCE_MIN_NITS },
                                  
{"video.dovi.source.max.nits", PLAYER_PROCESS_VIDEO_DOVI_SOURCE_MAX_NITS },
1 Like

So I moved the CE git directory from the mounted NTFS drive to WSL2’s native storage and I managed to get a lot further. Half-way through I also had to fix the package.mk file for the json-c package, but now I have another crash at step 316 out of 362:

depmod: WARNING: could not open modules.builtin.modinfo at /home/maurice/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/install_pkg/linux-3df0cde6a2158d05acf6c240521929fe2dd3ab76/usr/lib/kernel-overlays/base/lib/modules/4.9.269: No such file or directory
    INSTALL      glibc (init)
    INSTALL      libc (init)
    INSTALL      busybox (init)
    INSTALL      gcc (init)
    INSTALL      splash-image (init)
    INSTALL      util-linux (init)
    INSTALL      e2fsprogs (init)
    INSTALL      dosfstools (init)
    INSTALL      Python3 (host)
    INSTALL      terminus-font (init)
    INSTALL      bkeymaps (init)
    INSTALL      fakeroot (host)
    INSTALL      initramfs (init)
    INSTALL      initramfs (target)
sh: 1: cpio: not found
FAILURE: scripts/install initramfs during post_install (package.mk)
*********** FAILED COMMAND ***********
[ "$BUILD_ANDROID_BOOTIMG" = "yes" ]
**************************************
FAILURE: scripts/build linux:target during make_target (package.mk)
*********** FAILED COMMAND ***********
cp $module $BUILD/initramfs/usr/lib/modules
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
FAILURE: scripts/install linux:target has failed!

The following log for this failure is available:
  /home/maurice/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/.threads/logs/222.log

>>> linux:target seq 222 >>>
[316/362] [FAIL] install linux:target

Any hints?

Is cpio installed ?

sudo apt-get install cpio
1 Like

I followed the steps that @jamal2367 posted earlier in this thread:

  1. Ran: git clone hxxps://github.com/CoreELEC/CoreELEC.git
  2. Ran: cd CoreELEC
  3. Ran: git checkout coreelec-21
  4. Copied the two package.mk files that he uploaded to the correct locations
  5. Edited the package.mk file for the json-c package with the correct SHA256
  6. Ran: DEVICE=Amlogic-ng PROJECT=Amlogic-ce ARCH=ARM make

(Replace hxxps in step 1 with https)

Seems correct.

Can you attach the log file?
/home/maurice/CoreELEC/build.CoreELEC-Amlogic-ng.arm-21/.threads/logs/222.log

you can also just use DEVICE=Amlogic-ng make for the build.
as suggested by jamal2367, check if cpio is present on your system (I didn’t have to install it manually though…) by ‘cpio --version’

1 Like

Yeah it was not installed sigh

EDIT: Ok, it’s past step 316 now. Fun stuff this :rofl:

1 Like

If I understood everything correct we just need to change the SHA, PKG_VERSION und PKG_URL for the kodi package and rebuild, correct?

@MauriceW67
You may still get an error later because of this:

wireguard-linux-compat

You also have to adjust the SHA256 in the package.mk too for it.

@Fehritale
Yes, then you must make

make clean

or

DEVICE=Amlogic-ng clean kodi

before

1 Like

Thank you, I just ran into that one. Hopefully this is the final fix :smiley:

@MauriceW67
Yes this is the last build break for now :joy:

FYI:
358/362 will take a bit longer. Don’t worry about it.

Can I use the PowerShell scripts you provided to get the new infos for the new build?

@Fehritale
Yes you can.

After every new commit from cpm you must run the script again to get the new values for PKG_SHA256 and PKG_VERSION.

Don’t forget to adapt the line 7 in the script.

@R3S3T_9999
Are the new values correct?
And cd/m2 and PQ-12bit I suppose too, right ?

With this I release my self compiled working A6 build!

The latest changes are included (also the latest commit too from today).

Have fun with it guys!

AZR Skin Release 12 update comes later today!

28 Likes