Near 100% CPU in fullscreen

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slight Offline
Junior Member
Posts: 44
Joined: Mar 2008
Reputation: 0
Post: #31
Tried Warsow and it does use 100% CPU, but it does on my other box with a 6200 in it too.
find quote
topfs2 Offline
Team-XBMC Developer
Posts: 3,825
Joined: Dec 2007
Reputation: 8
Post: #32
tslayer Wrote:Topfs2, I thought it was vsync too, but I'm pretty sure I have it enabled as well. I also have an 8600GT.

FYI, it uses one core at 100%. Not both.

topfs2 Wrote:Sounds like vsync issue.

I have 8800gts and 5600fx, never 100% nor the issue slight is having Confused

But slight which programs have you tried that are more advanced and uses shaders?
Warsow, Nexquiz, Saurbraten or ET:QW?
The 3 first are free and should be available in repo and might prove if it's driver related? Still games tend too use up all cpu

Thx
I must excuse myself, I have the problem aswell Smile

I've too double checked and the applet tells me I have vsync on and such but I still believe it might be related somehow as video does bring the percentage down, anyone sure vsync work as intended on 8xxx series?

100% on one core applies seeing as XBMC only uses one thread for the rendering, and without vsync it prob. goes wild Smile might be applet that cannot do vsync well, anyone tried it with xorg.conf?

If you have problems please read this before posting

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.


[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
BLKMGK Offline
Member+
Posts: 1,634
Joined: Jul 2006
Reputation: 3
Location: USA Virginia
Post: #33
I appear to have 100% on both cores using an SVN from last night. This did NOT use to be a problem and in fact was fixed at one time Sad

Ubuntu 10.10, MCE USB receiver, ASROCK 330 (ION), DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoding Added DiNovo Mini KBRD w/track
find quote
MrDohnuts Offline
Junior Member
Posts: 21
Joined: May 2008
Reputation: 0
Location: Colchester, UK
Post: #34
Has anyone got any further with this issue?

I've tried all the suggested methods above, I'm certain that Vsync is enabled everywhere it can be.

Could someone with an 8600GT or similar that DOESN'T have the problem post there xorg.conf - I'd really like to compare.

Thanks
find quote
drewjacks0n Offline
Member
Posts: 62
Joined: May 2008
Reputation: 0
Post: #35
I am experiencing the same problem with a 8400GS card.

It only happens in fullscreen mode, I am using the build from 05/11/08 and the latest nvidia drivers - 169.12.

It is not a huge deal as videos work fine and use less cpu (on average) than XBMC does when idling.
find quote
slight Offline
Junior Member
Posts: 44
Joined: Mar 2008
Reputation: 0
Post: #36
I think I've finally worked out why this was happening, for me at least.

Basically the vsync option in XBMC wasn't working (haven't tried recent builds), and although I thought I had the nVidia driver syncing, it wasn't.

So I have a little 'script' to launch XBMC like so:

Code:
#!/bin/bash
export set __GL_SYNC_DISPLAY_DEVICE=DFP-0
export set __GL_SYNC_TO_VBLANK=1
export set XBMC_HOME="/home/tolan/bin/XBMC/BUILD/";
cd /home/tolan/bin/XBMC/BUILD/;
./XboxMediaCenter -fs -q &

You only need the "export set __GL_SYNC_DISPLAY_DEVICE=DFP-0" part if you're running multiple displays. Replace "DFP-0" with the X device that you actually watch on (I have a second little LCD panel on my media centre pc so I don't have to turn my projector on just to change music or whatever)
find quote
drewjacks0n Offline
Member
Posts: 62
Joined: May 2008
Reputation: 0
Post: #37
Now running XBMC with __GL_SYNC_TO_VBLANK=1.

One core is still at 100% CPU when xbmc is in fullscreenSad

NOW: AppleTV+CrystalHD PREVIOUS: HTPC and XBOX (both loudly running XBMC)
find quote
yellowman Offline
Senior Member
Posts: 145
Joined: May 2008
Reputation: 0
Post: #38
Hi,

One thing that worked for me, Open Nvidia x server settings, go to Open gl settings, uncheck the box called "Allow flipping"(or similar).

No idea what it means, or if it´s bad... But it could be worth a try.

Htpc 1: Intel E8400@3GHz : Gigabyte GA-G33M-DS2 G33 : Nvidia 9400GT : Antec Fusion V2 : MCE Remote : Windows 7 64bit : Dharma : Confluence : 1920x1080
Htpc 2: Zotac Zbox HD-ID11 : MCE Remote : Windows 7 64bit : Dharma : Confluence : 1920x108
find quote
zAo_OSX Offline
Junior Member
Posts: 47
Joined: Jan 2008
Reputation: 0
Post: #39
I don't have 100% CPU in Fullscreen, 'only' ~5%.

Machine:
AMD 3200+
Nvidia 6200 AGP
2GB

Ubuntu 8.04 Server
Xorg
XBMC from PPA Repro

I start Xorg (with nvidia module) and XBMC with a startscript. I did not use any WM or DM; maybe thats the problem?
find quote
drewjacks0n Offline
Member
Posts: 62
Joined: May 2008
Reputation: 0
Post: #40
yellowman Wrote:One thing that worked for me, Open Nvidia x server settings, go to Open gl settings, uncheck the box called "Allow flipping"(or similar).

This worked like a charm. I have edited my .nvidia-settings-rc file to read:
Code:
0/AllowFlipping=0

After some googling, it appears you can also add the following to your device section in your xorg.conf

Code:
Option "NoFlip" "1"

Thank You!

NOW: AppleTV+CrystalHD PREVIOUS: HTPC and XBOX (both loudly running XBMC)
find quote
Post Reply