* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2013-06-25 23:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 14:03 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-25 23:38 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 967 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
Roy <r.spliet-oe7qfRrRQfeEZXFvZSAUrfP6llvjuJOh@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Roy <r.spliet-oe7qfRrRQfeEZXFvZSAUrfP6llvjuJOh@public.gmane.org> ---
I'm sorry, but unfortunately reclocking is not implemented for this family of
cards (NV4x) in nouveau. None of the developers has such a board capable of
reclocking. I have marked this bug NEEDINFO because... well, we need a lot more
info about the internals of this card to be able to implement reclocking. Given
the amount of users actually still using NV49s (and the complete lack of
developer manpower on reclocking) it will probably end up being a
very-low-priority task though.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2210 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-06-25 23:38 ` [Bug 66176] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-06-26 14:03 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 15:37 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-26 14:03 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #2 from Mr-4 <mr.dash.four-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> ---
I am willing to give you a hand in the development and/or testing, if needed.
I know for a fact that re-clocking is possible on this card - I do that (quite
regularly) on Windows and if I remember correctly I've also done this
"manually" using the pathscale tools.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1248 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-06-25 23:38 ` [Bug 66176] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 14:03 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-06-26 15:37 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 23:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-26 15:37 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1281 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #3 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #2)
> I am willing to give you a hand in the development and/or testing, if needed.
Glad to hear, there are a few notes further down that you can start with
>
> I know for a fact that re-clocking is possible on this card - I do that
> (quite regularly) on Windows and if I remember correctly I've also done this
> "manually" using the pathscale tools.
Afaik Windows is another kettle of fish, although if it worked previously
that's a good starting point
On the other from you can work from the current state and nitpick until it
works
* The fanspeed set fails as the mode is not NOUVEAU_THERM_CTRL_MANUAL
Annoying but not crucial for the re-clocking to complete. Note I'm not entirely
sure where it should be set
* pclk->pll_calc seems to return 0, causing nv40_calc_pll() to throw ERANGE
* Some of the functions called within nouveau_mem_timing_calc() may need
tweaking depending on now well we generate the appropriate memory timings
Happy hacking :)
P.S.
Only one zero is required to change the perflvl - "0" rather than "0,0"
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2184 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2013-06-26 15:37 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-06-26 23:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-27 12:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-26 23:04 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1244 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #4 from Mr-4 <mr.dash.four-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> ---
(In reply to comment #3)
> * The fanspeed set fails as the mode is not NOUVEAU_THERM_CTRL_MANUAL
> Annoying but not crucial for the re-clocking to complete. Note I'm not
> entirely sure where it should be set
So, the logical solution to this particular problem would be for that mode to
be *forced* to MANUAL, regardless of its previous state (which I suspect is
NONE) and then try and set the fan speed.
> * pclk->pll_calc seems to return 0, causing nv40_calc_pll() to throw ERANGE
> * Some of the functions called within nouveau_mem_timing_calc() may need
> tweaking depending on now well we generate the appropriate memory timings
You've lost me! I am no expert in Nouveau development, although I am a
(willing) developer, so you need to explain the above a little bit.
> P.S.
> Only one zero is required to change the perflvl - "0" rather than "0,0"
Well, by looking at the code, the performance level consists of 2 parts - AC
(power) and DC (battery) separated by a comma (","), so I used "0,0" for the
sake of completeness.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2194 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2013-06-26 23:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-06-27 12:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-27 13:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-27 12:58 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1913 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #5 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #4)
...
> to be *forced* to MANUAL, regardless of its previous state (which I suspect
> is NONE) and then try and set the fan speed.
I would call it "set", rather than "forced"
In the second part you'll need a "reference point" - which can be one of
* The kernel and/or "...I've also done this "manually" using the pathscale
tools"
* Mmio dump of the blob reclocking the card
Initially I would recommend the former
>
> > * pclk->pll_calc seems to return 0, causing nv40_calc_pll() to throw ERANGE
Confirm if the function nv40_calc_pll() is the one throwing ERANGE. Then dwell
into the function, and analyse any differences with your "reff point". There
may be a typo/inverted logic, as this code moved around in nouveau quite a few
times
> > * Some of the functions called within nouveau_mem_timing_calc() may need
> > tweaking depending on now well we generate the appropriate memory timings
nouveau_mem_timing_calc()
* parses the memory timing table stored in vbios - nouveau_perf_timing()
* generates the appropriate values based on the card generation -
nv**_mem_timing_calc()
* and the memory type - nouveau_mem_*ddr*()
* On newer cards (iirc nvc0+) it maps the timings with memory frequency range.
On previous generations the timings are related to the performance level rather
than the memory frequency (range)
>
> > P.S.
> > Only one zero is required to change the perflvl - "0" rather than "0,0"
> Well, by looking at the code, the performance level consists of 2 parts - AC
> (power) and DC (battery) separated by a comma (","), so I used "0,0" for the
> sake of completeness.
You got me there, I have no recollection when AC/DC got introduced ^_^
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2978 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2013-06-27 12:58 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-06-27 13:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-21 6:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-09-21 19:01 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-06-27 13:04 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 811 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #6 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Although that seems too much as a start. Thus it would be nice to get the
non-memory engine(s) reclock first and then deal with memory/timings/etc
This can be done by forcing current code to ignore the memory clock stored in
vbios, i.e.
diff --git a/drm/nv40_pm.c b/drm/nv40_pm.c
index 3af5bcd..0be61db 100644
--- a/drm/nv40_pm.c
+++ b/drm/nv40_pm.c
@@ -191,7 +191,7 @@ nv40_pm_clocks_pre(struct drm_device *dev, struct
nouveau_pm_level *perflvl)
}
/* memory clock */
- if (!perflvl->memory) {
+ if (1) {
info->mpll_ctrl = 0x00000000;
goto out;
}
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1593 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply related [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (5 preceding siblings ...)
2013-06-27 13:04 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-08-21 6:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-09-21 19:01 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-08-21 6:10 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 428 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Note that a NV40 reclocking fix just went into the nouveau/linux-2.6 tree:
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=dde3164f85035787ce7c63b791ce3c565ff3e3ff
Can you re-test with this fix in place?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1298 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread* [Bug 66176] nouveau.perflvl kernel parameter doesn't work
[not found] ` <bug-66176-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (6 preceding siblings ...)
2013-08-21 6:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-09-21 19:01 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-09-21 19:01 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 597 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=66176
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
No response to re-test request in a month. Closing as invalid.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2003 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread