Seite 3 von 4

Verfasst: So Jul 11, 2004 10:38 am
von wulf
Richte dir doch mal versuchsweise so ein Umwandlungsteil(Virtuelle Soundkarte oder so ähnlich?) in der asoundrc ein, dann sollte es klappen. Leider hab ich jetzt weder im Kopf wie die genau heissen noch wie das geht, war aber in der asoundrc-Anleitung ausreichend beschrieben.

Verfasst: So Jul 11, 2004 11:05 am
von axeljaeger
Hab die .asoundrc doku, komme aber heute glaub ich nicht mehr dazu, dass noch auszuprobieren.

Verfasst: So Jul 11, 2004 3:41 pm
von zettberlin
axeljaeger hat geschrieben:Das ist aber jetzt schon ein selbstkompilierter JACK, der immer noch nicht starten will, wie ich schon geschrieben hab, passt jetzt die Bitrate nicht.
Wie ich schon sagte, die nötige Bitrate kannst Du Jack beim Start mitgeben:

user@rechner# jackd -t 500 -d alsa -d hw -r 441000 -p 1024 -n 2

Kann man auch in qjackctl ganz bequem einstellen...[/b]

Verfasst: So Jul 11, 2004 7:36 pm
von axeljaeger
Ich meine nicht die Samplerate, sondern die Bitbreite: 32 Bit, 24 Bit, 16 Bit.

Verfasst: So Jul 11, 2004 8:02 pm
von wulf
Nachdem ich mir grade noch einmal die Fehlermeldung durchgelesen habe, 16 Bit sollte die Karte aber unterstützen, da stimmt noch was anderes nicht.

Verfasst: Di Jul 13, 2004 7:41 pm
von Gast
Ab einer bestimmten Jackversion muss man für 16 Bit Karten beim Start von jack die option -S angeben. Sollte aber auch bei Eingabe von jackd --help dann angezeigt werden.

Drumfix

Verfasst: Di Jul 13, 2004 7:50 pm
von Gast
Hoppla, sehe gerade, dass es mit --help nicht angezeigt wird.
Aber trotzdem

jackd -d alsa -d hw:0 -r 44100 -S

GROSSES -S !! sollte funktionieren.

Verfasst: Mi Jul 14, 2004 8:15 am
von linuxchaos
Anonymous hat geschrieben:Hoppla, sehe gerade, dass es mit --help nicht angezeigt wird.
Aber trotzdem

jackd -d alsa -d hw:0 -r 44100 -S
kleiner hinweis zu den hilfen:
das ist kein argument für jack, sondern einer driver-option (alles, was nach -d kommt ) und ist somit bei den alsa -optionen zu finden (hatte die schonmal, frage mich aber grad, wo die dann wohl zu finden sind: aplay --help oder alsaplayer --help ???)

nur so als info ...

grüsse l.chaos

Verfasst: Mi Jul 14, 2004 8:18 am
von linuxchaos
mann, bin ich dumm:

jackd -d alsa --help


so einfach wars (und -S stimmt - habs grad nachgeschaut) ...

grüsse l.chaos

Verfasst: Do Aug 26, 2004 9:51 pm
von axeljaeger_keine_lust_zum
Sorry, dass ich das nochmal ausgrabe:
jackd -d alsa -d hw:0 -r 44100 -S
geht nicht, da sagt er mir immer noch dieses:

axeljaeger@tecton:~> jackd -d alsa -d hw:0 -r 44100 -S
jackd 0.94.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|16bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 16bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 32bit instead
Sorry. The audio interface "hw:0" doesn't support any of the hardware sample formats that JACK's alsa-driver can use.
ALSA: cannot configure capture channel
cannot load driver module alsa
axeljaeger@tecton:~>

Kann doch wohl nicht war sein, dass die AWE64 gar nichts unterstützt.

Verfasst: Fr Aug 27, 2004 8:44 am
von wulf
Ist auch nicht so, der Fehler muss auf einer viel tieferen Ebene liegen und die Awe64 muss unter Linux funktionieren und zumindest 16Bit-Samples unterstützen. Ich würde vorschlagen, wir sollten mal anfangen zu checken was Alsa eigentlich macht. Poste mal die ausgabe von lsmod und schreib (noch) mal ob z.B. mit aplay oder mit irgendwas sound kommt.

Verfasst: Fr Aug 27, 2004 9:55 am
von axeljaeger
Der AWE funktioniert: Jazz und Rosegarden laufen, XMMS spielt sich dumm und dämlich den ganzen Tag, nur JACK will ums Verrecken nicht hochfahren und deswegen auch leider nicht Muse. Das ist besonders ärgerlich, weil es wohl das beste Programm zum Midi-Sequenzen ist.

axeljaeger@tecton:~> lsmod
Module Size Used by
nvidia 4809964 12
edd 9240 0
joydev 10176 0
st 38940 0
sd_mod 19840 0
sr_mod 15652 0
scsi_mod 107980 3 st,sd_mod,sr_mod
ide_cd 36484 0
cdrom 36508 2 sr_mod,ide_cd
nvram 8328 0
usbserial 28912 0
parport_pc 35264 1
lp 10916 0
parport 37704 2 parport_pc,lp
snd_seq_oss 30976 0
snd_pcm_oss 56868 0
snd_mixer_oss 18688 1 snd_pcm_oss
snd_seq_midi 8864 0
snd_emu8000_synth 15492 0
snd_emux_synth 38528 1 snd_emu8000_synth
snd_seq_virmidi 7552 1 snd_emux_synth
snd_seq_midi_event 7680 3 snd_seq_oss,snd_seq_midi,snd_seq_virmidi
snd_util_mem 4992 2 snd_emu8000_synth,snd_emux_synth
snd_opl3_synth 16004 0
snd_seq_instr 7552 1 snd_opl3_synth
snd_seq_midi_emul 7680 2 snd_emux_synth,snd_opl3_synth
snd_seq 54672 10 snd_seq_oss,snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul
snd_ainstr_fm 2816 1 snd_opl3_synth
ipv6 244100 13
processor 16040 0
speedstep_lib 3712 0
freq_table 4612 0
snd_sbawe 26560 4 snd_emu8000_synth
snd_opl3_lib 10880 2 snd_opl3_synth,snd_sbawe
snd_sb16_dsp 10880 1 snd_sbawe
snd_pcm 96776 4 snd_pcm_oss,snd_emu8000_synth,snd_sb16_dsp
snd_page_alloc 11012 1 snd_pcm
snd_timer 25476 3 snd_seq,snd_opl3_lib,snd_pcm
snd_sb16_csp 21120 1 snd_sbawe
snd_sb_common 16000 3 snd_sbawe,snd_sb16_dsp,snd_sb16_csp
snd_hwdep 9732 3 snd_emux_synth,snd_opl3_lib,snd_sb16_csp
snd_mpu401_uart 7808 1 snd_sbawe
snd_rawmidi 24992 3 snd_seq_midi,snd_seq_virmidi,snd_mpu401_uart
snd_seq_device 8328 9 snd_seq_oss,snd_seq_midi,snd_emu8000_synth,snd_emux_synth,snd_opl3_synth,snd_seq,snd_sbawe,snd_opl3_lib,snd_rawmidi
snd 59524 29 snd_seq_oss,snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_emu8000_synth,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_util_mem,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq,snd_sbawe,snd_opl3_lib,snd_sb16_dsp,snd_pcm,snd_timer,snd_sb16_csp,snd_sb_common,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 8800 1 snd
af_packet 20360 2
uhci_hcd 29584 0
intel_agp 17052 1
agpgart 28712 2 intel_agp
via_rhine 19720 0
mii 5248 1 via_rhine
usbcore 96988 4 usbserial,uhci_hcd
evdev 9600 0
binfmt_misc 9992 1
subfs 7296 2
nls_utf8 2176 1
nls_cp437 5888 1
vfat 14080 1
fat 43328 1 vfat
dm_mod 50044 0
reiserfs 233808 1
axeljaeger@tecton:~>

Edit: Codetags entfernt, das hat das Browserfenser gesprengt.
Edit2: Hat ja gar nichts gebracht.

Verfasst: Fr Aug 27, 2004 10:04 am
von wulf
Gut, ich kanns zwar nicht beschwören aber das sieht eigentlich OK aus.
Wenn andere Programme Sound haben kanns ja eigentlich auch nicht daran hängen. Machen wir mal weiter, kann das sein, dass du irgendeine Software laufen hast, bevor du jack startest, die das Gerät belegt?
Also Xmms, Rosegarden, Muse etc. dürfen erst nach jack gestartet werden, oder hatten wir das schon?
Erzeug mal die Fehlermeldung(damit du weist, das sie auch wirklich auftritt) und mach dann ein "ps -A | less" und such mal nach einem Störenfried.

Verfasst: Fr Aug 27, 2004 10:14 am
von axeljaeger
Es gibt zwei verschiedene Fehlermeldungen: Einmal wenn XMMS läuft und einmal wenn nicht. Ich spreche die Karte ohne Sounddaemon an:

Mit XMMS:

Code: Alles auswählen

axeljaeger@tecton:~>  jackd -d alsa -d hw:0 -r 44100 -S
jackd 0.94.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with POSIX SHM support
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|16bit
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
the playback device "hw:0" is already in use. Please stop the application using it and run JACK again
cannot load driver module alsa
axeljaeger@tecton:~>
Ohne XMMS:

Code: Alles auswählen

axeljaeger@tecton:~>  jackd -d alsa -d hw:0 -r 44100 -S
jackd 0.94.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|16bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 16bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 32bit instead
Sorry. The audio interface "hw:0" doesn't support any of the hardware sample formats that JACK's alsa-driver can use.
ALSA: cannot configure capture channel
cannot load driver module alsa
axeljaeger@tecton:~>

Verfasst: Fr Aug 27, 2004 10:18 am
von wulf
OK, die erste ist die zu erwartende wenn irgendwas bereits die Soundkarte belegt. Bei der zweiten Meldung bin ich mir nicht sicher, könnte sein das da was den Eingang belegt aber nicht die Ausgänge.
Werd mal schaun.