SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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
[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."
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! ****
************************************************
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.