TOPIC: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823

[Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #1

Here's the xbmc.log file - http://paste2.org/p/1901247 and dmesg paste2.org/p/1901272

I've just updated to Openelec unofficial nvidia driver build R9823 and even though the CrystalHD is detected, and enabled within the playback settings, it is worthless trying to play 1080p files, they are simply unwatchable. Symptoms are audio stopping and starting, video taking ages to start then being hugely jerky and basically unwatchable.

Here's the information I get when trying to play a 1080p movie.



and the mediainfo of the file.
General
Complete name                    : V:\Movies 1\Avatar (2009)\Avatar (2009) - 1080p.mkv
Format                           : Matroska
File size                        : 21.0 GiB
Duration                         : 2h 41mn
Overall bit rate                 : 18.6 Mbps
Movie name                       : Avatar.2009.1080p.BluRay.DTS.x264-ESiR
Encoded date                     : UTC 2010-04-26 19:45:34
Writing application              : mkvmerge v2.9.7 ('Tenderness') built on Jul  1 2009 18:43:35
Writing library                  : libebml v0.7.7 + libmatroska v0.8.1
Cover                            : Yes / Yes

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 7 frames
Muxing mode                      : Container profile=Unknown@4.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 2h 41mn
Bit rate                         : 16.7 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.336
Stream size                      : 18.9 GiB (90%)
Language                         : English

Audio
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Codec ID                         : A_DTS
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 1 510 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 24 bits
Stream size                      : 1.71 GiB (8%)
Language                         : English

Hope someone here can shed some light on the issue.

Thanks in advance.
Last Edit: 1 year 3 months ago by Tyler Durden.
The administrator has disabled public write access.

Re: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #2

I notice that line 1048 of the log reads Failed to open Broadcom Crystal HD Codec.

I imagine this is key, but I don't know why this is happening.
The administrator has disabled public write access.

Re: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #3

  • chewitt
  • chewitt's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2701
  • Thank you received: 418
  • Karma: 130
There's a lot of this in the logs:
20:23:07 T:2924419904 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:23:07 T:2924419904   ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
This normally indicates throughput on the network connection is unable to keep-up with playback, which is what I'd expect with the internal 10/100 card and a 21GB blu-ray rip. If you want to stream over the LAN you need to shop for a USB Gigabit NIC. Getting one is a little 'russian roulette' as they are never advertised with Linux support or chipset information, but all the ones I tried so-far use the same ASIX chipset which OE supports.

If you copy the file to the ATV's local drive it will probably play okay.
The administrator has disabled public write access.

Re: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #4

Okay, I will try playing locally, but for the record I get the same issue with any 1080p file. Even those at around 8gb. However 100mbps is enough to transfer 7.5 GB in 10-15 Mins, so in theory a 10/100 card should be plenty big enough for even full 50gb Blu Ray images.

Does it look like the CrystalHD chip is being utilised?
Last Edit: 1 year 3 months ago by Tyler Durden.
The administrator has disabled public write access.

Re: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #5

Here is the xbmc.log file including trying (and failing) to play that file from the local hard drive.

paste2.org/p/1901776
Last Edit: 1 year 3 months ago by Tyler Durden.
The administrator has disabled public write access.

Re: [Apple TV] Terrible HD playback with BCM970015 - Dev Build 9823 1 year 3 months ago #6

  • chewitt
  • chewitt's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2701
  • Thank you received: 418
  • Karma: 130
I'm running the same build with the same kind of chd board so I know the image isn't bad, and (as a random but irrelevant coincidence) I was playing a similar sized 1080p Avatar rip on my box before work this morning.

Does Settings > Video > Playback in XBMC show an option for Crystal HD hardware acceleration? and if yes, is it selected? Have you messed with any shader options? (leave tehm set to auto). Do you have any kind of custom xorg.conf? If you check 'top' from the shell when something is playing what CPU utilisation % do you see on the xbmc process?

dmesg from your original post (which I only just noticed) shows the chd kernel module and fw being loaded, all looks normal. It also shows xbmc.bin crashing which isn't normal, but there could be a myriad of reasons why it happened.
The administrator has disabled public write access.

Our Sponsors & Partners

arctic_logo