LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-29-2004, 01:54 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
getting ALSA to work with nvsound (Nforce 2)


Lo guys,

I don't know what im doing wrong here, so i need your help =)

I'm on an Asus A7n8X delux with Nforce 2 motherboard.
I've installed both the nvsound, and nvnet drivers from nvidia (network works fine)
I removed OSS from the kernel, but still cant find where Alsa is in there...
I have ALSA 1.0.5a installed (slackware build).

my /etc/modules.conf is as follows:
alias eth1 nvnet
alias sound-slot-0 nvsound

i have hotplug installed (my system is more stable with it) with the following in blacklisted
ssnd-pcm-oss
snd-mixer-oss
snd-intel8x0
snd-ac97-codec
gameport
snd-pcm
snd-timer
snd-page-alloc
snd-mpu401-uart
snd-rawmidi
snd-mixer-oss
snd-intel8x0
snd-ac97-codec
gameport
snd-pcm
snd-timer
snd-page-alloc
snd-mpu401-uart
snd-rawmidi
snd-seq-device
snd-rawmidi
snd

Hence disabling all OSS and the intel8x0 modules, because i want to use nvaudio (otherwise if i have any of the above modules loaded, my system freezes).

and my lsmod produces the following
Code:
keybdev                 2052   0  (unused)
mousedev                4212   0  (unused)
hid                    21220   0  (unused)
usbkbd                  3448   0  (unused)
input                   3200   0  [keybdev mousedev hid usbkbd]
usb-ohci               19240   0  (unused)
ehci-hcd               17580   0  (unused)
usbcore                59308   1  [hid usbkbd usb-ohci ehci-hcd]
nvsound              1461632   2
soundcore               3396   2  [nvsound]
ohci1394               24112   0  (unused)
ieee1394               42212   0  [ohci1394]
3c59x                  25584   0  (unused)
nvnet                  57824   1
ide-scsi                9328   0
agpgart                43812   0  (unused)
apm                     9580   2
Now, I'm trying to get my sound working properly, but it refuses to. Under X (Gnome), it insists on using the OSS drivers.. be it gnome itself, xmms, xine, mplayer, gaim... you name it. And that creates problems. Xmms works fine, but all the video players either have sound working, or video, but not both. Sound would work fine, but video would be slooooow (its not the video's fault, coz if i disable sound, video is back to normal) If i try selecting the ALSA drivers anywhere, i get an error saying it can't find it.

I was wondering if i'm missing anything, or if there's a way to get it to work under ALSA instead of OSS. Or am i missing the whole point and i have to remove everything but nvsound?

lastly, my dmesg outputs the following
Code:
Linux version 2.4.26 (root@xushi) (gcc version 3.3.4) #12 Thu Sep 23 02:31:57 BST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
 BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
 BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
 BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262128
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 32752 pages.
Kernel command line: BOOT_IMAGE=Slack10 ro root=801 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdc=ide-scsi
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 2171.589 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 4325.37 BogoMIPS
Memory: 1032780k/1048512k available (1954k kernel code, 15344k reserved, 649k data, 120k init, 131008k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 2700+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb4a0, last bus=3
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [10de/01e0] at 00:00.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xd8000000, mapped to 0xf880d000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=84
vesafb: protected mode interface info at c000:56fa
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:5:5, shift=0:10:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
keyboard: Timeout - AT keyboard not present?(00)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: 00:09.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
SiI3112 Serial ATA: IDE controller at PCI slot 01:0b.0
SiI3112 Serial ATA: chipset revision 1
SiI3112 Serial ATA: not 100% native mode: will probe irqs later
    ide2: MMIO-DMA , BIOS settings: hde:pio, hdf:pio
    ide3: MMIO-DMA , BIOS settings: hdg:pio, hdh:pio
hdc: _NEC DVD_RW ND-2510A, ATAPI CD/DVD-ROM drive
hdd: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hde: Maxtor 6Y250M0, ATA DISK drive
blk: queue c03d8c68, I/O limit 4095Mb (mask 0xffffffff)
hdg: no response (status = 0xfe)
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xf8b0e080-0xf8b0e087,0xf8b0e08a on irq 5
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63
Partition check:
 hde: hde1
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:9): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
  Vendor: IBM       Model: DDYS-T18350N      Rev: S96H
  Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:9:0: Tagged Queuing enabled.  Depth 8
Attached scsi disk sda at scsi0, channel 0, id 9, lun 0
SCSI device sda: 35843670 512-byte hdwr sectors (18352 MB)
 sda: sda1 sda2 sda3
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  3113.600 MB/sec
   32regs    :  2085.200 MB/sec
   pIII_sse  :  5898.800 MB/sec
   pII_mmx   :  5083.200 MB/sec
   p5_mmx    :  6495.200 MB/sec
raid5: using function: pIII_sse (5898.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 248996k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: _NEC      Model: DVD_RW ND-2510A   Rev: 2.04
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: SONY      Model: DVD RW DRU-500A   Rev: 2.0h
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
PCI: Setting latency timer of device 00:04.0 to 64
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
02:01.0: 3Com PCI 3c920 Tornado at 0xb000. Vers LK1.1.18-ac
 00:e0:18:f1:04:b7, IRQ 11
  product code ffff rev 00.0 date 15-31-127
  Internal config register is 1600000, transceivers 0x40.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/MII interface.
  MII transceiver found at address 2, status 786d.
  Enabling bus-master transmits and whole-frame receives.
02:01.0: scatter/gather enabled. h/w checksums enabled
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
PCI: Setting latency timer of device 00:0d.0 to 64
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[ee084000-ee0847ff]  Max Packet=[2048]
Nvsound: Nvidia Audio Init Module, 23:40:52 Sep 23 2004 version 1.0-0 
PCI: Setting latency timer of device 00:05.0 to 64
Nvsound:  NVIDIA nForce2 Controller found at Mem 0xee000000 and IRQ b
PCI: Setting latency timer of device 00:06.0 to 64
Nvsound: NVIDIA nForce2 Audio found at IO 0xd000 and 0xe400, IRQ 5
Nvsound: Aci_device c1c3b400 Apu_device c1c3b000 
Nvsound: DEV MIXER 0 DEV AUDIO 3 
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 11, pci mem f8e6c000
usb.c: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
PCI: Setting latency timer of device 00:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xf8e74000, IRQ 11
usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xf8e76000, IRQ 5
usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 3 ports detected
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
hub.c: new USB device 00:02.1-2, assigned address 2
hub.c: USB hub found
hub.c: 3 ports detected
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
hub.c: new USB device 00:02.1-2.1, assigned address 3
usb.c: USB device 3 (vend/prod 0x443/0x1c) is not claimed by any active driver.
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 02:41:08 Sep 23 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usbkbd
input0: Silitek Gateway Generic USB Hub on usb3:3.0
usbkbd.c: :USB HID Boot Protocol keyboard driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
 
Old 09-29-2004, 02:03 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try the OSS emulator provided by ALSA, just enable this feature in kernel config, then modprobe snd_pcm_oss and snd_mixer_oss modules.

I never succeed to enable ALSA in mplayer, instead I use OSS audio plugin with the OSS emulated by ALSA.

Also, just for know, Does your built-in audio support full-duplex cabability ? (= can record while playing)

Last edited by Cedrik; 09-29-2004 at 02:05 PM.
 
Old 09-29-2004, 02:07 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
How would i enable it in the kernel?
OSS sound modules (m)
and then which out of the 10 choices under it would i enable too?
 
Old 09-29-2004, 02:09 PM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
[i]Also, just for know, Does your built-in audio support full-duplex cabability ? (= can record while playing) [/B]
Don't quote me on this, but it should.

EDIT: in the alsa-oss info
" Using
alsa-oss: the aoss wrapper you can use programs that only support OSS with ALSA
alsa-oss: without having to load the OSS compatibility kernel modules."

Last edited by xushi; 09-29-2004 at 02:10 PM.
 
Old 09-29-2004, 02:20 PM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Maybe modules are already installed...

try :
/sbin/modprobe snd_mixer_oss

And run gmplayer, set audio plugin to OSS in preferences and try to play a movie
 
Old 09-29-2004, 02:26 PM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Hmm, for some apparent reason now, it says
Can't locate module snd_mixer_oss.

Ok, atelast i now can spend my time on OSS as opposed to ignoring it...

EDIT: loaded, its snd-mixer-oss. Let the testing begin

Last edited by xushi; 09-29-2004 at 02:30 PM.
 
Old 09-29-2004, 02:30 PM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
What ' /sbin/modprobe -l | grep oss ' does say ?
 
Old 09-29-2004, 02:32 PM   #8
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
snd-mixer-oss is loaded, but stil same problem with gmplayer, xine, etc... =/

Quote:
Originally posted by Cedrik
What ' /sbin/modprobe -l | grep oss ' does say ?
/lib/modules/2.4.26/kernel/drivers/scsi/osst.o
/lib/modules/2.4.26/kernel/sound/acore/oss/snd-mixer-oss.o.gz
/lib/modules/2.4.26/kernel/sound/acore/oss/snd-pcm-oss.o.gz
/lib/modules/2.4.26/kernel/sound/acore/seq/oss/snd-seq-oss.o.gz

EDIT: lsmod now is

snd-mixer-oss 12504 0 (unused)
snd 30852 0 [snd-mixer-oss]
keybdev 2052 0 (unused)
mousedev 4212 0 (unused)
hid 21220 0 (unused)
usbkbd 3448 0 (unused)
input 3200 0 [keybdev mousedev hid usbkbd]
usb-ohci 19240 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [hid usbkbd usb-ohci ehci-hcd]
nvsound 1461632 2
soundcore 3396 2 [snd nvsound]
ohci1394 24112 0 (unused)
ieee1394 42212 0 [ohci1394]
3c59x 25584 0 (unused)
nvnet 57824 1
ide-scsi 9328 0
agpgart 43812 0 (unused)
apm 9580 2

Do i need to reload anything, or reboot?

Last edited by xushi; 09-29-2004 at 02:34 PM.
 
Old 09-29-2004, 02:40 PM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Did you set 'oss' as audio driver in gmplayer preferences ?

Try ' /sbin/modprobe snd_pcm_oss ' as well
 
Old 09-29-2004, 02:52 PM   #10
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Cedrik
Did you set 'oss' as audio driver in gmplayer preferences ?

Try ' /sbin/modprobe snd_pcm_oss ' as well
Yes i have set 'oss' in gmplayer.

And same problem, even with snd-pcm-oss running now. =/
lsmod:
Code:
snd-pcm-oss            37736   0  (unused)
snd-pcm                56072   0  [snd-pcm-oss]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-pcm]
snd-mixer-oss          12504   0  [snd-pcm-oss]
snd                    30852   0  [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
keybdev                 2052   0  (unused)
mousedev                4212   0  (unused)
hid                    21220   0  (unused)
usbkbd                  3448   0  (unused)
input                   3200   0  [keybdev mousedev hid usbkbd]
usb-ohci               19240   0  (unused)
ehci-hcd               17580   0  (unused)
usbcore                59308   1  [hid usbkbd usb-ohci ehci-hcd]
nvsound              1461632   2
soundcore               3396   2  [snd nvsound]
ohci1394               24112   0  (unused)
ieee1394               42212   0  [ohci1394]
3c59x                  25584   0  (unused)
nvnet                  57824   1
ide-scsi                9328   0
agpgart                43812   0  (unused)
apm                     9580   2
EDIT: should i also enable snd-ac97-codec too?

Last edited by xushi; 09-29-2004 at 02:56 PM.
 
Old 09-29-2004, 02:56 PM   #11
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try to run gmplayer from a terminal and locate the audio errors if any...

Also did you try ' alsamixer ' and unmute the master channel ?
 
Old 09-29-2004, 03:04 PM   #12
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Cedrik
Try to run gmplayer from a terminal and locate the audio errors if any...

Also did you try ' alsamixer ' and unmute the master channel ?
i don't use alsamixer, coz it gives me an error :function snd_ctl open failed for default: no such device. However i do use nvmixer instead. Master channel is unmuted. Btw, yes i DO hear sound, but it refuses to work properly in any of my video players. It plays the sound, but video is terrebly slow. If i disable sound in gmplayer, xine, etc... the video then plays normally (but without sound obviously).

Ran gmplayer > out, and jeez, i got quite a few errors there.. I wonder if you came accross any of them,

Code:
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2172 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
SKIN dir 1: '/root/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing /mnt/d/movies/Fear of a Black Hat.avi.

Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [DIVX]  506x272  24bpp  23.976 fps  966.4 kbps (118.0 kbyte/s)
Clip info:
 Software: MEncoder CVS-030114-14:01-3.1 
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Trying to force video codec driver family xvid...
Opening video decoder: [xvid] XviD 1.0 decoder
VDec: vo config request - 506 x 272 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 506x272 => 506x272 Planar YV12 
Selected video codec: [xvid] vfm:xvid (XviD (MPEG-4))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
A:   0.2 V:   0.0 A-V:  0.205 ct:  0.000    1/  1   0%  0%  0.0% 1 0 44%
EDIT: forgot to add,
************************************************
**** Your system is too SLOW to play this! ****
************************************************

?!

EDIT 2: Do excuse the choice of movies to test on

Last edited by xushi; 09-29-2004 at 03:08 PM.
 
Old 09-29-2004, 03:20 PM   #13
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Bah, should i just revert back to snd-intel8x0 instead? (assuming you can get surround sound working on that)
 
Old 10-24-2004, 03:29 PM   #14
whollychao
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
xushi, I have been having a similar problem. To get mplayer/gmplayer to work properly with the nvsound module, I found that specifying the command line option "-ao sdl", worked properly. So, for isntance, with mplayer: "mplayer -ao sdl file_to_play.mpg"
I know this reply is about a month late, but maybe it will help?

Also, I'm finding a problem with the nForce2 chipset that really unsettles me, it appears that either the onboard sound does not have a hardware mixer, or both the alsa and nvidia binary drivers just don't support it. Also, it seems esound doesn't like the nvidia based drivers, but that could be how it was packaged for my distro (slackware 10.0) Anywho, I hope this helps you out.
 
Old 10-27-2004, 08:15 PM   #15
buaku
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 119

Rep: Reputation: 15
Very nice whollychao!!

That made sound work waaaay better in mplayer for me.
Before it was really intermittent. It'd play for like a sec then stop.
And then seeking through a file wouldn't even work.

I did the -ao sdl and the sound sounded great and looked in sync. Even seeking forward in mplayer worked!

I'm also runnin slackware 10 on an Nforce2 chipset. I was able to run mplayer and xmms and both played their sounds normally.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i get alsa to work properly on my nforce MB? RazvanZ Linux - Distributions 1 07-10-2004 04:25 AM
Can't force MDK 10 to use ALSA on NFORCE exalted Mandriva 2 06-01-2004 12:51 AM
ALSA nforce 2ch >> 5.1 Digital acnvmax Linux - Hardware 0 05-04-2004 11:15 AM
Alsa, nforce, 5.1 speakers, 2.6.3 thinkninja Debian 2 03-19-2004 05:13 PM
Soundstorm (nForce 2) + Alsa Anzxio Linux - Hardware 0 02-08-2004 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration