Skip to contentSkip to conversation

New: Garbled graphics after resume on an R100-based card

Bug 196563 [email protected] 1 participant 7 messages Aug 2, 2017

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 196563
           Summary: Garbled graphics after resume on an R100-based card
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.11.0-2-686-pae (Debian sid)
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

When I suspend and then resume my laptop with R100-based graphics, the display becomes garbled. A single scanline from the video memory is stretched over the entire height of the screen; this is usually the scanline containing the caret. Under X11, one can observe the mouse pointer sprite being corrupted as well. When switching VTs, flashes of the correct, 'intended' screen contents can be sometimes seen, but the screen instantly reverts to this single stretched scanline just described.

The issue can be readily worked around via the usual 'vbetool vbestate' hack; although even then the display contents can appear incorrect after resume, as if other programs' framebuffers were pasted onto the screen. Moreover, if the restore part doesn't run soon enough after resuming, the restored screen becomes glitched with randomly lit pixels. The glitching is more severe the more time passes between resuming and restoring VBE state; it is as if the video RAM wasn't being refreshed correctly until the VBE state is restored. Thus, best results are achieved by storing the VBE state on a tmpfs. But in any case, it's nothing a temporary VT switch can't fix.

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 196563] Garbled graphics after resume on an R100-based card

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

--- Comment #1 from felix ([email protected]) --- Created attachment 257789
--> https://bugzilla.kernel.org/attachment.cgi?id=257789&action=edit
lspci -v fragment

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 196563] Garbled graphics after resume on an R100-based card

In reply to [email protected]

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

--- Comment #2 from felix ([email protected]) --- Created attachment 257791
--> https://bugzilla.kernel.org/attachment.cgi?id=257791&action=edit
Output of 'radeontool regmatch *' before suspending

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 196563] Garbled graphics after resume on an R100-based card

In reply to [email protected]

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

--- Comment #3 from felix ([email protected]) --- Created attachment 257793
--> https://bugzilla.kernel.org/attachment.cgi?id=257793&action=edit
Output of 'radeontool regmatch *' rust after resuming

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 196563] Garbled graphics after resume on an R100-based card

In reply to [email protected]

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

felix ([email protected]) changed:

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

 Attachment #257793|Output of 'radeontool       |Output of 'radeontool
        description|regmatch *' rust after      |regmatch *' right after
                   |resuming                    |resuming
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 196563] Garbled graphics after resume on an R100-based card

In reply to [email protected]

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

--- Comment #4 from felix ([email protected]) --- Created attachment 257795
--> https://bugzilla.kernel.org/attachment.cgi?id=257795&action=edit
Output of 'radeontool regmatch *' after resuming and restoring VBE state

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 196563] Garbled graphics after resume on an R100-based card

In reply to [email protected]

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

felix ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |i386

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