Comment 28 for bug 1944991

Revision history for this message
Paul Dufresne (dufresnep) wrote : Re: Resume with glamor cause GPU lockup/screen corruption on Radeon 3100 Graphics" (ChipID = 0x9611)

It looks like suspend-resume works with glamor if I have the next two lines (I think, still unsure, that both are necessary):

Section "Device"
    #Identifier "Configured Video Device"
    #Driver "radeon"
    #Option "AccelMethod" "EXA"
    Identifier "Configured Video Device"
    Driver "radeon"
    #Option "AccelMethod" "glamor" #legacy "exa"
    #Option "DRI" "3" #legacy "2"
    #Option "TearFree" "on"
    #Option "ColorTiling" "on"
    Option "ColorTiling2D" "on"
    Option "ShadowPrimary" "on" #only possible with "glamor" AccelMethod
EndSection

The following dmesg log is successful:
[ 76.376583] Freezing user space processes ... (elapsed 0.002 seconds) done.
[ 76.378801] OOM killer disabled.
[ 76.378803] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 76.380005] printk: Suspending console(s) (use no_console_suspend to debug)
[ 76.402987] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 76.403159] sd 0:0:0:0: [sda] Stopping disk
[ 76.445147] serial 00:04: disabled
[ 76.445223] parport_pc 00:03: disabled
[ 76.847345] ACPI: Preparing to enter system sleep state S3
[ 76.848098] PM: Saving platform NVS memory
[ 76.848100] Disabling non-boot CPUs ...
[ 76.848717] IRQ 25: no longer affine to CPU1
[ 76.849735] smpboot: CPU 1 is now offline
[ 76.850726] IRQ 22: no longer affine to CPU2
[ 76.851750] smpboot: CPU 2 is now offline
[ 76.853525] ACPI: Low-level resume complete
[ 76.853608] PM: Restoring platform NVS memory
[ 76.853633] PCI-DMA: Resuming GART IOMMU
[ 76.853635] PCI-DMA: Restoring GART aperture settings
[ 76.853643] LVT offset 1 assigned for vector 0x400
[ 76.853661] LVT offset 1 assigned
[ 76.854003] Enabling non-boot CPUs ...
[ 76.854101] x86: Booting SMP configuration:
[ 76.854103] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 76.854551] microcode: CPU1: patch_level=0x01000095
[ 76.857615] CPU1 is up
[ 76.857672] smpboot: Booting Node 0 Processor 2 APIC 0x2
[ 76.858117] microcode: CPU2: patch_level=0x01000095
[ 76.861277] CPU2 is up
[ 76.863872] ACPI: Waking up from system sleep state S3
[ 76.864583] ahci 0000:00:11.0: set SATA to AHCI mode
[ 76.888031] parport_pc 00:03: activated
[ 76.889094] serial 00:04: activated
[ 76.890950] tg3 0000:3f:00.0 enp63s0: Link is down
[ 76.891910] sd 0:0:0:0: [sda] Starting disk
[ 76.893464] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
[ 76.893531] radeon 0000:01:05.0: WB enabled
[ 76.893537] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x00000000a0000c00
[ 76.893856] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[ 76.925648] [drm] ring test on 0 succeeded in 1 usecs
[ 76.925681] [drm] ib test on ring 0 succeeded in 0 usecs
[ 77.210929] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 77.210973] ata3: SATA link down (SStatus 0 SControl 300)
[ 77.211016] ata4: SATA link down (SStatus 0 SControl 300)
[ 77.219093] ata2.00: configured for UDMA/100
[ 77.737610] tpm tpm0: TPM is disabled/deactivated (0x7)
[ 77.741747] OOM killer enabled.
[ 77.741750] Restarting tasks ... done.
[ 77.759486] PM: suspend exit
[ 79.981259] tg3 0000:3f:00.0 enp63s0: Link is up at 1000 Mbps, full duplex
[ 79.981286] tg3 0000:3f:00.0 enp63s0: Flow control is on for TX and on for RX
[ 80.896609] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 80.898040] ata1.00: configured for UDMA/100
[ 83.754767] tg3 0000:3f:00.0 enp63s0: Link is up at 1000 Mbps, full duplex
[ 83.754798] tg3 0000:3f:00.0 enp63s0: Flow control is on for TX and on for RX
[ 83.754829] IPv6: ADDRCONF(NETDEV_CHANGE): enp63s0: link becomes ready
client@client-HP-Compaq-dc5850-Small-Form-Factor:~$