Skip to contentSkip to conversation

GPU lockup when trying to use profile based frequency switching

Bug 37112 [email protected] 1 participant 11 messages Jun 10, 2011 – Dec 23, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

Rafael J. Wysocki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
          Component|Other                       |Video(DRI - non Intel)
         AssignedTo|power-management_other@kern |drivers_video-dri@kernel-bu
                   |el-bugs.osdl.org            |gs.osdl.org
            Product|Power Management            |Drivers
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

--- Comment #5 from Hrvoje Senjan <[email protected]> 2011-06-11 06:45:28 --- My first guess is , that kernel changes memory clock too low - with fglrx lowest memory clock is at 400MHz , but with radeon module/low frequency it changes it to 300MHz.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

Rafał Miłecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Rafał Miłecki <[email protected]> 2011-06-11 07:36:36 --- (In reply to comment #5)

Quoted 3 lines

My first guess is , that kernel changes memory clock too low - with fglrx lowest memory clock is at 400MHz , but with radeon module/low frequency it changes it to 300MHz.

Please, edit drivers/gpu/drm/radeon/radeon_pm.c, find:

Quoted 1 line

if (rdev->asic->set_memory_clock && (mclk != rdev->pm.current_mclk)) {

and make it

Quoted 1 line

if (0) {

Does it help?

Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

--- Comment #7 from Hrvoje Senjan <[email protected]> 2011-06-11 15:29:50 --- Yes it helps! :)
Using default profile:
default engine clock: 600000 kHz
current engine clock: 594000 kHz
default memory clock: 500000 kHz
current memory clock: 495000 kHz
voltage: 1100 mV
PCIE lanes: 16

using low:
default engine clock: 600000 kHz current engine clock: 109680 kHz default memory clock: 500000 kHz current memory clock: 495000 kHz
voltage: 900 mV
PCIE lanes: 16

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#6 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

--- Comment #9 from Hrvoje Senjan <[email protected]> 2012-06-05 06:33:47 --- (In reply to comment #6)

Quoted 11 lines

(In reply to comment #5)

Quoted 3 lines

My first guess is , that kernel changes memory clock too low - with fglrx lowest memory clock is at 400MHz , but with radeon module/low frequency it changes it to 300MHz.

Please, edit drivers/gpu/drm/radeon/radeon_pm.c, find:

Quoted 1 line

if (rdev->asic->set_memory_clock && (mclk != rdev->pm.current_mclk)) {

and make it

Quoted 1 line

if (0) {

Does it help?

@Rafał
Any progress on this bug?
It's a reall pain to recompile kerenels without powersaving :(

Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

--- Comment #10 from Hrvoje Senjan <[email protected]> 2012-08-27 23:19:31 --- Just tried 3.6 rc2.
No lockups/hangs! There can be a screen flickering (mostly visible while scrolling), but now dynpm works correctly:
cat /sys/kernel/debug/dri/0/radeon_pm_info
default engine clock: 600000 kHz
current engine clock: 297000 kHz
default memory clock: 500000 kHz
current memory clock: 396000 kHz
voltage: 900 mV
PCIE lanes: 16

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#9 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

Hrvoje Senjan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.35-2.6.39                 |2.35-3.9-rc2
           Severity|normal                      |high

--- Comment #12 from Hrvoje Senjan <[email protected]> 2013-03-15 12:33:54 --- Would really appreciate for some further info, the situation is the same with low and mid methods, it tries to change the memory clock too low. Thanks

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#11 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=37112

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #13 from Alex Deucher <[email protected]> ---
You should try the new dpm support in kernel 3.11 or newer. Boot with radeon.dpm=1 on the kernel command line in grub. I don't plan to put any more work into the old pm code.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.