dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above
@ 2013-10-15 20:04 bugzilla-daemon
  2013-10-15 22:57 ` [Bug 63101] " bugzilla-daemon
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-15 20:04 UTC (permalink / raw)
  To: dri-devel

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

            Bug ID: 63101
           Summary: Hard lockup whel launching games like TF2 on  kernels
                    3.11.5 and 3.12 rc4 and above
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.11.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: laszlo.kertesz@gmail.com
        Regression: No

Created attachment 111161
  --> https://bugzilla.kernel.org/attachment.cgi?id=111161&action=edit
dmesg of the locked up session

I begin to experience system lockups when launching Team Fortress 2 on an
A8-5500 (using its integrated 7560 Radeon video with the radeon driver) - it
began starting around kernel 3.12 rc4, (i build the kernel from mainline git).
I have a leftover package of 3.12 rc3+ and that works fine.

This also happens with the stable 3.11.5 kernel version.

Kernel 3.11.0 doesnt have this issue.

As i launch the game, the menus are shown fine, but as soon as i enter the
actual game, either it crashes outright and throws me back to the desktop or i
have the last screen frozen.
In any way, i can move the mouse but cannot interact with windows, the keyboard
listens only to the magic keys. From time to timethe system beeps.
Dmesg is filled with warning and BUG/Oops entries.

Begins with:

Oct 15 21:21:17 laca-desktop kernel: [  355.859798] radeon 0000:00:01.0: GPU
lockup CP stall for more than 10000msec
Oct 15 21:21:17 laca-desktop kernel: [  355.859807] radeon 0000:00:01.0: GPU
lockup (waiting for 0x0000000000001276 last fence id 0x0000000000001275)
Oct 15 21:21:17 laca-desktop kernel: [  355.866308] [TTM] Buffer eviction
failed

Then follow warnings like:

WARNING: CPU: 3 PID: 4041 at drivers/gpu/drm/drm_mm.c:257
drm_mm_remove_node+0x104/0x110 [drm]()

After that the BUGs:

Oct 15 21:21:20 laca-desktop kernel: [  358.208965] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000088

The system is unusable (i can move the mouse pointer in best case), i have to
reboot with the sysrq combinations.

All of the problematic kernels share the new cpufreq code i suppose, they all
work the same way - instead of powering the CPU between 0.9-1.34v as the
kernels before, now i have 0.65-1.22 volts, the CPU barely reaching its nominal
3.2 GHz speed, and never above (before it was up to ~3.5GHz and boosting was
working, now core boosting never works).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
@ 2013-10-15 22:57 ` bugzilla-daemon
  2013-10-16  6:32 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-15 22:57 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Can you bisect?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
  2013-10-15 22:57 ` [Bug 63101] " bugzilla-daemon
@ 2013-10-16  6:32 ` bugzilla-daemon
  2013-10-16  6:39 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-16  6:32 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Going back to commit 95167aad6761ec8a0fc76506ed00439483208ee1

- GPU lockup only, somewhat recoverable error, gpu locked in highest power
state.
lots of errors like 
[  523.602078] radeon 0000:00:01.0: ffff8800034ebc00 pin failed
And
[  546.612391] WARNING: CPU: 0 PID: 2891 at drivers/gpu/drm/drm_mm.c:257
ttm_bo_man_put_node+0x23/0x3d [ttm]()

No other errors, i can even launch other games (tried DoD). The CPU is severely
throttled (this is with 4 threads compile, the CPU is rated at 3.2 GHz):

# cpufreq-aperf -o
CPU    Average freq(KHz)    Time in C0    Time in Cx    C0 percentage
000    1536000            00 sec 996 ms    00 sec 003 ms    99
001    1536000            00 sec 984 ms    00 sec 015 ms    98
002    1536000            00 sec 970 ms    00 sec 029 ms    97
003    1536000            00 sec 985 ms    00 sec 014 ms    98

probably because of the GPU being in the highest state.
Attached dmesg. I continue bisecting.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
  2013-10-15 22:57 ` [Bug 63101] " bugzilla-daemon
  2013-10-16  6:32 ` bugzilla-daemon
