* 3.1-rc5 is the worst @ 2011-09-10 9:57 Francis Moreau 2011-09-10 15:11 ` Keith Packard ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: Francis Moreau @ 2011-09-10 9:57 UTC (permalink / raw) To: Linux Kernel Mailing List; +Cc: Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 1457 bytes --] Hello, Maybe the subject sounds rude so apologize since I just want to report that 3.1-rc5 gives me bad impression. Of course it's all about my hw support which seems to get some regressions (I attached lspci). 1/ I'm getting this now at each boot: [ 38.349671] hda_codec: too deep connection for 0x18 [ 38.349748] hda_codec: too deep connection for 0x18 [ 38.349842] hda_codec: too deep connection for 0x18 [ 38.349843] hda_codec: too deep connection for 0x18 [ 38.349844] hda_codec: too deep connection for 0x18 [ 38.349939] hda_codec: too deep connection for 0x18 <repeated 252 times> I've no idea what it does mean or it's simply a warning I can ignore (and it that case it would be nice to limit it at least) or if it's worse getting a fix before 3.1 is out would be great. 2/ wireless card: It's BCM4313 WLAN card. Previously it was drived by brcmsmac and all goes fine. But now b43/bcma (CONFIG_BCMA=y) combo decided to replace brcmsmac although it doesn't support my card: my phy dev is not supported for now its support is known as broken (CONFIG_B43_PHY_LCN depends on B43 && BROKEN). 3/ video: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) drived by 'i915': sometime after resuming or after leaving the black screensaver, the screen seems to be frozen and I need to switch to tty1 and switch back to the graphic screen in order to make the screen refreshed again. Voila :) -- Francis [-- Attachment #2: lspci.txt --] [-- Type: text/plain, Size: 7416 bytes --] 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0 Capabilities: <access denied> Kernel driver in use: agpgart-intel 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) (prog-if 00 [VGA controller]) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0, IRQ 45 Memory at fac00000 (64-bit, non-prefetchable) [size=4M] Memory at c0000000 (64-bit, prefetchable) [size=256M] I/O ports at f080 [size=8] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at fbc09000 (64-bit, non-prefetchable) [size=16] Capabilities: <access denied> Kernel driver in use: mei Kernel modules: mei 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI]) Subsystem: Dell Device 0441 Flags: bus master, medium devsel, latency 0, IRQ 16 Memory at fbc08000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0, IRQ 47 Memory at fbc00000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd-hda-intel 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=11, subordinate=11, sec-latency=0 I/O behind bridge: 00003000-00003fff Memory behind bridge: d0e00000-d0ffffff Prefetchable memory behind bridge: 00000000d1000000-00000000d11fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=12, subordinate=12, sec-latency=0 I/O behind bridge: 00002000-00002fff Memory behind bridge: fbb00000-fbbfffff Prefetchable memory behind bridge: 00000000d0c00000-00000000d0dfffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=13, subordinate=13, sec-latency=0 I/O behind bridge: 0000e000-0000efff Memory behind bridge: fba00000-fbafffff Prefetchable memory behind bridge: 00000000d0b00000-00000000d0bfffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=15, subordinate=15, sec-latency=0 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: fb000000-fb9fffff Prefetchable memory behind bridge: 00000000d0000000-00000000d09fffff Capabilities: <access denied> Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI]) Subsystem: Dell Device 0441 Flags: bus master, medium devsel, latency 0, IRQ 23 Memory at fbc07000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) (prog-if 01 [Subtractive decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=20, subordinate=20, sec-latency=32 Capabilities: <access denied> 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) Subsystem: Dell Device 0441 Flags: bus master, medium devsel, latency 0 Capabilities: <access denied> Kernel modules: iTCO_wdt 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0]) Subsystem: Dell Device 0441 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44 I/O ports at f070 [size=8] I/O ports at f060 [size=4] I/O ports at f050 [size=8] I/O ports at f040 [size=4] I/O ports at f020 [size=32] Memory at fbc06000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) Subsystem: Dell Device 0441 Flags: medium devsel, IRQ 18 Memory at fbc05000 (64-bit, non-prefetchable) [size=256] I/O ports at f000 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c-i801 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at fbc04000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: intel ips Kernel modules: intel_ips 12:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: Dell XPS 8300 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at fbb00000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: brcmsmac Kernel modules: bcma, brcmsmac 13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) Subsystem: Dell Device 0441 Flags: bus master, fast devsel, latency 0, IRQ 46 I/O ports at e000 [size=256] Memory at d0b04000 (64-bit, prefetchable) [size=4K] Memory at d0b00000 (64-bit, prefetchable) [size=16K] Expansion ROM at fba00000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: r8169 Kernel modules: r8169 ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05) Subsystem: Intel Corporation Device 8086 Flags: bus master, fast devsel, latency 0 ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 9:57 3.1-rc5 is the worst Francis Moreau @ 2011-09-10 15:11 ` Keith Packard 2011-09-10 19:42 ` Francis Moreau 2011-09-11 18:33 ` Francis Moreau 2011-09-12 9:05 ` Clemens Ladisch 2011-09-12 9:24 ` Takashi Iwai 2 siblings, 2 replies; 21+ messages in thread From: Keith Packard @ 2011-09-10 15:11 UTC (permalink / raw) To: Francis Moreau, Linux Kernel Mailing List; +Cc: Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 633 bytes --] On Sat, 10 Sep 2011 11:57:06 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > 3/ video: Intel Corporation Core Processor Integrated Graphics > Controller (rev 18) drived by 'i915': sometime after resuming or after > leaving the black screensaver, the screen seems to be frozen and I > need to switch to tty1 and switch back to the graphic screen in order > to make the screen refreshed again. Can you try disabling fbc and see if this helps? i915.i915_enable_fbc=0 We've gotten a few minor regression reports that this fixes; we're working on isolating the cause if possible. -- keith.packard@intel.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 15:11 ` Keith Packard @ 2011-09-10 19:42 ` Francis Moreau 2011-09-11 7:09 ` Sitsofe Wheeler 2011-09-11 18:33 ` Francis Moreau 1 sibling, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-10 19:42 UTC (permalink / raw) To: Keith Packard; +Cc: Linux Kernel Mailing List, Linus Torvalds On Sat, Sep 10, 2011 at 5:11 PM, Keith Packard <keithp@keithp.com> wrote: > On Sat, 10 Sep 2011 11:57:06 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > >> 3/ video: Intel Corporation Core Processor Integrated Graphics >> Controller (rev 18) drived by 'i915': sometime after resuming or after >> leaving the black screensaver, the screen seems to be frozen and I >> need to switch to tty1 and switch back to the graphic screen in order >> to make the screen refreshed again. > > Can you try disabling fbc and see if this helps? > > i915.i915_enable_fbc=0 > > We've gotten a few minor regression reports that this fixes; we're > working on isolating the cause if possible. of course I'm having hard time to reproduce now :) Any idea how can I force the screen to sleep ? Setting the timer to 1 min with the gnome interface doesn't work.... Thanks -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 19:42 ` Francis Moreau @ 2011-09-11 7:09 ` Sitsofe Wheeler 2011-09-11 18:32 ` Francis Moreau 0 siblings, 1 reply; 21+ messages in thread From: Sitsofe Wheeler @ 2011-09-11 7:09 UTC (permalink / raw) To: Francis Moreau; +Cc: Keith Packard, Linux Kernel Mailing List, Linus Torvalds On Sat, Sep 10, 2011 at 09:42:39PM +0200, Francis Moreau wrote: > > of course I'm having hard time to reproduce now :) > > Any idea how can I force the screen to sleep ? sleep 2; xset dpms force off -- Sitsofe | http://sucs.org/~sits/ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-11 7:09 ` Sitsofe Wheeler @ 2011-09-11 18:32 ` Francis Moreau 0 siblings, 0 replies; 21+ messages in thread From: Francis Moreau @ 2011-09-11 18:32 UTC (permalink / raw) To: Sitsofe Wheeler; +Cc: Keith Packard, Linux Kernel Mailing List, Linus Torvalds On Sun, Sep 11, 2011 at 9:09 AM, Sitsofe Wheeler <sitsofe@yahoo.com> wrote: > On Sat, Sep 10, 2011 at 09:42:39PM +0200, Francis Moreau wrote: >> >> of course I'm having hard time to reproduce now :) >> >> Any idea how can I force the screen to sleep ? > > sleep 2; xset dpms force off > Ok thanks ! -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 15:11 ` Keith Packard 2011-09-10 19:42 ` Francis Moreau @ 2011-09-11 18:33 ` Francis Moreau 2011-09-20 17:18 ` Keith Packard 1 sibling, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-11 18:33 UTC (permalink / raw) To: Keith Packard; +Cc: Linux Kernel Mailing List, Linus Torvalds On Sat, Sep 10, 2011 at 5:11 PM, Keith Packard <keithp@keithp.com> wrote: > On Sat, 10 Sep 2011 11:57:06 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > >> 3/ video: Intel Corporation Core Processor Integrated Graphics >> Controller (rev 18) drived by 'i915': sometime after resuming or after >> leaving the black screensaver, the screen seems to be frozen and I >> need to switch to tty1 and switch back to the graphic screen in order >> to make the screen refreshed again. > > Can you try disabling fbc and see if this helps? > > i915.i915_enable_fbc=0 > > We've gotten a few minor regression reports that this fixes; we're > working on isolating the cause if possible. > Ok this seems to fix the issue. -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-11 18:33 ` Francis Moreau @ 2011-09-20 17:18 ` Keith Packard 2011-09-20 20:55 ` Francis Moreau 2011-09-21 18:56 ` Hugh Dickins 0 siblings, 2 replies; 21+ messages in thread From: Keith Packard @ 2011-09-20 17:18 UTC (permalink / raw) To: Francis Moreau; +Cc: Linux Kernel Mailing List, Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 2876 bytes --] On Sun, 11 Sep 2011 20:33:14 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > Ok this seems to fix the issue. I've posted a patch that disables fbc by default on Ironlake machines; I'd like to have it tested to make sure it actually does what it's supposed to do, and resolves the issue for you without a special kernel command line argument. If it does, I'll make sure this lands in 3.1 From e3d529ddfc9cec12f05e1dde0a0bf0469e15db04 Mon Sep 17 00:00:00 2001 From: Keith Packard <keithp@keithp.com> Date: Mon, 19 Sep 2011 21:34:19 -0700 Subject: [PATCH] drm/i915: FBC off for ironlake, otherwise on by default Make the default FBC behaviour chipset specific, allowing us to turn it on by default for everything except Ironlake where it has been seen to cause trouble with screen updates. Signed-off-by: Keith Packard <keithp@keithp.com> --- drivers/gpu/drm/i915/i915_drv.c | 4 ++-- drivers/gpu/drm/i915/intel_display.c | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index ce045a8..f07e425 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -67,11 +67,11 @@ module_param_named(i915_enable_rc6, i915_enable_rc6, int, 0600); MODULE_PARM_DESC(i915_enable_rc6, "Enable power-saving render C-state 6 (default: true)"); -unsigned int i915_enable_fbc __read_mostly = 1; +unsigned int i915_enable_fbc __read_mostly = -1; module_param_named(i915_enable_fbc, i915_enable_fbc, int, 0600); MODULE_PARM_DESC(i915_enable_fbc, "Enable frame buffer compression for power savings " - "(default: false)"); + "(default: -1 (use per-chip default))"); unsigned int i915_lvds_downclock __read_mostly = 0; module_param_named(lvds_downclock, i915_lvds_downclock, int, 0400); diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9fb4a40..bc05deb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -1799,6 +1799,7 @@ static void intel_update_fbc(struct drm_device *dev) struct drm_framebuffer *fb; struct intel_framebuffer *intel_fb; struct drm_i915_gem_object *obj; + int enable_fbc; DRM_DEBUG_KMS("\n"); @@ -1839,7 +1840,14 @@ static void intel_update_fbc(struct drm_device *dev) intel_fb = to_intel_framebuffer(fb); obj = intel_fb->obj; - if (!i915_enable_fbc) { + enable_fbc = i915_enable_fbc; + if (enable_fbc < 0) { + DRM_DEBUG_KMS("fbc set to per-chip default\n"); + enable_fbc = 1; + if (INTEL_INFO(dev)->gen == 5) + enable_fbc = 0; + } + if (!enable_fbc) { DRM_DEBUG_KMS("fbc disabled per module param (default off)\n"); dev_priv->no_fbc_reason = FBC_MODULE_PARAM; goto out_disable; -- 1.7.6.3 -- keith.packard@intel.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-20 17:18 ` Keith Packard @ 2011-09-20 20:55 ` Francis Moreau 2011-09-21 7:57 ` Francis Moreau 2011-09-21 18:56 ` Hugh Dickins 1 sibling, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-20 20:55 UTC (permalink / raw) To: Keith Packard; +Cc: Linux Kernel Mailing List, Linus Torvalds On Tue, Sep 20, 2011 at 7:18 PM, Keith Packard <keithp@keithp.com> wrote: > On Sun, 11 Sep 2011 20:33:14 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > >> Ok this seems to fix the issue. > > I've posted a patch that disables fbc by default on Ironlake machines; > I'd like to have it tested to make sure it actually does what it's > supposed to do, and resolves the issue for you without a special kernel > command line argument. If it does, I'll make sure this lands in 3.1 Ok will test and report the result tomorrow (Wednesday). Thanks -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-20 20:55 ` Francis Moreau @ 2011-09-21 7:57 ` Francis Moreau 2011-09-21 14:47 ` Keith Packard 0 siblings, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-21 7:57 UTC (permalink / raw) To: Keith Packard; +Cc: Linux Kernel Mailing List, Linus Torvalds On Tue, Sep 20, 2011 at 10:55 PM, Francis Moreau <francis.moro@gmail.com> wrote: > On Tue, Sep 20, 2011 at 7:18 PM, Keith Packard <keithp@keithp.com> wrote: >> On Sun, 11 Sep 2011 20:33:14 +0200, Francis Moreau <francis.moro@gmail.com> wrote: >> >>> Ok this seems to fix the issue. >> >> I've posted a patch that disables fbc by default on Ironlake machines; >> I'd like to have it tested to make sure it actually does what it's >> supposed to do, and resolves the issue for you without a special kernel >> command line argument. If it does, I'll make sure this lands in 3.1 > > Ok will test and report the result tomorrow (Wednesday). > Booting with patch applied, it seems to fix my issue. Futhermore: $ cat /sys/module/i915/parameters/i915_enable_fbc -1 Hope that helps. -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-21 7:57 ` Francis Moreau @ 2011-09-21 14:47 ` Keith Packard 0 siblings, 0 replies; 21+ messages in thread From: Keith Packard @ 2011-09-21 14:47 UTC (permalink / raw) To: Francis Moreau; +Cc: Linux Kernel Mailing List, Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 337 bytes --] On Wed, 21 Sep 2011 09:57:25 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > Booting with patch applied, it seems to fix my issue. > > Futhermore: > > $ cat /sys/module/i915/parameters/i915_enable_fbc > -1 > > Hope that helps. Yup. I'll get it pushed to stable. Thanks very much. -- keith.packard@intel.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-20 17:18 ` Keith Packard 2011-09-20 20:55 ` Francis Moreau @ 2011-09-21 18:56 ` Hugh Dickins 2011-09-21 19:16 ` Keith Packard 1 sibling, 1 reply; 21+ messages in thread From: Hugh Dickins @ 2011-09-21 18:56 UTC (permalink / raw) To: Keith Packard; +Cc: Francis Moreau, Linux Kernel Mailing List, Linus Torvalds On Tue, 20 Sep 2011, Keith Packard wrote: > On Sun, 11 Sep 2011 20:33:14 +0200, Francis Moreau <francis.moro@gmail.com> wrote: > > > Ok this seems to fix the issue. > > I've posted a patch that disables fbc by default on Ironlake machines; > I'd like to have it tested to make sure it actually does what it's > supposed to do, and resolves the issue for you without a special kernel > command line argument. If it does, I'll make sure this lands in 3.1 > > From e3d529ddfc9cec12f05e1dde0a0bf0469e15db04 Mon Sep 17 00:00:00 2001 > From: Keith Packard <keithp@keithp.com> > Date: Mon, 19 Sep 2011 21:34:19 -0700 > Subject: [PATCH] drm/i915: FBC off for ironlake, otherwise on by default > > Make the default FBC behaviour chipset specific, allowing us to turn > it on by default for everything except Ironlake where it has been > seen to cause trouble with screen updates. > > Signed-off-by: Keith Packard <keithp@keithp.com> I wonder if you're right to disable it just for INTEL_INFO(dev)->gen == 5. On this laptop I have INTEL_INFO(dev)->gen == 4, and have had to boot with i915.i915_enable_fbc=0 since 3.1-rc1 for my xterms to be reliably updated. An earlier thread on behaviour I get was http://lkml.org/lkml/2011/1/31/97 3.0-rc1 allowed me back to using KMS, but 3.1-rc1 then forced me to switch fbc off. Hugh > --- > drivers/gpu/drm/i915/i915_drv.c | 4 ++-- > drivers/gpu/drm/i915/intel_display.c | 10 +++++++++- > 2 files changed, 11 insertions(+), 3 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c > index ce045a8..f07e425 100644 > --- a/drivers/gpu/drm/i915/i915_drv.c > +++ b/drivers/gpu/drm/i915/i915_drv.c > @@ -67,11 +67,11 @@ module_param_named(i915_enable_rc6, i915_enable_rc6, int, 0600); > MODULE_PARM_DESC(i915_enable_rc6, > "Enable power-saving render C-state 6 (default: true)"); > > -unsigned int i915_enable_fbc __read_mostly = 1; > +unsigned int i915_enable_fbc __read_mostly = -1; > module_param_named(i915_enable_fbc, i915_enable_fbc, int, 0600); > MODULE_PARM_DESC(i915_enable_fbc, > "Enable frame buffer compression for power savings " > - "(default: false)"); > + "(default: -1 (use per-chip default))"); > > unsigned int i915_lvds_downclock __read_mostly = 0; > module_param_named(lvds_downclock, i915_lvds_downclock, int, 0400); > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index 9fb4a40..bc05deb 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -1799,6 +1799,7 @@ static void intel_update_fbc(struct drm_device *dev) > struct drm_framebuffer *fb; > struct intel_framebuffer *intel_fb; > struct drm_i915_gem_object *obj; > + int enable_fbc; > > DRM_DEBUG_KMS("\n"); > > @@ -1839,7 +1840,14 @@ static void intel_update_fbc(struct drm_device *dev) > intel_fb = to_intel_framebuffer(fb); > obj = intel_fb->obj; > > - if (!i915_enable_fbc) { > + enable_fbc = i915_enable_fbc; > + if (enable_fbc < 0) { > + DRM_DEBUG_KMS("fbc set to per-chip default\n"); > + enable_fbc = 1; > + if (INTEL_INFO(dev)->gen == 5) > + enable_fbc = 0; > + } > + if (!enable_fbc) { > DRM_DEBUG_KMS("fbc disabled per module param (default off)\n"); > dev_priv->no_fbc_reason = FBC_MODULE_PARAM; > goto out_disable; > -- > 1.7.6.3 > > -- > keith.packard@intel.com ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-21 18:56 ` Hugh Dickins @ 2011-09-21 19:16 ` Keith Packard 0 siblings, 0 replies; 21+ messages in thread From: Keith Packard @ 2011-09-21 19:16 UTC (permalink / raw) To: Hugh Dickins; +Cc: Francis Moreau, Linux Kernel Mailing List, Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 449 bytes --] On Wed, 21 Sep 2011 11:56:31 -0700 (PDT), Hugh Dickins <hughd@google.com> wrote: > I wonder if you're right to disable it just for INTEL_INFO(dev)->gen == 5. > On this laptop I have INTEL_INFO(dev)->gen == 4, and have had to boot with > i915.i915_enable_fbc=0 since 3.1-rc1 for my xterms to be reliably > updated. I should probably just enable it only for newer hardware that appears to have reliable FBC. -- keith.packard@intel.com [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 9:57 3.1-rc5 is the worst Francis Moreau @ 2011-09-12 9:05 ` Clemens Ladisch 2011-09-12 9:05 ` Clemens Ladisch 2011-09-12 9:24 ` Takashi Iwai 2 siblings, 0 replies; 21+ messages in thread From: Clemens Ladisch @ 2011-09-12 9:05 UTC (permalink / raw) To: Francis Moreau; +Cc: Linux Kernel Mailing List, Takashi Iwai, alsa-devel (CC to alsa-devel and Takashi) Francis Moreau wrote: > Maybe the subject sounds rude so apologize since I just want to report > that 3.1-rc5 gives me bad impression. > > 1/ I'm getting this now at each boot: > > [ 38.349671] hda_codec: too deep connection for 0x18 > [ 38.349748] hda_codec: too deep connection for 0x18 > [ 38.349842] hda_codec: too deep connection for 0x18 > [ 38.349843] hda_codec: too deep connection for 0x18 > [ 38.349844] hda_codec: too deep connection for 0x18 > [ 38.349939] hda_codec: too deep connection for 0x18 > <repeated 252 times> > > I've no idea what it does mean or it's simply a warning I can ignore > (and it that case it would be nice to limit it at least) or if it's > worse getting a fix before 3.1 is out would be great. > ... ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst @ 2011-09-12 9:05 ` Clemens Ladisch 0 siblings, 0 replies; 21+ messages in thread From: Clemens Ladisch @ 2011-09-12 9:05 UTC (permalink / raw) To: Francis Moreau; +Cc: Takashi Iwai, alsa-devel, Linux Kernel Mailing List (CC to alsa-devel and Takashi) Francis Moreau wrote: > Maybe the subject sounds rude so apologize since I just want to report > that 3.1-rc5 gives me bad impression. > > 1/ I'm getting this now at each boot: > > [ 38.349671] hda_codec: too deep connection for 0x18 > [ 38.349748] hda_codec: too deep connection for 0x18 > [ 38.349842] hda_codec: too deep connection for 0x18 > [ 38.349843] hda_codec: too deep connection for 0x18 > [ 38.349844] hda_codec: too deep connection for 0x18 > [ 38.349939] hda_codec: too deep connection for 0x18 > <repeated 252 times> > > I've no idea what it does mean or it's simply a warning I can ignore > (and it that case it would be nice to limit it at least) or if it's > worse getting a fix before 3.1 is out would be great. > ... ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-10 9:57 3.1-rc5 is the worst Francis Moreau 2011-09-10 15:11 ` Keith Packard 2011-09-12 9:05 ` Clemens Ladisch @ 2011-09-12 9:24 ` Takashi Iwai 2011-09-12 13:14 ` Francis Moreau 2 siblings, 1 reply; 21+ messages in thread From: Takashi Iwai @ 2011-09-12 9:24 UTC (permalink / raw) To: Francis Moreau; +Cc: Linux Kernel Mailing List, Linus Torvalds At Sat, 10 Sep 2011 11:57:06 +0200, Francis Moreau wrote: > > Hello, > > Maybe the subject sounds rude so apologize since I just want to report > that 3.1-rc5 gives me bad impression. > > Of course it's all about my hw support which seems to get some > regressions (I attached lspci). > > 1/ I'm getting this now at each boot: > > [ 38.349671] hda_codec: too deep connection for 0x18 > [ 38.349748] hda_codec: too deep connection for 0x18 > [ 38.349842] hda_codec: too deep connection for 0x18 > [ 38.349843] hda_codec: too deep connection for 0x18 > [ 38.349844] hda_codec: too deep connection for 0x18 > [ 38.349939] hda_codec: too deep connection for 0x18 > <repeated 252 times> > > I've no idea what it does mean or it's simply a warning I can ignore > (and it that case it would be nice to limit it at least) or if it's > worse getting a fix before 3.1 is out would be great. Could you give alsa-info.sh outputs (run with --no-upload option) for both working and non-working kernels? lspci doesn't expose anything about codecs and other details. thanks, Takashi ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-12 9:24 ` Takashi Iwai @ 2011-09-12 13:14 ` Francis Moreau 2011-09-12 14:25 ` Francis Moreau 0 siblings, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-12 13:14 UTC (permalink / raw) To: Takashi Iwai; +Cc: Linux Kernel Mailing List, Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 1463 bytes --] Hello, On Mon, Sep 12, 2011 at 11:24 AM, Takashi Iwai <tiwai@suse.de> wrote: > At Sat, 10 Sep 2011 11:57:06 +0200, > Francis Moreau wrote: >> >> Hello, >> >> Maybe the subject sounds rude so apologize since I just want to report >> that 3.1-rc5 gives me bad impression. >> >> Of course it's all about my hw support which seems to get some >> regressions (I attached lspci). >> >> 1/ I'm getting this now at each boot: >> >> [ 38.349671] hda_codec: too deep connection for 0x18 >> [ 38.349748] hda_codec: too deep connection for 0x18 >> [ 38.349842] hda_codec: too deep connection for 0x18 >> [ 38.349843] hda_codec: too deep connection for 0x18 >> [ 38.349844] hda_codec: too deep connection for 0x18 >> [ 38.349939] hda_codec: too deep connection for 0x18 >> <repeated 252 times> >> >> I've no idea what it does mean or it's simply a warning I can ignore >> (and it that case it would be nice to limit it at least) or if it's >> worse getting a fix before 3.1 is out would be great. > > Could you give alsa-info.sh outputs (run with --no-upload option) > for both working and non-working kernels? lspci doesn't expose > anything about codecs and other details. > Here is the output from the working kernel (no "too deep connection ..." warnings). kernel is 2.6.39.4. I can't give the output for the non-working kernel since I can't reboot right now. I'll send it later. Thanks -- Francis [-- Attachment #2: alsa-info.txt.QmIiZ6uayA --] [-- Type: application/octet-stream, Size: 23860 bytes --] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.60 !!################################ !!Script ran on: Mon Sep 12 13:11:05 UTC 2011 !!Linux Distribution !!------------------ Mandriva Linux release 2010.2 (Official) for x86_64 Kernel 2.6.39.4 on a 4-processor x86_64 / \l LSB_VERSION=lsb-4.0-amd64:lsb-4.0-noarch DISTRIB_ID=MandrivaLinux DISTRIB_DESCRIPTION="Mandriva Linux 2010.2" Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 !!DMI Information !!--------------- Manufacturer: Dell Inc. Product Name: Vostro 3500 Product Version: Not Specified !!Kernel Information !!------------------ Kernel release: 2.6.39.4 Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes !!ALSA Version !!------------ Driver version: 1.0.24 Library version: 1.0.23 Utilities version: 1.0.23 !!Loaded ALSA modules !!------------------- snd_hda_intel !!Sound Servers on this system !!---------------------------- Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes ESound Daemon: Installed - Yes (/usr/bin/esd) Running - No Jack: Installed - Yes (/usr/bin/jackd) Running - No !!Soundcards recognised by ALSA !!----------------------------- 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfbc00000 irq 47 !!PCI Soundcards installed in the system !!-------------------------------------- 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) !!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------- 00:1b.0 0403: 8086:3b56 (rev 06) Subsystem: 1028:0441 !!Modprobe options (Sound related) !!-------------------------------- snd-ac97-codec: power_save=1 !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: IDT 92HD81B1X5 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x111d7605 Subsystem Id: 0x10280441 Revision Id: 0x100105 No Modem Function Group found Default PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1 GPIO: io=3, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Power-Map: 0x00 Node 0x0a [Pin Complex] wcaps 0x400583: Stereo Amp-In Control: name="Front Mic Jack Mode", index=0, device=0 ControlAmp: chs=0, dir=In, idx=0, ofs=0 Control: name="Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x02 0x02] Pincap 0x0001173c: IN OUT HP EAPD Detect Vref caps: HIZ 50 GRD 80 EAPD 0x2: EAPD Pin Default 0x02a11020: [Jack] Mic at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0b [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0001001c: OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0221101f: [Jack] HP Out at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x0c [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00011734: IN OUT EAPD Detect Vref caps: HIZ 50 GRD 80 EAPD 0x2: EAPD Pin Default 0x400000f0: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0d [Pin Complex] wcaps 0x400501: Stereo Pincap 0x00010050: OUT EAPD Balanced EAPD 0x2: EAPD Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0e [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00010034: IN OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x400000f1: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x1 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x0f [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00010034: IN OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x400000f2: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x2 Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x10 [Pin Complex] wcaps 0x400500: Mono Pincap 0x00000010: OUT Pin Default 0x400000f3: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x3 Pin-ctls: 0x00: Power: setting=D0, actual=D0 Connection: 1 0x1a Node 0x11 [Pin Complex] wcaps 0x400483: Stereo Amp-In Control: name="Internal Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00000024: IN Detect Pin Default 0xd5a30160: [Both] Mic at Int Top Conn = ATAPI, Color = Unknown DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Node 0x12 [Vendor Defined Widget] wcaps 0xf00503: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Power: setting=D0, actual=D0 Connection: 1 0x20 Node 0x13 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=63 Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="STAC92xx Analog", type="Audio", device=0 Amp-Out caps: N/A Amp-Out vals: [0x60 0x60] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x14 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=63 Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: N/A Amp-Out vals: [0x60 0x60] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x15 [Audio Input] wcaps 0x1d0541: Stereo Device: name="STAC92xx Analog", type="Audio", device=0 Converter: stream=1, channel=0 SDI-Select: 0 Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x17 Processing caps: benign=0, ncoeff=0 Node 0x16 [Audio Input] wcaps 0x1d0541: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x18 Processing caps: benign=0, ncoeff=0 Node 0x17 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x0f 0x0f] Power: setting=D0, actual=D0 Connection: 7 0x0c 0x0e 0x0f 0x1b 0x11* 0x12 0x0a Node 0x18 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80] Power: setting=D0, actual=D0 Connection: 7 0x0c* 0x0e 0x0f 0x1b 0x11 0x12 0x0a Node 0x19 [Audio Selector] wcaps 0x300501: Stereo Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x1a [Audio Mixer] wcaps 0x200500: Mono Power: setting=D0, actual=D0 Connection: 1 0x19 Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] Power: setting=D0, actual=D0 Connection: 6 0x0c 0x0e 0x0f 0x13 0x14 0x0a Node 0x1c [Audio Selector] wcaps 0x30050d: Stereo Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f 0x9f] Power: setting=D0, actual=D0 Connection: 1 0x1b Node 0x1d [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Power: setting=D0, actual=D0 Delay: 4 samples Node 0x1e [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Power: setting=D0, actual=D0 Delay: 4 samples Node 0x1f [Pin Complex] wcaps 0x400781: Stereo Digital Pincap 0x00000014: OUT Detect Pin Default 0x400000f4: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x4 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 1 0x1d Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital Pincap 0x00000034: IN OUT Detect Pin Default 0x400000f5: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x5 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 1 0x1e Node 0x21 [Beep Generator Widget] wcaps 0x70040c: Mono Amp-Out Control: name="Beep Playback Switch", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="Beep Playback Volume", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00] Power: setting=D0, actual=D0 Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono Codec: Intel IbexPeak HDMI Address: 3 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862804 Subsystem Id: 0x80860101 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Device: name="HDMI 0", type="HDMI", device=3 Converter: stream=8, channel=0 Digital: Digital category: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=0, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=04, enabled=1 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x80] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x58560020: [N/A] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x80] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x58560030: [N/A] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw----+ 1 root audio 116, 7 Sep 12 14:47 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 6 Sep 12 14:47 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 5 Sep 12 14:47 /dev/snd/hwC0D3 crw-rw----+ 1 root audio 116, 4 Sep 12 14:47 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 3 Sep 12 14:55 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 2 Sep 12 14:47 /dev/snd/pcmC0D3p crw-rw----+ 1 root audio 116, 1 Sep 12 14:47 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Sep 12 14:47 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Sep 12 14:47 . drwxr-xr-x 3 root root 220 Sep 12 14:47 .. lrwxrwxrwx 1 root root 12 Sep 12 14:47 pci-0000:00:1b.0 -> ../controlC0 !!Aplay/Arecord output !!------------ APLAY **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card 0 [Intel] Card hw:0 'Intel'/'HDA Intel at 0xfbc00000 irq 47' Mixer name : 'Intel IbexPeak HDMI' Components : 'HDA:111d7605,10280441,00100105 HDA:80862804,80860101,00100000' Controls : 18 Simple ctrls : 10 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 33 [52%] [-23.25dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 254 [100%] [0.20dB] Front Right: Playback 254 [100%] [0.20dB] Simple mixer control 'Front Mic Jack Mode',0 Capabilities: enum Items: 'Mic In' 'Line In' Item0: 'Mic In' Simple mixer control 'Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 2 [67%] [20.00dB] Front Right: Capture 2 [67%] [20.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 0 [0%] [-18.00dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 15 [100%] [22.50dB] [on] Front Right: Capture 15 [100%] [22.50dB] [on] Simple mixer control 'Internal Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] !!Alsactl output !!------------- --startcollapse-- state.Intel { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Speaker Playback Volume' value.0 64 value.1 64 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Speaker Playback Switch' value.0 true value.1 true } control.3 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Mic In' comment.item.1 'Line In' iface MIXER name 'Front Mic Jack Mode' value 'Mic In' } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Beep Playback Switch' value false } control.5 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 3' comment.dbmin -1800 comment.dbmax 0 iface MIXER name 'Beep Playback Volume' value 0 } control.6 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Headphone Playback Volume' value.0 64 value.1 64 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true } control.8 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 15' comment.dbmin 0 comment.dbmax 2250 iface MIXER name 'Capture Volume' value.0 15 value.1 15 } control.9 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.10 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Mic Capture Volume' value.0 2 value.1 2 } control.11 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Internal Mic Capture Volume' value.0 0 value.1 0 } control.12 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Master Playback Volume' value 33 } control.13 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Playback Switch' value true } control.14 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.15 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.16 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.18 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 255' comment.tlv '0000000100000008ffffec1400000014' comment.dbmin -5100 comment.dbmax 0 iface MIXER name 'PCM Playback Volume' value.0 254 value.1 254 } } --endcollapse-- !!All Loaded Modules !!------------------ Module ext3 jbd uas ums_realtek usb_storage fuse af_packet ipv6 arc4 ecb snd_hda_codec_hdmi snd_hda_codec_idt brcmsmac snd_hda_intel snd_hda_codec snd_hwdep mac80211 snd_seq_dummy snd_seq_oss snd_seq_midi_event uvcvideo snd_seq sr_mod snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd videodev media v4l2_compat_ioctl32 r8169 soundcore sg cfg80211 pl2303 usbserial snd_page_alloc mii dell_laptop i2c_i801 iTCO_wdt iTCO_vendor_support dcdbas rfkill intel_ips i915 drm_kms_helper drm i2c_algo_bit i2c_core coretemp binfmt_misc cpufreq_ondemand cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table mperf nvram dm_mod kvm_intel kvm dell_wmi sparse_keymap joydev evdev wmi video battery ata_piix ahci libahci libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16 uhci_hcd ohci_hcd ehci_hcd usbhid hid usbcore !!Sysfs Files !!----------- /sys/class/sound/hwC0D0/init_pin_configs: 0x0a 0x02a11020 0x0b 0x0221101f 0x0c 0x400000f0 0x0d 0x90170110 0x0e 0x400000f1 0x0f 0x400000f2 0x10 0x400000f3 0x11 0xd5a30160 0x1f 0x400000f4 0x20 0x400000f5 /sys/class/sound/hwC0D0/driver_pin_configs: /sys/class/sound/hwC0D0/user_pin_configs: /sys/class/sound/hwC0D0/init_verbs: /sys/class/sound/hwC0D3/init_pin_configs: 0x04 0x18560010 0x05 0x58560020 0x06 0x58560030 /sys/class/sound/hwC0D3/driver_pin_configs: /sys/class/sound/hwC0D3/user_pin_configs: /sys/class/sound/hwC0D3/init_verbs: !!ALSA/HDA dmesg !!------------------ [ 23.588385] USB Video Class driver (v1.0.0) [ 23.683818] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 23.683906] HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X [ 23.683940] HDA Intel 0000:00:1b.0: setting latency timer to 64 [ 23.691466] brcmsmac: module is from the staging directory, the quality is unknown, you have been warned. -- [ 23.763570] stac92xx: dac_nids=1 (0x13/0x0/0x0/0x0/0x0) [ 23.796599] input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 23.796691] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 23.831968] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-12 13:14 ` Francis Moreau @ 2011-09-12 14:25 ` Francis Moreau 2011-09-13 8:39 ` Takashi Iwai 0 siblings, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-12 14:25 UTC (permalink / raw) To: Takashi Iwai; +Cc: Linux Kernel Mailing List, Linus Torvalds [-- Attachment #1: Type: text/plain, Size: 1675 bytes --] On Mon, Sep 12, 2011 at 3:14 PM, Francis Moreau <francis.moro@gmail.com> wrote: > Hello, > > On Mon, Sep 12, 2011 at 11:24 AM, Takashi Iwai <tiwai@suse.de> wrote: >> At Sat, 10 Sep 2011 11:57:06 +0200, >> Francis Moreau wrote: >>> >>> Hello, >>> >>> Maybe the subject sounds rude so apologize since I just want to report >>> that 3.1-rc5 gives me bad impression. >>> >>> Of course it's all about my hw support which seems to get some >>> regressions (I attached lspci). >>> >>> 1/ I'm getting this now at each boot: >>> >>> [ 38.349671] hda_codec: too deep connection for 0x18 >>> [ 38.349748] hda_codec: too deep connection for 0x18 >>> [ 38.349842] hda_codec: too deep connection for 0x18 >>> [ 38.349843] hda_codec: too deep connection for 0x18 >>> [ 38.349844] hda_codec: too deep connection for 0x18 >>> [ 38.349939] hda_codec: too deep connection for 0x18 >>> <repeated 252 times> >>> >>> I've no idea what it does mean or it's simply a warning I can ignore >>> (and it that case it would be nice to limit it at least) or if it's >>> worse getting a fix before 3.1 is out would be great. >> >> Could you give alsa-info.sh outputs (run with --no-upload option) >> for both working and non-working kernels? lspci doesn't expose >> anything about codecs and other details. >> > > Here is the output from the working kernel (no "too deep connection > ..." warnings). kernel is 2.6.39.4. > > I can't give the output for the non-working kernel since I can't > reboot right now. I'll send it later. > Ok here's the output for the bad one. Let me know if you want something else. Thanks -- Francis [-- Attachment #2: alsa-info.txt.g4bDeGzF4f --] [-- Type: application/octet-stream, Size: 38097 bytes --] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.60 !!################################ !!Script ran on: Mon Sep 12 14:21:39 UTC 2011 !!Linux Distribution !!------------------ Mandriva Linux release 2010.2 (Official) for x86_64 Kernel 3.1.0-rc5 on a 4-processor x86_64 / \l LSB_VERSION=lsb-4.0-amd64:lsb-4.0-noarch DISTRIB_ID=MandrivaLinux DISTRIB_DESCRIPTION="Mandriva Linux 2010.2" Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 Mandriva Linux release 2010.2 (Official) for x86_64 !!DMI Information !!--------------- Manufacturer: Dell Inc. Product Name: Vostro 3500 Product Version: Not Specified !!Kernel Information !!------------------ Kernel release: 3.1.0-rc5 Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes !!ALSA Version !!------------ Driver version: 1.0.24 Library version: 1.0.23 Utilities version: 1.0.23 !!Loaded ALSA modules !!------------------- snd_hda_intel !!Sound Servers on this system !!---------------------------- Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes ESound Daemon: Installed - Yes (/usr/bin/esd) Running - No Jack: Installed - Yes (/usr/bin/jackd) Running - No !!Soundcards recognised by ALSA !!----------------------------- 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfbc00000 irq 47 !!PCI Soundcards installed in the system !!-------------------------------------- 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) !!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------- 00:1b.0 0403: 8086:3b56 (rev 06) Subsystem: 1028:0441 !!Modprobe options (Sound related) !!-------------------------------- snd-ac97-codec: power_save=1 !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: IDT 92HD81B1X5 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x111d7605 Subsystem Id: 0x10280441 Revision Id: 0x100105 No Modem Function Group found Default PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1 GPIO: io=3, o=0, i=0, unsolicited=1, wake=1 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Power-Map: 0x00 Node 0x0a [Pin Complex] wcaps 0x400583: Stereo Amp-In Control: name="Front Mic Jack Mode", index=0, device=0 ControlAmp: chs=0, dir=In, idx=0, ofs=0 Control: name="Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x02 0x02] Pincap 0x0001173c: IN OUT HP EAPD Detect Vref caps: HIZ 50 GRD 80 EAPD 0x2: EAPD Pin Default 0x02a11020: [Jack] Mic at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=02, enabled=1 Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0b [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0001001c: OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x0221101f: [Jack] HP Out at Ext Front Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0xc0: OUT HP Unsolicited: tag=01, enabled=1 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x0c [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00011734: IN OUT EAPD Detect Vref caps: HIZ 50 GRD 80 EAPD 0x2: EAPD Pin Default 0x400000f0: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0d [Pin Complex] wcaps 0x400501: Stereo Pincap 0x00010050: OUT EAPD Balanced EAPD 0x2: EAPD Pin Default 0x90170110: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x0e [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00010034: IN OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x400000f1: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x1 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x0f [Pin Complex] wcaps 0x400583: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00010034: IN OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x400000f2: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x2 Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 3 0x13 0x14* 0x1c Node 0x10 [Pin Complex] wcaps 0x400500: Mono Pincap 0x00000010: OUT Pin Default 0x400000f3: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x3 Pin-ctls: 0x00: Power: setting=D0, actual=D0 Connection: 1 0x1a Node 0x11 [Pin Complex] wcaps 0x400483: Stereo Amp-In Control: name="Internal Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: N/A Amp-In vals: [0x00 0x00] Pincap 0x00000024: IN Detect Pin Default 0xd5a30160: [Both] Mic at Int Top Conn = ATAPI, Color = Unknown DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Node 0x12 [Vendor Defined Widget] wcaps 0xf00503: Stereo Amp-In Amp-In caps: N/A Amp-In vals: [0x00 0x00] Power: setting=D0, actual=D0 Connection: 1 0x20 Node 0x13 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=63 Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="STAC92xx Analog", type="Audio", device=0 Amp-Out caps: N/A Amp-Out vals: [0x54 0x54] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x14 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=63 Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: N/A Amp-Out vals: [0x54 0x54] Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x15 [Audio Input] wcaps 0x1d0541: Stereo Device: name="STAC92xx Analog", type="Audio", device=0 Converter: stream=1, channel=0 SDI-Select: 0 Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x17 Processing caps: benign=0, ncoeff=0 Node 0x16 [Audio Input] wcaps 0x1d0541: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x18 Processing caps: benign=0, ncoeff=0 Node 0x17 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x0f 0x0f] Power: setting=D0, actual=D0 Connection: 7 0x0c 0x0e 0x0f 0x1b 0x11* 0x12 0x0a Node 0x18 [Audio Selector] wcaps 0x300d0d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x80 0x80] Power: setting=D0, actual=D0 Connection: 7 0x0c* 0x0e 0x0f 0x1b 0x11 0x12 0x0a Node 0x19 [Audio Selector] wcaps 0x300501: Stereo Power: setting=D0, actual=D0 Connection: 3 0x13* 0x14 0x1c Node 0x1a [Audio Mixer] wcaps 0x200500: Mono Power: setting=D0, actual=D0 Connection: 1 0x19 Node 0x1b [Audio Mixer] wcaps 0x20050b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] Power: setting=D0, actual=D0 Connection: 6 0x0c 0x0e 0x0f 0x13 0x14 0x0a Node 0x1c [Audio Selector] wcaps 0x30050d: Stereo Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f 0x9f] Power: setting=D0, actual=D0 Connection: 1 0x1b Node 0x1d [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Power: setting=D0, actual=D0 Delay: 4 samples Node 0x1e [Audio Output] wcaps 0x4061d: Stereo Digital Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Power: setting=D0, actual=D0 Delay: 4 samples Node 0x1f [Pin Complex] wcaps 0x400781: Stereo Digital Pincap 0x00000014: OUT Detect Pin Default 0x400000f4: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x4 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 1 0x1d Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital Pincap 0x00000034: IN OUT Detect Pin Default 0x400000f5: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x5 Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Connection: 1 0x1e Node 0x21 [Beep Generator Widget] wcaps 0x70040c: Mono Amp-Out Control: name="Beep Playback Switch", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Control: name="Beep Playback Volume", index=0, device=0 ControlAmp: chs=1, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00] Power: setting=D0, actual=D0 Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono Codec: Intel IbexPeak HDMI Address: 3 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862804 Subsystem Id: 0x80860101 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=8, channel=0 Digital: Enabled GenLevel Digital category: 0x2 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=0, channel=0 Digital: Enabled Digital category: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1e]: 16 20 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: Unsolicited: tag=04, enabled=1 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x80] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x58560020: [N/A] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x80] Pincap 0x09000094: OUT Detect HBR HDMI DP Pin Default 0x58560030: [N/A] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x02* 0x03 Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw----+ 1 root audio 116, 7 Sep 12 16:14 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 6 Sep 12 16:14 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 5 Sep 12 16:14 /dev/snd/hwC0D3 crw-rw----+ 1 root audio 116, 4 Sep 12 16:15 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 3 Sep 12 16:19 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 2 Sep 12 16:14 /dev/snd/pcmC0D3p crw-rw----+ 1 root audio 116, 1 Sep 12 16:14 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Sep 12 16:14 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Sep 12 16:14 . drwxr-xr-x 3 root root 220 Sep 12 16:14 .. lrwxrwxrwx 1 root root 12 Sep 12 16:14 pci-0000:00:1b.0 -> ../controlC0 !!Aplay/Arecord output !!------------ APLAY **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card 0 [Intel] Card hw:0 'Intel'/'HDA Intel at 0xfbc00000 irq 47' Mixer name : 'Intel IbexPeak HDMI' Components : 'HDA:111d7605,10280441,00100105 HDA:80862804,80860101,00100000' Controls : 18 Simple ctrls : 10 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 21 [33%] [-32.25dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [0.00dB] [on] Front Right: Playback 64 [100%] [0.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 254 [100%] [0.20dB] Front Right: Playback 254 [100%] [0.20dB] Simple mixer control 'Front Mic Jack Mode',0 Capabilities: enum Items: 'Mic In' 'Line In' Item0: 'Mic In' Simple mixer control 'Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 2 [67%] [20.00dB] Front Right: Capture 2 [67%] [20.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 0 [0%] [-18.00dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 15 [100%] [22.50dB] [on] Front Right: Capture 15 [100%] [22.50dB] [on] Simple mixer control 'Internal Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 3 Front Left: Capture 0 [0%] [0.00dB] Front Right: Capture 0 [0%] [0.00dB] !!Alsactl output !!------------- --startcollapse-- state.Intel { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Speaker Playback Volume' value.0 64 value.1 64 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Speaker Playback Switch' value.0 true value.1 true } control.3 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Mic In' comment.item.1 'Line In' iface MIXER name 'Front Mic Jack Mode' value 'Mic In' } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Beep Playback Switch' value false } control.5 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 3' comment.dbmin -1800 comment.dbmax 0 iface MIXER name 'Beep Playback Volume' value 0 } control.6 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Headphone Playback Volume' value.0 64 value.1 64 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true } control.8 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 15' comment.dbmin 0 comment.dbmax 2250 iface MIXER name 'Capture Volume' value.0 15 value.1 15 } control.9 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.10 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Mic Capture Volume' value.0 2 value.1 2 } control.11 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Internal Mic Capture Volume' value.0 0 value.1 0 } control.12 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 64' comment.dbmin -4800 comment.dbmax 0 iface MIXER name 'Master Playback Volume' value 21 } control.13 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Playback Switch' value true } control.14 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.15 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.16 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.18 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 255' comment.tlv '0000000100000008ffffec1400000014' comment.dbmin -5100 comment.dbmax 0 iface MIXER name 'PCM Playback Volume' value.0 254 value.1 254 } } --endcollapse-- !!All Loaded Modules !!------------------ Module fuse af_packet ipv6 snd_hda_codec_hdmi snd_hda_codec_idt bcma arc4 uvcvideo videodev media v4l2_compat_ioctl32 snd_hda_intel snd_hda_codec snd_hwdep brcmsmac r8169 snd_seq_dummy snd_seq_oss snd_seq_midi_event mii snd_seq snd_seq_device dell_laptop snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd mac80211 soundcore snd_page_alloc sr_mod sg brcmutil cfg80211 rfkill intel_ips i2c_i801 iTCO_wdt iTCO_vendor_support dcdbas mei i915 drm_kms_helper drm i2c_algo_bit i2c_core coretemp binfmt_misc cpufreq_ondemand cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table mperf nvram dm_mod kvm_intel kvm video dell_wmi sparse_keymap battery wmi joydev evdev ata_piix ahci libahci libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16 uhci_hcd ohci_hcd ehci_hcd usbhid hid usbcore !!Sysfs Files !!----------- /sys/class/sound/hwC0D0/init_pin_configs: 0x0a 0x02a11020 0x0b 0x0221101f 0x0c 0x400000f0 0x0d 0x90170110 0x0e 0x400000f1 0x0f 0x400000f2 0x10 0x400000f3 0x11 0xd5a30160 0x1f 0x400000f4 0x20 0x400000f5 /sys/class/sound/hwC0D0/driver_pin_configs: /sys/class/sound/hwC0D0/user_pin_configs: /sys/class/sound/hwC0D0/init_verbs: /sys/class/sound/hwC0D3/init_pin_configs: 0x04 0x18560010 0x05 0x58560020 0x06 0x58560030 /sys/class/sound/hwC0D3/driver_pin_configs: /sys/class/sound/hwC0D3/user_pin_configs: /sys/class/sound/hwC0D3/init_verbs: !!ALSA/HDA dmesg !!------------------ [ 22.381165] brcmsmac 0000:12:00.0: setting latency timer to 64 [ 22.410900] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 22.410977] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X [ 22.411011] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 22.460302] Linux media interface: v0.10 -- [ 22.593866] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 23.465236] hda_codec: too deep connection for 0x18 [ 23.465356] hda_codec: too deep connection for 0x18 [ 23.465483] hda_codec: too deep connection for 0x18 [ 23.465484] hda_codec: too deep connection for 0x18 [ 23.465485] hda_codec: too deep connection for 0x18 [ 23.465610] hda_codec: too deep connection for 0x18 [ 23.465611] hda_codec: too deep connection for 0x18 [ 23.465613] hda_codec: too deep connection for 0x18 [ 23.465614] hda_codec: too deep connection for 0x18 [ 23.465615] hda_codec: too deep connection for 0x18 [ 23.465616] hda_codec: too deep connection for 0x18 [ 23.465617] hda_codec: too deep connection for 0x18 [ 23.465618] hda_codec: too deep connection for 0x18 [ 23.465619] hda_codec: too deep connection for 0x18 [ 23.465620] hda_codec: too deep connection for 0x18 [ 23.465621] hda_codec: too deep connection for 0x18 [ 23.465623] hda_codec: too deep connection for 0x18 [ 23.465624] hda_codec: too deep connection for 0x18 [ 23.465625] hda_codec: too deep connection for 0x18 [ 23.465626] hda_codec: too deep connection for 0x18 [ 23.465628] hda_codec: too deep connection for 0x18 [ 23.465629] hda_codec: too deep connection for 0x18 [ 23.465877] hda_codec: too deep connection for 0x18 [ 23.465878] hda_codec: too deep connection for 0x18 [ 23.465879] hda_codec: too deep connection for 0x18 [ 23.465881] hda_codec: too deep connection for 0x18 [ 23.465882] hda_codec: too deep connection for 0x18 [ 23.465883] hda_codec: too deep connection for 0x18 [ 23.466156] hda_codec: too deep connection for 0x19 [ 23.466157] hda_codec: too deep connection for 0x19 [ 23.466159] hda_codec: too deep connection for 0x19 [ 23.466160] hda_codec: too deep connection for 0x19 [ 23.466161] hda_codec: too deep connection for 0x19 [ 23.466162] hda_codec: too deep connection for 0x19 [ 23.466163] hda_codec: too deep connection for 0x19 [ 23.466164] hda_codec: too deep connection for 0x19 [ 23.466165] hda_codec: too deep connection for 0x19 [ 23.466166] hda_codec: too deep connection for 0x19 [ 23.466167] hda_codec: too deep connection for 0x19 [ 23.466168] hda_codec: too deep connection for 0x19 [ 23.466170] hda_codec: too deep connection for 0x19 [ 23.466171] hda_codec: too deep connection for 0x19 [ 23.466173] hda_codec: too deep connection for 0x19 [ 23.466174] hda_codec: too deep connection for 0x19 [ 23.466175] hda_codec: too deep connection for 0x19 [ 23.466177] hda_codec: too deep connection for 0x19 [ 23.466178] hda_codec: too deep connection for 0x19 [ 23.466180] hda_codec: too deep connection for 0x19 [ 23.466181] hda_codec: too deep connection for 0x19 [ 23.466183] hda_codec: too deep connection for 0x19 [ 23.466185] hda_codec: too deep connection for 0x19 [ 23.466187] hda_codec: too deep connection for 0x19 [ 23.466188] hda_codec: too deep connection for 0x19 [ 23.466189] hda_codec: too deep connection for 0x19 [ 23.466191] hda_codec: too deep connection for 0x19 [ 23.466192] hda_codec: too deep connection for 0x19 [ 23.466194] hda_codec: too deep connection for 0x19 [ 23.466195] hda_codec: too deep connection for 0x19 [ 23.466196] hda_codec: too deep connection for 0x19 [ 23.466197] hda_codec: too deep connection for 0x19 [ 23.466198] hda_codec: too deep connection for 0x19 [ 23.466200] hda_codec: too deep connection for 0x19 [ 23.466201] hda_codec: too deep connection for 0x19 [ 23.466202] hda_codec: too deep connection for 0x19 [ 23.466204] hda_codec: too deep connection for 0x19 [ 23.466205] hda_codec: too deep connection for 0x19 [ 23.466206] hda_codec: too deep connection for 0x19 [ 23.466208] hda_codec: too deep connection for 0x19 [ 23.466209] hda_codec: too deep connection for 0x19 [ 23.466210] hda_codec: too deep connection for 0x19 [ 23.466212] hda_codec: too deep connection for 0x19 [ 23.466213] hda_codec: too deep connection for 0x19 [ 23.466214] hda_codec: too deep connection for 0x19 [ 23.466215] hda_codec: too deep connection for 0x19 [ 23.466217] hda_codec: too deep connection for 0x19 [ 23.466218] hda_codec: too deep connection for 0x19 [ 23.466221] hda_codec: too deep connection for 0x19 [ 23.466224] hda_codec: too deep connection for 0x19 [ 23.466228] hda_codec: too deep connection for 0x19 [ 23.466231] hda_codec: too deep connection for 0x19 [ 23.466233] hda_codec: too deep connection for 0x19 [ 23.466236] hda_codec: too deep connection for 0x19 [ 23.466239] hda_codec: too deep connection for 0x19 [ 23.466242] hda_codec: too deep connection for 0x19 [ 23.466246] hda_codec: too deep connection for 0x11 [ 23.466248] hda_codec: too deep connection for 0x11 [ 23.466251] hda_codec: too deep connection for 0x11 [ 23.466254] hda_codec: too deep connection for 0x11 [ 23.466256] hda_codec: too deep connection for 0x11 [ 23.466259] hda_codec: too deep connection for 0x11 [ 23.466261] hda_codec: too deep connection for 0x11 [ 23.466264] hda_codec: too deep connection for 0x11 [ 23.466266] hda_codec: too deep connection for 0x11 [ 23.466269] hda_codec: too deep connection for 0x11 [ 23.466271] hda_codec: too deep connection for 0x11 [ 23.466273] hda_codec: too deep connection for 0x11 [ 23.466275] hda_codec: too deep connection for 0x11 [ 23.466278] hda_codec: too deep connection for 0x11 [ 23.466280] hda_codec: too deep connection for 0x11 [ 23.466282] hda_codec: too deep connection for 0x11 [ 23.466284] hda_codec: too deep connection for 0x11 [ 23.466286] hda_codec: too deep connection for 0x11 [ 23.466289] hda_codec: too deep connection for 0x11 [ 23.466291] hda_codec: too deep connection for 0x11 [ 23.466294] hda_codec: too deep connection for 0x11 [ 23.466296] hda_codec: too deep connection for 0x11 [ 23.466298] hda_codec: too deep connection for 0x11 [ 23.466301] hda_codec: too deep connection for 0x11 [ 23.466307] autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker -- [ 23.466510] stac92xx: dac_nids=1 (0x13/0x0/0x0/0x0/0x0) [ 23.466786] hda_codec: too deep connection for 0x17 [ 23.466787] hda_codec: too deep connection for 0x17 [ 23.466789] hda_codec: too deep connection for 0x17 [ 23.466790] hda_codec: too deep connection for 0x17 [ 23.466793] hda_codec: too deep connection for 0x17 [ 23.466794] hda_codec: too deep connection for 0x17 [ 23.466795] hda_codec: too deep connection for 0x17 [ 23.466800] hda_codec: too deep connection for 0x17 [ 23.466801] hda_codec: too deep connection for 0x17 [ 23.466803] hda_codec: too deep connection for 0x17 [ 23.466804] hda_codec: too deep connection for 0x17 [ 23.466805] hda_codec: too deep connection for 0x17 [ 23.466807] hda_codec: too deep connection for 0x17 [ 23.466809] hda_codec: too deep connection for 0x17 [ 23.466810] hda_codec: too deep connection for 0x17 [ 23.466811] hda_codec: too deep connection for 0x17 [ 23.466813] hda_codec: too deep connection for 0x17 [ 23.466814] hda_codec: too deep connection for 0x17 [ 23.466815] hda_codec: too deep connection for 0x17 [ 23.466816] hda_codec: too deep connection for 0x17 [ 23.466818] hda_codec: too deep connection for 0x17 [ 23.466819] hda_codec: too deep connection for 0x17 [ 23.466821] hda_codec: too deep connection for 0x17 [ 23.466822] hda_codec: too deep connection for 0x17 [ 23.466824] hda_codec: too deep connection for 0x17 [ 23.466825] hda_codec: too deep connection for 0x17 [ 23.466827] hda_codec: too deep connection for 0x17 [ 23.466828] hda_codec: too deep connection for 0x17 [ 23.466830] hda_codec: too deep connection for 0x17 [ 23.466831] hda_codec: too deep connection for 0x17 [ 23.466833] hda_codec: too deep connection for 0x17 [ 23.466834] hda_codec: too deep connection for 0x17 [ 23.466836] hda_codec: too deep connection for 0x17 [ 23.466838] hda_codec: too deep connection for 0x17 [ 23.466840] hda_codec: too deep connection for 0x17 [ 23.466841] hda_codec: too deep connection for 0x17 [ 23.466844] hda_codec: too deep connection for 0x17 [ 23.466845] hda_codec: too deep connection for 0x17 [ 23.466847] hda_codec: too deep connection for 0x17 [ 23.466848] hda_codec: too deep connection for 0x17 [ 23.466850] hda_codec: too deep connection for 0x17 [ 23.466851] hda_codec: too deep connection for 0x17 [ 23.466853] hda_codec: too deep connection for 0x17 [ 23.466855] hda_codec: too deep connection for 0x17 [ 23.466856] hda_codec: too deep connection for 0x17 [ 23.466857] hda_codec: too deep connection for 0x17 [ 23.466859] hda_codec: too deep connection for 0x17 [ 23.466860] hda_codec: too deep connection for 0x17 [ 23.466862] hda_codec: too deep connection for 0x17 [ 23.466863] hda_codec: too deep connection for 0x17 [ 23.466864] hda_codec: too deep connection for 0x17 [ 23.466866] hda_codec: too deep connection for 0x17 [ 23.466867] hda_codec: too deep connection for 0x17 [ 23.466868] hda_codec: too deep connection for 0x17 [ 23.466870] hda_codec: too deep connection for 0x17 [ 23.466872] hda_codec: too deep connection for 0x17 [ 23.466874] hda_codec: too deep connection for 0x17 [ 23.466875] hda_codec: too deep connection for 0x17 [ 23.466877] hda_codec: too deep connection for 0x17 [ 23.466879] hda_codec: too deep connection for 0x17 [ 23.466881] hda_codec: too deep connection for 0x17 [ 23.466883] hda_codec: too deep connection for 0x17 [ 23.466885] hda_codec: too deep connection for 0x17 [ 23.466887] hda_codec: too deep connection for 0x17 [ 23.466888] hda_codec: too deep connection for 0x17 [ 23.466890] hda_codec: too deep connection for 0x17 [ 23.466891] hda_codec: too deep connection for 0x17 [ 23.466893] hda_codec: too deep connection for 0x17 [ 23.466894] hda_codec: too deep connection for 0x17 [ 23.466896] hda_codec: too deep connection for 0x17 [ 23.466897] hda_codec: too deep connection for 0x17 [ 23.466899] hda_codec: too deep connection for 0x17 [ 23.466901] hda_codec: too deep connection for 0x17 [ 23.466902] hda_codec: too deep connection for 0x17 [ 23.466903] hda_codec: too deep connection for 0x17 [ 23.466905] hda_codec: too deep connection for 0x17 [ 23.466906] hda_codec: too deep connection for 0x17 [ 23.466907] hda_codec: too deep connection for 0x17 [ 23.466909] hda_codec: too deep connection for 0x17 [ 23.466910] hda_codec: too deep connection for 0x17 [ 23.466911] hda_codec: too deep connection for 0x17 [ 23.466913] hda_codec: too deep connection for 0x17 [ 23.466914] hda_codec: too deep connection for 0x17 [ 23.466916] hda_codec: too deep connection for 0x17 [ 23.466917] hda_codec: too deep connection for 0x17 [ 23.466919] hda_codec: too deep connection for 0x17 [ 23.466920] hda_codec: too deep connection for 0x17 [ 23.466922] hda_codec: too deep connection for 0x17 [ 23.466924] hda_codec: too deep connection for 0x17 [ 23.466925] hda_codec: too deep connection for 0x17 [ 23.466927] hda_codec: too deep connection for 0x17 [ 23.466929] hda_codec: too deep connection for 0x17 [ 23.466930] hda_codec: too deep connection for 0x17 [ 23.466932] hda_codec: too deep connection for 0x17 [ 23.466933] hda_codec: too deep connection for 0x17 [ 23.466934] hda_codec: too deep connection for 0x17 [ 23.466936] hda_codec: too deep connection for 0x17 [ 23.466937] hda_codec: too deep connection for 0x17 [ 23.466939] hda_codec: too deep connection for 0x17 [ 23.466940] hda_codec: too deep connection for 0x17 [ 23.466942] hda_codec: too deep connection for 0x17 [ 23.466944] hda_codec: too deep connection for 0x17 [ 23.466945] hda_codec: too deep connection for 0x17 [ 23.466947] hda_codec: too deep connection for 0x17 [ 23.466949] hda_codec: too deep connection for 0x17 [ 23.466954] hda_codec: too deep connection for 0x17 [ 23.466955] hda_codec: too deep connection for 0x17 [ 23.466956] hda_codec: too deep connection for 0x17 [ 23.466958] hda_codec: too deep connection for 0x17 [ 23.466960] hda_codec: too deep connection for 0x17 [ 23.466961] hda_codec: too deep connection for 0x17 [ 23.466963] hda_codec: too deep connection for 0x17 [ 23.466964] hda_codec: too deep connection for 0x17 [ 23.466966] hda_codec: too deep connection for 0x17 [ 23.466967] hda_codec: too deep connection for 0x17 [ 23.466969] hda_codec: too deep connection for 0x17 [ 23.466970] hda_codec: too deep connection for 0x17 [ 23.466972] hda_codec: too deep connection for 0x17 [ 23.466973] hda_codec: too deep connection for 0x17 [ 23.466974] hda_codec: too deep connection for 0x17 [ 23.466976] hda_codec: too deep connection for 0x17 [ 23.466978] hda_codec: too deep connection for 0x17 [ 23.466979] hda_codec: too deep connection for 0x17 [ 23.466980] hda_codec: too deep connection for 0x17 [ 23.466982] hda_codec: too deep connection for 0x17 [ 23.466984] hda_codec: too deep connection for 0x17 [ 23.466986] hda_codec: too deep connection for 0x17 [ 23.466987] hda_codec: too deep connection for 0x17 [ 23.466989] hda_codec: too deep connection for 0x17 [ 23.466990] hda_codec: too deep connection for 0x17 [ 23.466992] hda_codec: too deep connection for 0x17 [ 23.466994] hda_codec: too deep connection for 0x17 [ 23.466997] hda_codec: too deep connection for 0x17 [ 23.466998] hda_codec: too deep connection for 0x17 [ 23.467000] hda_codec: too deep connection for 0x17 [ 23.467002] hda_codec: too deep connection for 0x17 [ 23.467004] hda_codec: too deep connection for 0x17 [ 23.467005] hda_codec: too deep connection for 0x17 [ 23.467007] hda_codec: too deep connection for 0x17 [ 23.467008] hda_codec: too deep connection for 0x17 [ 23.467009] hda_codec: too deep connection for 0x17 [ 23.467011] hda_codec: too deep connection for 0x17 [ 23.467013] hda_codec: too deep connection for 0x17 [ 23.467014] hda_codec: too deep connection for 0x17 [ 23.471709] HDMI status: Codec=3 Pin=4 Presence_Detect=0 ELD_Valid=0 [ 24.476573] input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10 [ 24.476698] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 24.476918] input: HDA Intel HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12 [ 25.907118] NET: Registered protocol family 10 -- [ 38.397898] eth0: no IPv6 routers present [ 48.540041] hda-intel: Invalid position buffer, using LPIB read method instead. [ 48.706209] fuse init (API version 7.17) ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-12 14:25 ` Francis Moreau @ 2011-09-13 8:39 ` Takashi Iwai 2011-09-14 7:03 ` Francis Moreau 0 siblings, 1 reply; 21+ messages in thread From: Takashi Iwai @ 2011-09-13 8:39 UTC (permalink / raw) To: Francis Moreau; +Cc: Linux Kernel Mailing List, Linus Torvalds At Mon, 12 Sep 2011 16:25:44 +0200, Francis Moreau wrote: > > On Mon, Sep 12, 2011 at 3:14 PM, Francis Moreau <francis.moro@gmail.com> wrote: > > Hello, > > > > On Mon, Sep 12, 2011 at 11:24 AM, Takashi Iwai <tiwai@suse.de> wrote: > >> At Sat, 10 Sep 2011 11:57:06 +0200, > >> Francis Moreau wrote: > >>> > >>> Hello, > >>> > >>> Maybe the subject sounds rude so apologize since I just want to report > >>> that 3.1-rc5 gives me bad impression. > >>> > >>> Of course it's all about my hw support which seems to get some > >>> regressions (I attached lspci). > >>> > >>> 1/ I'm getting this now at each boot: > >>> > >>> [ 38.349671] hda_codec: too deep connection for 0x18 > >>> [ 38.349748] hda_codec: too deep connection for 0x18 > >>> [ 38.349842] hda_codec: too deep connection for 0x18 > >>> [ 38.349843] hda_codec: too deep connection for 0x18 > >>> [ 38.349844] hda_codec: too deep connection for 0x18 > >>> [ 38.349939] hda_codec: too deep connection for 0x18 > >>> <repeated 252 times> > >>> > >>> I've no idea what it does mean or it's simply a warning I can ignore > >>> (and it that case it would be nice to limit it at least) or if it's > >>> worse getting a fix before 3.1 is out would be great. > >> > >> Could you give alsa-info.sh outputs (run with --no-upload option) > >> for both working and non-working kernels? lspci doesn't expose > >> anything about codecs and other details. > >> > > > > Here is the output from the working kernel (no "too deep connection > > ..." warnings). kernel is 2.6.39.4. > > > > I can't give the output for the non-working kernel since I can't > > reboot right now. I'll send it later. > > > > Ok here's the output for the bad one. > > Let me know if you want something else. Thanks! The patch below should fix the problem. Give it a try. Takashi --- From: Takashi Iwai <tiwai@suse.de> Subject: [PATCH] ALSA: hda - Terminate the recursive connection search properly The recursive search of widget connections in snd_hda_get_conn_index() must be terminated at the pin and the audio-out widgets. Otherwise you'll get "too deep connection" warnings unnecessarily. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/pci/hda/hda_codec.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 3e7850c..f3aefef 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -579,9 +579,13 @@ int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, return -1; } recursive++; - for (i = 0; i < nums; i++) + for (i = 0; i < nums; i++) { + unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); + if (type == AC_WID_PIN || type == AC_WID_AUD_OUT) + continue; if (snd_hda_get_conn_index(codec, conn[i], nid, recursive) >= 0) return i; + } return -1; } EXPORT_SYMBOL_HDA(snd_hda_get_conn_index); -- 1.7.6.1 ^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-13 8:39 ` Takashi Iwai @ 2011-09-14 7:03 ` Francis Moreau 2011-09-15 20:00 ` Linus Torvalds 0 siblings, 1 reply; 21+ messages in thread From: Francis Moreau @ 2011-09-14 7:03 UTC (permalink / raw) To: Takashi Iwai; +Cc: Linux Kernel Mailing List, Linus Torvalds Hello, On Tue, Sep 13, 2011 at 10:39 AM, Takashi Iwai <tiwai@suse.de> wrote: > > The patch below should fix the problem. Give it a try. > Yes it does, thanks ! > > --- > From: Takashi Iwai <tiwai@suse.de> > Subject: [PATCH] ALSA: hda - Terminate the recursive connection search properly > > The recursive search of widget connections in snd_hda_get_conn_index() > must be terminated at the pin and the audio-out widgets. Otherwise > you'll get "too deep connection" warnings unnecessarily. > > Signed-off-by: Takashi Iwai <tiwai@suse.de> > --- > sound/pci/hda/hda_codec.c | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c > index 3e7850c..f3aefef 100644 > --- a/sound/pci/hda/hda_codec.c > +++ b/sound/pci/hda/hda_codec.c > @@ -579,9 +579,13 @@ int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, > return -1; > } > recursive++; > - for (i = 0; i < nums; i++) > + for (i = 0; i < nums; i++) { > + unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); > + if (type == AC_WID_PIN || type == AC_WID_AUD_OUT) > + continue; > if (snd_hda_get_conn_index(codec, conn[i], nid, recursive) >= 0) > return i; > + } > return -1; > } > EXPORT_SYMBOL_HDA(snd_hda_get_conn_index); > -- > 1.7.6.1 > > -- Francis ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-14 7:03 ` Francis Moreau @ 2011-09-15 20:00 ` Linus Torvalds 2011-09-16 4:56 ` Takashi Iwai 0 siblings, 1 reply; 21+ messages in thread From: Linus Torvalds @ 2011-09-15 20:00 UTC (permalink / raw) To: Francis Moreau, Takashi Iwai; +Cc: Linux Kernel Mailing List On Wed, Sep 14, 2011 at 12:03 AM, Francis Moreau <francis.moro@gmail.com> wrote: > > On Tue, Sep 13, 2011 at 10:39 AM, Takashi Iwai <tiwai@suse.de> wrote: >> >> The patch below should fix the problem. Give it a try. > > Yes it does, thanks ! Takashi, should I just apply it, or do you have a git tree to pull, or what? Linus ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: 3.1-rc5 is the worst 2011-09-15 20:00 ` Linus Torvalds @ 2011-09-16 4:56 ` Takashi Iwai 0 siblings, 0 replies; 21+ messages in thread From: Takashi Iwai @ 2011-09-16 4:56 UTC (permalink / raw) To: Linus Torvalds; +Cc: Francis Moreau, Linux Kernel Mailing List At Thu, 15 Sep 2011 13:00:58 -0700, Linus Torvalds wrote: > > On Wed, Sep 14, 2011 at 12:03 AM, Francis Moreau <francis.moro@gmail.com> wrote: > > > > On Tue, Sep 13, 2011 at 10:39 AM, Takashi Iwai <tiwai@suse.de> wrote: > >> > >> The patch below should fix the problem. Give it a try. > > > > Yes it does, thanks ! > > Takashi, should I just apply it, or do you have a git tree to pull, or what? I'll send a pull request soon later. thanks, Takashi ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2011-09-21 19:16 UTC | newest] Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-09-10 9:57 3.1-rc5 is the worst Francis Moreau 2011-09-10 15:11 ` Keith Packard 2011-09-10 19:42 ` Francis Moreau 2011-09-11 7:09 ` Sitsofe Wheeler 2011-09-11 18:32 ` Francis Moreau 2011-09-11 18:33 ` Francis Moreau 2011-09-20 17:18 ` Keith Packard 2011-09-20 20:55 ` Francis Moreau 2011-09-21 7:57 ` Francis Moreau 2011-09-21 14:47 ` Keith Packard 2011-09-21 18:56 ` Hugh Dickins 2011-09-21 19:16 ` Keith Packard 2011-09-12 9:05 ` Clemens Ladisch 2011-09-12 9:05 ` Clemens Ladisch 2011-09-12 9:24 ` Takashi Iwai 2011-09-12 13:14 ` Francis Moreau 2011-09-12 14:25 ` Francis Moreau 2011-09-13 8:39 ` Takashi Iwai 2011-09-14 7:03 ` Francis Moreau 2011-09-15 20:00 ` Linus Torvalds 2011-09-16 4:56 ` Takashi Iwai
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.