Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] AW: EPG scan cause high load and AC3 drop outs



Hallo,

Unfortunatly it is still not better after testing the things mentioned.

Maybee it is the high IRQ load mentined here togehter with sharing
interrupts !?
(My primary DVB-s shares the IRQ with the Onboard Intel 815 graphics card -
see below)
I saw that too on Friday while testing.

> The bitstreamout plugin uses the VDR interface for getting the TS
> of the AC3 stream from the DVB card.   Together with the data streams
> for EPG this may sum up.

Could it be that there is is a problem in that part of VDR (in my
configuration) ?
Maybee some kind of buffer could help ?

> hmmm .. 800-1000 is really three times more than I suspect.  IMHO
> the driver + firmware should be able to transport one TS frame
> aka 188 bytes at once ... and together with the appropiate buffer
> within the fimrware (let's say 1024 bytes) it should be possible
> to decrease the needed IRQ's and the calls of the IRQ handler
> in the driver.

Or that the Driver has to be changed ?


> Hmmm ... I'd like to suppose to set the IRQ's of the PCI slots for the
> DVB cards manually in the CMOS setup.  Before doing this, print out
> or write to paper the data found with
>
>       cat /proc/interrupts
>
> try to use IRQ lines which will not shared by any other hardware.
> Note that you've to check this after reboot with the new values due
> some `intelligent'  Plug&Play^H^H^Hrpay BIOS around there.


Unfortunatly my BIOS is quite bad, there is absolutely nothing you can setup
with IRQ's :(
And I have only got 3 PCI Slots and in them : 2 * DVB and 1 Soundcard
Because the Soundcard has got an external SPDIF slot it needs 2 slots,
therfore I do not have many possibilities.

This is the IRQ usage and sharing (see "cat /proc/interrupts" + "lspci -v"
at the bottom too) :
Soundcard IRQ 5  - not sharing.
DVB-s IRQ9	     - sharing with Graphicscard (onboard Intel815)
Nova-s IRQ 11    - sharing with and Intel 82801BA-ICH2 (AC'97
Audio+82801BA/BAM SMBus)


Is there some way to change this under Linux ?
With ACPI ?


This is what I tried Friday :
I tried to remove the Nova-s - it did not help.
I tried to move the DVB-s to the slot of the Nova (nova still removed) - no
change.
I even tried an Nvidia AGP Videocard to see if it is the onboard intel 815
graphics - no change (became the same IRQ as the Intel = irq9).

The only thing i did not swap was the Soundcard. Unfortunatly at that time
my PSU died on me :( so that I could not test that. On the other hand it can
only sit where it does (needs 2 slots) - so that would not solve my problem.


I had an Maxtor 80GB (using FAT for the Videofiles) - now I have installed a
new Harddisk (120GB Samsung - very silent :) with ReiserFS - that did not
help either.

> Next is: you should use mask IRQ and other speed ups for accessing
> IDE drives, e.g.
>
>         hdparm -c 1 -d 1 -A 1 -m 16 -X 66 -u 1 /dev/hda

Did not help.
Already had most of it (except -A 1 and -u 1).

Btw. I also installed ALSA driver from 13.03.03 (ALSA 0.9.1 - with changes
for Suse 8.0) - did not help either.

I have now tried everything that came into my mind, exept installing Linux
from scratch and doing the package update from suse with yast2. Among others
glibc is newer here - not sure if that could fix the poblem ?

Anyone got an idea ?


I think I will try to ask this ML (in a new thread) who is using
bitstreamout/AC3overDVB.


###############################################################

cat /proc/interrupts after running 5 min. (no AC3/DD) :
           CPU0
  0:       9719          XT-PIC  timer
  1:          2          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:          1          XT-PIC  lirc_serial
  5:          0          XT-PIC  CMI8738
  8:          2          XT-PIC  rtc
  9:       2178          XT-PIC  saa7146(0)
 10:        452          XT-PIC  usb-uhci, usb-uhci, e100
 11:          1          XT-PIC  Intel 82801BA-ICH2, saa7146(1)
 14:       5851          XT-PIC  ide0
 15:         12          XT-PIC  ide1
NMI:          0
ERR:          0

######################################################################

lspci -v :

00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory
Controller Hub (rev 02)
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: bus master, fast devsel, latency 0
	Capabilities: [88] #09 [f104]

00:02.0 VGA compatible controller: Intel Corp. 82815 CGC [Chipset Graphics
Controller] (rev 02) (prog-if 00 [VGA])
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 9
	Memory at 84000000 (32-bit, prefetchable) [size=64M]
	Memory at 80500000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [dc] Power Management version 2

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 02) (prog-if 00
[Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 00007000-00007fff
	Memory behind bridge: 80100000-801fffff

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 02)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 02) (prog-if 80
[Master])
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: bus master, medium devsel, latency 0
	I/O ports at 8c00 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub  (rev 02) (prog-if
00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: bus master, medium devsel, latency 0, IRQ 10
	I/O ports at 8880 [size=32]

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 02)
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: medium devsel, IRQ 11
	I/O ports at 8000 [size=16]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub  (rev 02) (prog-if
00 [UHCI])
	Subsystem: Acer Incorporated [ALI]: Unknown device 2032
	Flags: bus master, medium devsel, latency 0, IRQ 10
	I/O ports at 88c0 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio
(rev 02)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0026
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 8400 [size=256]
	I/O ports at 8800 [size=64]

01:00.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
	Subsystem: Technotrend Systemtechnik GmbH: Unknown device 0000
	Flags: bus master, medium devsel, latency 128, IRQ 9
	Memory at 80100000 (32-bit, non-prefetchable) [size=512]

01:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
	Subsystem: Technotrend Systemtechnik GmbH: Unknown device 1003
	Flags: bus master, medium devsel, latency 128, IRQ 11
	Memory at 80100400 (32-bit, non-prefetchable) [size=512]

01:06.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
	Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
	Flags: bus master, stepping, medium devsel, latency 8, IRQ 5
	I/O ports at 7000 [size=256]
	Capabilities: [c0] Power Management version 2

01:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet
Controller (rev 01)
	Subsystem: Intel Corp.: Unknown device 3013
	Flags: bus master, medium devsel, latency 32, IRQ 10
	Memory at 80101000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at 7400 [size=64]
	Capabilities: [dc] Power Management version 2

#########################################################################
cat /proc/ide/hda/settings :

name			value		min		max		mode
----			-----		---		---		----
acoustic                0               0               254             rw
address                 0               0               2               rw
bios_cyl                14596           0               65535           rw
bios_head               255             0               255             rw
bios_sect               63              0               63              rw
breada_readahead        8               0               255             rw
bswap                   0               0               1               r
current_speed           66              0               70              rw
failures                0               0               65535           rw
file_readahead          124             0               16384           rw
ide_scsi                0               0               1               rw
init_speed              69              0               70              rw
io_32bit                1               0               3               rw
keepsettings            0               0               1               rw
lun                     0               0               7               rw
max_failures            1               0               65535           rw
max_kb_per_request      128             1               255             rw
multcount               16              0               16              rw
nice1                   1               0               1               rw
nowerr                  0               0               1               rw
number                  0               0               3               rw
pio_mode                write-only      0               255             w
slow                    0               0               1               rw
unmaskirq               1               0               1               rw
using_dma               1               0               1               rw
wcache                  0               0               1               rw

Greetings
Christian



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index