Public bug reported:

I'm using radeon.dpm=0 and radeon.runpm=0 for reasons explained in a
previous bug report.

I'm able to turn the radeon discrete graphics off using

echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

and my power consumption drops dramatically to a nice low level,
but then the kernel log starts filling up with all sorts of complaints from drm:

Jun 19 10:19:43 HP-ubuntu kernel: [  360.548772] radeon: switched off
Jun 19 10:19:44 HP-ubuntu kernel: [  361.083818] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:44 HP-ubuntu kernel: [  361.083872] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:44 HP-ubuntu kernel: [  361.098291] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:44 HP-ubuntu kernel: [  361.098365] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:44 HP-ubuntu kernel: [  361.800076] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:44 HP-ubuntu kernel: [  361.800117] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:44 HP-ubuntu kernel: [  361.874996] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:44 HP-ubuntu kernel: [  361.875074] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:44 HP-ubuntu kernel: [  361.892348] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:44 HP-ubuntu kernel: [  361.892425] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:45 HP-ubuntu kernel: [  362.083837] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:45 HP-ubuntu kernel: [  362.083909] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:45 HP-ubuntu kernel: [  362.098414] radeon 0000:02:00.0: couldn't 
schedule ib
Jun 19 10:19:45 HP-ubuntu kernel: [  362.098485] [drm:radeon_cs_ioctl [radeon]] 
*ERROR* Failed to schedule IB !
Jun 19 10:19:45 HP-ubuntu kernel: [  362.143361] radeon 0000:02:00.0: couldn't 
schedule ib

etc., at a great rate!

The whole point of the exercise is to keep the discrete graphics off, so
why is drm:radeon_cs_ioctl still trying to issue commands to it?

Also, Ubuntu doesn't want to shut down cleanly after the radeon discrete
graphics unit is turned off.

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: Fri Jun 19 10:20:25 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] (rev ff) (prog-if ff)
InstallationDate: Installed on 2015-06-06 (13 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.runpm=0 
radeon.dpm=0 radeon.audio=0 radeon.pcie_gen2=0 acpiphp.disable=1 vt.handoff=7
SourcePackage: xorg
Symptom: display
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: Fri Jun 19 10:14:07 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 ubuntu vivid

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

Title:
  drm complains bitterly when discrete graphics turned off

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to