• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 111
OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 1
#16
That's why we need to know *exactly* when the breakage occurred. Dropping RTL8812AU sounds like a far more plausible reason for this adapter no longer working, so if you could confirm the last working build that would be great, thanks.

As for a fix I'm sure it will come eventually, problem is the driver isn't mainline so it depends on someone releasing a 3.18 update (the current source doesn't seem particularly active in terms of maintenance so I may try and find an alternative).
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#17
(2014-12-16, 22:16)Milhouse Wrote:
(2014-12-16, 22:10)Heiko123 Wrote: No, within version 1210 all was fine and fast.
But with the last both version I do have this problem and the feeling isnt fluidly

*Exactly* which build is the first to behave poorly? Between #1210 and "last both" there are two more builds, have you tested these other builds?

ooo, you cached the upload-path to the old versions , so that I can't do a simple downgrade. Undecided

Can You give me the full path to the old version, so that I can change the path in DevUpdate-Add-On. THX
#18
All the download links in the first post of the old thread are still working. The old tar files are now in the archive/Helix folder.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#19
(2014-12-17, 13:05)Milhouse Wrote: As for a fix I'm sure it will come eventually, problem is the driver isn't mainline so it depends on someone releasing a 3.18 update (the current source doesn't seem particularly active in terms of maintenance so I may try and find an alternative).

I've worked out a patch for the RTL8812AU driver which will be in the next build, it's pretty straight forward and hopefully it will work.

Between kernel 3.12.x and 3.17.x, the cfg80211_rx_mgmt function is defined as:
Code:
/**
* cfg80211_rx_mgmt - notification of received, unprocessed management frame
* @wdev: wireless device receiving the frame
* @freq: Frequency on which the frame was received in MHz
* @sig_dbm: signal strength in mBm, or 0 if unknown
* @buf: Management frame (header + body)
* @len: length of the frame data
* @flags: flags, as defined in enum nl80211_rxmgmt_flags
* @gfp: context flags
*
* This function is called whenever an Action frame is received for a station
* mode interface, but is not processed in kernel.
*
* Return: %true if a user space application has registered for this frame.
* For action frames, that makes it responsible for rejecting unrecognized
* action frames; %false otherwise, in which case for action frames the
* driver is responsible for rejecting the frame.
*/
bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm,
                      const u8 *buf, size_t len, u32 flags, gfp_t gfp);

but with kernel 3.18, the @gfp argument has been dropped:
Code:
/**
* cfg80211_rx_mgmt - notification of received, unprocessed management frame
* @wdev: wireless device receiving the frame
* @freq: Frequency on which the frame was received in MHz
* @sig_dbm: signal strength in mBm, or 0 if unknown
* @buf: Management frame (header + body)
* @len: length of the frame data
* @flags: flags, as defined in enum nl80211_rxmgmt_flags
*
* This function is called whenever an Action frame is received for a station
* mode interface, but is not processed in kernel.
*
* Return: %true if a user space application has registered for this frame.
* For action frames, that makes it responsible for rejecting unrecognized
* action frames; %false otherwise, in which case for action frames the
* driver is responsible for rejecting the frame.
*/
bool cfg80211_rx_mgmt(struct wireless_dev *wdev, int freq, int sig_dbm,
                      const u8 *buf, size_t len, u32 flags);

The following patch fixes the RTL8812AU driver:
Code:
diff --git a/include/ioctl_cfg80211.h b/include/ioctl_cfg80211.h
index 08357ac..8e85dc9 100644
--- a/include/ioctl_cfg80211.h
+++ b/include/ioctl_cfg80211.h
@@ -109,9 +109,12 @@ bool rtw_cfg80211_pwr_mgmt(_adapter *adapter);
   #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->pnetdev, freq, sig_dbm, buf, len, gfp)
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0))
   #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->rtw_wdev, freq, sig_dbm, buf, len, gfp)
-#else
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(3,18,0))
   // 3.12 added a flags argument which is just set to zero
   #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->rtw_wdev, freq, sig_dbm, buf, len, 0, gfp)
+#else
+  // 3.18 dropped the gfp argument
+  #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->rtw_wdev, freq, sig_dbm, buf, len, 0)
#endif

#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0))  && !defined(COMPAT_KERNEL_RELEASE)
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#20
(2014-12-17, 13:05)Milhouse Wrote: That's why we need to know *exactly* when the breakage occurred. Dropping RTL8812AU sounds like a far more plausible reason for this adapter no longer working, so if you could confirm the last working build that would be great, thanks.

Although perhaps too late, I can confirm the D-Link DWA-171 no longer functions after build 1208.

(2014-12-17, 18:29)Milhouse Wrote: I've worked out a patch for the RTL8812AU driver which will be in the next build, it's pretty straight forward and hopefully it will work.

Will test the next build and report back, thanks for the very quick turnaround!
#21
(2014-12-16, 22:10)Heiko123 Wrote:
(2014-12-16, 22:01)popcornmix Wrote:
(2014-12-16, 21:50)Heiko123 Wrote: I do have a video problem with the newest version.
All videos stopped after 15 minute und then is stutter.

Does reverting to the previous build cure the problem?

No, within version 1210 all was fine and fast.
But with the last both version I do have this problem and the feeling isnt fluidly

Hello,

My fault, I found the problem.
I wasn't a raspi problem, but one of my switches have had a problem.
When I change the topology all worked fine.
#22
New OpenELEC I****** build: #1217
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.18.0 #1 PREEMPT Wed Dec 17 22:20:42 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Dec 13 2014 15:32:57
Copyright (c) 2012 Broadcom
version ba46211b55252156d2f1e507a7aa71bd18ec0482 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141217221930-r19827-g6996f84 [Build #1217]

Based on tip of OpenELEC master (6996f848, changelog) and tip of XBMC master (9b98b482, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.18.y
  • Excludes the OpenELEC kodi-001-helix_rpb_backports patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (9c1d3848)
  • Includes latest libcec master (9f000e43)
  • Includes latest xbmc-pvr-addons master (9f63d1bc)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes animated splash support (patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Exclude kodi-999.95-iMX6-powermanager.patch: Disables RBP virtual suspend
  • Include patch: Enable kernel device-tree support
  • Include patch: Add device tree kernel trailer
  • Include patch: Add *.dtb files to firmware
  • Include patch: Add kernel 3.18 compatible cfg80211_rx_mgmt
  • Include PR:393: [pvr.mythtv] Release v1.9.29: Critical fixes (kodi-pvr-addons)
  • Include PR:3657: [rfc] kodi crashlogs
  • Include PR:5573: webserver: improved caching control (see discussion)
  • Include PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Include PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Include PR:5894: [addons] display a more helpful message on python script error
  • Include PR:5941: media library: fix path history for items with a real path differing from the requested path
  • Include PR:5950: [videoinfoscanner] fix multipath scanning
  • Include PR:5958: Fix state not saved after #5842 if playing from "Recently added".
  • Include PR:5959: sorting: cleanup and refactor to allow different sort orders for the different sort methods
Build Highlights:
  1. Updated dtb patch with latest base dtb's
  2. Re-enable RTL8812AU driver
  3. Fix for multipath scanning
Build Details:
  1. OpenELEC:
    • Add support for executing project-specific initialization script from the init script (PR:3696, 1 commit, 2 files changed)
    • Increase the limit for the number of lines in less. (PR:3700, 1 commit, 1 file changed)
    • util-linux: specify more configure options, build with losetup and libsmartcol support (79bdcbd4)
    • Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv (1fdf0558)
    • dosfstools: update to dosfstools-3.0.27 (9b1df80d)
    • dbus: update to dbus-1.8.12 (acf758a4)
    • rpcbind: update to rpcbind-0.2.2 (53d5030f)
    • ethtool: update to ethtool-3.18 (6a6bfb0c)
    • projects/imx6/options: dont setup firmwares twice, readd BT firmwares, this fixes non working BT on cubox-i & co. (8346f552)
    • Revert "tvheadend: never load userspace hdhr driver" (1183e5fe)
  2. XBMC:
    • revert rename xbmc to src (PR:5956, 2 commits, 8858 files changed)
    • Revert "Disable extra logging by default" (PR:5962, 1 commit, 1 file changed)
    • dvdplayer: allow skipping streaminfo only for mpegts streams (PR:5961, 1 commit, 1 file changed)
    • fix wrong values in version.txt after 15.0a1 bump (9b98b482)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Added: patch: Add *.dtb files to firmware
    • Added: patch: Add kernel 3.18 compatible cfg80211_rx_mgmt
    • Added: PR:5950: [videoinfoscanner] fix multipath scanning
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#23
(2014-12-17, 22:26)virtuallysafe Wrote: Will test the next build and report back, thanks for the very quick turnaround!

I can confirm:

Build 1216 - Adapter _not_ functioning
Build 1217 - Adapter functioning

Looks like the RTL8812AU driver patch works. Thanks again for the fix!
#24
Thanks for the confirmation, I'll send a pull request upstream.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#25
(2014-12-18, 01:13)Milhouse Wrote: New OpenELEC Helix build: #1217

Build Highlights:
  1. Updated dtb patch with latest base dtb's
  2. Re-enable RTL8812AU driver (*)
  3. Fix for multipath scanning

Upgraded to build: #1217 and streaming for several hours now (with no issues) @5GHz with D-Link DWA-171 WiFi adapter.
Wireless performance with new build/kernel/driver is almost as fast as Ethernet connection... Thanks Milhouse!
#26
New OpenELEC I****** build: #1218
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.18.0 #1 PREEMPT Fri Dec 19 00:09:57 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Dec 13 2014 15:32:57
Copyright (c) 2012 Broadcom
version ba46211b55252156d2f1e507a7aa71bd18ec0482 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141219000845-r19827-g6996f84 [Build #1218]

Based on tip of OpenELEC master (6996f848, changelog) and tip of XBMC master (6a91fe69, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.18.y
  • Excludes the OpenELEC kodi-001-helix_rpb_backports patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (9c1d3848)
  • Includes latest libcec master (9f000e43)
  • Includes latest xbmc-pvr-addons master (9f63d1bc)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes animated splash support (patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Exclude kodi-999.95-iMX6-powermanager.patch: Disables RBP virtual suspend
  • Include patch: Enable kernel device-tree support
  • Include patch: Add device tree kernel trailer
  • Include patch: Add *.dtb files to firmware
  • Include patch: Add kernel 3.18 compatible cfg80211_rx_mgmt
  • Include PR:393: [pvr.mythtv] Release v1.9.29: Critical fixes (kodi-pvr-addons)
  • Include PR:3657: [rfc] kodi crashlogs
  • Include PR:5573: webserver: improved caching control (see discussion)
  • Include PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Include PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Include PR:5894: [addons] display a more helpful message on python script error
  • Include PR:5941: media library: fix path history for items with a real path differing from the requested path
  • Include PR:5958: Fix state not saved after #5842 if playing from "Recently added".
  • Include PR:5959: sorting: cleanup and refactor to allow different sort orders for the different sort methods
Build Highlights:
  1. Fix multipath scanning
Build Details:
  1. XBMC:
    • [videoinfoscanner] fix multipath scanning (PR:5950, 1 commit, 1 file changed)
    • [keyboardlayout] Add Greek QWERTY (PR:5965, 1 commit, 1 file changed)
    • IMX: Fix changing resolutions (PR:5963, 2 commits, 3 files changed)
    • [imx6] Revert to software decoding for AVC profile 578 (PR:5964, 1 commit, 1 file changed)
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#27
Subscribing.
#28
New OpenELEC I****** build: #1219
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.18.0 #1 PREEMPT Fri Dec 19 21:37:24 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Dec 19 2014 18:40:20
Copyright (c) 2012 Broadcom
version 5abd572e2ed1811283443387af09377b95501c50 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20141219213612-r19833-g4eab0ad [Build #1219]

Based on tip of OpenELEC master (4eab0ad7, changelog) and tip of XBMC master (00f93cd4, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.18.y
  • Excludes the OpenELEC kodi-001-helix_rpb_backports patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (9c1d3848)
  • Includes latest libcec master (9f000e43)
  • Includes latest xbmc-pvr-addons master (89ba5bb6)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes animated splash support (patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Include patch: Enable kernel device-tree support
  • Include patch: Add device tree kernel trailer
  • Include patch: Add Linux 3.18 options
  • Include patch: Add Linux 3.18 compatible cfg80211_rx_mgmt
  • Include patch: Add *.dtb files to firmware
  • Include PR:3657: [rfc] kodi crashlogs
  • Include PR:5573: webserver: improved caching control (see discussion)
  • Include PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Include PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Include PR:5894: [addons] display a more helpful message on python script error
  • Include PR:5958: Fix state not saved after #5842 if playing from "Recently added".
  • Include PR:5959: sorting: cleanup and refactor to allow different sort orders for the different sort methods
Build Highlights:
  1. New firmware
  2. Updated dtb files patch with lirc-rpi overlay
Build Details:
  1. Firmware (Dec 19):
    • firmware: arm_loader: Fix negative voltage offsets through mailbox interface
    • firmware: gencmd: Show extra decimal digit on voltage reported
    • firmware: gencmd: Add gencmd to read boot RSTS (e.g. to check for watchdog reset)
    • firmware: gencmd: Add memory test gencmd
    • firmware: DT: Add config.txt device_tree_param mechanism. See: link
  2. OpenELEC:
    • kodi: move imx6 powermenu patch to project dir (17297460)
  3. XBMC:
    • [keyboardlayout] add Arabic layout. (PR:5970, 1 commit, 1 file changed)
    • DXVA: add HD4xxx to ati work-around, only capable of opening a single de... (PR:5972, 1 commit, 1 file changed)
    • [osx] - replace alias shortcut resolving with non-deprecated API (PR:5934, 4 commits, 4 files changed)
    • Make python PIL module working on droid (PR:5218, 3 commits, 5 files changed)
    • [android] [vfs] PosixFile: fix large file support on Android (PR:5924, 1 commit, 1 file changed)
    • media library: fix path history for items with a real path differing from the requested path (PR:5941, 1 commit, 1 file changed)
    • Fix resume on multi-episode files if no resume point is set. (PR:5635, 1 commit, 1 file changed)
    • [rebrand] Nuke some more XBMC links and references (PR:5905, 7 commits, 8 files changed)
    • [win32] Headerfiles/compiler settings cleanup (PR:5841, 3 commits, 5 files changed)
    • [win32] add nopvraddons and nobinaryaddons options to BuildSetup.bat (PR:5851, 2 commits, 1 file changed)
    • [skin] update re-touched (6d9a8ecd)
    • [addons] sync with repo (b64fbf12)
  4. kodi-pvr-addons:
    • [pvr.mythtv] Release v1.9.29: Critical fixes (PR:393, 1 commit, 4 files changed)
  5. kernel 3.18.y:
    • New commits in this build:
      • lirc-rpi: Add device tree support, and a suitable overlay (d9d191d6)
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
#29
If kodi is left at standby while showing a file listing it keeps continuously scrolling long file names from left to right, which is stressing the CPU a lot. Happened to me that the CPU temp reached almost 70°C without doing anything but just scrolling and scrolling...
Is there any way to disable scrolling at all, or even better: just keep it scrolling for let's say half a minute or overall xx times and than stop it?
This would save my Pi's lifetime a lot. ;-)
regards,
Thomas
#30
don't stay in the file list is by far the easiest solution
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 111

Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 112