← Back to team overview

desktop-packages team mailing list archive

[Bug 1467274] [NEW] Xorg radeon.dpm=1 causes glitches

 

Public bug reported:

Setting radeon.dpm=1 keeps causing glitches every time the display
changes from the IGD to DIS and vice versa.

It may be related to the HDMI audio, which I tried to turn off using
radeon.audio=0.

Below are the lines from the kernel log having to do with snd_hda_intel
(which shouldn't be there when radeon.audio=0).  I'm trying to _keep the
DIS GPU *turned off* in order to save power & keep this laptop cool_.

I can't tell who keeps turning the DIS GPU back on, but I'd love to know
how to keep the DIS GPU locked OFF.

Jun 21 08:26:59 HP-ubuntu kernel: [    8.039633] snd_hda_intel 0000:02:00.1: Handle VGA-switcheroo audio client
Jun 21 08:27:07 HP-ubuntu kernel: [   24.115390] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:07 HP-ubuntu kernel: [   24.335777] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:09 HP-ubuntu kernel: [   26.313673] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:27:14 HP-ubuntu kernel: [   31.891104] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:15 HP-ubuntu kernel: [   32.011109] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:17 HP-ubuntu kernel: [   33.986011] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:27:24 HP-ubuntu kernel: [   41.882048] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:25 HP-ubuntu kernel: [   42.002129] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:37 HP-ubuntu kernel: [   54.370654] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:27:42 HP-ubuntu kernel: [   60.151334] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:43 HP-ubuntu kernel: [   60.272329] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:45 HP-ubuntu kernel: [   62.586013] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:27:50 HP-ubuntu kernel: [   68.187551] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:51 HP-ubuntu kernel: [   68.307916] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:53 HP-ubuntu kernel: [   70.311697] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:27:58 HP-ubuntu kernel: [   75.350919] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:27:58 HP-ubuntu kernel: [   75.471116] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:27:59 HP-ubuntu kernel: [   76.960028] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:04 HP-ubuntu kernel: [   82.198684] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:05 HP-ubuntu kernel: [   82.318660] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:06 HP-ubuntu kernel: [   83.808935] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:11 HP-ubuntu kernel: [   89.216865] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:12 HP-ubuntu kernel: [   89.336835] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:14 HP-ubuntu kernel: [   91.327234] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:19 HP-ubuntu kernel: [   96.356640] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:19 HP-ubuntu kernel: [   96.476630] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:21 HP-ubuntu kernel: [   98.583366] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:26 HP-ubuntu kernel: [  104.185234] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:27 HP-ubuntu kernel: [  104.305245] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:28 HP-ubuntu kernel: [  105.804332] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:33 HP-ubuntu kernel: [  111.206946] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:34 HP-ubuntu kernel: [  111.326995] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:36 HP-ubuntu kernel: [  113.310242] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:41 HP-ubuntu kernel: [  118.341024] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:41 HP-ubuntu kernel: [  118.461117] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:43 HP-ubuntu kernel: [  120.476298] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:48 HP-ubuntu kernel: [  126.179202] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:49 HP-ubuntu kernel: [  126.299191] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:50 HP-ubuntu kernel: [  127.782650] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:28:55 HP-ubuntu kernel: [  133.201728] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:28:56 HP-ubuntu kernel: [  133.321778] snd_hda_intel 0000:02:00.1: Cannot lock devices!
Jun 21 08:28:57 HP-ubuntu kernel: [  134.809172] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
Jun 21 08:29:02 HP-ubuntu kernel: [  140.176341] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
Jun 21 08:29:03 HP-ubuntu kernel: [  140.296434] snd_hda_intel 0000:02:00.1: Cannot lock devices!
...

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xorg 1:7.7+7ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
Uname: Linux 3.19.0-21-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Sun Jun 21 08:43:10 2015
DistUpgraded: Fresh install
DistroCodename: vivid
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:1641]
 Advanced Micro Devices, Inc. [AMD/ATI] Robson CE [Radeon HD 6370M/7370M] [1002:68e4] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Radeon HD 6370M [103c:1641]
InstallationDate: Installed on 2015-06-06 (15 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Hewlett-Packard HP Pavilion dv7 Notebook PC
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-21-generic root=UUID=0a49d103-e2eb-4b21-a433-c41a1ef8d27b ro quiet splash radeon.dpm=1 radeon.audio=0 vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/25/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.29
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1641
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 67.33
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.29:bd02/25/2013:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr0583120000242B20000620100:rvnHewlett-Packard:rn1641:rvr67.33:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv7 Notebook PC
dmi.product.version: 0583120000242B20000620100
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2
version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
xserver.bootTime: Sun Jun 21 08:27:01 2015
xserver.configfile: default
xserver.errors: RADEON(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.1-0ubuntu3
xserver.video_driver: radeon

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug compiz-0.9 false-gpu-hang freeze ubuntu vivid

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

Title:
  Xorg radeon.dpm=1 causes glitches

Status in xorg package in Ubuntu:
  New

Bug description:
  Setting radeon.dpm=1 keeps causing glitches every time the display
  changes from the IGD to DIS and vice versa.

  It may be related to the HDMI audio, which I tried to turn off using
  radeon.audio=0.

  Below are the lines from the kernel log having to do with
  snd_hda_intel (which shouldn't be there when radeon.audio=0).  I'm
  trying to _keep the DIS GPU *turned off* in order to save power & keep
  this laptop cool_.

  I can't tell who keeps turning the DIS GPU back on, but I'd love to
  know how to keep the DIS GPU locked OFF.

  Jun 21 08:26:59 HP-ubuntu kernel: [    8.039633] snd_hda_intel 0000:02:00.1: Handle VGA-switcheroo audio client
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.115390] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.335777] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:09 HP-ubuntu kernel: [   26.313673] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:27:14 HP-ubuntu kernel: [   31.891104] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:15 HP-ubuntu kernel: [   32.011109] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:17 HP-ubuntu kernel: [   33.986011] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:27:24 HP-ubuntu kernel: [   41.882048] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:25 HP-ubuntu kernel: [   42.002129] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:37 HP-ubuntu kernel: [   54.370654] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:27:42 HP-ubuntu kernel: [   60.151334] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:43 HP-ubuntu kernel: [   60.272329] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:45 HP-ubuntu kernel: [   62.586013] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:27:50 HP-ubuntu kernel: [   68.187551] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:51 HP-ubuntu kernel: [   68.307916] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:53 HP-ubuntu kernel: [   70.311697] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.350919] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.471116] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:27:59 HP-ubuntu kernel: [   76.960028] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:04 HP-ubuntu kernel: [   82.198684] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:05 HP-ubuntu kernel: [   82.318660] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:06 HP-ubuntu kernel: [   83.808935] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:11 HP-ubuntu kernel: [   89.216865] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:12 HP-ubuntu kernel: [   89.336835] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:14 HP-ubuntu kernel: [   91.327234] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.356640] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.476630] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:21 HP-ubuntu kernel: [   98.583366] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:26 HP-ubuntu kernel: [  104.185234] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:27 HP-ubuntu kernel: [  104.305245] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:28 HP-ubuntu kernel: [  105.804332] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:33 HP-ubuntu kernel: [  111.206946] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:34 HP-ubuntu kernel: [  111.326995] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:36 HP-ubuntu kernel: [  113.310242] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:41 HP-ubuntu kernel: [  118.341024] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:41 HP-ubuntu kernel: [  118.461117] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:43 HP-ubuntu kernel: [  120.476298] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:48 HP-ubuntu kernel: [  126.179202] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:49 HP-ubuntu kernel: [  126.299191] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:50 HP-ubuntu kernel: [  127.782650] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:28:55 HP-ubuntu kernel: [  133.201728] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:28:56 HP-ubuntu kernel: [  133.321778] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  Jun 21 08:28:57 HP-ubuntu kernel: [  134.809172] snd_hda_intel 0000:02:00.1: Enabling via VGA-switcheroo
  Jun 21 08:29:02 HP-ubuntu kernel: [  140.176341] snd_hda_intel 0000:02:00.1: Disabling via VGA-switcheroo
  Jun 21 08:29:03 HP-ubuntu kernel: [  140.296434] snd_hda_intel 0000:02:00.1: Cannot lock devices!
  ...

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Sun Jun 21 08:43:10 2015
  DistUpgraded: Fresh install
  DistroCodename: vivid
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] [1002:9712] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Device [103c:1641]
   Advanced Micro Devices, Inc. [AMD/ATI] Robson CE [Radeon HD 6370M/7370M] [1002:68e4] (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company Radeon HD 6370M [103c:1641]
  InstallationDate: Installed on 2015-06-06 (15 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: Hewlett-Packard HP Pavilion dv7 Notebook PC
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-21-generic root=UUID=0a49d103-e2eb-4b21-a433-c41a1ef8d27b ro quiet splash radeon.dpm=1 radeon.audio=0 vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/25/2013
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: F.29
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 1641
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: 67.33
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnHewlett-Packard:bvrF.29:bd02/25/2013:svnHewlett-Packard:pnHPPaviliondv7NotebookPC:pvr0583120000242B20000620100:rvnHewlett-Packard:rn1641:rvr67.33:cvnHewlett-Packard:ct10:cvrN/A:
  dmi.product.name: HP Pavilion dv7 Notebook PC
  dmi.product.version: 0583120000242B20000620100
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.60-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.2-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.2-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.5.0-1ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
  xserver.bootTime: Sun Jun 21 08:27:01 2015
  xserver.configfile: default
  xserver.errors: RADEON(G0): [XvMC] Failed to initialize extension.
  xserver.logfile: /var/log/Xorg.0.log
  xserver.version: 2:1.17.1-0ubuntu3
  xserver.video_driver: radeon

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


Follow ups

References