@ 2013-10-16  6:39 ` bugzilla-daemon
  2013-10-16  6:41 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-16  6:39 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Created attachment 111221
  --> https://bugzilla.kernel.org/attachment.cgi?id=111221&action=edit
dmesg of 95167aad6761ec8a0fc76506ed00439483208ee1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-10-16  6:39 ` bugzilla-daemon
@ 2013-10-16  6:41 ` bugzilla-daemon
  2013-10-16  6:41 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-16  6:41 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
X crashed right after i posted the previous comment. Attached xorg log with the
crash.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-10-16  6:41 ` bugzilla-daemon
@ 2013-10-16  6:41 ` bugzilla-daemon
  2013-10-18  3:21 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-16  6:41 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Created attachment 111231
  --> https://bugzilla.kernel.org/attachment.cgi?id=111231&action=edit
x crashlog

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-10-16  6:41 ` bugzilla-daemon
@ 2013-10-18  3:21 ` bugzilla-daemon
  2013-10-18  5:54 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-18  3:21 UTC (permalink / raw)
  To: dri-devel

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

Christopher Meng <cickumqt@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cickumqt@gmail.com

--- Comment #6 from Christopher Meng <cickumqt@gmail.com> ---
3.12 RC4 made my system laggy but RC5 seems has fixed the problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-10-18  3:21 ` bugzilla-daemon
@ 2013-10-18  5:54 ` bugzilla-daemon
  2013-10-18 10:10 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-18  5:54 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
I run the latest git, updated until commit
83f11a9cf2578b104c0daf18fc9c7d33c3d6d53a and i still have this issue.

The problem was introduced somewhere between

a2ac07fe292ea41296049dfdbfeed203e2467ee7 (v3.12-rc3-71-ga2ac07f)
and
0bfdbf0e79ab20394c932f27f6d3a34b757035ef (v3.12-rc3-276-g0bfdbf0).
I ran in some issue when bisecting, i was thrown back to between rc1 and rc2
when checking out certain commits which were shown as rc3+ in the commit log.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (6 preceding siblings ...)
  2013-10-18  5:54 ` bugzilla-daemon
@ 2013-10-18 10:10 ` bugzilla-daemon
  2013-10-19  6:55 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-18 10:10 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Ok, i finished bisecting.
According to git, 6d15ee492809d38bd62237b6d0f6a81d4dd12d15
(v3.12-rc3-267-g6d15ee4) is the first bad commit.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (7 preceding siblings ...)
  2013-10-18 10:10 ` bugzilla-daemon
@ 2013-10-19  6:55 ` bugzilla-daemon
  2013-10-19 13:09 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-19  6:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Reverted 6d15ee492809d38bd62237b6d0f6a81d4dd12d15, bit didnt help, i still get
the lockup.

Build v3.12-rc3-265-gafe05d4 (until commit
afe05d41e2c25ca3e047f9c7e5341bda553a932f) is working.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (8 preceding siblings ...)
  2013-10-19  6:55 ` bugzilla-daemon
@ 2013-10-19 13:09 ` bugzilla-daemon
  2013-10-19 13:13 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-19 13:09 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
This issue has to do with the radeon driver, because if i dont append
radeon.dpm=1 to the kernel boot options, TF2 launches even with latest 3.12
rc5+ kernel (but it has dismal performance).

Also, the CPU voltage is correct without the dpm option - between 0.9-1.34v,
instead of 0.65-1.22 as it is with dpm.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (9 preceding siblings ...)
  2013-10-19 13:09 ` bugzilla-daemon
