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

2015-07-04 Thread Christopher M. Penalver
foobar, just to confirm, if you remove kernel parameters radeon.dpm=1
radeon.audio=0 are there any visual glitches?

** Tags removed: needs-full-computer-model
** Tags added: latest-bios-f.29

** Summary changed:

- Xorg radeon.dpm=1 causes glitches
+ [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

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

Title:
  [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2015-07-04 Thread foobar
OK, Christopher, below are the results after removing radeon.dpm=1 and
radeon.audio=0.

Each time this happens, the screen glitches.

It seems to be triggered by something in the audio.  HDMI audio keeps showing up
in the list of audio devices, even when radeon.audio was 0.

I also started my Bluetooth A2DP headset, which may have triggered (why,
I can't imagine) the switching on  off of the HDMI audio.

BTW, the temperature  power consumption _without_ radeon.dpm=1 is
almost exactly the same as _with_ radeon.dpm=1.  Has dpm=1 become the
default?

Jul  4 09:08:40 HP-ubuntu kernel: [9.742675] snd_hda_intel :02:00.1: 
Handle VGA-switcheroo audio client
Jul  4 09:08:58 HP-ubuntu kernel: [   36.884335] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:08:58 HP-ubuntu kernel: [   37.104875] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:09:00 HP-ubuntu kernel: [   38.599557] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:09:05 HP-ubuntu kernel: [   43.888649] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:09:05 HP-ubuntu kernel: [   44.008471] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:09:06 HP-ubuntu kernel: [   45.483778] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:09:15 HP-ubuntu kernel: [   53.875047] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:09:15 HP-ubuntu kernel: [   53.995029] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:09:16 HP-ubuntu kernel: [   55.469865] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:09:22 HP-ubuntu kernel: [   60.871201] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:09:22 HP-ubuntu kernel: [   60.991177] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:09:23 HP-ubuntu kernel: [   62.474250] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:09:29 HP-ubuntu kernel: [   67.875324] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:09:29 HP-ubuntu kernel: [   67.995367] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:13 HP-ubuntu kernel: [  352.162871] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:19 HP-ubuntu kernel: [  357.715761] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:19 HP-ubuntu kernel: [  357.835921] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:20 HP-ubuntu kernel: [  359.310884] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:26 HP-ubuntu kernel: [  364.703993] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:26 HP-ubuntu kernel: [  364.824089] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:28 HP-ubuntu kernel: [  366.551000] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:33 HP-ubuntu kernel: [  371.708216] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:33 HP-ubuntu kernel: [  371.828231] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:34 HP-ubuntu kernel: [  373.302997] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:40 HP-ubuntu kernel: [  378.696416] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:40 HP-ubuntu kernel: [  378.816363] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:42 HP-ubuntu kernel: [  380.315587] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:47 HP-ubuntu kernel: [  385.700520] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:47 HP-ubuntu kernel: [  385.820499] snd_hda_intel :02:00.1: 
Cannot lock devices!
Jul  4 09:14:49 HP-ubuntu kernel: [  387.315680] snd_hda_intel :02:00.1: 
Enabling via VGA-switcheroo
Jul  4 09:14:54 HP-ubuntu kernel: [  392.688651] snd_hda_intel :02:00.1: 
Disabling via VGA-switcheroo
Jul  4 09:14:54 HP-ubuntu kernel: [  392.808780] snd_hda_intel :02:00.1: 
Cannot lock devices!


At 07:28 AM 7/4/2015, Christopher M. Penalver wrote:
foobar, just to confirm, if you remove kernel parameters radeon.dpm=1
radeon.audio=0 are there any visual glitches?

** Tags removed: needs-full-computer-model
** Tags added: latest-bios-f.29

** Summary changed:

- Xorg radeon.dpm=1 causes glitches
+ [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1467274

Title:
  [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

Status in xorg package in Ubuntu:
  Incomplete

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* 

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

2015-07-04 Thread foobar
Re: if you remove kernel parameters radeon.dpm=1
radeon.audio=0 are there any visual glitches?

I believe so, but I'll check this again  send you another email.

As I mentioned in several bug reports, my goal is to minimize
the operating temperature of this laptop, which tends to run
hot even in Windows 7.

The good news is that Ubuntu 15.05 runs less hot than Win7 under
exactly the same workload -- playing the same videos with VLC.

Interestingly, the DIS GPU takes a lot more power to display
hidef H264 video than does the CPU, so the lowest power way to
play videos is to keep the DIS GPU completely turned off, and
to clamp the operating freq of the triple cores to 800MHz.  Thanks
to clever programming for h264 decode, there is still enough
computing power of 3 cores at 800MHz to display the video.

For 1080p, I have to unclamp the cpu frequencies (ondemand v
low), but this raises the operating temperature by only a
handful of degrees C.

At 07:28 AM 7/4/2015, Christopher M. Penalver wrote:
foobar, just to confirm, if you remove kernel parameters radeon.dpm=1
radeon.audio=0 are there any visual glitches?

** Tags removed: needs-full-computer-model
** Tags added: latest-bios-f.29

** Summary changed:

- Xorg radeon.dpm=1 causes glitches
+ [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1467274

Title:
  [HP Pavilion dv7-4272us] Xorg radeon.dpm=1 causes glitches

Status in xorg package in Ubuntu:
  Incomplete

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 :02:00.1: 
 Handle VGA-switcheroo audio client
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.115390] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.335777] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:09 HP-ubuntu kernel: [   26.313673] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:14 HP-ubuntu kernel: [   31.891104] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:15 HP-ubuntu kernel: [   32.011109] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:17 HP-ubuntu kernel: [   33.986011] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:24 HP-ubuntu kernel: [   41.882048] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:25 HP-ubuntu kernel: [   42.002129] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:37 HP-ubuntu kernel: [   54.370654] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:42 HP-ubuntu kernel: [   60.151334] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:43 HP-ubuntu kernel: [   60.272329] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:45 HP-ubuntu kernel: [   62.586013] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:50 HP-ubuntu kernel: [   68.187551] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:51 HP-ubuntu kernel: [   68.307916] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:53 HP-ubuntu kernel: [   70.311697] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.350919] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.471116] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:59 HP-ubuntu kernel: [   76.960028] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:04 HP-ubuntu kernel: [   82.198684] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:05 HP-ubuntu kernel: [   82.318660] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:06 HP-ubuntu kernel: [   83.808935] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:11 HP-ubuntu kernel: [   89.216865] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:12 HP-ubuntu kernel: [   89.336835] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:14 HP-ubuntu kernel: [   91.327234] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.356640] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.476630] snd_hda_intel :02:00.1: 
 

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

