rncbc / qsynth

Qsynth - A fluidsynth Qt GUI Interface
https://qsynth.sourceforge.io
GNU General Public License v2.0
66 stars 18 forks source link

I can't hear music in game,but don't get an error message #31

Open ghost opened 3 years ago

ghost commented 3 years ago

I get this. And in the messages I get this: 23:31:13.622 Qsynth1: Creating synthesizer engine... 23:31:13.625 Qsynth1: Creating audio driver (jack)... 23:31:19.630 Qsynth1: Failed to create the audio driver (jack). Cannot continue without it. ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed fluidsynth: warning: SDL2 not initialized, SDL2 audio driver won't be usable fluidsynth: error: Unknown integer parameter 'synth.dump' connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) jackd 0.125.0 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn 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 is running in realtime mode, but you are not allowed to use realtime scheduling. Please check your /etc/security/limits.conf for the following line and correct/add it if necessary:

@audio - rtprio 99

After applying these changes, please re-login in order for them to take effect.

You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again! connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed fluidsynth: error: Failed to connect to Jack server. 23:33:44.175 Qsynth1: Destroying synthesizer engine... 23:33:44.176 Qsynth1: Synthesizer engine terminated.

rncbc commented 3 years ago

please configure your system to start and run "jack" properly! or else, set qsynth to use "alsa" or "pulseaudio" instead (cf. Setup > Audio > Audio Driver: ...)

ghost commented 3 years ago

or else, set qsynth to use "alsa" or "pulseaudio" instead (cf. Setup > Audio > Audio Driver: ...)

I selected pulseaudio there,but I still get this error and it doesn't play sound if I test it in a game. Do I have to change another setting?

ghost commented 3 years ago

Do I have to change the midi driver? Cause I only changed it to pulseaudio in the "audio" tab,but it the "MIDI" tab I have jack set as audio driver. The problem is that I can't change it to pulseaudio,if I click on it,it only shows "alsa_raw","alsa_swq","jack" and "oss",what do I have to set?

rncbc commented 3 years ago

i believe you'll be fine with: Audio Driver: alsa MIDI Driver: alsa_seq cheers

ghost commented 3 years ago

Thanks,it works.

ghost commented 3 years ago

So I tried the same game I tried yesterday,but I didn't hear midi music. I didn't change settings in qsynth or another soundfont. I know that it normally works on this game,cause I tried that yesterday. I played around in the sound settings of the game,so could it be that I have to set something in the games audio options,so it works?

ghost commented 3 years ago

Btw I don't get that error,I only don't hear music in game.

ghost commented 3 years ago

In Pavucontrol it looks like this (the thing at the bottom is the game that uses midi): image I use Manjaro Kde and Kernel 5.9 and my soundcard is the one that's build into the Asrock x370 Pro 4. I have the newest stable versions of Qsynth and Fluidsynth installed from the official Manjaro Repository. Is there any other info that I should provide?