Skip to contentSkip to conversation

New: R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

Bug 69514 [email protected] 1 participant 15 messages Sep 18, 2013 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=69514

Priority: medium
Bug ID: 69514
Assignee: [email protected]
Summary: R770 (Radeon 4850) screen/buffer corruption when
waking up from sleep mode
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: XOrg CVS
Component: DRM/Radeon
Product: DRI

If I put my computer in sleep/hibernate (doesn't seem to matter which one) the screen gets corrupted with colors everywhere. It does update, and things jump around when I try to press buttons, bring out menus, etc. It's like the drawing buffer is all jumbled up and it's reading/writing from/to the wrong place.

When something is updated, it's like I can see the picture/pixmap/icon for a fraction of a second, but then it's corrupted again.
If I move the mouse continuously over a menu, to update the highlighting of it, I can see at least where I am on the screen. But the fonts are complete garbage, and it's unreadable. Perhaps I can photograph the screen if it's needed. I haven't tried taking a screenshot.

I'm using Gentoo, 3.11 gentoo-kernel, with Systemd and Gnome 3.8.

The TTY:s are not corrupted, so I'm able to switch to a TTY without problems.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #1 from Peter Asplund <[email protected]> --- I'm using a green background, and the whole corrupted screen is green. The screen looks like big green chunks that flickers when it's updated as I move the mouse.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #2 from Alex Deucher <[email protected]> ---
You mean when you wake up from suspend/hibernate so see the corruption? Please attach your xorg log and dmesg output.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #3 from Alex Deucher <[email protected]> --- Also is this a regression? If so, can you bisect?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #4 from Peter Asplund <[email protected]> --- Created attachment 86071
--> https://bugs.freedesktop.org/attachment.cgi?id=86071&action=edit
Xorg log including sleep and wakeup cycle, as well as shutting down afterwards.

Yes exactly, the corruption occurs when the computer wakes up from sleep/hibernation.

The behavior started at least two kernel versions ago, probably at 3.10. I _think_ it was working with 3.8, but I will check that soon, and get back to you.

Here's the Xorg.0.log.old from previous run. I was running for a while, and then put the computer in sleep mode, and then awoke it immediately. When the corruption has occurred, I shut it down normally.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #5 from Peter Asplund <[email protected]> --- Created attachment 86072
--> https://bugs.freedesktop.org/attachment.cgi?id=86072&action=edit
dmesg, including hibernate cycle

Here's my dmesg output from last boot, including hibernation. The hibernation does not seem to work for some reason, because the computer wakes up immediately, but the screen still gets corrupted.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #6 from Peter Asplund <[email protected]> --- The screen gets corrupted on kernel 3.8.5 (which is the oldest kernel I have lying around) as well. I'm typing this blindly.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #7 from Peter Asplund <[email protected]> --- I don't know if I can bisect... I need some help in that case.

Gentoo has recently added a dependency on Systemd as a part of Gnome 3.8, and I think recovering from sleep/hibernate was working before that. But I'm not completely sure. Without systemd, sleep/hibernate doesn't work at all, so I'm unable to revert and test without it.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #8 from Peter Asplund <[email protected]> --- Here's a link to a video showing the problem.
https://www.youtube.com/watch?v=t3RBRwMxrsk

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #9 from Alex Deucher <[email protected]> --- Make sure you kernel has this patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=022374c02e357ac82e98dd2689fb2efe05723d69

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #10 from Peter Asplund <[email protected]> --- Yes, the patch seems to be in 3.11.1, as well as 3.11.0. I'm currently running:

$ uname -a
Linux skare 3.11.1-gentoo #1 SMP PREEMPT Thu Sep 19 15:18:53 CEST 2013 x86_64
Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #11 from Peter Asplund <[email protected]> --- Is there any debugging information/logging I can turn on during boot, and test again for more information?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #12 from Alex Deucher <[email protected]> --- Ideally you could bisect.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

--- Comment #13 from Peter Asplund <[email protected]> ---
I haven't been able to disect anything yet, but I do have some updated information. I switched back my BIOS settings to Hibernate via S3 instead of S1 (which I was forced to switch to because of Windows 7 somehow disabling my hibernate possibility because of some "known issue with power management" or something like it) and now my glitches are gone! The hibernate and wake-up works perfectly. I have yet to try Sleep I think, but I think I tried and it doesn't work at all since my motherboard only supports _either_ S1 or S3. This is very strange though, since I'm fairly certain I've used both of them before.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw

[Bug 69514] R770 (Radeon 4850) screen/buffer corruption when waking up from sleep mode

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69514

Martin Peres <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #14 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/383.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel