Near 100% CPU in fullscreen - 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: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Near 100% CPU in fullscreen (/showthread.php?tid=32159) |
- tslayer - 2008-10-09 Ya, no idea about ATI. We could never do anything with regards to vsync IIRC. You may want to see if the patch elupus is working on works at all: http://trac.xbmc.org/ticket/4382 Try that. - soder - 2008-10-09 tslayer Wrote:Ya, no idea about ATI. We could never do anything with regards to vsync IIRC. Which to use? vsync-workaround.patch (5.8 kB) - added by ovidiug@… 2 months ago. proposed patch vsync-workaround-2.patch (5.8 kB) - added by ovidiug@… 2 months ago. one more little bugfix, the trac diff is quite revealing vsync-workaround-manual.patch (5.5 kB) - added by ovyg 2 months ago. vsync-workaround-auto-hz.patch (6.7 kB) - added by ovyg 2 months ago. ah, forgot an #ifdef surface.patch (5.1 kB) - added by elupus 3 days ago. Some bug fixes found in previous patch, and made it always enabled when vsync is on. This should probably be controlled by some advancedsetting. Or vsync gui setting. /Söder - tslayer - 2008-10-09 surface.patch - Musta78 - 2008-10-09 soder Wrote:Which to use? I have the exact same setup as you. Would you mind explaining how (or where I can find) to apply the patch? Love the new look, but very frustrating when I'm not able to play music because the cpu runs wild and shuts down the computer - soder - 2008-10-09 Musta78 Wrote:I have the exact same setup as you. Would you mind explaining how (or where I can find) to apply the patch? "Where" can you find at top of the page. =) http://trac.xbmc.org/ticket/4382 "How" I cant answer. =) Maybe someone can tell us exactly how we shall install the patch. But I still wonder if this patch will fuck up something if will update xbmc later? And if I still have the same quality of the picture, or if I will have tearings instead of 100% when idle? /Söder - tslayer - 2008-10-09 A google search will tell you how to apply a patch... Hint: there is a "patch" command Hint #2: patch -p0 < surface.patch - soder - 2008-10-09 tslayer Wrote:A google search will tell you how to apply a patch... Hint: there is a "patch" command Can the patch be in which dir at all, or must the patch be in a spec. dir? htpc@htpc-desktop:/media/hdd2/videos$ patch -p0 < surface.patch patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. /Söder - tslayer - 2008-10-09 Hehe.. You need to apply it to svn. I suggest you don't try it. Seems like you don't know what to do. You need to know how to build XBMC from scratch. Sorry man. - BLKMGK - 2008-10-09 http://wiki.xbmc.org/?title=HOW-TO_compile_XBMC_for_Linux_from_source_code Hey if *I* can do it.... - d00chris - 2008-10-10 But how come XBMC fails to detect vsync on my machine (ATI graphics) even though I do have vsync enabled? You are more or less saying that this won't be fixed for ATI when Atlantis goes live? - frumpy_uk - 2008-10-10 BLKMGK Wrote:http://wiki.xbmc.org/?title=HOW-TO_compile_XBMC_for_Linux_from_source_code Thanks BLKMGK, I have the source code downloaded, I just didn't know how obtain / apply the patch. In trac I wasn't seeing a link to download the patch itself. I have now managed to apply the patch actually. The resolution to the garbage error when running the patch command is to make sure you're using the "Download in other formats .. Original format" link at the bottom of the surface.patch page. Anyone need more hekp with this can PM me. Patch works for me - frumpy_uk - 2008-10-10 I successfully used the surface.patch by elupus, and it seems to have done the job. With vsync set to Always enabled, CPU averages around 65% (instead of 100%). Videos play perfectly too. I'm using an ATI 9600 card. I'll be happy to provide more info if it helps. - soder - 2008-10-10 frumpy_uk Wrote:I successfully used the surface.patch by elupus, and it seems to have done the job. OK, so I have to build my own xbmc to use the patch. But, 65% idle is still high? Using 10% for a xvid, I still cant be OK with a 65 % cpu idle? /Söder - Musta78 - 2008-10-10 frumpy_uk Wrote:Thanks BLKMGK, I have the source code downloaded, I just didn't know how obtain / apply the patch. In trac I wasn't seeing a link to download the patch itself. In wich step did you apply the patch? I've read through the faq BLKMGK was refering to. Also found ( at least I think how to apply the patch ) http://www.cpqlinux.com/patch.html. - yrumax - 2008-10-11 I am experiencing the same ~100% cpu idle issue as the other posters in this thread. I'm running beta 2 from the ppa with ati catalyst 8.9 drivers on Xubuntu 8.4. I too have the line "GL: Vertical Blank Syncing unsupported" in my log. Below is my xorg.conf: Code: Section "ServerLayout" |