performous / performous

An open-source music and rhythm game.
https://performous.org
Other
489 stars 106 forks source link

SIGABRT when starting, on fresh installation #474

Closed mirabilos closed 4 years ago

mirabilos commented 5 years ago

Do you want to request a feature or report a bug?

Bug

What did you do?

What did you expect to see?

The GUI, at least to set up audio (as the manpage intimates)

What did you see instead?

$ performous                                                                                 
logger/notice: Logging all notices, warnings and errors. Log file: /home/tglase/.cache/performous/infolog.txt
core/notice: Performous 1.1+ starting...
  Internationalization: Enabled
  MIDI Hardware I/O:    Enabled
  Webcam support:       Disabled
core/notice: Starting the audio subsystem (errors printed on console may be ignored).
audio/error: Audio device 'dev="USBMIC" mics="blue,red"': No such device.
audio/error: Audio device 'dev="Microphone" mics="*"': No such device.
Aborted 

Output of performous --version: (What version of Performous are you using?)

Performous 1.1+

What is your environment & configuration (arguments, platform, ...)?

Debian sid/amd64

If applicable, please paste the log output in DEBUG level (--logLevel=DEBUG switch)

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option> >'
  what():  unrecognised option '--logLevel=DEBUG'
Aborted 
mirabilos commented 5 years ago

I now found better instructions…

$ performous --log debug                                                                     
logger/notice: Logging any events of debug or higher level. Log file: /home/tglase/.cache/performous/infolog.txt
stderr/info: Standard error output redirected here
core/notice: Performous 1.1+ starting...
  Internationalization: Enabled
  MIDI Hardware I/O:    Enabled
  Webcam support:       Disabled
config/info: Parsing "/usr/share/games/performous/config/schema.xml"
config/info: Skipping "/etc/xdg/performous/config.xml" (not found)
config/info: Skipping "/home/tglase/.config/performous/config.xml" (not found)
fs/info: Found system paths:
  base:     /usr
  share:    /usr/share/games/performous
  locale:   /usr/share/locale
  sysConf:  /etc/xdg/performous
  home:     /home/tglase
  config:   /home/tglase/.config/performous
  data:     /home/tglase/.local/share/games/performous
  cache:    /home/tglase/.cache/performous
fs/info: Determining data dirs (search path):
  /home/tglase/.local/share/games/performous
  /usr/share/games/performous
  /usr/local/share/performous
  /usr/share/performous
core/notice: Starting the audio subsystem (errors printed on console may be ignored).
stderr/info: ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
stderr/info: ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
stderr/info: ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
stderr/info: ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
stderr/info: ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
stderr/info: ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
stderr/info: ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
stderr/info: Cannot connect to server socket err = No such file or directory
stderr/info: Cannot connect to server request channel
stderr/info: jack server is not running or cannot be started
audio/info: Trying the selected Portaudio backend... not found; but this is normal when Auto is selected.
audio/info: Currently selected audio backend is: Auto
audio/info: Trying the selected Portaudio backend... not found; but this is normal when Auto is selected.
audio/info: Currently selected audio backend is: Auto
stderr/info: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
audio/info: PortAudio backends:
  #0: ALSA (8 devices):
    #0 HDA Intel: AD1984 Analog (hw:0,0) (2 in, 2 out)
    #1 sysdefault (128 in, 128 out)
    #6 default (128 in, 128 out)

  #1: OSS (1 devices):
    #0 /dev/dsp (16 in, 16 out)

stderr/info: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
audio/debug: Will try to find device matching dev: USBMIC
audio/error: Audio device 'dev="USBMIC" mics="blue,red"': No such device.
audio/debug: Will try to find device matching dev: Microphone
audio/error: Audio device 'dev="Microphone" mics="*"': No such device.
audio/info: Device string empty; will look for a device with at least 1 input channels.
audio/info: Found: HDA Intel: AD1984 Analog (hw:0,0), in: 2, out: 2
audio/info: Using audio device: HDA Intel: AD1984 Analog (hw:0,0) (2 in, 2 out), input channels: 1
audio/info: Device string empty; will look for a device with at least 2 output channels.
audio/info: Found: HDA Intel: AD1984 Analog (hw:0,0), in: 2, out: 2
audio/info: Using audio device: HDA Intel: AD1984 Analog (hw:0,0) (2 in, 2 out), output channels: 2
core/info: Loading assets.
video/info: Create window 1366x768
Aborted 
mirabilos commented 5 years ago

One note: it cannot create 1366x768 windows, my display is 1024x768.

mirabilos commented 5 years ago

I’ve let someone else whose laptop is wider try, and they got a GUI window, but a much smaller one (about 600px or so wide?).

Lord-Kamina commented 5 years ago

What kind of display do you have that is 1024x768? 🙃

Sent with GitHawk

mirabilos commented 5 years ago

Gregorio Litenstein dixit:

What kind of display do you have that is 1024x768? 🙃

An IBM Thinkpad. A very good one. My main work device.

mirabilos commented 5 years ago

With the patch from https://github.com/performous/performous/pull/477 applied, the smaller display is accounted for well (thanks), and the OpenGL version check shows the other problem.

When exporting LIBGL_ALWAYS_SOFTWARE=true it can be started.