Skip to contentSkip to conversation

New: Lock-up after screensaver on radeon

Bug 112921 [email protected] 1 participant 11 messages Feb 23, 2016 – Mar 9, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 112921
Summary: Lock-up after screensaver on radeon
Product: Drivers
Version: 2.5
Kernel Version: 4.4
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Since I updated my kernel to v4.4, my system freezes frequently when I wake it up from screen-off state (no suspend/resume involved, only screensaver kicking in and display going to sleep.)

With previous kernels (<= 4.3.6) the lock-up never happened, although I sometimes had garbled colors after screensaver, which could be solved easily by switching to text console then back to X. The same workaround doesn't work for the lock-up.

I'm running Gnome 3.16.0 on openSUSE Leap 42.1. The hardware is:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]

I am able to unlock X by restarting gnome-shell (with "killall -3 gnome-shell" from a text console.)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 112921] Lock-up after screensaver on radeon

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

Jean Delvare <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Regression|No |Yes

--- Comment #1 from Jean Delvare <[email protected]> ---
I compared the boot messages from kernels v4.3.5 and v4.4.2. The only difference is the following error in v4.3.5 which is no longer present in v4.4.2:

[drm:btc_dpm_set_power_state [radeon]] *ERROR* rv770_set_sw_state failed

I have no idea if this is related.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

--- Comment #2 from Jean Delvare <[email protected]> --- Created attachment 204371
--> https://bugzilla.kernel.org/attachment.cgi?id=204371&action=edit
dmesg output

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

--- Comment #3 from Jean Delvare <[email protected]> --- Created attachment 204381
--> https://bugzilla.kernel.org/attachment.cgi?id=204381&action=edit
Xorg.0.log

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

--- Comment #4 from Alex Deucher <[email protected]> --- This looks like the vblank regression bug. See this thread for more info:
https://lists.freedesktop.org/archives/dri-devel/2016-January/098823.html
and the fdo bug:
https://bugs.freedesktop.org/show_bug.cgi?id=93746

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

Jean Delvare <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #5 from Jean Delvare <[email protected]> --- Thanks for the pointer Alex, I'll test Mario's patch right now.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

Jean Delvare <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED

--- Comment #6 from Jean Delvare <[email protected]> --- Unfortunately, Mario's patch does not fix my problem.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

--- Comment #7 from Michel Dänzer <[email protected]> ---
Which patch did you try? Mario actually came up with a number of separate fixes to address this regression. I think all of them should be in Linus' tree by now (for 4.5).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

Jean Delvare <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO

--- Comment #8 from Jean Delvare <[email protected]> ---
I used the patch attached in bugzilla comment
https://bugs.freedesktop.org/show_bug.cgi?id=93746#c18 on top of v4.4.3. This is the same patch that went upstream.

I'll test v4.4.4 next, as I see many radeon fixes went into this version.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 112921] Lock-up after screensaver on radeon

In reply to [email protected]

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

Jean Delvare <[email protected]> changed:

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

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #9 from Jean Delvare <[email protected]> ---
I've been running v4.4.4 for some time now and the lock-up never happened. So I guess it's fixed there, thanks.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 112921] [radeon] Lock-up after screensaver

In reply to [email protected]

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

Jean Delvare <[email protected]> changed:

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

            Summary|Lock-up after screensaver   |[radeon] Lock-up after
                   |on radeon                   |screensaver
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel