Homatics Box R 4K Plus

usb stick and this hack that puts storage on emmc

1 Like

Blank screen with Gemini man

http://ix.io/4tlL

Set the GUI to 1080p and try again. I think a frame switch will be required right now.

That works Thanks

I am super excited about finally have DV Native Support in CoreELEC!
I have 2 questions:
1: If installed to emmc, is there a way back to factory? (Dune-HD Version)
2: What is the difference between the 8.1 and 8.1-mp

emmc install not supported since partitions are needed from android.

so we will ALWAYS need to run coreelec from usb?

1 Like

http://ix.io/4tm2

Ok, I think it’s switched afterwards to RGB so the auto detection for the colour depth is not correct anymore and the 420 is used. And there 12bit is possible.

Tv Sony, Homatics, CE 21 ne nightly. Dv is working only if 12 bit 422yuv is manualy set. Dv conversion is ignored, only DV-LL is working.

Tested on Dv profiles 5.6, 8.6 and 7.6

https://wiki.coreelec.org/coreelec:debuglogs

@djnice Please test again with this update:
EDIT:

Please ensure again all is set to auto!
Boot, start your media for a few seconds then stop (keyboard x if nothing on screen).
Then dmesg | paste again please.

It should now boot in GUI 420, 12bit.
On DV start it should switch to RGB, 8bit.
After stop in GUI it should be 420, 12bit again.

Maybe…

1 Like

Manualy set:
xxx

Auto:
xxx

Looks like the same issue as above. There is currently no option to use the LLDV (422) mode. So if both modes are available RGB is used. But it uses RGB, 12bit right now what not all TV like and need to be forced to 8bit.

You can also test this test update above:

Switching the gui to 1080p also fixed the blank screen with the p5 and p8.1 demos in your screenshots.

Same, DV playback in RGB 12bit.
GUI is 1080p YUV 444 12 bit.
I’m tried with 4K GUI (YUV 420 12 bit) too, but the DV playback is the same RGB 12 bit.

http://ix.io/4toH

I think we can reuse part of ceemmc infrastructure to use storage from emmc in little nicer way.

Use at your own risk ! Same applies to solution above.

mkdir -p /media/data
mount /dev/data /media/data
mkdir /media/data/coreelec_storage
systemctl stop kodi
rsync -ah --info=progress2 /storage/ /media/data/coreelec_storage/
umount /media/data

mf
vi /flash/config.ini

# add this line at the end of the file
coreelec='quiet toram disk=FOLDER=/dev/data'

# and reboot

# check everything was done correctly with command
mount

# before
#  /dev/sda1 on /flash type vfat (ro,.....)
#  /dev/sda2 on /storage type ext4 (rw,noatime)

# after
#  /dev/sda1 on /flash type vfat (ro,,.....)
#  /dev/data on /storage type ext4 (rw,noatime,resgid=1065)

# I also add this line in /storage/.config/autostart.sh
# to unmount storage partition from USB stick
mountpoint -q /media/STORAGE && umount /media/STORAGE


Looks like when booting from USB 2.0 port suspend/resume works better and stick is not remounted.

When booting from USB 3.0 port stick is remounted after resume with new name (sda1 → sdb1).

To get suspend/resume working extra script is needed /storage/.config/sleep.d/01-device-suspend.power.

#!/bin/sh
# /storage/.config/sleep.d/01-device-suspend.power

if [ ! -f /dev/SYSTEM ] || ! mount | grep -q "/dev/data on /storage"; then
  echo "squashfs SYSTEM file is not in ram (use toram bootloader parameter)"
  echo "or eMMC partial install is not used"
  exit 0
fi

case "$1" in
  pre)
    # unmount USB partitions
    for usb_device in /dev/disk/by-id/usb-*; do
      device=$(readlink -f $usb_device)
      grep -wq "^$device" /proc/mounts && umount $device
    done
    ;;
  post)
    finish=0
    cnt=0
    cnt_max=32
    while [ $cnt -lt $cnt_max ]; do
      if mountpoint -q /media/COREELEC; then
      	  major_minor=$(mountpoint -d /media/COREELEC)
      	  device=$(readlink -f /dev/block/$major_minor)
      	  umount /media/COREELEC
      	  mount -o ro $device /flash
      	  finish=$((finish+1))
      fi
      if mountpoint -q /media/STORAGE; then
      	 umount /media/STORAGE
      	 finish=$((finish+1))
      fi
      if [ $finish -eq 2 ]; then
      	 echo "all done in $cnt steps"
      	 break
      fi
      sleep 0.25
      cnt=$((cnt+1))
    done
    ;;
esac

To keep USB power always on this HW modification can be applied (on your own risk):

3 Likes

I did test a bit now by myself and modified the detection.
Now if DV will be used RGB > 1080p will use 8bit instead 12bit, depending of TV used.
I don’t have any information about DV RGB 1080p. Is there also only 8bit possible or 12bit?

But all this require a frame switching. So like GUI 1080p50 to 4k.
When the GUI is already 4k60hz and media is also 4k60hz the frame switch is not performed.

I don’t see right now a way to switch “on-the-fly” the colour depth.

The patch should be in next nighlty included for tests.

When using TV-Led mode, the output must always be RGB 8bit, regardless of resolution and TV (the 12bit DV signal is packed into an 8bit RGB stream so it can be sent through HDMI to be unpacked by the TV. It’s called RGB tunneling).
When using Player-Led (LLDV) mode, the output must always be YUV 4:2:2 12bit.

Using Sony XBR-X900H + RockTek G2 and Homatics R4K+ only work if i use:
FDCD = 8bit
FCS = Auto

Remote B21 works but B25 doesn’t.