Newsgroup: it.comp.os.linux.debian
Titolo: Problemi audio / video

Ciao a tutti, vi sottopongo un paio di problemi che mi sono sorti qualche  
tempo e di cui non riesco a trovare la soluzione:
Il primo riguarda la gestione della scheda audio, SoundBlaster Audigy LS:  
da quello che ho potuto verificare il kernel non riesce a montare il  
modulo,
vi riporto di seguito l'output del comando alsaconf, ma lo stesso si  
presenda ad ogni riavvio del PC:
WARNING: Error inserting snd_ac97_codec  
(/lib/modules/2.6.18-4-686/updates/alsa/pci/ac97/snd-ac97-codec.ko):  
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_ca0106  
(/lib/modules/2.6.18-4-686/updates/alsa/pci/ca0106/snd-ca0106.ko): Unknown  
symbol in module, or unknown parameter (see dmesg)
Ho provato più di una volta a disinstallare e reinstallare i moduli alsa  
ma nulla da fare.
Il secondo problema, che ho iniziato ad avere, riguarda la visualizzazione  
dei filmati video, infatti i vari player, vlc, mplayer, kaffeine etc...,  
mi aprono i file, senza dare errori, sembrano iniziare la riproduzione, ma  
sembra che i frame non vengano disegnati a video. La cosa buffa è che  
eseguo il play di un filmato di youtube da browser, il problema non si  
presenta.
Ciao e grazie a tutti
Krys

 presenta
Mi pare che tali filmati siano in formato flash
Ciao

 ma nulla da fare.
Sì, ma quando hai guardato dmesg che t'ha detto?
-- 
Flavio Visentin
Scientists have finally discovered what's wrong with the female brain:
On the left side, there is nothing right, and on the right side, there
is nothing left.


In fondo al reply riporto tutto il contenuto di dmesg, cmq, la parte di  
nostro
interesse dovrebbe essere:
snd_ac97_codec: disagrees about version of symbol ac97_bus_type
snd_ac97_codec: Unknown symbol ac97_bus_type
snd_ca0106: Unknown symbol snd_ac97_mixer
snd_ca0106: Unknown symbol snd_ac97_bus
Ciao e grazie
Krys
--------------------------------------------------------------------------------------------------------
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2)  
(
da...@debian.org
) (gcc version 4.1.2 20061115 (prerelease) (Debian  
4.1.1-21)) #1 SMP Wed May 9 23:03:12 UTC 2007
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
  BIOS-e820: 000000003fff0000 - 000000003fff8000 (ACPI data)
  BIOS-e820: 000000003fff8000 - 0000000040000000 (ACPI NVS)
  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
  BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262128
   DMA zone: 4096 pages, LIFO batch:0
   Normal zone: 225280 pages, LIFO batch:31
   HighMem zone: 32752 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 AMI                                   ) @ 0x000fab70
ACPI: RSDT (v001 AMIINT SiS740XX 0x00001000 MSFT 0x0100000b) @ 0x3fff0000
ACPI: FADT (v001 AMIINT SiS740XX 0x00000011 MSFT 0x0100000b) @ 0x3fff0030
ACPI: MADT (v001 AMIINT SiS740XX 0x00001000 MSFT 0x0100000b) @ 0x3fff00c0
ACPI: DSDT (v001    SiS      746 0x00000100 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:10 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
Detected 1249.998 MHz processor.
Built 1 zonelists.  Total pages: 262128
Kernel command line: root=/dev/hda1 ro
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1031116k/1048512k available (1544k kernel code, 16708k reserved,  
577k data, 196k init, 131008k highmem)
Checking if this processor honours the WP bit even in supervisor mode...  
Ok.
Calibrating delay using timer specific routine.. 2501.54 BogoMIPS  
(lpj=5003092)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000  
00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000  
00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000420 00000000  
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20060707
CPU0: AMD Athlon(tm) XP stepping 00
Total of 1 processors activated (2501.54 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 5032k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Uncovering SIS963 that hid as a SIS503 (compatible=0)
Enabling SiS 96x SMBus.
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15) *0,  
disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0,  
disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a  
report
PCI: Bridge: 0000:00:01.0
   IO window: b000-bfff
   MEM window: cfd00000-cfefffff
   PREFETCH window: afa00000-cfbfffff
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1198311323.132:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 196k freed
input: AT Translated Set 2 keyboard as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
     ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:DMA, hdb:DMA
     ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
usbcore: registered new driver usbfs
usbcore: registered new driver hub
sis900.c: v1.08.10 Apr. 2 2006
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hda: Maxtor 6Y160P0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 169
0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 1.
0000:00:04.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xdc00, IRQ 169, 00:0b:6a:56:c7:42.
ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 177
ohci_hcd 0000:00:03.0: OHCI Host Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:03.0: irq 177, io mem 0xcfffd000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 185
ohci_hcd 0000:00:03.1: OHCI Host Controller
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.1: irq 185, io mem 0xcfffe000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.2[D] -> GSI 23 (level, low) -> IRQ 193
ehci_hcd 0000:00:03.2: EHCI Host Controller
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
PCI: cache line size of 64 is not supported by device 0000:00:03.2
ehci_hcd 0000:00:03.2: irq 193, io mem 0xcffff000
ehci_hcd 0000:00:03.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt 0000:00:0d.0[A] -> GSI 17 (level, low) -> IRQ 201
eth1: RTL8169s/8110s at 0xf886cf00, 00:0e:2e:2d:31:2f, IRQ 201
hda: max request size: 512KiB
hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63,  
UDMA(133)
hda: cache flushes supported
  hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first  
block 18, max trans len 1024, max batch 900, max commit age 30, max trans  
age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Linux agpgart interface v0.101 (c) Dave Jones
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 209
radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=166.00  
MHz
radeonfb: PLL min 20000 max 40000
agpgart: Detected SiS 746 chipset
agpgart: AGP aperture is 64M @ 0xd0000000
input: PC Speaker as /class/input/input1
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 0  
[PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
snd_ac97_codec: disagrees about version of symbol ac97_bus_type
snd_ac97_codec: Unknown symbol ac97_bus_type
gameport: NS558 PnP Gameport is pnp00:0b/gameport0, io 0x200, speed 817kHz
snd_ca0106: Unknown symbol snd_ac97_mixer
snd_ca0106: Unknown symbol snd_ac97_bus
input: PS2++ Logitech TrackMan as /class/input/input2
ts: Compaq touchscreen protocol output
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
Console: switching to colour frame buffer device 160x64
radeonfb (0000:01:00.0): ATI Radeon Y`
sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x0c00
Adding 2714944k swap on /dev/hda7.  Priority:-1 extents:1 across:2714944k
MIDI Loopback device driver
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:  
dm-d...@redhat.com
fuse init (API version 7.7)
ReiserFS: hda9: found reiserfs format "3.6" with standard journal
ReiserFS: hda9: using ordered data mode
ReiserFS: hda9: journal params: device hda9, size 8192, journal first  
block 18, max trans len 1024, max batch 900, max commit age 30, max trans  
age 30
ReiserFS: hda9: checking transaction log (hda9)
ReiserFS: hda9: Using r5 hash to sort names
ReiserFS: hda8: found reiserfs format "3.6" with standard journal
ReiserFS: hda8: using ordered data mode
ReiserFS: hda8: journal params: device hda8, size 8192, journal first  
block 18, max trans len 1024, max batch 900, max commit age 30, max trans  
age 30
ReiserFS: hda8: checking transaction log (hda8)
ReiserFS: hda8: Using r5 hash to sort names
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first  
block 18, max trans len 1024, max batch 900, max commit age 30, max trans  
age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first  
block 18, max trans len 1024, max batch 900, max commit age 30, max trans  
age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
snd_ac97_codec: disagrees about version of symbol ac97_bus_type
snd_ac97_codec: Unknown symbol ac97_bus_type
snd_ca0106: Unknown symbol snd_ac97_mixer
snd_ca0106: Unknown symbol snd_ac97_bus
eth0: Media Link On 100mbps full-duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
r8169: eth1: link up
-- 
Using Opera's revolutionary e-mail client: 
http://www.opera.com/mail/


Finalmente sono giunto almeno alla soluzione di questo problema:
i codec erano già installati ed aggiornati, quello che non era corretto  
erano le impostazioni
dei vari riproduttori. Sia con VLC che con MPlayer, nelle apposite sezioni,
mi è bastato impostare ho dovuto settare come uscita video l'utilizzo  
delle openGL.
Mi rimane di capire perchè le impostazioni si siano "sballate"  
contemporaneamente
per diversi applicativi.
Grazie e a presto.
Krys
-- 
-----------------------------------------
Non sempre cambiare significa migliorare,
ma per migliorare è necessario  cambiare.
[Sir W. Churchill]

 snd_ca0106: Unknown symbol snd_ac97_bus
Da quel che si legge in giro parrebbe un mismatch tra la versione di kernel
e quella dei moduli.
Ti consiglierei come prima cosa di aggiornare il kernel alla versione
corrente (2.6.18-5-686) e vedere se si risolve.


 corrente (2.6.18-5-686) e vedere se si risolve.
Ho dovuto smanettare un pò... ma sembra che chiuderò in bellezza il 2007,  
il mio pinguino è tornato a cantare
meravigliosamente ;-D
Tanx a lot


 Ho dovuto smanettare un pò... ma sembra che chiuderò in bellezza il 2007,  
Se dicessi a tutti quel che hai fatto magari qualcuno con il tuo stesso
problema potrebbe iniziare bene il 2008 :-)



No problem: l'operazione in se è piuttosto semplice ed ho seguito il tuo  
suggerimento ed ho installato il kernel
2.6.18-5:
apt-get install linux-image-2.6.18-5-686
Nel mio caso però, poichè ho qualche problema di spazio nella root della  
distro, prima di eseguire correttamente il comando sopracitato ho  
disinstallato una precedente versione aggiuntiva del kernel che, di fatto,  
non utilizzavo:
apt-get remove linux-image-2.6.12-1-686
Una volta installato correttamente il kernel 2.6.18-5-686, ho lanciato il  
comando alsaconf e selezionato la skeda sonora da configurare. Infine col  
comando alsamixer ho settato il volume dei vari canali.
Per completezza faccio notare che nell'esecuzione comando alsaconf sono  
ritornati i seguenti
errori:
amixer: Mixer attach default error: No such device
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1251: No soundcards found...
Il risultato però non cambia, il modulo snd_ca0106 relativo alla mia skeda  
audio,
una SoundBlaster 24bit audigy LS, viene correttamente caricato ed eseguito.
Ciao