@ 2013-10-19 13:13 ` bugzilla-daemon
  2013-10-19 13:14 ` [Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used bugzilla-daemon
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-19 13:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Kertesz Laszlo from comment #10)
> This issue has to do with the radeon driver, because if i dont append
> radeon.dpm=1 to the kernel boot options, TF2 launches even with latest 3.12
> rc5+ kernel (but it has dismal performance).

If it was dpm specific you should have mentioned that.  Make sure your kernel
has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4076a65544e2de310cbf4eaadb13ee15bbfaaf4f

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (10 preceding siblings ...)
  2013-10-19 13:13 ` bugzilla-daemon
@ 2013-10-19 13:14 ` bugzilla-daemon
  2013-10-19 13:25 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-19 13:14 UTC (permalink / raw)
  To: dri-devel

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

Kertesz Laszlo <laszlo.kertesz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Hard lockup whel launching  |Hard lockup whel launching
                   |games like TF2 on  kernels  |games like TF2 on  kernels
                   |3.11.5 and 3.12 rc4 and     |3.11.5 and 3.12 rc4 and
                   |above                       |above if radeon.dpm=1 is
                   |                            |used

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (11 preceding siblings ...)
  2013-10-19 13:14 ` [Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used bugzilla-daemon
@ 2013-10-19 13:25 ` bugzilla-daemon
  2013-10-20  8:03 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-19 13:25 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
(In reply to Alex Deucher from comment #11)
> (In reply to Kertesz Laszlo from comment #10)
> > This issue has to do with the radeon driver, because if i dont append
> > radeon.dpm=1 to the kernel boot options, TF2 launches even with latest 3.12
> > rc5+ kernel (but it has dismal performance).
> 
> If it was dpm specific you should have mentioned that.  Make sure your
> kernel has this patch:
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
> ?id=4076a65544e2de310cbf4eaadb13ee15bbfaaf4f

Sorry about that. I have the dpm option there since it appeared, i totally
forgot about it - now i started the computer in single user mode which doesnt
have that option then i proceeded to runlevel 2. This way i saw this.

I have that patch, i have the linus kernel cloned from git (now at version
v3.12-rc5-123-g04919af). I even re cloned it recently.

Also please take a look at bug #62861 - it is related to the dpm code too.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (12 preceding siblings ...)
  2013-10-19 13:25 ` bugzilla-daemon
@ 2013-10-20  8:03 ` bugzilla-daemon
  2013-10-22 13:25 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-20  8:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #13 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
I reverted commit 4076a65544e2de310cbf4eaadb13ee15bbfaaf4f, but still crashes
with dpm.

Reverting this commit changed back the CPU voltage handling as it was before.

It seems that the CPU power management is best for APUs in its latest form - if
dpm is not used or with 4076a65544e2de310cbf4eaadb13ee15bbfaaf4f reverted and
dpm activated, the CPU is scaled with voltages between 0.9 and 1.34, using all
frequencies, but if all cores are used, after a while the CPU becomes throttled
and the effective frequencies go down to around ~3 GHz or even lower, in some
cases even ~ 2GHz or lower (temps go as high as 60C withut dpm and ~56C with
dpm).

With the new code we have ~0.65 - 1.22 volts, the frequencies are maxed out at
3.168GHz (rarely 3.2) coupled with a lower max temperature(max 51C, mostly 49),
but the frequencies are stable, i can compile a kernel with 4 threads and there
is absolutely no throttling. Only thing is missing its the highest voltage
level (1.34) which enables turbo mode.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (13 preceding siblings ...)
  2013-10-20  8:03 ` bugzilla-daemon
@ 2013-10-22 13:25 ` bugzilla-daemon
  2013-11-08 14:33 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-10-22 13:25 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #14 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
I did some more testing. Turns out that i can get into the game if i set the
texture quality to "low". But it still crashes afterwards at some point -
usually after ~20 or so minutes.

Sometimes io have tons of messages like this:

Oct 22 13:06:00 laca-desktop kernel: [  561.631586] [TTM] Buffer eviction
failed
Oct 22 13:06:00 laca-desktop kernel: [  561.631594] radeon 0000:00:01.0:
ffff88005c4e8400 pin failed
Oct 22 13:06:00 laca-desktop kernel: [  561.631596] [drm:radeon_crtc_page_flip]
*ERROR* failed to pin new rbo buffer before flip

or

Oct 22 13:06:00 laca-desktop kernel: [  561.743974] radeon 0000:00:01.0:
ffff88005c4e8400 pin failed
Oct 22 13:06:00 laca-desktop kernel: [  561.743977] [drm:radeon_crtc_page_flip]
*ERROR* failed to pin new rbo buffer before flip


With the latest git kernel after the crash gpu lockup message the computer is
still somewhat usable, the GPU is throttled to max and opengl apps fail with
"Bus Error" (both tf2 and glxgears report this error). Sometimes after a while
the computer freezes if left in this state.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (14 preceding siblings ...)
  2013-10-22 13:25 ` bugzilla-daemon
@ 2013-11-08 14:33 ` bugzilla-daemon
  2013-11-09 12:07 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-08 14:33 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #15 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Created attachment 113871
  --> https://bugzilla.kernel.org/attachment.cgi?id=113871&action=edit
dmesg, kernel next-20131108 until it froze

Tried the next-20131108 kernel.
Still crashes, but now the GPU softresets, sometimes even 5 or so times in a
row. If it resets multiple times, usually freezes the X server, only the mouse
is moving. Sometimes it resets 1 or 2 times first then the X server is usable
(it resets afterwards out of the blue too sometimes, but the X session isnt
affected).
But if i try to launch TF2 again, it locks the X server and sometimes freezes
the whole computer (logs dont show anything). Most times i was able to reboot
with the sysrq keys.

PS. Weird thing, i once was able to play TF2 with the 3.12 final kernel too.
Then it was perfectly playable, launched it a few times in a row and had no
issues whatsoever. I did nothing out of the ordinary, the session was running
for a day or 2 after which i launched it, previously i compiled stuff, tested
stuff in virtual machines, watched movies, browsed etc.
However after reboot i couldnt reproduce this. No software (mesa etc) was
changed, but after reboot, it crashed as before.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (15 preceding siblings ...)
  2013-11-08 14:33 ` bugzilla-daemon
@ 2013-11-09 12:07 ` bugzilla-daemon
  2013-11-09 20:57 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-09 12:07 UTC (permalink / raw)
  To: dri-devel

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

Kertesz Laszlo <laszlo.kertesz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|3.11.5                      |3.12.0
         Regression|No                          |Yes

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (16 preceding siblings ...)
  2013-11-09 12:07 ` bugzilla-daemon
@ 2013-11-09 20:57 ` bugzilla-daemon
  2013-11-11 18:38 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-09 20:57 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #16 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
It seems that it does work after a day or so uptime. I had 1 day and 6 or 8
hours uptime and i could play the game just fine. Previously i did use programs
that used quite some memory (eclipse, virtual machines, browsers).

Any ideas why this might be happening?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (17 preceding siblings ...)
  2013-11-09 20:57 ` bugzilla-daemon
@ 2013-11-11 18:38 ` bugzilla-daemon
  2013-11-12 19:00 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-11 18:38 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #17 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 114241
  --> https://bugzilla.kernel.org/attachment.cgi?id=114241&action=edit
disable various dpm features

You might try disabling trinity dpm features to see if you can narrow down
what's causing the stability problems.  Try the attached patch and see if it
helps, and if so, try enabling additional features to narrow down the problem.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (18 preceding siblings ...)
  2013-11-11 18:38 ` bugzilla-daemon
@ 2013-11-12 19:00 ` bugzilla-daemon
  2013-11-13  7:23 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-12 19:00 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #18 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Tested with 3.12.0-next-20131111, started the computer and launched Steam and
TF2 right away.

Activating enable_nbps_policy to enable_gfx_clock_gating worked well.

The enable_mg_clock_gating, enable_gfx_dynamic_mgpg, override_dynamic_mgpg
options
gave gpu lockups and softresets (same as the above attachment), mostly after i
entered the map, but sometimes after the reset the game was resumed and could
play without issues.
Combining them with uvd_dpm seems to be the killer factor though.

This is what seems to work well so far (uvd_dpm seems to not create problems if
the mgpg and mg options are disabled:

pi->enable_bapm = false;
    pi->enable_nbps_policy = true; /*mychange*/
    pi->enable_sclk_ds = true;
    pi->enable_gfx_power_gating = true;
    pi->enable_gfx_clock_gating = true;
    pi->enable_mg_clock_gating = false;
    pi->enable_gfx_dynamic_mgpg = false; /* ??? */
    pi->override_dynamic_mgpg = false;
    pi->enable_auto_thermal_throttling = true;
    pi->voltage_drop_in_dce = false; /* need to restructure dpm/modeset
interaction */
    pi->uvd_dpm = true; /* ??? */

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (19 preceding siblings ...)
  2013-11-12 19:00 ` bugzilla-daemon
@ 2013-11-13  7:23 ` bugzilla-daemon
  2013-11-14 15:24 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-13  7:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #19 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
Enabling any of enable_mg_clock_gating, enable_gfx_dynamic_mgpg,
override_dynamic_mgpg and uvd_dpm will cause the GPU softreset, TF2 to crash
and most times an unusable desktop, sometimes with garbled image (composed of
the real desktop tiles with some of the TF2 tiles. Exactly the behavior
described with the unmodified 3.12.0-next-20131111 kernel.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (20 preceding siblings ...)
  2013-11-13  7:23 ` bugzilla-daemon
@ 2013-11-14 15:24 ` bugzilla-daemon
  2013-11-14 16:26 ` bugzilla-daemon
  2013-11-14 16:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-14 15:24 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #20 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 114671
  --> https://bugzilla.kernel.org/attachment.cgi?id=114671&action=edit
adjust dpm features for stability

This patch should do the trick.  With this it sounds like dpm is finally stable
on your system.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (21 preceding siblings ...)
  2013-11-14 15:24 ` bugzilla-daemon
@ 2013-11-14 16:26 ` bugzilla-daemon
  2013-11-14 16:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-14 16:26 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #21 from Kertesz Laszlo <laszlo.kertesz@gmail.com> ---
The 

pi->uvd_dpm = true; /* ??? */

line above wasnt a typo. I was trying to say that 

- ANY of the enable_mg_clock_gating, enable_gfx_dynamic_mgpg,
override_dynamic_mgpg options enabled caused softresets which most of the time
were recovered IF uvd_dpm was false.
- But if ANY of the above 3 options was true AND uvd_dpm true, i got the worst
kind of behavior which most times rendereed the desktop unusable. 

- If the 3 options were false AND uvd_dpm true, it works.

I have the kernel (next-20131113) compiled with that exact piece of code i
pasted in my previous comment right now and everything works fine so far, all
games i tried, hardware decoding with xbmc and the webgl demos from
chromeexperiments (on Seamonkey and Firefox, Chrome seems to hate mesa/radeon).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Bug 63101] Hard lockup whel launching games like TF2 on  kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used
  2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
                   ` (22 preceding siblings ...)
  2013-11-14 16:26 ` bugzilla-daemon
@ 2013-11-14 16:45 ` bugzilla-daemon
  23 siblings, 0 replies; 25+ messages in thread
From: bugzilla-daemon @ 2013-11-14 16:45 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114671|0                           |1
        is obsolete|                            |

--- Comment #22 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 114681
  --> https://bugzilla.kernel.org/attachment.cgi?id=114681&action=edit
adjust dpm features for stability v2

Thanks for clarifying.  New patch attached.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-11-14 16:45 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 20:04 [Bug 63101] New: Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above bugzilla-daemon
2013-10-15 22:57 ` [Bug 63101] " bugzilla-daemon
2013-10-16  6:32 ` bugzilla-daemon
2013-10-16  6:39 ` bugzilla-daemon
2013-10-16  6:41 ` bugzilla-daemon
2013-10-16  6:41 ` bugzilla-daemon
2013-10-18  3:21 ` bugzilla-daemon
2013-10-18  5:54 ` bugzilla-daemon
2013-10-18 10:10 ` bugzilla-daemon
2013-10-19  6:55 ` bugzilla-daemon
2013-10-19 13:09 ` bugzilla-daemon
2013-10-19 13:13 ` bugzilla-daemon
2013-10-19 13:14 ` [Bug 63101] Hard lockup whel launching games like TF2 on kernels 3.11.5 and 3.12 rc4 and above if radeon.dpm=1 is used bugzilla-daemon
2013-10-19 13:25 ` bugzilla-daemon
2013-10-20  8:03 ` bugzilla-daemon
2013-10-22 13:25 ` bugzilla-daemon
2013-11-08 14:33 ` bugzilla-daemon
2013-11-09 12:07 ` bugzilla-daemon
2013-11-09 20:57 ` bugzilla-daemon
2013-11-11 18:38 ` bugzilla-daemon
2013-11-12 19:00 ` bugzilla-daemon
2013-11-13  7:23 ` bugzilla-daemon
2013-11-14 15:24 ` bugzilla-daemon
2013-11-14 16:26 ` bugzilla-daemon
2013-11-14 16:45 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).