Kodi Community Forum
OpenELEC Testbuilds for RaspberryPi Part 2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: OpenELEC Testbuilds for RaspberryPi Part 2 (/showthread.php?tid=184866)



RE: OpenELEC Testbuilds for RaspberryPi Part 2 - doveman2 - 2014-02-22

I haven't used tvheadend for about a month since getting a new TV with FreeviewHD as it's easier to use that but now I'm missing being able to record stuff, so I've tried to enable it again but it's not responding at all on port 9981 and I'm just getting spammed with connection lost errors.

Anyone else having problems or does my log show where the problem is? http://xbmclogs.com/show.php?id=136410


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-02-22

(2014-02-22, 19:15)MrNice Wrote:
(2014-02-22, 18:43)popcornmix Wrote: Can you try adding hdmi_drive=2 to config.txt.

Revoved config_hdmi_boost added hdmi_drive=2
Nothing better

So if you change resolution in settings/system/video to a working resolution (e.g. 1280x720) and then shutdown, does it restart in that resolution with working audio?


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - MrNice - 2014-02-22

When I change resolution 720 to 1050 or 1050 to 720 then I shutdown, it restarts in the last resolution (good) but without sound and without switching on the AVR (V3.2.4 does switch on)


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - janaha - 2014-02-22

dvdplayer outputs only static audio when
Code:
force_hdmi_open=1
is used

Latest build


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-02-22

(2014-02-22, 20:29)janaha Wrote: dvdplayer outputs only static audio when
Code:
force_hdmi_open=1
is used

Latest build

All the time or just when playing passthrough content?
force_hdmi_open=1 shouldn't be needed now (you can enable "keep alive" in settings/system/audio).


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - tfouto - 2014-02-23

I am having trouble with wi-fi connection dropping.

I leave my pi always on. I'm loosing wi-fi connection frequently. I am the only one?

Thanks


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - MrNice - 2014-02-23

(2014-02-22, 19:23)popcornmix Wrote: So if you change resolution in settings/system/video to a working resolution (e.g. 1280x720) and then shutdown, does it restart in that resolution with working audio?
When I change resolution 720 to 1050 or 1050 to 720 then I shutdown, it restarts in the last resolution (good) but without sound and without switching on the AVR (V3.2.4 does switch on)


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - craigbeat - 2014-02-23

I still can't use DVD player for live tv. Same issue that others seem to have (no picture). When selecting an HD channel, it seems to take a long time to buffer, and then I get sound and no picture. Sound on passthrough is static noise on TV, but correct on amp (hdmi to tv then optical to amp). Should be dolby digital, and passthrough works on OMXplayer. GPU is set to 256:

# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=256
gpu_mem_512=256

# default recommended values are: arm_freq | core_freq | sdram_freq | over_voltage^M
# no overclocking : 700 | 250 | 400 | 0^M
# mode 'Modest' : 800 | 300 | 400 | 0^M
# mode 'Medium' : 900 | 333 | 450 | 2^M
# mode 'High' : 950 | 450 | 450 | 6^M
# mode 'Turbo' : 1000 | 500 | 500 | 6^M

disable_pvt=1

arm_freq=1075
core_freq=500
h264_freq=350
isp_freq=0
v3d_freq=350
sdram_freq=500
over_voltage_sdram=6
over_voltage=8
hdmi_force_hotplug=1
disable_overscan=1
hdmi_ignore_cec=1
temp_limit=80
avoid_pwm_pll=1

avoid_fix_ts=0


# set to 'force_turbo=1' to disable dynamic overclocking (you can lose your warranty!)
force_turbo=0

# initial_turbo=30^M

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=15700
# overscan_scale=1
# disable_overscan=1

# Adapt overscan values to your needs
# overscan_left=57
# overscan_right=59
# overscan_top=20
# overscan_bottom=20

decode_MPG2=0xMINE
decode_WVC1=0xMINE


Here is a log snippet:


11:29:06 134.550613 T:2879431760 NOTICE: waiting for teletext data thread to exit
11:29:06 134.581528 T:2879431760 NOTICE: CDVDPlayer::OnExit() deleting demuxer
11:29:06 134.588623 T:2879431760 NOTICE: CDVDPlayer::OnExit() deleting input stream
11:29:06 134.659866 T:3058029344 NOTICE: DVDPlayer: finished waiting
11:29:08 136.197449 T:3058029344 NOTICE: CDVDPlayer::CloseFile()
11:29:08 136.197693 T:3058029344 NOTICE: DVDPlayer: waiting for threads to exit
11:29:08 136.198212 T:3058029344 NOTICE: DVDPlayer: finished waiting
11:29:08 136.198761 T:3058029344 NOTICE: CDVDPlayer::CloseFile()
11:29:08 136.198929 T:3058029344 NOTICE: DVDPlayer: waiting for threads to exit
11:29:08 136.199417 T:3058029344 NOTICE: DVDPlayer: finished waiting
11:30:28 216.550537 T:3058029344 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/6.pvr
11:30:28 216.550964 T:3058029344 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:30:28 216.551849 T:2700932176 NOTICE: Thread DVDPlayer start, auto delete: false
11:30:28 216.552795 T:2700932176 NOTICE: Creating InputStream
11:30:28 216.622559 T:2700932176 NOTICE: Creating Demuxer
11:30:28 217.123276 T:2700932176 ERROR: Get - failed to get stream
11:30:29 217.124451 T:2700932176 WARNING: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
11:30:29 217.124725 T:2700932176 WARNING: CDVDMessageQueue(video):Tongueut MSGQ_NOT_INITIALIZED
11:30:29 217.157135 T:2700932176 NOTICE: Opening video stream: 0 source: 256
11:30:29 217.157806 T:2700932176 NOTICE: Creating video codec with codec id: 28
11:30:29 217.182648 T:2700932176 NOTICE: Creating video thread
11:30:29 217.186172 T:2879431760 NOTICE: Thread DVDPlayerVideo start, auto delete: false
11:30:29 217.186951 T:2700932176 NOTICE: Opening audio stream: 2 source: 256
11:30:29 217.187347 T:2700932176 NOTICE: Finding audio codec for: 86019
11:30:29 217.188354 T:2700932176 NOTICE: Creating audio thread
11:30:29 217.190323 T:2879431760 NOTICE: running thread: video_thread
11:30:29 217.194138 T:2726098000 NOTICE: Thread DVDPlayerAudio start, auto delete: false
11:30:29 217.194504 T:2726098000 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
11:30:29 217.195145 T:2700932176 NOTICE: Opening Subtitle stream: 4 source: 256
11:30:29 217.195557 T:2700932176 NOTICE: Opening teletext stream: 3 source: 256
11:30:29 217.195831 T:2700932176 NOTICE: Creating teletext data thread
11:30:29 217.199509 T:2941768784 NOTICE: Thread DVDTeletextData start, auto delete: false
11:30:29 217.199921 T:2941768784 NOTICE: running thread: CDVDTeletextData
11:30:29 217.336975 T:2787157072 NOTICE: Thread JobWorker start, auto delete: true
11:30:29 217.439240 T:2700932176 NOTICE: Opening video stream: 0 source: 256
11:30:29 217.439850 T:2700932176 NOTICE: Creating video codec with codec id: 28
11:30:30 218.375076 T:2700932176 NOTICE: Opening audio stream: 2 source: 256
11:30:30 218.375305 T:2700932176 NOTICE: Finding audio codec for: 86019
11:30:30 218.376801 T:2726098000 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
11:30:38 226.389526 T:2700932176 ERROR: Get - failed to get stream
11:30:45 233.160583 T:3058029344 NOTICE: CDVDPlayer::CloseFile()
11:30:45 233.160812 T:3058029344 NOTICE: DVDPlayer: waiting for threads to exit
11:30:45 233.241257 T:2700932176 NOTICE: CDVDPlayer::OnExit()
11:30:45 233.241455 T:2700932176 NOTICE: DVDPlayer: closing audio stream
11:30:45 233.241653 T:2700932176 NOTICE: Closing audio stream
11:30:45 233.241776 T:2700932176 NOTICE: Waiting for audio thread to exit
11:30:45 233.292099 T:2726098000 NOTICE: thread end: CDVDPlayerAudio::OnExit()
11:30:45 233.292618 T:2700932176 NOTICE: Closing audio device
11:30:45 233.358002 T:2700932176 NOTICE: Deleting audio codec
11:30:45 233.358276 T:2700932176 NOTICE: DVDPlayer: closing video stream
11:30:45 233.358414 T:2700932176 NOTICE: Closing video stream
11:30:45 233.358917 T:2879431760 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
11:30:45 233.359116 T:2879431760 NOTICE: thread end: video_thread
11:30:45 233.359756 T:2700932176 NOTICE: waiting for video thread to exit
11:30:45 233.360458 T:2700932176 NOTICE: deleting video codec
11:30:45 233.370590 T:2700932176 NOTICE: DVDPlayer: closing subtitle stream
11:30:45 233.370804 T:2700932176 NOTICE: Closing subtitle stream
11:30:45 233.371033 T:2700932176 NOTICE: DVDPlayer: closing teletext stream
11:30:45 233.371155 T:2700932176 NOTICE: Closing teletext stream
11:30:45 233.371460 T:2941768784 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
11:30:45 233.371643 T:2941768784 NOTICE: thread end: data_thread
11:30:45 233.371979 T:2700932176 NOTICE: waiting for teletext data thread to exit
11:30:45 233.380447 T:2700932176 NOTICE: CDVDPlayer::OnExit() deleting demuxer
11:30:45 233.381256 T:2700932176 NOTICE: CDVDPlayer::OnExit() deleting input stream
11:30:45 233.454300 T:3058029344 NOTICE: DVDPlayer: finished waiting
11:30:45 233.490112 T:3058029344 NOTICE: CDVDPlayer::CloseFile()
11:30:45 233.490387 T:3058029344 NOTICE: DVDPlayer: waiting for threads to exit
11:30:45 233.491028 T:3058029344 NOTICE: DVDPlayer: finished waiting
11:30:45 233.491653 T:3058029344 NOTICE: CDVDPlayer::CloseFile()
11:30:45 233.491821 T:3058029344 NOTICE: DVDPlayer: waiting for threads to exit
11:30:45 233.492264 T:3058029344 NOTICE: DVDPlayer: finished waiting


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - b1m1 - 2014-02-23

