Author Topic: [LINUX] Executable ignoring resolution settings.  (Read 2022 times)

0 Members and 1 Guest are viewing this topic.

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Minecraft
    • Freespacemods.net
[LINUX] Executable ignoring resolution settings.
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:

Code: [Select]
[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:

Code: [Select]
-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.
« Last Edit: September 16, 2011, 10:43:06 am by Swantz »
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: [LINUX] Executable ignoring resolution settings.
Can you try running the debug exe with -debug_window, and copy that window's output?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Minecraft
    • Freespacemods.net
Re: [LINUX] Executable ignoring resolution settings.
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.
« Last Edit: September 16, 2011, 10:45:44 am by Swantz »
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: [LINUX] Executable ignoring resolution settings.
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?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Minecraft
    • Freespacemods.net
Re: [LINUX] Executable ignoring resolution settings.
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.

Code: [Select]
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
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz

 

Offline niffiwan

  • 211
  • Eluder Class
Re: [LINUX] Executable ignoring resolution settings.
What do the following commands give you as output?

Code: [Select]
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...
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Minecraft
    • Freespacemods.net
Re: [LINUX] Executable ignoring resolution settings.
The output I get is:

Code: [Select]
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.
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz