Bug 17928 - Screen corruption on resume from suspend, Sony Vaio
Summary: Screen corruption on resume from suspend, Sony Vaio
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: All Linux (All)
: low major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL: https://bugs.launchpad.net/bugs/240455
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 09:50 UTC by Bryce Harrington
Modified: 2009-02-28 07:34 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bryce Harrington 2008-10-06 09:50:25 UTC
On resume from suspend on a Sony VaioPCG-V505DX , the screen briefly flashes a very corrupt image. The corruption is temporary, lasting only a couple of seconds or so, but it is a bad look nonetheless. Screen corruption is often accompanied by loud beeping (bug #235686), which is an unnecessarily jarring start to an X session.

Suspend to RAM otherwise works fine.

Screenshots:
http://launchpadlibrarian.net/15355186/resume_corruption_severe.JPG
http://launchpadlibrarian.net/15355257/resume_corruption_mild.JPG

lspci:
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M9+ 5C61 [Radeon Mobility 9200 (AGP)] [1002:5c61] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: Sony Corporation Unknown device [104d:816b]

Tail end of Xorg.0.log:
(II) AIGLX: Suspending AIGLX clients for VT switch
disable montype: 2
(II) RADEON(0): RADEONRestoreMemMapRegisters() : 
(II) RADEON(0):   MC_FB_LOCATION   : 0x1fff0000 0xdbffd800
(II) RADEON(0):   MC_AGP_LOCATION  : 0x27ff2000
finished PLL2
Entering Restore TV
Restore TV PLL
Restore TVHV
Restore TV Restarts
Restore Timing Tables
Restore TV standard
Leaving Restore TV
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
disable montype: 2
init memmap
init common
init crtc1
init pll1
restore memmap
(II) RADEON(0): RADEONRestoreMemMapRegisters() : 
(II) RADEON(0):   MC_FB_LOCATION   : 0xdbffd800 0x1fff0000
(II) RADEON(0):   MC_AGP_LOCATION  : 0xe07fe000
restore common
restore crtc1
restore pll1
restore LVDS
enable montype: 2
(II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.
(==) RADEON(0): Using AGP 4x
(II) RADEON(0): [agp] Mode 0x1f000207 [AGP 0x8086/0x3340; Card 0x1002/0x5c61]
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xdbffd800 is: 0xdbffd800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xe07fe000 is: 0xe07fe000
(II) RADEON(0): RADEONRestoreMemMapRegisters() : 
(II) RADEON(0):   MC_FB_LOCATION   : 0xdbffd800 0xdbffd800
(II) RADEON(0):   MC_AGP_LOCATION  : 0xe07fe000
enable montype: 2
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event6
(**) Option "Device" "/dev/input/event6"
(--) Synaptics Touchpad touchpad found
SetGrabKeysState - enabled
Comment 1 Bryce Harrington 2008-10-06 09:51:30 UTC
Forgot to mention, this is being forwarded upstream from a Ubuntu user:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/240455
Comment 2 Tormod Volden 2009-02-28 06:31:38 UTC
From Ubuntu bug report: Looks like AGPMode "2" fixes corruption on resume from suspend. Patch submitted to xorg-driver-ati ML.
Comment 3 Alex Deucher 2009-02-28 07:34:47 UTC
pushed, thanks

017bc7f34de2e40919f0e711205b78ee4e3643f6


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.