• 1
  • 13
  • 14
  • 15
  • 16(current)
  • 17
[imx6] Deinterlacing feature
thanks for the update, so far works fine here.
Reply
Cool, I will push those to the OE 5.0 branch and then I consider this (from video rendering view) as done. We can revisit with v15. If there is an OpenELEC 5.0.8 soon, those patches are included.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Hi,

it seems like deinterlacing is broken for me in 5.0.7. Up until 5.0.6., everything works flawlessly. With 5.0.7., if I try to open a movie that is scaled up to fill the screen, instead of the movie I get a black screen, I hear the audio but I can no longer control/reach the box and I need to manually power-cycle it. Here is a snip from kodi.log:

Code:
18:31:18 T:1633678400  NOTICE: Thread TCPServer start, auto delete: false
18:31:18 T:1704236096  NOTICE: -->Python Interpreter Initialized<--
18:31:19 T:1712624704  NOTICE: Previous line repeats 1 times.
18:31:19 T:1712624704  NOTICE: ## OpenELEC Addon ## 0.5.8
18:31:19 T:1721013312  NOTICE: -->Python Interpreter Initialized<--
18:31:19 T:1704236096  NOTICE: Thread LanguageInvoker start, auto delete: false
18:31:19 T:1609311296  NOTICE: Thread JobWorker start, auto delete: true
18:31:20 T:1721013312  NOTICE: XBMC Hue service started, version: 0.6.2
18:31:20 T:1704236096  NOTICE: -->Python Interpreter Initialized<--
18:31:22 T:1704236096  NOTICE: CommonFunctions-2.5.1
18:31:49 T:1617699904  NOTICE: Thread BackgroundLoader start, auto delete: false
18:32:02 T:1969106944  NOTICE: Previous line repeats 3 times.
18:32:02 T:1969106944  NOTICE: DVDPlayer: Opening: nfs://xxx.xxx.xxx.xxx/Archer/archer.s04e02.the.wind.cries.mary.hun.bdrip.x264-dart.mkv
18:32:02 T:1969106944 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:32:02 T:1617699904  NOTICE: Thread DVDPlayer start, auto delete: false
18:32:02 T:1617699904  NOTICE: Creating InputStream
18:32:02 T:1617699904  NOTICE: Creating Demuxer
18:32:02 T:1617699904  NOTICE: Opening stream: 0 source: 256
18:32:02 T:1617699904  NOTICE: Creating video codec with codec id: 28
18:32:02 T:1617699904  NOTICE: Creating video thread
18:32:02 T:1617699904  NOTICE: Opening stream: 1 source: 256
18:32:02 T:1537209408  NOTICE: Thread DVDPlayerVideo start, auto delete: false
18:32:02 T:1617699904  NOTICE: Finding audio codec for: 86018
18:32:02 T:1537209408  NOTICE: running thread: video_thread
18:32:02 T:1617699904  NOTICE: Creating audio thread
18:32:02 T:1528820800  NOTICE: Thread DVDPlayerAudio start, auto delete: false
18:32:02 T:1528820800  NOTICE: running thread: CDVDPlayerAudio::Process()
18:32:02 T:1528820800  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
18:32:02 T:1537209408  NOTICE:  fps: 23.976024, pwidth: 720, pheight: 404, dwidth: 720, dheight: 404
18:32:02 T:1537209408  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
18:32:02 T:1969106944  NOTICE: Using GL_TEXTURE_2D
18:32:02 T:1969106944  NOTICE: GL: Using IMXMAP render method
18:32:02 T:1969106944  NOTICE: GL: NPOT texture support detected
18:32:02 T:1969106944  NOTICE: iMX : Initialize render buffers
18:32:02 T:1510454336  NOTICE: Thread iMX IPU start, auto delete: false
18:32:02 T:1510454336  NOTICE: iMX : IPU thread started
18:32:03 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:03 T:1550840896 WARNING: Previous line repeats 5 times.
18:32:03 T:1550840896   ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://thetvdb.com/banners/actors/135751.jpg
18:32:03 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:03 T:1537209408 WARNING: Previous line repeats 1 times.
18:32:03 T:1537209408   ERROR: Decode - No frame buffer available.
18:32:03 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:03 T:1476564032   ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://thetvdb.com/banners/actors/135781.jpg
18:32:03 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:04 T:1468175424 WARNING: Previous line repeats 2 times.
18:32:04 T:1468175424   ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://thetvdb.com/banners/actors/135791.jpg
18:32:04 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:04 T:1537209408   ERROR: Decode - No frame buffer available.
18:32:04 T:1537209408 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:04 T:1459786816 WARNING: Previous line repeats 1 times.

Any idea why is this happening or what can be done for it? Downgrading to 5.0.6 solves the issue, I haven't touched my addons yet.
Reply
OpenELEC 5.0.6 did not have the deinterlacing patches of this thread at all. In your cut logfiles nothing is visible. Most likely you are missing consoleblank=0 in your uboot configuration. Make a complete fresh installation of 5.0.8 and retry.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Mea culpa. After doing some troubleshooting with a fresh install I realized it's the Philips Hue plugin. I'm not sure if it's the plugin or the Hue firmware update that arrived yesterday morning, but disabling the Hue plugin fixed everything. Unfortunately the Hue plugin is from 2013 and it has not seen any updates since that, so I guess I'll have to watch movies without ambilight for the time being. Thanks for the suggestion!
Reply
As a bit of a test I'm trying to compile 15.0a2 on my cubox-i4pro using archlinuxarm. But I get this compile error:

Code:
../dvdplayer/DVDCodecs/Video/DVDVideoCodecIMX.h:34:17: fatal error: g2d.h: No such file or directory
#include <g2d.h>

The only reference to g2d.h I can find is in the kernel for the samsung s5p driver. Is there meant to be some 2d graphics headers in the freescale packages which archlinux arm have left out? I have the "firmware-imx" "gpu-viv-bin-mx6q-fb" "imx-vpu" "libfslvpuwrap" packages that archlinuxarm provide installed.
Reply
you need g2d respectively: gpu-viv-g2d

Btw. if you build from source, add: https://github.com/xbmc/xbmc/pull/6878 and https://github.com/xbmc/xbmc/pull/6898
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
I think the g2d viv package is not yet available in ArchLinux according to https://github.com/archlinuxarm/PKGBUILD...ster/alarm. I am using Arch as well and had to download the g2d package manually and copied it to /opt/fsl.
Reply
(2015-04-08, 09:13)smallint Wrote: I think the g2d viv package is not yet available in ArchLinux according to https://github.com/archlinuxarm/PKGBUILD...ster/alarm. I am using Arch as well and had to download the g2d package manually and copied it to /opt/fsl.

Yeah. I just whipped up a PKGBUILD for it. Almost trivial package. Two files. Starting the kodi compile now.
Reply
Quote:I just whipped up a PKGBUILD for it.

It would be great if that PKGBUILD could go upstream, I have already too many custom packages and mods on my system that reinstallation will be a nightmare Wink
Reply
(2015-04-08, 11:07)smallint Wrote:
Quote:I just whipped up a PKGBUILD for it.

It would be great if that PKGBUILD could go upstream, I have already too many custom packages and mods on my system that reinstallation will be a nightmare Wink

I'll try. But I have always copped a bit of stick from the archlinuxarm guys: e.g. https://github.com/archlinuxarm/PKGBUILDs/issues/1093
Reply
@aplund: https://github.com/archlinuxarm/PKGBUILD...IBUTING.md <-

That's quite easy to follow, just copy and paste that text and fill in one sentence each :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Well, I'm too tried to try and get this into the form of a non-closeable pull request, but here is the PKGBUILD I'm using, largely copied from gpu-viv-bin-mx6q:

Code:
buildarch=4
pkgname=gpu-viv-g2d
pkgver=3.10.9_1.0.0
_pkgver=${pkgver//_/-}
pkgrel=1
pkgdesc="Freescale proprietary Vivante 2D graphics drivers for i.MX6 Quad SoC"

# filesystem prefix for the include files and license
_install_prefix=/opt/fsl
# filesystem prefix for the libraries
_install_exec_prefix=/opt/fsl
# filesystem prefix for the samples
_install_samples_prefix=/opt/fsl
url="https://community.freescale.com/docs/DOC-95560"
arch=('armv7h')
license=('proprietary')
#depends=('fsl-bsp-kernel=4.1.0' 'fsl-bsp-kernel-headers=4.1.0')
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${_pkgver}.bin")
md5sums=('SKIP')

prepare() {
  cd "${srcdir}"
  sh ${pkgname}-${_pkgver}.bin --force --auto-accept
  sed -n '/EOEULA/,/EOEULA/p' ${pkgname}-${_pkgver}.bin | grep -v EOEULA > LICENSE.$pkgname
}

package() {
  cd ${srcdir}/"${pkgname}-${_pkgver}"
  mkdir -p "${pkgdir}${_install_prefix}/include"  "${pkgdir}${_install_exec_prefix}/lib"
  cp -r usr/include/* "${pkgdir}${_install_prefix}/include"
  cp -r usr/lib/* "${pkgdir}${_install_prefix}/lib"
  mkdir -p "${pkgdir}${_install_prefix}/licenses"
  cp "${srcdir}/LICENSE.$pkgname" "$pkgdir${_install_prefix}/licenses"
  mkdir -p "${pkgdir}/etc/ld.so.conf.d"
  echo "${_install_prefix}/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
}

I haven't had a chance to try out 15.0a2 properly yet, but when I launched it I noticed the gui menus don't render right all the time (this is with the above two pull requests). They seem to have a white background. Is this a known issue?
Reply
gpu-viv-g2d is now in archlinuxarm:

https://github.com/archlinuxarm/PKGBUILDs/pull/1162
Reply
Is there a way to determine within Kodi if this patch is implemented in a given distribution?
Reply
  • 1
  • 13
  • 14
  • 15
  • 16(current)
  • 17

Logout Mark Read Team Forum Stats Members Help
[imx6] Deinterlacing feature3