Moderator Control Panel ]

OpenELEC Beta 4.95.2 and more

Re: OpenELEC Beta 4.95.2

Postby PeterB » Mon Dec 08, 2014 7:05 pm

LSD Wrote:yes, I do have revision 2.3


Ah, mine are both rev 1.3, but one is slightly modified by TBS to add some rev 2 features.
PeterB
 
Posts: 52
Joined: Thu Apr 10, 2014 11:17 am

Re: OpenELEC Beta 4.95.2

Postby Hekser » Wed Dec 10, 2014 8:17 pm

I've found out what is wrong with the visualization.
spdif hw info:
Code: Select All Code
cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 2048
buffer_size: 8192

hdmi hw info:
Code: Select All Code
cat /proc/asound/card0/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 384
buffer_size: 8832

kodi audio init log:
Code: Select All Code
15:12:48 T:1948251200    INFO: CActiveAESink::OpenSink - initialize sink
15:12:48 T:1948251200   DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=imxhdmisoc,DEV=0,DEV=0
15:12:48 T:1948251200    INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=imxhdmisoc,DEV=0,DEV=0"
15:12:48 T:1948251200    INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=imxhdmisoc,DEV=0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
15:12:48 T:1948251200    INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
15:12:48 T:1948251200    INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
15:12:48 T:1948251200   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 384, bufferSize 8820
15:12:48 T:1948251200   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 384, bufferSize 8832
15:12:48 T:1948251200   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 201 ms
15:12:48 T:1948251200   DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
15:12:48 T:1948251200   DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
15:12:48 T:1948251200   DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none)
15:12:48 T:1948251200   DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
15:12:48 T:1948251200   DEBUG:   Output Device : Device not found
15:12:48 T:1948251200   DEBUG:   Sample Rate   : 44100
15:12:48 T:1948251200   DEBUG:   Sample Format : AE_FMT_S24NE4
15:12:48 T:1948251200   DEBUG:   Channel Count : 2
15:12:48 T:1948251200   DEBUG:   Channel Layout: FL,FR
15:12:48 T:1948251200   DEBUG:   Frames        : 384
15:12:48 T:1948251200   DEBUG:   Frame Samples : 768
15:12:48 T:1948251200   DEBUG:   Frame Size    : 8


I don't know why the period_size = 384. It is too small. For the normal working, visualizations need atleast 512 bytes. How can it be changed?
Hekser
 
Posts: 16
Joined: Tue Nov 11, 2014 8:33 am

Re: OpenELEC Beta 4.95.2

Postby PeterB » Thu Dec 11, 2014 2:55 am

My Sony TV, a KDL-55HX955, was working fine with OE 4.95.3. Then, yesterday, the TV received a firmware update over the Internet. Now, if I boot the Matrix with the TV powered on, or in standby, the TBS/OE splash screen appears but when Kodi starts, the screen goes blank and doesn't return. Kodi is definitely running - if I use the remote, I can hear the beeps in response to key presses.

If I boot the Matrix with the HDMI not connected and wait until Kodi is started, and then reconnect the HDMI, the display is fine.

I presume that this is an EDID problem, but it seems to be the opposite of the standard problem where the screen is blank if the TV is not connected/powered on at boot time.

Any suggestions of how to debug this problem, or fix it? Obviously, the standard advice using xrandr or examining xorg logs don't apply on the Matrix.
PeterB
 
Posts: 52
Joined: Thu Apr 10, 2014 11:17 am

Re: OpenELEC Beta 4.95.2

Postby Hekser » Thu Dec 11, 2014 4:14 am

PeterB Wrote:My Sony TV, a KDL-55HX955, was working fine with OE 4.95.3. Then, yesterday, the TV received a firmware update over the Internet. Now, if I boot the Matrix with the TV powered on, or in standby, the TBS/OE splash screen appears but when Kodi starts, the screen goes blank and doesn't return. Kodi is definitely running - if I use the remote, I can hear the beeps in response to key presses.

If I boot the Matrix with the HDMI not connected and wait until Kodi is started, and then reconnect the HDMI, the display is fine.

I presume that this is an EDID problem, but it seems to be the opposite of the standard problem where the screen is blank if the TV is not connected/powered on at boot time.

Any suggestions of how to debug this problem, or fix it? Obviously, the standard advice using xrandr or examining xorg logs don't apply on the Matrix.


Try to disable CEC in options. Paste here the kodi logs.
Hekser
 
Posts: 16
Joined: Tue Nov 11, 2014 8:33 am

Re: OpenELEC Beta 4.95.2

Postby PeterB » Thu Dec 11, 2014 8:08 am

Hekser Wrote:Try to disable CEC in options. Paste here the kodi logs.


Err ... but that would prevent me from controlling the player! Or are you suggesting that cec could be reenabled later in the boot sequence?

Log file attached.
Attachments
log-2014-12-11-00.05.29.zip
(93.63 KiB) Downloaded 406 times
PeterB
 
Posts: 52
Joined: Thu Apr 10, 2014 11:17 am

Re: OpenELEC Beta 4.95.2

Postby antonl1911 » Fri Dec 12, 2014 6:28 pm

PeterB
For me one of addons was giving the same symptoms. I've logged in via ssh, removed "ht..backdrops.." from /storage/.kodi/addons/ and did systemctl restart kodi. After that all was good.
antonl1911
 
Posts: 27
Joined: Thu May 15, 2014 5:54 pm

Re: OpenELEC Beta 4.95.2

Postby PeterB » Fri Dec 12, 2014 6:47 pm

antonl1911 Wrote:PeterB
For me one of addons was giving the same symptoms. I've logged in via ssh, removed "ht..backdrops.." from /storage/.kodi/addons/ and did systemctl restart kodi. After that all was good.


Brilliant! I renamed that addon and all is well again. How did you discover the culprit?

That addon appears to have been in the system since November 23, yet it only became troublesome after the TV firmware update on December 10. Also, it doesn't appear to affect my three other (older) Sony Bravia TVs.

Anyway, thank you very much!
PeterB
 
Posts: 52
Joined: Thu Apr 10, 2014 11:17 am

Re: OpenELEC Beta 4.95.2

Postby antonl1911 » Fri Dec 12, 2014 11:53 pm

I guess analyzing the logs helped me. I've gone from completely reinstalling the firmware to removing all the addons and found the right one to delete :D
antonl1911
 
Posts: 27
Joined: Thu May 15, 2014 5:54 pm

Re: OpenELEC Beta 4.95.2

Postby vpeter » Sat Dec 13, 2014 4:03 am

New image. Not exactly RC2 but close enough.
Most important change in Kodi is work done to support interlace media.

OpenELEC-imx6.arm-devel-20141212185955-r19776-g15f1597.tar
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: OpenELEC Beta 4.95.2

Postby Hekser » Sat Dec 13, 2014 5:17 am

Small patch to fix my problem with the Wave vizualiazation

Code: Select All Code
--- a/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp   2014-12-12 06:22:32.391714397 -0600
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkALSA.cpp   2014-12-12 06:22:44.919673990 -0600
@@ -40,7 +40,7 @@
 #endif
 
 
-#define AE_MIN_PERIODSIZE 256
+#define AE_MIN_PERIODSIZE 1024
 #define ALSA_CHMAP_KERNEL_BLACKLIST
 
 #define ALSA_OPTIONS (SND_PCM_NO_AUTO_FORMAT | SND_PCM_NO_AUTO_CHANNELS | SND_PCM_NO_AUTO_RESAMPLE)
Hekser
 
Posts: 16
Joined: Tue Nov 11, 2014 8:33 am

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 5 guests