2015-07-04 Thread foobar
This laptop is HP Pavilion dv7-4272us.

I'd be willing to help debug this problem, but I need some tools.

The first tool I need is a way to reliably turn off the DIS graphics 
keep it off.

The second tool would be a way to reliably turn off the IGD graphics 
keep it off.

Etc.

When things keep switching back  forth for no apparent reason, I can't
debug the situation.

I did some Google searching, and it appears that there may be a way to disable
certain PCI addresses during boot, which may be the only way to control this 
behavior.

Thx for any help.

At 08:57 PM 7/3/2015, Christopher M. Penalver wrote:
foobar, thank you for reporting this and helping make Ubuntu better.
Could you please provide the full computer model as noted on the sticker
of the computer itself (not from the Bug Description)?

** Tags added: needs-full-computer-model

** Changed in: xorg (Ubuntu)
   Importance: Undecided = Low

** Changed in: xorg (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1467274

Title:
  Xorg radeon.dpm=1 causes glitches

Status in xorg package in Ubuntu:
  Incomplete

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 :02:00.1: 
 Handle VGA-switcheroo audio client
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.115390] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:07 HP-ubuntu kernel: [   24.335777] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:09 HP-ubuntu kernel: [   26.313673] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:14 HP-ubuntu kernel: [   31.891104] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:15 HP-ubuntu kernel: [   32.011109] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:17 HP-ubuntu kernel: [   33.986011] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:24 HP-ubuntu kernel: [   41.882048] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:25 HP-ubuntu kernel: [   42.002129] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:37 HP-ubuntu kernel: [   54.370654] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:42 HP-ubuntu kernel: [   60.151334] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:43 HP-ubuntu kernel: [   60.272329] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:45 HP-ubuntu kernel: [   62.586013] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:50 HP-ubuntu kernel: [   68.187551] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:51 HP-ubuntu kernel: [   68.307916] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:53 HP-ubuntu kernel: [   70.311697] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.350919] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:27:58 HP-ubuntu kernel: [   75.471116] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:27:59 HP-ubuntu kernel: [   76.960028] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:04 HP-ubuntu kernel: [   82.198684] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:05 HP-ubuntu kernel: [   82.318660] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:06 HP-ubuntu kernel: [   83.808935] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:11 HP-ubuntu kernel: [   89.216865] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:12 HP-ubuntu kernel: [   89.336835] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:14 HP-ubuntu kernel: [   91.327234] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.356640] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:19 HP-ubuntu kernel: [   96.476630] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:21 HP-ubuntu kernel: [   98.583366] snd_hda_intel :02:00.1: 
 Enabling via VGA-switcheroo
  Jun 21 08:28:26 HP-ubuntu kernel: [  104.185234] snd_hda_intel :02:00.1: 
 Disabling via VGA-switcheroo
  Jun 21 08:28:27 HP-ubuntu kernel: [  104.305245] snd_hda_intel :02:00.1: 
 Cannot lock devices!
  Jun 21 08:28:28 

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

2015-07-03 Thread Christopher M. Penalver
foobar, thank you for reporting this and helping make Ubuntu better.
Could you please provide the full computer model as noted on the sticker
of the computer itself (not from the Bug Description)?

** Tags added: needs-full-computer-model

** Changed in: xorg (Ubuntu)
   Importance: Undecided = Low

** Changed in: xorg (Ubuntu)
   Status: New = Incomplete

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

Title:
  Xorg radeon.dpm=1 causes glitches

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs