View Full Version : IGP slowdown
Thanks to gnif for this patch (http://xbmc.org/trac/ticket/6761). Finally resolves the slowdown on many iGPUs.
No problems, was lots of fun tracking it down :)
Only took about 2 days and then 15 minutes of kicking myself for not noticing the obvious. :P
It was hardly obvious! It looked at first glance to be identical to the other CSurface calls. Anyway - pat yourself on the back and bask in your glory, looks like we may be getting 9.04.2 on linux.
Does this apply to windows as well?
Yes, good work gnif.. :)
I'd like to honor the XBMC devs, since I've seen a lot of effort on a few issues I personally feel is of great importance.
- The whole initiative of smooth playback. All media types, whether it be PAL/NTSC or Bluray. Correct playback ("adjust refresh rate"), and with it features to clock sound synchronization to video.
- I've also heard about up-coming projects focusing on the handling of Audio (new DSP layers - LCPM handling). This means HD-formats is to be introduced, very exciting.
These two projects are, at least to me, important cornerstones in a mediacenter solution.
I can't wait to see how XBMC will develop, exciting times ahead.. :)
Thank you all! :)
//M
Re Windows:
After glancing at the source I don't think so, windows did not have this issue, but you can compile it and find out :)
I'm not too familiar with the bug in the first place, but was it slowdowns in the gui, gui and playback or both?
/regards
henrikyo
2009-06-15, 12:46
never applied patches in windows, how do i do it, cant find the GraphicContext.cpp
is this patch going to be implemented in the svn? cause i see svn is still 20937 on the launchpad
never applied patches in windows, how do i do it, cant find the GraphicContext.cpp
is this patch going to be implemented in the svn? cause i see svn is still 20937 on the launchpad
it's in r21063
It was only a problem on Linux, as the line in question was contained in an #ifdef HAS_GLX
It was only a problem on Linux, as the line in question was contained in an #ifdef HAS_GLX
Ok
henrikyo
2009-06-15, 13:31
i mean how to apply in linux :/ miss spoke there a tiny bit. I dont know if i have to edit a file or what to do. I tried to to find the graphiccontext.cpp, but i couldnt, and therefor i was wondering when this will be implemented in the svn, since im not good at dealing with manual patching
i mean how to apply in linux :/ miss spoke there a tiny bit. I dont know if i have to edit a file or what to do. I tried to to find the graphiccontext.cpp, but i couldnt, and therefor i was wondering when this will be implemented in the svn, since im not good at dealing with manual patching
I already said that it is in SVN revision 21063. Update your source and then compile...
henrikyo
2009-06-15, 13:59
Well mate ive been in linux for the first time, and i have updated my xbmc from the ppa. in synaptic package manger. I have reloaded inside there, but its the same version as i have.
maybe i should explained that i dont know linux one bit, a shame, since 1080p movies at the time is lagging because i dont have the patch.
https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/README.ubuntu
i did found that, but its way to hardcore for my linux knowledge. I allways thoughted it woul bee on the ppa, but i guess not
it's not like the ppa updates instantly when a commit hits svn.. that would require magic
Well mate ive been in linux for the first time, and i have updated my xbmc from the ppa. in synaptic package manger. I have reloaded inside there, but its the same version as i have.
maybe i should explained that i dont know linux one bit, a shame, since 1080p movies at the time is lagging because i dont have the patch.
https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/README.ubuntu
i did found that, but its way to hardcore for my linux knowledge. I allways thoughted it woul bee on the ppa, but i guess not
Then you have to wait til the ppa is updated. As the .cpp file is part of the sourcecode, and you don't have the sourcecode obviously.
henrikyo
2009-06-15, 14:21
ok thank you :)
Hi henrikyo,
I'm a total linux-noob to, but finally managed to compile myself (with the help of haggy here in the board).
Where are you stuck?
Patrick
Hannes The Hun
2009-06-15, 23:09
Then you have to wait til the ppa is updated.
well, I'd say that a 9.04.2 will be coming. maybe quite soon :cool:
now that we have this performance problem ironed out, I think the next thing on the agenda should be to focus on the audio capabilities with the recent advances in alsa 1.0.20 and the nvidia developers. I smell some HD audio coming up in our future :shocked:
well, I'd say that a 9.04.2 will be coming. maybe quite soon :cool:
aren't we already have a 9.04.2? https://edge.launchpad.net/~team-xbmc-svn/+archive/ppa
now that we have this performance problem ironed out, I think the next thing on the agenda should be to focus on the audio capabilities with the recent advances in alsa 1.0.20 and the nvidia developers. I smell some HD audio coming up in our future :shocked:
I would love this as well as I have to recode the good TrueHD to 5.1, to get it working in XBMC.
Hannes The Hun
2009-06-15, 23:21
aren't we already have a 9.04.2? https://edge.launchpad.net/~team-xbmc-svn/+archive/ppa
that's not the final build :;): just an SVN snapshot of pre-9.04.2 that's still missing the performance patch
sparkyhall
2009-06-19, 00:11
Just like to add my thanks to gnif for fixing this one. I had concluded that my IGP (7050PV) was to weak and had to be run at 1280x720 to get correct refresh, now I have 1980x1080 in all it's glory.:cool:
Chris
Hannes The Hun
2009-06-19, 13:17
now that's interesting... your 7050 isn't supposed to support VDPAU ;)
sparkyhall
2009-06-19, 15:22
Didn't realise this had anything to do with VDPAU, I thought it was related to anti-aliasing?
I do get offered VDPAU in the menus in xbmc and every so often I give it a try just in case my 7050 has morphed into something better.:laugh:
Chris
had absolutely nothing to do with vdpau
Hannes The Hun
2009-06-19, 16:20
had absolutely nothing to do with vdpau
yes I know, but again, it's interesting that on his 7050 the VDPAU acceleration is working
sure, just answered the question
yes I know, but again, it's interesting that on his 7050 the VDPAU acceleration is working
It surely isn't :) However, FSAA is a huge performance loss on any GPU, especially those with a weak memory bandwith like the IGPs. That said, every damn box benefits from this.
Hannes The Hun
2009-06-19, 18:17
ah damn, I misunderstood sparky's post... after reading it for maybe the third time, I got it. one of the beers yesterday night must've been bad...
one of the beers yesterday night must've been bad...
It's *always* the last one...
thecheekymonkey
2009-07-03, 21:10
ok, so am i right in thinking that this fixes the `judder` problem the ion based boards have when playing HD back (when they pan a scene)?
and also is there no release availible with this included other than getting the saource and compiling it yourself?
cheers
althekiller
2009-07-03, 22:08
Probably not. Judder is an inherent artifact of 24p content. If your frame rate never goes above 30fps, then this will fix your problem.
Hannes The Hun
2009-07-03, 22:22
and also is there no release availible with this included other than getting the saource and compiling it yourself?
fixed since r21063
ok, so am i right in thinking that this fixes the `judder` problem the ion based boards have when playing HD back (when they pan a scene)?
Nearly all boards with IGP had the judder problem, also have the ION-based ones.
Mine (Zotac) is now completely judder-free!
and also is there no release availible with this included other than getting the saource and compiling it yourself?
cheers
No, you have to compile from svn or find a source with pre-compiled packages (I don't know any, as I'm compiling from SVN - it's easy, as I can manage it as a noob :-) )
thecheekymonkey
2009-07-09, 00:46
Nearly all boards with IGP had the judder problem, also have the ION-based ones.
Mine (Zotac) is now completely judder-free!
No, you have to compile from svn or find a source with pre-compiled packages (I don't know any, as I'm compiling from SVN - it's easy, as I can manage it as a noob :-) )
thanks for the posts
you could try
http://www.sshcs.com/xbmc/?mode=BL
seems a pretty good sight, think i will update tonight
thannks very much for the reply!!!!!!!!!!!!
p.s. i`ll report back :)
thecheekymonkey
2009-07-09, 04:52
ok well i followed a guide on here for updating a live install of xbmc live and my system is now unworkable, does anyone know of a location of a ready built newer svn iso disk of the live version?
cheers
ok well i followed a guide on here for updating a live install of xbmc live and my system is now unworkable, does anyone know of a location of a ready built newer svn iso disk of the live version?
cheers
Which guide was that? I want to do the same as well (update Live).
Edit: Without killing it of course.
Can someone help me intergrate this patch into the Live version of XBMC?
I just don't want to install a full Ubuntun version and then XBMC.
The fact that XBMC live boots so fast is the main reason to use it.
Also the fact that I do not have ANY experience with Linux is also a big reason
You would have to compile xbmc from svn sources (where this patch is already in btw). That's nothing i'd recommend to ANY newbie in Linux. Alternatively, use one of the SVN PPAs (read the stickies where to get'em and how to install).