• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 17
Near 100% CPU in fullscreen
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.
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.
Reply
tslayer Wrote: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.

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
Reply
surface.patch
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.
Reply
soder Wrote: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

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 computerSad
XBMC Live 9.11
Intel core duo 2,E7400 2.80GHz
P5N7A-VM
1 GB DDR2 667MHz
Reply
Musta78 Wrote: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 computerSad

"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
Reply
A google search will tell you how to apply a patch... Hint: there is a "patch" command Smile

Hint #2: patch -p0 < surface.patch
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.
Reply
tslayer Wrote:A google search will tell you how to apply a patch... Hint: there is a "patch" command Smile

Hint #2: patch -p0 < surface.patch

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
Reply
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.
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.
Reply
http://wiki.xbmc.org/?title=HOW-TO_compi...ource_code

Hey if *I* can do it....
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
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?
Reply
BLKMGK Wrote:http://wiki.xbmc.org/?title=HOW-TO_compi...ource_code

Hey if *I* can do it....

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.
Reply
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.
Reply
frumpy_uk Wrote: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.

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
Reply
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.

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.

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.
XBMC Live 9.11
Intel core duo 2,E7400 2.80GHz
P5N7A-VM
1 GB DDR2 667MHz
Reply
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"
    Identifier     "Default Layout"
    Screen      0  "aticonfig-Screen[0]" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "kbd"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option        "CorePointer"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]"
    HorizSync    30.0 - 70.0
    VertRefresh  50.0 - 120.0
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"

    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
    Option        "UseFastTLS" "1"
    Option        "VideoOverlay" "off"
    Option        "OpenGLOverlay" "off"
    Option        "TexturedVideo" "on"
    Option        "TexturedVideoSync" "on"
    Option        "EnableMonitor" "crt1,lvds,tv,tmds1,crt2,tmds2,cv,tmds2i"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]"
    Device     "aticonfig-Device[0]"
    Monitor    "aticonfig-Monitor[0]"
    DefaultDepth     24
    SubSection "Display"
        Modes    "1920x1080@60"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

Section "Extensions"
    Option        "DAMAGE" "Enable"
    Option        "Composite" "Enable"
    Option        "XVideo" "Enable"
    Option        "RENDER" "1"
EndSection
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 17

Logout Mark Read Team Forum Stats Members Help
Near 100% CPU in fullscreen1