* [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls
@ 2010-02-18 15:53 bugzilla-daemon
2010-02-18 15:54 ` [Bug 26631] " bugzilla-daemon
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 15:53 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
Summary: R600 AGP KMS + dynpm,dynclks = stalls
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: lists@andyfurniss.entadsl.com
I notice that if I boot KMS git with modeset=1 agpmode=8 dynpm=1 dynclks=1 that
I get stalls during games, and lots of corresponding messages as in attached
dmesg.
Doesn't happen if I don't use dynpm=1 dynclks=1.
Card is RV670 AGP, running git ddx,mesa,libdrm & drm-radeon-testing.
I don't usually boot with pm (it doesn't ever reduce clocks for me eg. in dpms)
so don't know if it ever worked.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
@ 2010-02-18 15:54 ` bugzilla-daemon
2010-02-18 20:02 ` bugzilla-daemon
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 15:54 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #1 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-02-18 07:54:53 PST ---
Created an attachment (id=33386)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33386)
dmesg
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
2010-02-18 15:54 ` [Bug 26631] " bugzilla-daemon
@ 2010-02-18 20:02 ` bugzilla-daemon
2010-02-18 21:02 ` bugzilla-daemon
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 20:02 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #2 from Tobias Jakobi <liquid.acid@gmx.net> 2010-02-18 12:02:47 PST ---
Confirming on my RV740 in quake3. q3 performance is good, but every other
second the whole rendering slows down for a bit to then accelerate again - very
annoying.
Deactivated all PM and it's gone.
Anyway, thanks to some change in the latest drm-radeon-testing any other game
than q3 runs REALLY slow - even the good old CS 1.5 through wine goes to a
crawl with around 4fps, compared to something around 60-80fps with older
snapshots of drm-radeon-testing.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
2010-02-18 15:54 ` [Bug 26631] " bugzilla-daemon
2010-02-18 20:02 ` bugzilla-daemon
@ 2010-02-18 21:02 ` bugzilla-daemon
2010-02-18 21:43 ` bugzilla-daemon
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 21:02 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #3 from Rafał Miłecki <zajec5@gmail.com> 2010-02-18 13:02:11 PST ---
Created an attachment (id=33399)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33399)
drm/radeon/kms/pm: do not take cp mutex
Does it help?
--
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
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (2 preceding siblings ...)
2010-02-18 21:02 ` bugzilla-daemon
@ 2010-02-18 21:43 ` bugzilla-daemon
2010-02-18 23:32 ` bugzilla-daemon
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 21:43 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #4 from Tobias Jakobi <liquid.acid@gmx.net> 2010-02-18 13:43:17 PST ---
This patch helps, but the stalls don't disappear completly.
You can try this yourself, I think ioquake3 + demodata or openarena should work
for this. It's like the gamespeed changes inbetween - very subtle but extremely
annoying.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (3 preceding siblings ...)
2010-02-18 21:43 ` bugzilla-daemon
@ 2010-02-18 23:32 ` bugzilla-daemon
2010-02-18 23:43 ` bugzilla-daemon
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 23:32 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #5 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-02-18 15:32:34 PST ---
(In reply to comment #3)
> Created an attachment (id=33399)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33399) [details]
> drm/radeon/kms/pm: do not take cp mutex
>
> Does it help?
>
Yes it fixes the stalls for me, I don't see any framerate variation either.
I am still getting the same output in dmesg.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (4 preceding siblings ...)
2010-02-18 23:32 ` bugzilla-daemon
@ 2010-02-18 23:43 ` bugzilla-daemon
2010-02-19 0:37 ` bugzilla-daemon
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-18 23:43 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #6 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-02-18 15:43:34 PST ---
(In reply to comment #2)
> Anyway, thanks to some change in the latest drm-radeon-testing any other game
> than q3 runs REALLY slow - even the good old CS 1.5 through wine goes to a
> crawl with around 4fps, compared to something around 60-80fps with older
> snapshots of drm-radeon-testing.
I also have a problem with drm-radeon-testing since the 6th, which I have
reported to the DRI list.
It only affects me using AGP gart and I haven't seen any one else report it -
so I guess it may not be what you are seeing, but just in case here's the
detail -
http://article.gmane.org/gmane.comp.video.dri.devel/42770
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (5 preceding siblings ...)
2010-02-18 23:43 ` bugzilla-daemon
@ 2010-02-19 0:37 ` bugzilla-daemon
2010-02-19 1:17 ` bugzilla-daemon
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-19 0:37 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #7 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-02-18 16:37:22 PST ---
(In reply to comment #5)
I don't see any framerate variation either.
Of course this may be explained by my clock never actually getting changed, if
it was changed every time I get a line in dmesg then it could be an issue.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (6 preceding siblings ...)
2010-02-19 0:37 ` bugzilla-daemon
@ 2010-02-19 1:17 ` bugzilla-daemon
2010-02-19 1:18 ` bugzilla-daemon
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-19 1:17 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #8 from Alex Deucher <agd5f@yahoo.com> 2010-02-18 17:17:37 PST ---
(In reply to comment #3)
> Created an attachment (id=33399)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33399) [details]
> drm/radeon/kms/pm: do not take cp mutex
>
> Does it help?
>
We need to take the CP lock to avoid scheduling commands when the CP is
running. We probably need a better algo for when to adjust clocks. Maybe some
sort of self adjusting timer where we only change the clock when the count of
submitted command buffers has been static for a certain amount of time.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (7 preceding siblings ...)
2010-02-19 1:17 ` bugzilla-daemon
@ 2010-02-19 1:18 ` bugzilla-daemon
2010-02-23 23:43 ` bugzilla-daemon
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-19 1:18 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #9 from Alex Deucher <agd5f@yahoo.com> 2010-02-18 17:18:32 PST ---
(In reply to comment #8)
> We need to take the CP lock to avoid scheduling commands when the CP is
> running.
We need to take the CP lock to avoid scheduling commands when we are changing
the clock.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (8 preceding siblings ...)
2010-02-19 1:18 ` bugzilla-daemon
@ 2010-02-23 23:43 ` bugzilla-daemon
2010-03-01 12:34 ` bugzilla-daemon
2010-03-15 14:12 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-02-23 23:43 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #10 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-02-23 15:43:52 PST ---
(In reply to comment #7)
> (In reply to comment #5)
> I don't see any framerate variation either.
>
> Of course this may be explained by my clock never actually getting changed, if
> it was changed every time I get a line in dmesg then it could be an issue.
>
Running todays drt my clock does now get changed.
When it changes I sometimes see visual disturbances - maybe lines, a brief
whole screen flash of white or lower part of screen flash black. I still see
not in vbl messages.
This happens with or without the patch, without the patch I still get long
glitches (1/4 or sometimes seems like more seconds)
I also notice that even just running gears the clock changes up/down
accompanied by visual disturbance every couple of seconds, which seems a bit
pointless, as do a lot of the in game changes.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (9 preceding siblings ...)
2010-02-23 23:43 ` bugzilla-daemon
@ 2010-03-01 12:34 ` bugzilla-daemon
2010-03-15 14:12 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-03-01 12:34 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
--- Comment #11 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-03-01 04:34:38 PST ---
(In reply to comment #10)
> I also notice that even just running gears the clock changes up/down
> accompanied by visual disturbance every couple of seconds, which seems a bit
> pointless, as do a lot of the in game changes.
Another thing I've noticed is that if I have two screens cloned then pm doesn't
do this. In fact the only time it seems to change clock is to reduce going into
DPMS and increase to full on coming back out, so I don't get pm during use
unless I turn off one of the screens with xrandr.
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug 26631] R600 AGP KMS + dynpm,dynclks = stalls
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
` (10 preceding siblings ...)
2010-03-01 12:34 ` bugzilla-daemon
@ 2010-03-15 14:12 ` bugzilla-daemon
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2010-03-15 14:12 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=26631
Andy Furniss <lists@andyfurniss.entadsl.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #12 from Andy Furniss <lists@andyfurniss.entadsl.com> 2010-03-15 07:12:32 PST ---
(In reply to comment #11)
> (In reply to comment #10)
>
> > I also notice that even just running gears the clock changes up/down
> > accompanied by visual disturbance every couple of seconds, which seems a bit
> > pointless, as do a lot of the in game changes.
>
> Another thing I've noticed is that if I have two screens cloned then pm doesn't
> do this. In fact the only time it seems to change clock is to reduce going into
> DPMS and increase to full on coming back out, so I don't get pm during use
> unless I turn off one of the screens with xrandr.
>
Although the above issues still occur with today's drt the stalls that this bug
refers to are now gone - so closing.
Missing vbls/disturbances still happen, but only about 1 time out of 5 now
(85Hz CRT)
--
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
--
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-03-15 14:12 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 15:53 [Bug 26631] New: R600 AGP KMS + dynpm,dynclks = stalls bugzilla-daemon
2010-02-18 15:54 ` [Bug 26631] " bugzilla-daemon
2010-02-18 20:02 ` bugzilla-daemon
2010-02-18 21:02 ` bugzilla-daemon
2010-02-18 21:43 ` bugzilla-daemon
2010-02-18 23:32 ` bugzilla-daemon
2010-02-18 23:43 ` bugzilla-daemon
2010-02-19 0:37 ` bugzilla-daemon
2010-02-19 1:17 ` bugzilla-daemon
2010-02-19 1:18 ` bugzilla-daemon
2010-02-23 23:43 ` bugzilla-daemon
2010-03-01 12:34 ` bugzilla-daemon
2010-03-15 14:12 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.