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:~$ 


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

** Summary changed:

- Resume with glamor cause GPU lockup/screen corruption on Radeon 3100 
Graphics" (ChipID = 0x9611)
+ Resume on glamor cause GPU lockup/screen corruption on Radeon 3100 Graphics" 
(ChipID = 0x9611) if some options not used

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1944991

Title:
  Resume on glamor cause GPU lockup/screen corruption on Radeon 3100
  Graphics" (ChipID = 0x9611) if some options not used

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  GPU: ATI Radeon 3100 Graphics (ChipID = 0x9611) (RS780)

  GPU Lockup message in dmesg output after resume:
  [  916.000550] radeon 0000:01:05.0: ring 0 stalled for more than 10084msec
  [  916.000569] radeon 0000:01:05.0: GPU lockup (current fence id 
0x00000000000020cc last fence id 0x00000000000020d6 on ring 0)
  [  916.516556] radeon 0000:01:05.0: ring 0 stalled for more than 10600msec
  [  916.516569] radeon 0000:01:05.0: GPU lockup (current fence id 
0x00000000000020cc last fence id 0x00000000000020d6 on ring 0)
  [  917.024566] radeon 0000:01:05.0: ring 0 stalled for more than 11108msec
  [  917.024575] radeon 0000:01:05.0: GPU lockup (current fence id 
0x00000000000020cc last fence id 0x00000000000020d6 on ring 0)
  [  917.536558] radeon 0000:01:05.0: ring 0 stalled for more than 11620msec
  [  917.536570] radeon 0000:01:05.0: GPU lockup (current fence id 
0x00000000000020cc last fence id 0x00000000000020d6 on ring 0)
  [  918.048571] radeon 0000:01:05.0: ring 0 stalled for more than 12132msec
  [  918.048580] radeon 0000:01:05.0: GPU lockup (current fence id 
0x00000000000020cc last fence id 0x00000000000020d6 on ring 0)
  ...
  [  935.726783] radeon 0000:01:05.0: GPU softreset: 0x00000019
  [  935.726788] radeon 0000:01:05.0:   R_008010_GRBM_STATUS      = 0xE57034E0
  [  935.726793] radeon 0000:01:05.0:   R_008014_GRBM_STATUS2     = 0x00110103
  [  935.726797] radeon 0000:01:05.0:   R_000E50_SRBM_STATUS      = 0x20000040
  [  935.726801] radeon 0000:01:05.0:   R_008674_CP_STALLED_STAT1 = 0x01000000
  [  935.726805] radeon 0000:01:05.0:   R_008678_CP_STALLED_STAT2 = 0x00001002
  [  935.726809] radeon 0000:01:05.0:   R_00867C_CP_BUSY_STAT     = 0x00028486
  [  935.726813] radeon 0000:01:05.0:   R_008680_CP_STAT          = 0x80838645
  [  935.726817] radeon 0000:01:05.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
  [  935.779906] radeon 0000:01:05.0: R_008020_GRBM_SOFT_RESET=0x00007FEF
  [  935.779962] radeon 0000:01:05.0: SRBM_SOFT_RESET=0x00000100
  [  935.782061] radeon 0000:01:05.0:   R_008010_GRBM_STATUS      = 0xA0003030
  [  935.782066] radeon 0000:01:05.0:   R_008014_GRBM_STATUS2     = 0x00000003
  [  935.782070] radeon 0000:01:05.0:   R_000E50_SRBM_STATUS      = 0x20008040
  [  935.782074] radeon 0000:01:05.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
  [  935.782078] radeon 0000:01:05.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
  [  935.782081] radeon 0000:01:05.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
  [  935.782085] radeon 0000:01:05.0:   R_008680_CP_STAT          = 0x80100000
  [  935.782089] radeon 0000:01:05.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
  [  935.782097] radeon 0000:01:05.0: GPU reset succeeded, trying to resume
  Graphics is broken... text hardly readable, interface not responding.

  First observed on latest Mint (20.2)... then discovered Peppermint 10 was not 
affected.
  I believe Peppermint 10 is based on 18.04 and I am unsure why it is not 
affected.

  I tested with many versions of Ubuntu...
  Before 17.04... no problem... but was using EXA acceleration.
  17.04 first to use Glamor... screen corruption is not obvious... but dmesg 
show
  GPU lockup...
  17.10 and following is really problematic after resume, but possible to 
Ctrl-Alt-F4 to go to a text console and ... sudo reboot.
  There is a possibility I missed the exact version as I don't have my notes 
near me.

  Adding Option "AccelMethod" "EXA"
  at the good place in xorg.conf file have fixed the issue.

  I am unlikely to have access again to that specific computer in the future.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     6610 F.... pulseaudio
  CasperMD5CheckResult: pass
  CasperVersion: 1.465
  DistroRelease: Ubuntu 21.10
  IwConfig:
   lo        no wireless extensions.
   
   enp63s0   no wireless extensions.
  LiveMediaBuild: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210920)
  MachineType: Hewlett-Packard HP Compaq dc5850 Small Form Factor
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz 
file=/cdrom/preseed/hostname.seed maybe-ubiquity quiet splash ---
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-16-generic N/A
   linux-backports-modules-5.13.0-16-generic  N/A
   linux-firmware                             1.200
  RfKill:
   
  Tags:  impish
  Uname: Linux 5.13.0-16-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True
  dmi.bios.date: 11/15/2011
  dmi.bios.release: 3.14
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 786F6 v03.14
  dmi.board.name: 3029h
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.type: 4
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvr786F6v03.14:bd11/15/2011:br3.14:svnHewlett-Packard:pnHPCompaqdc5850SmallFormFactor:pvr:skuAP417US#ABC:rvnHewlett-Packard:rn3029h:rvr:cvnHewlett-Packard:ct4:cvr:
  dmi.product.family: 103C_53307F
  dmi.product.name: HP Compaq dc5850 Small Form Factor
  dmi.product.sku: AP417US#ABC
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1944991/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to