UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStar™
https://usdx.eu
GNU General Public License v2.0
867 stars 162 forks source link

Problems in execution in linux mint 18.1 #260

Open cmlerner77 opened 7 years ago

cmlerner77 commented 7 years ago

ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=Arquivo ou diretório não encontrado) attempt to connect to server failed Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1736 Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1904 Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2171 Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2840

s09bQ5 commented 7 years ago

Your system uses pulseaudio, but pulsaudio will use ALSA and IIRC it should itself define a virtual ALSA device.

Is the speaker-test tool from the alsa-utils package able to play sound?

cmlerner77 commented 7 years ago

I am compile in Lazarus 1.6.2 and compile normal but execution this message: " Execution Aborted" with the message: Operation Aborted in address 44FB02. And stop show window Assembler:

000000000044FAF9 8902 mov %eax,(%rdx) 000000000044FAFB eb05 jmp 0x44fb02 <DGLOPENGL$$READCOREVERSION$$TRIMANDSPLITVERSIONSTRING$ANSISTRING$LONGINT$LONGINT+562> 000000000044FAFD e8ee4f1500 callq 0x5a4af0 <SYSUTILS$$_ABORT> 000000000044FB02 e809affcff callq 0x41aa10 <- point of error

s09bQ5 commented 7 years ago

Either the version string returned by libGL or the one returned by libGLU does not conform to the specification. What does glxinfo (from the mesa-utils package) print in the "OpenGL version string" and "glu version" lines?

What about speaker-test?

cmlerner77 commented 7 years ago

i use "glxinfo | grep version" and results:

server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 OpenGL core profile version string: 4.5.0 NVIDIA 367.57 OpenGL core profile shading language version string: 4.50 NVIDIA OpenGL version string: 4.5.0 NVIDIA 367.57 OpenGL shading language version string: 4.50 NVIDIA OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 367.57 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix,

s09bQ5 commented 7 years ago

Oh, they removed the glu information from glxinfo 11 years ago... On Mint 18.1 the glu version string should be "1.3".

Can you log the string passed to TrimAndSplitVersionString or extract it with the debugger before it aborts?

cmlerner77 commented 7 years ago

How do I do debugger? You learn me. I use Lazarus 1.6.2

s09bQ5 commented 7 years ago

Sorry, I can't help you with that. I have never used Lazarus.

s09bQ5 commented 7 years ago

Some parts of USDX try to open "libGL.so.1" and others "libGL.so". Please check with strace -e open -o logfile ./ultrastardx ; grep libGL logfile | grep -v ENOENT where these libraries are and if they are symlinks to the same file.