Posts: 310
Joined: May 2004
Reputation:
0
The NoFlip option worked for me as well now. Strangely enough it did not work in previous attempts.
Posts: 476
Joined: Nov 2007
Any news on this issue? I still get at least 60% load on each core when idling in XBMC interface. Latest Catalyst 8.8 manual install, noflip set to 1. I can't play around with vsync too much, since I get tearing in video when I have it disabled. I have set the option in XBMC to "enable Vsync in video only" though.
boba
Posts: 59
Joined: Jun 2008
Reputation:
0
Just a thought, should this thread be split into 2. Nvidia and Ati?
Ok so if i set "GL_SYNC_TO_VBLANK=" to "0" then i get my processor flit about between 9% and 32% while idle (and depending on what screen im idling on).
It seems no matter what i do then with flipping or "sync to vertical blank" in the nvidia driver while this is set it will stay at this level. very little change when playing with "sync to vblank" in xbmc when this is set.
Navigating and video playback is terible in this config.
Set the "GL_SYNC_TO_VBLANK=" back to 1 and recompiled from svn (but from a testing frount did something bad, svn up (15639) before recompiling (idiot)) and now it is doing the same thing, flitting between 9% and 32% regardless of the option but with flipping on, and sync to vblank in nvidia driver and xbmc it looks good at the moment. I will have a play and see what is going on as before with flipping on it would rocket to 100%+, but would be much much smoother playing video. with vsync off it would tear all the time in both video and menu and with it on look ok but drop lots of frames resulting in poor playback in fast scenes and panning of camera.
Until i played with GL_SYNC.... I was able to reproduce the numbers each time.
I will build from scratch tomorrow and try this again. If there is specific test procedure you would like me to follow, let me know. I honestly will do almost anything to have a cool "quiet" system i can leave on all day so myth can "do its thang" and i can use the "greatest media center on earth" when ever i feel like it with out delays.
ASRock Ion 330 | 6TB Drobo | Pioneer PDP-4270XD (s/pdif) | Sony DAV-DZ810W | Logitech Harmony 885 (MCE remote emulation)| diNovo Mini
Posts: 4,997
Joined: May 2004
Reputation:
12
__GL_SYNC_TO_VBLANK is an env var. You can set it in the terminal at runtime "export __GL_SYNC_TO_VBLANK=1 xbmc" instead of wasting time recompiling.
Posts: 59
Joined: Jun 2008
Reputation:
0
Cool, thanks!
Ok so I have an almost working solution after an hour or so of fiddling with settings:
with __GL_SYNC_TO_VBLANK set to 0 then no matter what i set in xbmc or the nvidia-settings it always stays between 9% - 32% when idling at the home screen. Video tears also but curbed by using "vertical blank sync during video playback".
With __GL_SYNC_TO_VBLANK set to 1 and vsync enabled in nvidia-settings (both xv and opengl) and vblank sync disabled in XBMC on the home screen it fluctuates between 2% - 15%!!! but video tears which can be curbed by using "vertical blank sync during video playback". So very happy now!!
Negatives: (there had to be some didnt there!, sorry)
* Moving fast through menus such as movies starts fast then congests so not smooth anymore. Same in TV Shows.
* Idling in any screen other than the homes screen, such as movies or TV results in 25% - 35% cpu, even when the screen blanks.
But for now this is a massive improvement for me! hope this helps.
Oh and im using Team Razofish's Mediastream skin v0.91 if that helps replicate this etc.
ASRock Ion 330 | 6TB Drobo | Pioneer PDP-4270XD (s/pdif) | Sony DAV-DZ810W | Logitech Harmony 885 (MCE remote emulation)| diNovo Mini
Posts: 476
Joined: Nov 2007
@devs
can you give us a kinda status on the high cpu load problem? Just wanted to know if there is a real solution in the works that will fix both ati and nvidia users. I think you agree with us all, that a media center which idles at 80% cpu+ while just not being used is not really a good thing. No offense.
boba
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
boba23: Have you tried the new version? I don't think linux shows high cpu anymore when used in combination with noflip and the proper vsync setting.
If you are still seeing high cpu, then paste your xorg.conf's relevant settings as well as the vsync setting you are using. My suggestion is set Opengl Vsync in your driver configu (such as Nvidia Settings) and inside XBMC set the vsync option to "Let Driver Choose".
TS
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.