Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: achtung on September 16, 2011, 10:20:02 am
-
I've been having this problem through several HEAD revisions. The latest revision it shows up on is 7734. The executable is ignoring all attempts to set the resolution, this includes the command line flag (-res WxH), ~/.fs2_open/fs2_open.ini (current setting is: VideocardFs2open=OGL -(1600x900)x32 bit), and cmdline_fso.cfg does not contain any conflicting entries. I have tried starting via command line, and starting via wxLauncher. I've also tried windowed, and fullscreen. The problem presents itself in all of the given situations. After attempting to run a debug build, no logs are dropped into ~/.fs2_open/, or ~/.fs2_open/data. I have tried running as root, which resulted in a crash to desktop when attempting to start a mission (probably Catalyst), and I've tried disabling SELinux. None of the above attempts resolved the issue, or got me some debug logs. I did attempt non-widescreen (4:3) resolutions, to no avail. It seems to be defaulting to 640x480.
EDIT: Using -debug_window results in no window, and no information.
I am running:
Fedora 15 x86_64
Radeon HD 6950 w/ Catalyst 11.7
Kernel 2.6.40.4-5
Here is fs2_open.ini:
[Default]
VideocardFs2open=OGL -(1600x900)x32 bit
SoundDeviceOAL=PulseAudio Software
OGL_AnisotropicFilter=16
ConnectionSpeed=None
NetworkConnection=None
OGL_AntiAliasSamples=16
TextureFilter=0
CurrentJoystick=99999
EnableJoystickFF=0
EnableHitEffect=0
LastPlayer=achtungS
Here is cmdline_fso.cfg:
-mod mediavps_3612 -spec -glow -env -mipmap -nomotiondebris -missile_lighting -normal -3dshockwave -post_process -fxaa -ship_choice_3d -weapon_choice_3d -3dwarp -warp_flash
I will provide any other relevant information upon request.
-
Can you try running the debug exe with -debug_window, and copy that window's output?
-
Can you try running the debug exe with -debug_window, and copy that window's output?
Forgot to mention, that window refuses to appear.
I am making the debug builds by doing autogen.sh --enable-debug --enable-inerno, I am left with fs2_open_INF_d each time, which I assume is the proper way to make a debug build.
-
That would be correct. Hmm. I am unfamiliar with Linux and its development tools, is there a way for you to single-step through the program start?
-
Here's the output from gdb. The bit at the end has me a little concerned. The vast majority is some harmless whining from ALSA.
GNU gdb (GDB) Fedora (7.3-43.fc15)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/achtung/Games/fs2open/fs2_open_INF_d...done.
(gdb) run
Starting program: /home/achtung/Games/fs2open/fs2_open_INF_d
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7bc8700 (LWP 12603)]
[Thread 0x7ffff7bc8700 (LWP 12603) exited]
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.rear.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM rear
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.center_lfe.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM center_lfe
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.side.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM side
[New Thread 0x7ffff7bc8700 (LWP 12604)]
[Thread 0x7ffff7bc8700 (LWP 12604) exited]
[New Thread 0x7ffff7bc8700 (LWP 12605)]
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[Thread 0x7ffff7bc8700 (LWP 12605) exited]
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[New Thread 0x7ffff7bc8700 (LWP 12606)]
[Thread 0x7ffff7bc8700 (LWP 12606) exited]
[New Thread 0x7ffff7bc8700 (LWP 12607)]
[Thread 0x7ffff7bc8700 (LWP 12607) exited]
[New Thread 0x7ffff7fbf700 (LWP 12608)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[Thread 0x7ffff7fbf700 (LWP 12608) exited]
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.rear.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM rear
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.center_lfe.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM center_lfe
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.side.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM side
[New Thread 0x7ffff7bc8700 (LWP 12609)]
[Thread 0x7ffff7bc8700 (LWP 12609) exited]
[New Thread 0x7ffff7bc8700 (LWP 12610)]
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[Thread 0x7ffff7bc8700 (LWP 12610) exited]
[New Thread 0x7ffff7bc8700 (LWP 12611)]
[Thread 0x7ffff7bc8700 (LWP 12611) exited]
[New Thread 0x7ffff7bc8700 (LWP 12612)]
[Thread 0x7ffff7bc8700 (LWP 12612) exited]
[New Thread 0x7ffff7fbf700 (LWP 12613)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[Thread 0x7ffff7fbf700 (LWP 12613) exited]
[New Thread 0x7ffff7bc8700 (LWP 12614)]
[Thread 0x7ffff7bc8700 (LWP 12614) exited]
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.rear.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM rear
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.center_lfe.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM center_lfe
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.side.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM side
[New Thread 0x7ffff7bc8700 (LWP 12615)]
[Thread 0x7ffff7bc8700 (LWP 12615) exited]
[New Thread 0x7ffff7bc8700 (LWP 12616)]
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[Thread 0x7ffff7bc8700 (LWP 12616) exited]
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[New Thread 0x7ffff7bc8700 (LWP 12617)]
[Thread 0x7ffff7bc8700 (LWP 12617) exited]
[New Thread 0x7ffff7bc8700 (LWP 12618)]
[Thread 0x7ffff7bc8700 (LWP 12618) exited]
[New Thread 0x7ffff7fbf700 (LWP 12619)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[Thread 0x7ffff7fbf700 (LWP 12619) exited]
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.rear.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM rear
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.center_lfe.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM center_lfe
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.HDA-Intel.pcm.side.0:CARD=0'
ALSA lib conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM side
[New Thread 0x7ffff7bc8700 (LWP 12620)]
[Thread 0x7ffff7bc8700 (LWP 12620) exited]
[New Thread 0x7ffff7bc8700 (LWP 12621)]
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[Thread 0x7ffff7bc8700 (LWP 12621) exited]
[New Thread 0x7ffff7bc8700 (LWP 12622)]
[Thread 0x7ffff7bc8700 (LWP 12622) exited]
[New Thread 0x7ffff7bc8700 (LWP 12623)]
[Thread 0x7ffff7bc8700 (LWP 12623) exited]
[New Thread 0x7ffff7fbf700 (LWP 12624)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[Thread 0x7ffff7fbf700 (LWP 12624) exited]
[New Thread 0x7ffff7bc8700 (LWP 12625)]
[Thread 0x7ffff7bc8700 (LWP 12625) exited]
[New Thread 0x7ffff7bc8700 (LWP 12626)]
[New Thread 0x7ffff33c6700 (LWP 12627)]
[New Thread 0x7fffe5bdd700 (LWP 12635)]
[New Thread 0x7fffe53dc700 (LWP 12636)]
[Thread 0x7ffff7bc8700 (LWP 12626) exited]
AL lib: ALc.c:1818: alcCloseDevice(): deleting 4 Buffer(s)
[Thread 0x7ffff33c6700 (LWP 12627) exited]
[Thread 0x7fffe53dc700 (LWP 12636) exited]
[Thread 0x7fffe5bdd700 (LWP 12635) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff24d2a3a in ?? () from /usr/lib64/dri/fglrx_dri.so
-
What do the following commands give you as output?
export LIBGL_DEBUG=verbose
fglrxinfo
What was the last revision before you saw this problem start?
I don't seem to have this problem on SVN 7735, but I'm running Ubuntu 10.04 with Nvidia, so the setup is not that similar...
-
The output I get is:
libGL: AtiGetClientDriverName: 8.87.5 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib64/dri/fglrx_dri.so
ukiDynamicMajor: found major device number 250
ukiDynamicMajor: found major device number 250
ukiOpenByBusid: Searching for BusID PCI:1:0:0
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 6, (OK)
ukiOpenByBusid: ukiOpenMinor returns 6
ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
display: :0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6900 Series
OpenGL version string: 4.1.10907 Compatibility Profile Context
I can't specifically say when the last revision was, it's been over a month, at least.