Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh compiled USDX not starting on KDE Neon #547

Open
natrius opened this issue Aug 30, 2020 · 8 comments
Open

Fresh compiled USDX not starting on KDE Neon #547

natrius opened this issue Aug 30, 2020 · 8 comments

Comments

@natrius
Copy link

natrius commented Aug 30, 2020

Actual behaviour

Installed with https://github.com/UltraStar-Deluxe/USDX#compiling-on-linuxbsd-using-make and tried to start

~/USDX/game$ ultrastardx 
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.modem.0:CARD=0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.modem.0:CARD=0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.modem.0:CARD=0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.CMI8786.pcm.modem.0:CARD=0'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5181:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM phoneline
Expression 'alsa_snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &alsaBufferFrames )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
Expression 'alsa_snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &alsaBufferFrames )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 923
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:1089:(snd_pcm_dmix_open) unable to open slave
An unhandled exception occurred at $00007F5204B67623:
EAccessViolation: Access violation
  $00007F5204B67623

Expected behaviour

Well, program starting.

Details

Provide some additional information:

  • USDX version: 2020.4.0
  • Operating System + version: KDE Neon 5.19, With Ubuntu 20.04 in the background. 64bit.
@s09bQ5
Copy link
Collaborator

s09bQ5 commented Aug 30, 2020

configure --without-portaudio

I really need to find a way to reproduce this to be able to properly fix it.

@natrius
Copy link
Author

natrius commented Aug 30, 2020

Its starting, thank you. If i can help you somehow, tell me, could provide additional logs if you need anything. Closing this for now.

@natrius natrius closed this as completed Aug 30, 2020
@s09bQ5
Copy link
Collaborator

s09bQ5 commented Aug 30, 2020

I managed to reproduce the problem by accidentally running ultrastardx as root: alsa-project/alsa-plugins#13

@s09bQ5 s09bQ5 reopened this Aug 30, 2020
@Grarie
Copy link

Grarie commented Oct 5, 2020

I can add: it only happens to me when I add external (Singstar) Microphones which is pretty weird.

Although it seems to be inside the external library as @s09bQ5 pointed out, it would be still nice if the USDX homepage or README.md told the users about this issue. If you follow the instructions it should work on most systems and for me it crashes on mint and ubuntu, both being pretty prevalent distributions. Further it's pretty difficult for a normal user to find the workaround for this problem online. Even worse: if you start by double clicking you can't even see why USDX doesn't start. Just nothing happens.

So maybe add

  1. If the game doesn't start, try ./configure --without-portaudio in 5. (see this issue )

to README.md

@speich
Copy link

speich commented Nov 14, 2020

also @see #537

@speich
Copy link

speich commented Nov 14, 2020

I get the following error now with ./configure --without-portaudio

checking for portaudio-2.0... no
configure: error:

Alternatively, you may set --with-portaudio=nocheck and the environment
variables portaudio_[...] (see configure --help)
to appropriate values to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Any ideas/help ?

@speich
Copy link

speich commented Nov 15, 2020

When I switch from 2020.4.0 to 2020.4.1dev, the configure option works

@SeniorWizard
Copy link

I had the same problem. No matter which configure options I used it crashed with EAccessViolation. Then I noticed that I could run it just fine from the build-directory, but as soon as I installed it, it crashed. Then I removed my old ~/.ultrastardx and it works perfectly fine.

Info: old installation was linux mint 19 and ultrastardx installed from ppa, have made a distupgrade to linux mint 20 and compiled 2020.4.0 according to instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants