Hi dev and kpanic,
sorry, but I can't try using only 512MB of RAM because I only have one single RAM module that's 1GB large.
But, I've deleted FreeBSD 6.0 and installed FreeBSD 5.4-PRERELEASE and it's working now. No matter, if I load nvidia kernel module before or after the OSS module. Used the same OSS and nvidia versions as in FreeBSD 6.0.
Code: Select all
freebsd54beta:/# cat /dev/sndstat
OSS/FreeBSD 3.99.2c (C) 4Front Technologies 1996-2004
License serial number: E00000008
**** UNREGISTERED VERSION ****
Drivers: ALL
License will expire after: 06/2005
*** Unregistered version ***
Build: 200503230837
Kernel: FreeBSD 5.4-BETA1 #0: Fri Mar 18 09:28:57 UTC 2005
root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Card config:
IC Ensemble ENVY24
Audio devices:
0: M Audio Audiophile 2496 out1/2
1: M Audio Audiophile 2496 S/PDIF out
2: M Audio Audiophile 2496 in1/2
3: M Audio Audiophile 2496 S/PDIF in
4: M Audio Audiophile 2496 input from mon. mixer
5: M Audio Audiophile 2496 (all outputs)
6: M Audio Audiophile 2496 (all inputs)
Synth devices:
Midi devices:
0: M Audio Audiophile 2496 #1
Mixers:
0: M Audio Audiophile 2496
History:
dsp0: pid 1311 cmd 'sdlroids' OUT
dsp0: pid 1312 cmd 'tuxracer' OUT
dsp0: pid 1312 cmd 'tuxracer' OUT
dsp0: pid 1317 cmd 'alephone' OUT
dsp0: pid 1317 cmd 'alephone' OUT
Code: Select all
freebsd54beta:/# kldstat
Id Refs Address Size Name
1 12 0xc0400000 5da10c kernel
2 2 0xc09db000 1bd84 linux.ko
3 1 0xc09f7000 4ad9c8 nvidia.ko
4 14 0xc0ea5000 561a0 acpi.ko
5 1 0xc2aa4000 9000 ntfs.ko
6 1 0xc2bc1000 2000 blank_saver.ko
7 1 0xc2c0c000 2bf000 oss_mod.ko
Some problems are still there:
- In arts, I have to use threaded OSS. OSS without threads produces a chunky, bad-sampled sound in KDE
- beast doesn't run. Gives an error message:
Code: Select all
beast:BSE-ERROR: Failed to open PCM devices, giving up: Device not async capable
- any SDL-app or SDL-game doesn't produce sound at all:
Code: Select all
freebsd54beta:/# sdlroids
Warning: Couldn't set audio blocking mode
Code: Select all
freebsd54beta:/# tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.
%%% tuxracer warning: Warning: Couldn't set 22050 Hz 16-bit audio
Reason: Couldn't set audio blocking mode
Already tried:
Code: Select all
freebsd54beta:/# setenv SDL_DSP_NOSELECT 1
But no success.
Here are my ossmix settings:
Code: Select all
freebsd54beta:/# /usr/lib/oss/bin/ossmix
Selected mixer 0/
Known controls are:
peak.out1/2 <leftVU>:<rightVU>] (currently 130:130)
peak.spdout <leftVU>:<rightVU>] (currently 0:0)
peak.in1/2 <leftVU>:<rightVU>] (currently 0:0)
peak.spdin <leftVU>:<rightVU>] (currently 0:0)
peak.main <leftVU>:<rightVU>] (currently 102:102)
mon.out1/2 <both/leftvol>[:<rightvol>] (currently 135:135)
mon.spdout <both/leftvol>[:<rightvol>] (currently 135:135)
mon.in1/2 <both/leftvol>[:<rightvol>] (currently 135:135)
mon.spdin <both/leftvol>[:<rightvol>] (currently 135:135)
route.out1/2 <DMA|MONITOR|IN1/2|SPDIF> (currently DMA)
route.spdif <DMA|MONITOR|IN1/2|SPDIF> (currently DMA)
gain.out1/2 <+4DB|CONSUMER|-10DB> (currently +4DB)
envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 48000)
envy24.sync <INTERNAL|SPDIF> (currently INTERNAL)
envy24.ratelock ON|OFF (currently ON)
envy24.actrate <decimal value> (currently 48000)
spdif.mode <CONSUMER|PRO> (currently CONSUMER)
That would be really great if I get sound in beast and some games running...
Regards,
Uri