[mythtv-users] setpci, interrupts (Was: SOLVED System Load/Performance Question)
Osma Ahvenlampi
oa at iki.fi
Sat Feb 25 17:10:43 UTC 2006
> > I'm trying to reset the latency_timer on my on-board nforce2 sound to
> > 32 instead of 0, but it doesn't seem to work. I issue the command
> > "setpci -v -s 00:06.0 latency_timer=20 as root, but lspci still shows
> > the latency as being 0. Any ideas?
I wonder if someone might be able to advice on a somewhat related
problem. I also have an nforce2 IGP system, but I'm suffering from
graphics related instability. The X server sometimes crashes, sometimes
locks up intermittently. It's 100% repeatable when trying to do anything
OpenGL related (mythtv opengl vsync, glxgears, etc), and otherwise very
unpredictable. The same box has, however, already run MythTV otherwise
fine for over a year, and OpenGL has worked before.
I've gone through a lot of stuff - different NVidia driver versions (now
using 7676, but tried many of the 8xxx releases as well), system
temperatures (fairly high in the Silverstone LC11 case, but not totally
overboard), turning off AGP modes, underclocking the graphics, etc. The
thing I'm beginning to suspect might be the reason is a shared interrupt
between the nvidia IGP and one of my DVB capture cards. However, I
haven't figured out a way to change that. I do have free IRQ lines in
the system, but no free PCI slots (the small case leaves me no
flexibility in this respect).
I'm using an ASUS A7N8X-VM/400, with two Technisat AirStar 2 PCI cards.
These are the only components in the system, with all other functions
integrated on the M/B. The BIOS does not give me a lot of options. I
haven't tried ripping out the DVB cards to verify my suspicion, since
this box is the only TV receiver we have...
So, how could I move some functions out of the IRQ lines 10 and 11, to
any of the free ones, like 3, 6, 7, or 13? Some hardware info below..
Thanks,
//osma
$ cat /proc/interrupts
CPU0
0: 8485805 XT-PIC timer
1: 12 XT-PIC i8042
2: 0 XT-PIC cascade
4: 8838 XT-PIC lirc_serial
5: 1 XT-PIC ehci_hcd:usb1
8: 10537362 XT-PIC rtc
9: 1 XT-PIC acpi
10: 16338185 XT-PIC Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver, NVidia nForce2, eth0
11: 16168023 XT-PIC Technisat/B2C2 FlexCop II/IIb/III Digital TV PCI Driver, ohci_hcd:usb2, ohci_hcd:usb3, nvidia
12: 102 XT-PIC i8042
14: 1336297 XT-PIC ide0
15: 1353866 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 1
MIS: 0
$ lspci -v
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at c0000000 (32-bit, prefetchable) [size=512M]
Capabilities: [40] AGP version 2.0
Capabilities: [60] HyperTransport: Host or Secondary Interface
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: 66Mhz, fast devsel
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: [48] HyperTransport: Slave or Primary Interface
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
Subsystem: ASUSTeK Computer Inc.: Unknown device 80ad
Flags: 66Mhz, fast devsel, IRQ 10
I/O ports at ef80 [size=32]
Capabilities: [44] Power Management version 2
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at fe700000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at fe800000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 5
Memory at fe900000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port
Capabilities: [80] Power Management version 2
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. A7N8X Mainboard onboard nForce2 Ethernet
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 10
Memory at fea00000 (32-bit, non-prefetchable) [size=4K]
I/O ports at eff0 [size=8]
Capabilities: [44] Power Management version 2
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
Subsystem: ASUSTeK Computer Inc.: Unknown device 8095
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 10
I/O ports at e800 [size=256]
I/O ports at ec00 [size=128]
Memory at feb00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fdd00000-fe0fffff
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Master SecP PriP])
Subsystem: ASUSTeK Computer Inc.: Unknown device 80ad
Flags: bus master, 66Mhz, fast devsel, latency 0
I/O ports at ffa0 [size=16]
Capabilities: [44] Power Management version 2
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fbb00000-fdcfffff
Prefetchable memory behind bridge: b3800000-bb9fffff
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3) (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc.: Unknown device 80c0
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Memory at b4000000 (32-bit, prefetchable) [size=64M]
Memory at bb900000 (32-bit, prefetchable) [size=512K]
[virtual] Expansion ROM at fdc00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
02:06.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card
Flags: bus master, slow devsel, latency 64, IRQ 11
Memory at fdf00000 (32-bit, non-prefetchable) [size=64K]
I/O ports at df40 [size=32]
02:07.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
Subsystem: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2 DVB card
Flags: bus master, slow devsel, latency 64, IRQ 10
Memory at fe000000 (32-bit, non-prefetchable) [size=64K]
I/O ports at df80 [size=32]
More information about the mythtv-users
mailing list