DragonFly kernel List (threaded) for 2012-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: snd_hda
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Oct 12, 2012 at 11:32:02PM +0200, Sascha Wildner wrote:
> In this case, it's probably still enabled (if the hardware supports
> it), as the tunable will not affect it without being loaded by the
> loader or being in the kernel.
Shouldn't I be able to query this tunable with sysctl, when it is set
in loader.conf and sound is loaded either via loader.conf of kldload?
> If snd_hda_load is in loader.conf, but the MSI tunable is not, it
> works? If so, that's weird. Disabling MSI should not affect that.
With 3.2 using snd_hda_load doesn't work properly (everything looks
good, but mplayer complains) no matter if/how I set
hw.snd.hdac.msi.enable.
> In any case, you can check if MSI is used or not either from the
> dmesg or by looking at pciconf -lvc output:
>
> cap 05[a0] = MSI supports 1 message, 64 bit
>
> means no MSI enabled.
>
> cap 05[a0] = MSI supports 1 message, 64 bit enabled with 1 message
>
> means it is enabled.
Ok, anything now without snd_hda_load.
First reboot without hw.snd.hdac.msi.enable=0:
The output before kldload snd_hda is attached. After kldload the
output changes as shown in the first attached diff (pcm0 does not
use MSI, pcm1 uses MSI, mplayer uses /dev/dsp0 and/or /dev/dsp0.2)
Second reboot with hw.snd.hdac.msi.enable=0:
Same pciconf output before kldload. The changes after kldload are in
the second diff (only the name/id changes none -> pcm, no MSI)
And the sound is bad in both cases.
So the tunable seems to work but seems to have no influence on the
problem.
--
Goetz
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pciconf-lvc.o"
hostb0@pci0:0:0:0: class=0x060000 card=0x59571002 chip=0x59571002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RX780/RX790 Chipset Host Bridge'
class = bridge
subclass = HOST-PCI
cap 08[c4] = HT slave
cap 08[40] = HT retry mode
cap 08[54] = HT unit ID clumping
cap 08[9c] = HT unknown d03c
pcib1@pci0:0:2:0: class=0x060400 card=0x59571002 chip=0x59781002 rev=0x00 hdr=0x01
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RD790 PCI to PCI bridge (external gfx0 port A)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x59571002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
pcib2@pci0:0:10:0: class=0x060400 card=0x59571002 chip=0x597f1002 rev=0x00 hdr=0x01
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'RD790 PCI to PCI bridge (PCI express gpp port F)'
class = bridge
subclass = PCI-PCI
cap 01[50] = powerspec 3 supports D0 D3 current D0
cap 10[58] = PCI-Express 2 root port
cap 05[a0] = MSI supports 1 message
cap 0d[b0] = PCI Bridge card=0x59571002
cap 08[b8] = HT MSI fixed address window enabled at 0xfee00000
atapci0@pci0:0:17:0: class=0x01018f card=0xb0021458 chip=0x43901002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]'
class = mass storage
subclass = ATA
cap 01[60] = powerspec 2 supports D0 D3 current D0
cap 12[70] = unknown
ohci0@pci0:0:18:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ohci1@pci0:0:18:1: class=0x0c0310 card=0x50041458 chip=0x43981002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0 USB OHCI1 Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:18:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
cap 01[c0] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
ohci2@pci0:0:19:0: class=0x0c0310 card=0x50041458 chip=0x43971002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ohci3@pci0:0:19:1: class=0x0c0310 card=0x50041458 chip=0x43981002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0 USB OHCI1 Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:19:2: class=0x0c0320 card=0x50041458 chip=0x43961002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
cap 01[c0] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 0a[e4] = EHCI Debug Port at offset 0xe0 in map 0x14
none0@pci0:0:20:0: class=0x0c0500 card=0x43851458 chip=0x43851002 rev=0x3c hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 SMBus Controller'
class = serial bus
subclass = SMBus
cap 08[b0] = HT MSI fixed address window disabled at 0xfee00000
atapci1@pci0:0:20:1: class=0x01018a card=0x50021458 chip=0x439c1002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 IDE Controller'
class = mass storage
subclass = ATA
cap 05[70] = MSI supports 2 messages
none1@pci0:0:20:2: class=0x040300 card=0xa0021458 chip=0x43831002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 Azalia (Intel HDA)'
class = multimedia
subclass = HDA
cap 01[50] = powerspec 2 supports D0 D3 current D0
isab0@pci0:0:20:3: class=0x060100 card=0x439d1002 chip=0x439d1002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 LPC host controller'
class = bridge
subclass = PCI-ISA
pcib3@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43841002 rev=0x00 hdr=0x01
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 PCI to PCI Bridge'
class = bridge
subclass = PCI-PCI
ohci4@pci0:0:20:5: class=0x0c0310 card=0x50041458 chip=0x43991002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
class = serial bus
subclass = USB
hostb1@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x12001022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor HyperTransport Configuration'
class = bridge
subclass = HOST-PCI
cap 08[80] = HT host
hostb2@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x12011022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Address Map'
class = bridge
subclass = HOST-PCI
hostb3@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x12021022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor DRAM Controller'
class = bridge
subclass = HOST-PCI
hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x12031022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Miscellaneous Control'
class = bridge
subclass = HOST-PCI
cap 0f[f0] = unknown
hostb5@pci0:0:24:4: class=0x060000 card=0x00000000 chip=0x12041022 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Family 10h Processor Link Control'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:1:0:0: class=0x030000 card=0x83541043 chip=0x0a6510de rev=0xa2 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GT218 [GeForce 210]'
class = display
subclass = VGA
cap 01[60] = powerspec 3 supports D0 D3 current D0
cap 05[68] = MSI supports 1 message, 64 bit
cap 10[78] = PCI-Express 2 endpoint
cap 09[b4] = vendor (length 20)
none2@pci0:1:0:1: class=0x040300 card=0x83541043 chip=0x0be310de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'High Definition Audio Controller'
class = multimedia
subclass = HDA
cap 01[60] = powerspec 3 supports D0 D3 current D0
cap 05[68] = MSI supports 1 message, 64 bit
cap 10[78] = PCI-Express 2 endpoint
re0@pci0:2:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
class = network
subclass = ethernet
cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0
cap 05[50] = MSI supports 1 message, 64 bit
cap 10[70] = PCI-Express 2 endpoint
cap 11[b0] = MSI-X supports 4 messages in map 0x20
cap 03[d0] = VPD
fwohci0@pci0:3:14:0: class=0x0c0010 card=0x10001458 chip=0x8024104c rev=0x00 hdr=0x00
vendor = 'Texas Instruments'
device = 'TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)'
class = serial bus
subclass = FireWire
cap 01[44] = powerspec 2 supports D0 D1 D2 D3 current D0
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pciconf-without.diff"
--- pciconf-lvc.o 2012-10-13 08:09:17.817813000 +0200
+++ pciconf-lvc-after-kldload.o 2012-10-13 08:23:36.131132000 +0200
@@ -80,7 +80,7 @@
class = mass storage
subclass = ATA
cap 05[70] = MSI supports 2 messages
-none1@pci0:0:20:2: class=0x040300 card=0xa0021458 chip=0x43831002 rev=0x00 hdr=0x00
+pcm0@pci0:0:20:2: class=0x040300 card=0xa0021458 chip=0x43831002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 Azalia (Intel HDA)'
class = multimedia
@@ -137,13 +137,13 @@
cap 05[68] = MSI supports 1 message, 64 bit
cap 10[78] = PCI-Express 2 endpoint
cap 09[b4] = vendor (length 20)
-none2@pci0:1:0:1: class=0x040300 card=0x83541043 chip=0x0be310de rev=0xa1 hdr=0x00
+pcm1@pci0:1:0:1: class=0x040300 card=0x83541043 chip=0x0be310de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'High Definition Audio Controller'
class = multimedia
subclass = HDA
cap 01[60] = powerspec 3 supports D0 D3 current D0
- cap 05[68] = MSI supports 1 message, 64 bit
+ cap 05[68] = MSI supports 1 message, 64 bit enabled with 1 message
cap 10[78] = PCI-Express 2 endpoint
re0@pci0:2:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x06 hdr=0x00
vendor = 'Realtek Semiconductor Co., Ltd.'
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pciconf-with.diff"
--- pciconf-lvc-with.o 2012-10-13 08:30:36.646041000 +0200
+++ pciconf-lvc-with-after-kldload.o 2012-10-13 08:31:32.408224000 +0200
@@ -80,7 +80,7 @@
class = mass storage
subclass = ATA
cap 05[70] = MSI supports 2 messages
-none1@pci0:0:20:2: class=0x040300 card=0xa0021458 chip=0x43831002 rev=0x00 hdr=0x00
+pcm0@pci0:0:20:2: class=0x040300 card=0xa0021458 chip=0x43831002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices [AMD] nee ATI'
device = 'SBx00 Azalia (Intel HDA)'
class = multimedia
@@ -137,7 +137,7 @@
cap 05[68] = MSI supports 1 message, 64 bit
cap 10[78] = PCI-Express 2 endpoint
cap 09[b4] = vendor (length 20)
-none2@pci0:1:0:1: class=0x040300 card=0x83541043 chip=0x0be310de rev=0xa1 hdr=0x00
+pcm1@pci0:1:0:1: class=0x040300 card=0x83541043 chip=0x0be310de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'High Definition Audio Controller'
class = multimedia
--IJpNTDwzlM2Ie8A6--
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]