@popcornmix

Hi, Thanks for all the great work you are doing.

I was wondering if openelec raspberry pi could automatically select paplayer for the formats not supported by omx.

For the divx files I have, I can use the context "play with" option but for the casual user (family), they wouldn't even know what was going on when a video did not play.

Thanks.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-02-23

(2014-02-23, 14:42)b1m1 Wrote: Hi, Thanks for all the great work you are doing.

I was wondering if openelec raspberry pi could automatically select paplayer for the formats not supported by omx.

For the divx files I have, I can use the context "play with" option but for the casual user (family), they wouldn't even know what was going on when a video did not play.

Some info here - it's something I'd like to happen but involves a lot of restructuring, so won't happen soon:
http://forum.xbmc.org/showthread.php?tid=176043&pid=1632211#pid1632211


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - User 99401 - 2014-02-23

Hi there, trying to play mkv and have sound only but no video. Tried on both latest Gotham build and the previous one. Can someone help with attached logs?
Didn't change my setup since latest builds.
Thanks
http://xbmclogs.com/show.php?id=136999

http://xbmclogs.com/show.php?id=136997


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-23

New OpenELEC Gotham build: #0223
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.13.4 #1 PREEMPT Sun Feb 23 16:20:29 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Feb 21 2014 17:47:08
Copyright (c) 2012 Broadcom
version 67f299c3a92a793fb8b8efcaf94f7f553153f89a (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140223161924-r17793-gcbba32f

Based on tip of XBMC master (d4c0cd9, changelog) and tip of OpenELEC master (cbba32f, changelog) with the following modifications:
  • Includes newclock3 commits (except for 102417a which I've replaced with a static spinner)
  • Excludes the OpenELEC fernetmenta patches (due to conflict with newclock3)
  • Default setting for "Show RSS Feed" changed to disabled
  • "Total Duration" in Confluence is disabled (see build #0221 for details)
  • ALSA is enabled and any suitable hardware should be available in XBMC Audio Settings
Build Highlights:
  1. Firmware: Updated 21 Feb build:
    • Support for H264 profiles and levels
    • Several camera-related v4l2 fixes
    • kernel: alsa: alsa: Make alsa work queue high priority. Fixes underrun issues when using negative nice priority

Additional Testing Notes:
  1. Testers should try adding the following entry to their advancedsettings.xml:
    Code:
    <advancedsettings>
      <video>
        <defaultplayer>dvdplayer</defaultplayer>
        <defaultdvdplayer>dvdplayer</defaultdvdplayer>
      </video>
    </advancedsettings>
    and report if it is better/worse than omxplayer. You can still play files with omxplayer using the context-menu "Play using... OMXPlayer".

  2. The following settings are no longer required in config.txt and should be removed:
    Code:
    no_hdmi_resample=1
    hdmi_stream_channels=1
    no_resample_audio is now a default, and hdmi_stream_channels is switched based on audio content. For the time being when using passthrough, 2.0 speaker layout should continue to be used (you will still get 5.1 with AC3/DTS).

Experimental OpenELEC Gotham build with database optimisations: #0223xp

See this thread for details. Don't use if you don't understand the purpose of this build.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - YggdrasiI - 2014-02-23

Hello,

I would give some feedback about the new alsa support. Sorry for my english. Results was made with both versions
OpenELEC (Milhouse) Version: devel-20140221233032-r17780-ge46e3ad and
OpenELEC (Milhouse) Version: devel-20140202053003-r17587-g0c71539


aplay -l returns
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Output of amixer:
Code:
amixer -c 0 scontents
Simple mixer control 'PCM',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback -10239 - 400
  Mono: Playback 400 [100%] [4.00dB] [on]


amixer -c 1 scontents
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 151
  Mono:
  Front Left: Playback 150 [99%] [-0.25dB] [on]
  Front Right: Playback 150 [99%] [-0.25dB] [on]
Simple mixer control 'Mic',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 16
  Mono: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]


The second one is an cheap usb audio card ( 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk )

1 The Alsa support for the usb card works in 2 of 3 cases:
1.1 Via command line (i.e aplay --rate=16000 --channels=1 --format=S16_LE -Dplughw:1,0 ): works
1.2. Select Alsa card in XBMC menu and play files with dvdplayer: works
1.3. Select Alsa card in XBMC, but use omxplayer: doesn't works. (I assume the broadcom hw decoder output cant be route to the usb card)

2 The Alsa support for [bcm2835 ALSA] do not work. There is no error message, but all three above cases
leads to a mute output. Did I forget something, i. e. has to disable the "Non-Alsa sound module"?


Regards Yggdrasil


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - YggdrasiI - 2014-02-23

Appendix: If I select the usb audio card in XBMC, the device will be blocked
Code:
aplay: main:722: audio open error: Device or resource busy

My main question would be: Could I play a sound over command line during the normal usage of xbmc? I'm experimenting with speech synthesis. The approach in http://www.raspberrypi.org/forum/viewtopic.php?f=38&t=68693 has no dependencies and runs in Openelec.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - b1m1 - 2014-02-24

@popcornmix

(2014-02-23, 15:11)popcornmix Wrote:
(2014-02-23, 14:42)b1m1 Wrote: Hi, Thanks for all the great work you are doing.

I was wondering if openelec raspberry pi could automatically select paplayer for the formats not supported by omx.

For the divx files I have, I can use the context "play with" option but for the casual user (family), they wouldn't even know what was going on when a video did not play.

Some info here - it's something I'd like to happen but involves a lot of restructuring, so won't happen soon:
http://forum.xbmc.org/showthread.php?tid=176043&pid=1632211#pid1632211

HI Thank you,

I see it is more involved than I thought.

Is it possible that when the movie database adds a movie to the database that it identifies the codec and records it so that it knows which player to launch the movie with?

Edit: Sorry, I see this ground has already been covered.