← Back to team overview

kernel-packages team mailing list archive

[Bug 1319589]

 

I can duplicate this problem with CentOS 7.1.

When I run kernel 3.10.0-229.1.2.el7.centos.plus I don't see (or at
least notice) the performance issue after resuming from suspend, however
I do receive the same errors.  Additionally X will randomly hang (maybe
5% of the time) when I resume, I suspect this may be related to my video
card (since those are the only errors I ever see when resuming).

When I run kernel 4.0.0-1.el7.elrepo.x86_64 I do have the performance
issue after resuming from suspend (and receive the same errors).  For me
I see the huge graphics performance hit when I connect to a Windows 7 PC
with xfreerdp.  It's so slow it's unusable.  However if I perform the
same xfreerdp connection before I ever suspend/resume my PC it's very
fast and responsive.

I found a work around which is to use the "radeon.dpm=0" kernel boot option.  I did this by following these steps:
vi /etc/default/grub
-Append "radeon.dpm=0" to the end of the "GRUB_CMDLINE_LINUX" option:
grub2-mkconfig -o /boot/grub2/grub.cfg

Booting with "radeon.dpm=0" switched me to the "profile" pm method as shown with this command:
cat /sys/class/drm/card0/device/power_method
profile

With "radeon.dpm=0" I no longer get any error messages and I no longer
have any performance issues after resuming from suspend.  Time will tell
if it fixes my random hang issue.  I haven't checked yet if there's any
noticeable power draw difference.

Below I've pasted some relevant hardware and log info.

My hardware:
Motherboard = GA-790FXTA-UD5/GA-790FXTA-UD5, BIOS F3j
CPU = AMD Phenom II X4 910e Deneb Quad-Core 2.6GHz Socket AM3 65W Desktop Processor 
Video card = Gigabyte Radeon HD 4550 512 MB DDR3 (AMD RV710)

Two pages with useful information related to radeon power management:
https://wiki.archlinux.org/index.php/ATI#Dynamic_power_management
http://www.x.org/wiki/RadeonFeature/#index3h2

grep -i rv7 /var/log/messages
//With kernel 3.10.0-229.1.2.el7.centos.plus
Apr 29 08:18:58 black kernel: [drm:rv730_stop_dpm] *ERROR* Could not force DPM to low
Apr 29 08:18:58 black kernel: [drm:rv770_dpm_set_power_state] *ERROR* rv770_set_sw_state failed
//With kernel 4.0.0-1.el7.elrepo.x86_64, note that the error messages have slightly changed (added "[radeon]")
Apr 29 09:21:49 black kernel: [drm:rv730_stop_dpm [radeon]] *ERROR* Could not force DPM to low
Apr 29 09:22:40 black kernel: [drm:rv770_dpm_set_power_state [radeon]] *ERROR* rv770_set_sw_state failed

glxinfo |grep "OpenGL renderer"
OpenGL renderer string: Gallium 0.4 on AMD RV710

-- 
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/1319589

Title:
  [drm:rv770_dpm_set_power_state] *ERROR* rv770_set_sw_state failed

Status in Direct Rendering Infrastructure:
  Confirmed
Status in linux package in Ubuntu:
  Expired

Bug description:
  Hello,
  On Ubuntu 14.04 LTS, when the computer starts (before the splash screen appears), I see this error in the console:

  [drm:rv770_dpm_set_power_state] *ERROR* rv770_set_sw_state failed

  I don't know what does exactly this bug, but I supposed that it's not
  normal.

  
  OS: Linux
  Type: amd64
  Distribution: Ubuntu 14.04 LTS
  GPU: ATI Mobility Radeon HD 4570
  → 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]

  Kernel: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014
  x86_64 x86_64 x86_64 GNU/Linux

  I use the free driver for Linux, ATI doesn't support this GPU with
  proprietary drivers today... but without this little bug, the free
  drivers are very good :)

  
  Message appears at [   17.026313]
  (See dmesg file)

  Thank you.
  --- 
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  valentin   4277 F.... pulseaudio
   /dev/snd/controlC0:  valentin   4277 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=UUID=2fe681c2-5497-453b-bc19-4401ca76baaf
  InstallationDate: Installed on 2014-05-06 (8 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
  MachineType: Acer Aspire 5542
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=20964cff-7885-4482-8618-d60d52c7d229 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware                             1.127.2
  Tags:  trusty
  Uname: Linux 3.13.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 01/18/2010
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: V1.09
  dmi.board.name: JV50TR
  dmi.board.vendor: Acer
  dmi.board.version: Rev
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: None
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.09:bd01/18/2010:svnAcer:pnAspire5542:pvr0100:rvnAcer:rnJV50TR:rvrRev:cvnAcer:ct10:cvrNone:
  dmi.product.name: Aspire 5542
  dmi.product.version: 0100
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/dri/+bug/1319589/+subscriptions


References