XBMC on A7 (5s and mini retina) does not use HW acceleration

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TheTroll Offline
Member
Posts: 66
Joined: Jul 2009
Reputation: 0
Post: #61
For those would want PVR on their Ipad, I made a quick porting of Confluence's PVR View in Re-Touched:

http://forum.xbmc.org/showthread.php?tid=186781
find quote
CrashX Offline
Posting Freak
Posts: 1,164
Joined: Jan 2009
Reputation: 2
Post: #62
linusyang:

I was wondering if you could confirm if we have this fix in your build ( https://github.com/xbmc/xbmc/commit/dba5...2b3ff49d3f ) . Currently in your build, BT keyboard works except for arrow keys which this fixes.

Also I tried using TVHeadend PVR and I got "Failed to create add-on Tvheadend HTSP Client, status = 6" in the xbmc log.

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
(This post was last modified: 2014-02-20 09:45 by CrashX.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,158
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #63
The fix needs adaption when compiled for 64bit. @linuxyang - you need to find out the offsets on 64bit here:

https://github.com/xbmc/xbmc/commit/dba5...08c854R220

and those values need to be checked too:

https://github.com/xbmc/xbmc/commit/dba5...08c854R243

Since i had no 64bit compiled xbmc versions i couldn't test my shots in the dark. Just add printouts of the eventMem and you should be able to figure out the right offset and the correct values for the cursor keys.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
TheTroll Offline
Member
Posts: 66
Joined: Jul 2009
Reputation: 0
Post: #64
(2014-02-20 09:25)CrashX Wrote:  linusyang:

I was wondering if you could confirm if we have this fix in your build ( https://github.com/xbmc/xbmc/commit/dba5...2b3ff49d3f ) . Currently in your build, BT keyboard works except for arrow keys which this fixes.

Also I tried using TVHeadend PVR and I got "Failed to create add-on Tvheadend HTSP Client, status = 6" in the xbmc log.

Hi,
for the TVHeadEnd bug, read the previous posts ...
find quote
henrikyo Offline
Fan
Posts: 316
Joined: Jan 2009
Reputation: 0
Post: #65
Hi, i thought XBMC didnt work with ios 7.

I installed today on a ipad air, tested with some movies from ny nas, and it works fantastic. Tried 2 1080p mkv files with dts tracks, no lag, no problem.

But i thought it wasnt going to work

Picture: Samsung LE46A656
Reciever: Onkyo TX-SR607B
Front Spkeakers: Yamaha NS-555
Computer: Asrock Ion 330, 4gb ram, OCed 2.0Ghz.

My Ht(havnt updated pictures)
http://minhjemmekino.no/Henrikr
find quote
Platypus2 Offline
Donor
Posts: 212
Joined: Jul 2013
Reputation: 3
Post: #66
(2014-02-20 16:47)henrikyo Wrote:  Hi, i thought XBMC didnt work with ios 7.

I installed today on a ipad air, tested with some movies from ny nas, and it works fantastic. Tried 2 1080p mkv files with dts tracks, no lag, no problem.

But i thought it wasnt going to work

XBMC does work with ios 7, but it has caused issues. HDMI output, keyboard text background and Airplay not working right to name a few (the first 2 are fixed in nightlies though Smile ).

Hardware decoding doesn't work on A7 devices, as you can see from the start of this thread. If you check the logs you will see that your ipad air (provided it isn't using the 64 bit ios build from here) is software decoding the mkv file. It isn't very easy to spot outside of debugging/logs because the A7 chip is pretty good, but just by turning debugging on you would see that the CPU reading will be at 1xx%.
(This post was last modified: 2014-02-20 19:13 by Platypus2.)
find quote
TheTroll Offline
Member
Posts: 66
Joined: Jul 2009
Reputation: 0
Post: #67
Platypus2, HW decoding is actually working but only on Linus Yang tree
(This post was last modified: 2014-02-20 20:21 by TheTroll.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,158
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #68
@linusyang - the fix for bt keyboard cursor keys is here:

https://github.com/xbmc/xbmc/pull/4248

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
linusyang Offline
Member
Posts: 64
Joined: Jan 2012
Reputation: 3
Post: #69
@CrashX Thanks for your report. It seems the PVR issue still exists in my latest arm64 build. You could refer to @TheTroll's previous posts.

@Memphiz Well done! Thanks a lot for your patch. I'll merge into my arm64 tree and build a new version (now will be Take 4). Smile
find quote
CrashX Offline
Posting Freak
Posts: 1,164
Joined: Jan 2009
Reputation: 2
Post: #70
Any more builds ?

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
find quote
linusyang Offline
Member
Posts: 64
Joined: Jan 2012
Reputation: 3
Post: #71
(2014-02-25 15:46)CrashX Wrote:  Any more builds ?

Actually new build (with BT keyboard fix) has already been online for some days: https://github.com/linusyang/xbmc/releases I'm now just waiting for Gotham beta 1 for making a semi-stable build. Smile
find quote
Xryptic Offline
Junior Member
Posts: 1
Joined: Mar 2014
Reputation: 0
Post: #72
(2014-02-28 19:20)linusyang Wrote:  
(2014-02-25 15:46)CrashX Wrote:  Any more builds ?

Actually new build (with BT keyboard fix) has already been online for some days: https://github.com/linusyang/xbmc/releases I'm now just waiting for Gotham beta 1 for making a semi-stable build. Smile

Hi,

I tested build 5. I was playing a WEB-DL TV show episode in 1080p, but the picture was all messed up. I tried some other movie files and they seem fine. This is with Hardware acceleration on and using VTB. The screenshot of the video I see is in the url:

http://imgur.com/H3gbamM

I checked the log and if its any help they are below, nothing out of the ordinary?
Code:
23:56:20 T:4429004800  NOTICE: DVDPlayer: Opening: smb://xxx.xxx.xxx.xxx/video/some tv show.mkv
23:56:20 T:4429004800 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:56:20 T:4413865984  NOTICE: Thread DVDPlayer start, auto delete: false
23:56:20 T:4413865984  NOTICE: Creating InputStream
23:56:20 T:4413865984  NOTICE: Creating Demuxer
23:56:20 T:4413865984  NOTICE: Opening video stream: 1 source: 256
23:56:20 T:4413865984  NOTICE: Creating video codec with codec id: 28
23:56:20 T:4413865984  NOTICE: Open - using avcC atom of size(47), ref_frames(4)
23:56:20 T:4413865984  NOTICE: Creating video thread
23:56:20 T:4506877952  NOTICE: Thread DVDPlayerVideo start, auto delete: false
23:56:20 T:4506877952  NOTICE: running thread: video_thread
23:56:20 T:4413865984  NOTICE: Opening audio stream: 2 source: 256
23:56:20 T:4413865984  NOTICE: Finding audio codec for: 86019
23:56:20 T:4413865984  NOTICE: Creating audio thread
23:56:20 T:4507435008  NOTICE: Thread DVDPlayerAudio start, auto delete: false
23:56:20 T:4507435008  NOTICE: running thread: CDVDPlayerAudio::Process()
23:56:20 T:4413865984  NOTICE: Opening Subtitle stream: 0 source: 256
23:56:20 T:4507435008  NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
23:56:20 T:4506877952  NOTICE:  fps: 23.976024, pwidth: 1916, pheight: 1076, dwidth: 1916, dheight: 1076
23:56:20 T:4506877952  NOTICE: Display resolution DESKTOP : 2048x1536 (16)
23:56:20 T:4506877952 WARNING: CXBMCRenderManager::Configure - queue size too small (2, 1, 0)
23:56:20 T:4431298560  NOTICE: void CAAudioUnitSink::setCoreAudioPreferredSampleRate() requesting hw samplerate 48000.000000
23:56:21 T:4431298560  NOTICE: void CAAudioUnitSink::setCoreAudioBuffersize() setting buffer duration to 0.021333
23:56:21 T:4431298560  NOTICE: bool CAAudioUnitSink::setupAudio() setup audio format: [lpcm] Mixable Interleaved 2 Channel 16-bit Signed Integer LE (48000Hz)
23:56:21 T:4429004800  NOTICE: Using GL_TEXTURE_2D
23:56:21 T:4429004800  NOTICE: GL: Using CoreVideoRef RGBA render method
23:56:21 T:4429004800  NOTICE: GL: NPOT texture support detected
23:56:31 T:4462362624  NOTICE: Thread LanguageInvoker start, auto delete: false
23:56:31 T:4462362624  NOTICE: -->Python Interpreter Initialized<--
find quote
TheTroll Offline
Member
Posts: 66
Joined: Jul 2009
Reputation: 0
Post: #73
I had this error on a video as well...
find quote
unique904 Offline
Junior Member
Posts: 5
Joined: Dec 2012
Reputation: 0
Post: #74
So glad I came across this post with the link to the 64bit version , couldn't understand why videos worked on my iPad 2 but not my air

Thanks for the great work
find quote
xayide Offline
Senior Member
Posts: 138
Joined: May 2010
Reputation: 0
Post: #75
Thank you VERY much linusyoung!
find quote
Post Reply