[LINUX] Problems compiling crystalhd branch - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: [LINUX] Problems compiling crystalhd branch (/showthread.php?tid=62708) |
- TeknoJnky - 2009-12-11 I copied a bluray m2ts to the atv drive so it loads locally, and I still get 100% cpu and ~13fps. Some movies do play smoother than others tho. If this expected, I'm fine with it, but if it is not expected, then I've done something wrong, not done something right, or otherwise screwed something up. when I did svn up and compiled this last night, it was R25514, but I guess the log goes by the 'last changed' rev 25493 http://pastebin.com/m25b7695e I did notice the xbmc log has some pulse audio lines, I thought it was supposed to be using ALSA? - padukes - 2009-12-11 davilla Wrote:pastebin the output of dmesg and xbmc.log, you know the usual stuff Hey Davilla, The below pastebin has the xbmc.log and the kern.log from a recent attempt. I first tried to watch a video recorded on my HDHomerun (via MythTV) that video would play but pegged the CPU at 100% (I'm assuming that means it didn't use the Crystal HD). The second video was recorded via my HD-PVR. After hitting play it paused for a while and then flashed and displayed nothing. Both were played over a wired network via SMB. http://pastebin.com/m13509b34 Any help would be much appreciated! P - davilla - 2009-12-11 TeknoJnky Wrote:I copied a bluray m2ts to the atv drive so it loads locally, and I still get 100% cpu and ~13fps. Some movies do play smoother than others tho. pulseaudio, demon spawn that it is. make it die by "pulseaudio -k" before starting xbmc. To make it permanent 'sudo apt-get purge ".*pulse.*"', you will have to ./configure and make again. I'd like to see what top shows and also "o" will show stats, aq and vq are what I'm interested in. aq is audio demux queue, vq is video demux queue. If either drops to 0, that can starve the other and you get video glitches or low fps. After I finish this round of code work, the next round goes after feeding demux input (both audio and video). Bluray tends to be the most twichy with current demux consumer code. - TeknoJnky - 2009-12-11 killed pulse audio, also checked my xbmc audio setting were somehow set to pulseaudio, not sure how that happened, I haven't touch anything that I can remember even mentioning pulseaudio. aq ~10 to 50% kbs 628.22 vq ~ 99% dc mbs ~30-32 drop 8000+ pc none c(ad 0.000 a/v ~3.9 edl- dcpu ~4% acpu 3% vcpu ~75-80%) w(fps ~13 cpu0 100%) I couldn't quickly figure out to make a screenshot, the printscreen button wasnt working. http://pastebin.com/m4db74d0d Code: top - 20:07:40 up 33 min, 3 users, load average: 1.93, 1.34, 1.23 - davilla - 2009-12-11 TeknoJnky Wrote:killed pulse audio, also checked my xbmc audio setting were somehow set to pulseaudio, not sure how that happened, I haven't touch anything that I can remember even mentioning pulseaudio. 64.8%sys, something smells fishy. It's spending a lot of time in system calls. You do have composite disabled in xorg.conf ? Section "Extensions" Option "Composite" "Disable" EndSection - TeknoJnky - 2009-12-11 yea Code: Section "ServerLayout" I think this weekend I'm gonna nuke it all and start from a clean netboot install again since I'm getting more comfortable with it all. - davilla - 2009-12-11 From earlier in this thread: Quote:I'm also running nvidia 185.18.14 but analog out. Not sure if audio over hdmi works with this version. - TeknoJnky - 2009-12-11 hmm ok, I had done the cpufreq thing, but now when I look at the cpu speed in xbmc it didn't stick. didn't do the menu tho, didn't know where/how and forgot to look - davilla - 2009-12-11 TeknoJnky Wrote:hmm ok, I had done the cpufreq thing, but now when I look at the cpu speed in xbmc it didn't stick. if you reboot, you have to do the cpufreq again, it will not stick across a reboot. /boot/grub/menu.lst - TeknoJnky - 2009-12-11 ok last post for the night updated grub list, rebooted, set cpufreq, pulseaudio -k possibly slightly better, but still running ~14fps 100% cpu most of the time the aq and vq vary wildly, sometimes aq is running 99% while vq is running ~10%, at other points aq is bouncing ~10% and vq is ~90%. when the video bitrate is around 10mbs or less, it usually doing 24fps, but it starts hitting 30-35 mbs, its back to ~14 fps. But then there was also time when it was low bitrate (1-2mbs) and still floating ~14fps. off topic, I found a wierd behavior: when I play a video from the favorites menu, it always resumes even though I have resume set to off in the options. When I play from the library it loads from the beginning. gonna clear pulseaudio, svn up and recompile over night. thanks for your help and patience and sorry for the hassle http://pastebin.com/m418c2e27 Code: top - 01:35:30 up 38 min, 3 users, load average: 2.03, 2.22, 1.83 - TeknoJnky - 2009-12-11 r25537 can't seem to play the m2ts file at all now, but a dvd iso seemed to play ok when I tried (but isn't in below log). http://pastebin.com/m9872bf2 only change from previous was post was purging pulseaudio, svn up, clean make, bootstrap, configure, make, make install - davilla - 2009-12-11 TeknoJnky Wrote:r25537 can't seem to play the m2ts file at all now, but a dvd iso seemed to play ok when I tried (but isn't in below log). Opps, fixed in R25542, that was a test that should not have been commited. - davilla - 2009-12-11 @TeknoJnky, your xbmc.log indicates you are running version 169.12 as the nvidia driver. I'd like to see if 185.18.14 resolves the high CPU in sys (65.1%sy) that top is showing. - TeknoJnky - 2009-12-11 ok I'll check it out when I get home, thank you - davilla - 2009-12-11 Just a heads up. When Broadcom does push the Linux driver and lib source code public there will be some disruption in crystalhd branch as we merge in changes. Of note will be name changes to driver and library and the firmware location changes. So expect breakage until this settles. I'll give warning here. OSX kext and lib should pop out within a few days of them pushing public. |