sound card problem
Hallo!
I have just installed Suse 9.2. I am now trying to work with a sequencer (rosegarden) but I can't. It says that the jack server is not running. I tried to start Jack with QJackctr but it refuses to open. I went to Yast in order to reconfigure my souncard and I saw that it detects 2 Sound Cards. One configured (Ensoniq... - I think) and one not (Creative Audio PCI...). When I tried to configure the Creative I got an error message that says that the snd-ens1371 module could not be loaded and that I had to check the alsa package and run again alsaconf. I reinstalled alsa package with Yast and run alsaconf. Everything went ok. But still can't configure the Creative Sound Card and some programms say that I have to configure my sound card before starting. Obviously I am new to Linux!! Please help! Thanks in advance for your time!! |
maybe this helps you (not sure about your model)
http://www.alsa-project.org/alsa-doc...module=ens1371 |
First, let's check that the sound system is working at all. Can you playback using xmms using the OSS output plugin? (Or any other standard audio application).
|
I can playback mp3 but not with xmms. only with amarok. when I open an mp3 with XMMS it doesn't do anything, it crashes and I cannot close it.
I checked the site of alsa but according to what it says I don't need to do that proceedure. I typed that command (modinfo soundcore) and as I understood I have the module. |
If you can get sound output from an application then it seems safe to say that your sound system is basically working.
I am surprised to hear that xmms hangs. Does it hang regardless of the output plugin used? (E.g. ALSA or OSS - press ctrl-P for the preferences window, see the Audio I/O Plugins tab). Or does it depend on the plugin? |
Quote:
Download and install a mp3 plugin for your xmms version and all will be fine. |
I turned XMMS on, then CTRL-P. the audio output was to auto. i changed it to ALSA, double-clicked to an mp3 on the playlist and I got a message saying that my sound card is not configured properly or another application is preventing XMMS from playing. I changed again the output to OSS, again double-click and XMMS hanged! By the way how can I close it like I did with ctr-alt-del on windows?
|
Quote:
Many thanks to everyone who helps me! |
Well, check the mp3 plugin configuration on xmms. See anythings wrong there.
|
Everything seems to be ok in mp3 configuration. The plug-in is enabled, with 16bit,44khz,128kbps.
As far as I can understand everything is ok! |
Quote:
Open a console, and then run "modprobe snd_pcm_oss" and then try playing an mp3 with xmms while the audio output is set ot OSS. Post back! |
I did so an still XMMS hangs.
|
In XMMS, when the alsa is selected at ouput, click configuration(alsa output configuration) and select hw0,1(or something similar the last one) instead of the default in the drop down box. apply OK and then see.
|
Now it works!! XMMS plays mp3!!
Thank you very much!! But what about Jack?? |
Quote:
details plzzz |
I am trying to open the rosegarden sequencer but first I have to open the Jack server (that's what it says) or else I won't have any sound. I opened the QJackctr and pressed Start but jack doesn't open. I have a mini explanation on the first message. I just want to run the rosegarden normally!
|
JACK is a soundserver, middleware that sits between the sound driver interface and the audio application. It allows multiple applications to access the sound device simultaneously, or pass audio data between each other, and was designed for professional low-latency operation.
|
So what does it say (error messages) when you try to start the JACK daemon? If necessary, try to start the daemon from the command line.
The web site for tha JACK audio connection kit is http://jackit.sourceforge.net. |
I changed the serverpath in the QJackctr setup to jackd from jack setup and finally jack opened but with the following messages in the log window:
22:55:24.024 MIDI connection change. 22:55:36.033 Startup script... 22:55:36.035 artsshell -q terminate sound server terminated 22:55:36.612 Startup script terminated successfully. 22:55:36.669 JACK is starting... 22:55:36.671 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 22:55:36.692 JACK was started with PID=5101 (0x13ed). jackd 0.98.1 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 = 48000 creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 2 periods Couldn't open hw:0 for 32bit samples trying 24bit instead Couldn't open hw:0 for 24bit samples trying 16bit instead Couldn't open hw:0 for 32bit samples trying 24bit instead Couldn't open hw:0 for 24bit samples trying 16bit instead JACK: unable to mlock() port buffers: Cannot allocate memory cannot set thread to real-time priority (FIFO/20) (1: Operation not permitted) cannot use real-time scheduling (FIFO/10) (1: Operation not permitted) 22:55:38.728 Server configuration saved to "/home/dimi/.jackdrc". 22:55:38.732 Statistics reset. 22:55:38.744 Client activated. 22:55:38.747 Audio connection change. cannot lock down memory for RT thread (Cannot allocate memory) Cannot temporarily set client to RT scheduler: Operation not permitted from the shell with this command <jackd -d alsa hw:0> I get this jackd 0.98.1 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 .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 2 periods Couldn't open hw:0 for 32bit samples trying 24bit instead Couldn't open hw:0 for 24bit samples trying 16bit instead Couldn't open hw:0 for 32bit samples trying 24bit instead Couldn't open hw:0 for 24bit samples trying 16bit instead **** alsa_pcm: xrun of at least 0.059 msecs And sometimes after waiting a lot whithout the last line I open rosegarden while jack working and: Direct access to sound device not possible No soundcard available or sound support not configured yet. However the application uses or requires sound support. continue (or) abort In Yast I still have 2 souncards detected. Ensoniq AudioPCI configured as snd-crd-0 and Creative Sound Blaster AudioPCI64V,AudioPCI128 not configured. When I try tou configure it occurs the following error: The kernel module snd-ens1371 for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters. |
I don't know if that helps but I saw that when running FVWM instead of KDE I don't get the message from Rosegarden about 'direct acces to soundcard'
|
Is the soundserver really not working? Can you use any other application (say, xmms with the xmms-jack output plugin) that outputs sound through jack?
|
I opened jack from Qjackctl (because it doesn't open from the shell) and then xmms.
I changed in the preferences the output plugin to 'jack Driver 0.9 (libjackout so) and then tried to play an mp3. I got two messages: Couldn't open audio Please check that: Your soundcard is configured properly You have the correct output plugin selected No other program is blocking the soundcard. Sample rate mismatch Xmms is asking for a sample rate that differs from that of the jack server. Xmms 1.2.8 or later contains resampling routines that xmms-jack will dynamically load and use to perform resampling. Or you can restart the jack server with a sample rate that matches the one that xmms desires. -r is the option for the jack alsa driver so -r 44100 or -r 48000 should do. Although the rate in qjackctl setup is 48000 and although I changed it to 44100 I still get both messages. BUT the problems keep coming up!!! I did all the above having logged in as a root. now I am logging in as user and I can't open qjackctl at all. it says that I don't have enough permissions! Why did this change? It seems to me a mess. Shall I reinstall jack? And if so how can I completely remove the previous files? Just from Yast? |
All times are GMT -5. The time now is 06:47 AM. |