New: RV730 agp xf86-video-ati with kms poor performance
Subsystems (3)
http://bugs.freedesktop.org/show_bug.cgi?id=26641
Summary: RV730 agp xf86-video-ati with kms poor performance
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
I use Radeon 4650 AGP (RV730). System: Archlinux. CPU: AMD Athlon(tm) 64 Processor 3000+
I use kernel 2.6.33 rc8 with ati kms support. I have compiled mesa and driver from git (exact compile options in attachments). I can get no more than 600fps in glxgears.
glxgears
2529 frames in 5.0 seconds = 505.756 FPS
2415 frames in 5.0 seconds = 482.971 FPS
2440 frames in 5.0 seconds = 487.853 FPS
1905 frames in 5.0 seconds = 380.890 FPS
1901 frames in 5.0 seconds = 380.119 FPS
1935 frames in 5.0 seconds = 386.888 FPS
1887 frames in 5.0 seconds = 377.399 FPS
1843 frames in 5.0 seconds = 368.464 FPS
^C
I must say, I didn't do anything when I ran glxgears. What is strange just after I startx, I get 550-600 fps. When I start a few apps (like, psi, firefox, a few urxvt terminals (nothing more is running in background except openbox and tint2) it looks like above. After some time, I have ~ 110fps (as when I'm writing this report now).
Tried also extreme tux racer. I can run it ( ~ 9fps), but it crashes after while (1024x768, rest of the options not touched).
Inside the attachment I've put all used pkgbuilds, kernel config, glxinfo, X log.
If you need any more info, please ask - I'll do my best to answer.
Regards
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #1 from Michał Ostrowski <[email protected]> 2010-02-18 15:50:19 PST --- Created an attachment (id=33405)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33405)
configs and logs
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
Martin PERES <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Martin PERES <[email protected]> 2010-02-18 16:44:18 PST --- Well, I have also been experiencing the same behaviour for at least one month.
I'm using an HD4470 -> rv740 with the latest radeon-testing branch.
Also, when dragging glxgears in a composited environnement, gears are slowing down to a few fps.
Tell me if you need more information.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #3 from Andy Furniss <[email protected]> 2010-02-18 17:25:32 PST --- (In reply to comment #0)
Quoted 1 line
I use kernel 2.6.33 rc8 with ati kms support.
I have a similar sounding problem on an AGP card since early Feb.
http://article.gmane.org/gmane.comp.video.dri.devel/42770
As I am running git drm-radeon-testing, to fix all I need to do is -
git revert db78e27de7e29a6db6be7caf607cf803d84094aa
I suppose you could try making a normal diff out of the revert below.
Revert "drm/ttm: Avoid conflicting reserve_memtype duringttm_tt_set_page_caching."
This reverts commit db78e27de7e29a6db6be7caf607cf803d84094aa.
drivers/gpu/drm/ttm/ttm_tt.c +7 -16
@@ -198,26 +198,17 @@ EXPORT_SYMBOL(ttm_tt_populate);static inline int ttm_tt_set_page_caching (struct page *p,enum ttm_caching_state c_state) { -int ret =0 ; -if (PageHighMem (p))return 0 ; -if (get_page_memtype (p) !=-1 ) { -/* p isn't in the default caching state, set it to -* writeback first to free its current memtype. */ - - ret =set_pages_wb (p,1 ); -if (ret) -return ret; +switch (c_state) { +case tt_cached: +return set_pages_wb (p,1 ); +case tt_wc: +return set_memory_wc ((unsigned long )page_address (p),1 ); +default : +return set_pages_uc (p,1 ); } - -if (c_state == tt_wc) - ret =set_memory_wc ((unsigned long )page_address (p),1 ); -else if (c_state == tt_uncached) - ret =set_pages_uc (p,1 ); - -return ret; }#else /* CONFIG_X86 */ static inline int ttm_tt_set_page_caching(struct page *p,
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #4 from Alex Deucher <[email protected]> 2010-02-18 17:30:43 PST --- This bug is a duplicate of this one:
http://bugzilla.kernel.org/show_bug.cgi?id=15328
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
Michał Ostrowski <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Michał Ostrowski <[email protected]> 2010-02-19 11:43:50 PST --- (In reply to comment #3)
Thanks, this seems to work. Now I have stable ~540 fps in glxgears,
However, overall 3d performance is still rather poor: ~10fps in scorched3d minimum settings 1024x768, same in extreme tux racer. Tried q2 demo too and it seems slightly better. Though I know some cases where ppl on r6xx or even r7xx cards achieve much better performance than me.
Could it be that if my card is AGP one instead of PCIE is the cause of such poor performance (this is what I suspect)? I hope something could be done with this.
Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #6 from Tobias Jakobi <[email protected]> 2010-02-19 14:40:54 PST --- Same card model as Martin here (and PCIe also) and also hitting this bug.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #7 from Tobias Jakobi <[email protected]> 2010-02-19 14:52:29 PST --- Already wrote that on kernel.org, but it looks like that my problem is not really related to the DRM since it also happens when KMS is disabled.
Probably some change in mesa or libdrm...
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #8 from Tobias Jakobi <[email protected]> 2010-02-19 16:13:09 PST --- I'm really at a loss here.
Just went back several weeks in git history with xf86-video-ati, libdrm and mesa and the problem still happens.
Furthermore I noticed that it's not only the 3D performance that collapsed. 2D is also affected. Playing a Youtube video was previously no problem at all, now the image is jerky and the system is fully loaded - most of the cycles are burned by X - something is really wrong here....
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] | |m
--- Comment #9 from Alex Deucher <[email protected]> 2010-03-09 11:38:22 PST --- *** Bug 26816 has been marked as a duplicate of this bug. ***
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #10 from Andy Furniss <[email protected]> 2010-03-15 05:23:09 PST --- (In reply to comment #9)
Quoted 2 lines
*** Bug 26816 has been marked as a duplicate of this bug. ***
I wasn't too sure about this when it was changed and running todays drt confirms for me, that they are not the same issue.
comment #4 has this as a dup of
http://bugzilla.kernel.org/show_bug.cgi?id=15328
which was a regression caused by a specific commit affecting 2D & 3D perf over time, which now seems to be fixed in current drt.
http://bugs.freedesktop.org/show_bug.cgi?id=26816
was not a regression and running todays drt has actually got worse (though possibly not same xserver) - I can't even play the vid I used in that bug using x11 now, mplayer shows 125% in vo.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #11 from Alex Deucher <[email protected]> 2010-03-15 09:58:05 PST --- Does xf86-video-ati from git master help? Specifically this commit:
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=488c9fd8300505cc6c0c2f8f0f00849f27cc5d63
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]http://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #12 from Andy Furniss <[email protected]> 2010-03-15 11:15:17 PST --- (In reply to comment #11)
Quoted 3 lines
Does xf86-video-ati from git master help? Specifically this commit:
http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=488c9fd8300505cc6c0c2f8f0f00849f27cc5d63
No that doesn't help this -vo x11 issue.
It does boost xv perf so that kms now beats ums, previously kms ate a bit more cpu, but nothing like as much as this x11 issue ie. not really measurable at SD res but about 18% more 1280x720@30fps.
I retested with the last drt kernel and the figures are still the same as posted in my bug - so it's a further drt regression not xserver.
Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #13 from Andy Furniss <[email protected]> 2010-04-07 17:06:14 PDT --- (In reply to comment #12)
This is fixed for me now that the ttm page allocator is in drm-radeon-testing.
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #14 from Andy Furniss <[email protected]> 2010-04-08 06:45:45 PDT --- (In reply to comment #13)
Quoted 3 lines
(In reply to comment #12)
This is fixed for me now that the ttm page allocator is in drm-radeon-testing.
The further commits to drt may have regressed this again - I can't be sure as I can't run todays head, but while bisecting for -
https://bugs.freedesktop.org/show_bug.cgi?id=27536
I noticed on the "goods" close to the problematic commit that x11 putimage perf had regressed.
Signature · 11 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26641
--- Comment #15 from Andy Furniss <[email protected]> 2010-04-20 04:32:09 PDT --- (In reply to comment #14)
Quoted 7 lines
The further commits to drt may have regressed this again - I can't be sure as I can't run todays head, but while bisecting for -
https://bugs.freedesktop.org/show_bug.cgi?id=27536
I noticed on the "goods" close to the problematic commit that x11 putimage perf had regressed.
That bug is fixed now and the perf with todays drt is OK, so as far as I am concerned this bug is fixed.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 26641] RV730 agp xf86-video-ati with kms poor performance
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=26641
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #16 from Andreas Boll <[email protected]> 2012-09-11 17:32:55 UTC --- (In reply to comment #15)
Quoted 5 lines
(In reply to comment #14)
Quoted 3 lines
The further commits to drt may have regressed this again - I can't be sure as I can't run todays head, but while bisecting for -
Quoted 7 lines
Quoted 4 lines
https://bugs.freedesktop.org/show_bug.cgi?id=27536
I noticed on the "goods" close to the problematic commit that x11 putimage perf had regressed.
That bug is fixed now and the perf with todays drt is OK, so as far as I am concerned this bug is fixed.
Closing.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.