UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #5293  -  2.5/2.6 Graphic issues in 1920x1080 mode
Posted Mar 23, 2014 - updated Mar 23, 2014
Issue details
  • Type of issue
    Bug report
  • Status
     
    Open
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Battlescared
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Resolution
    Not determined
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
  • Platform
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
Issue description
Hi,

This probably is two independent bugs, but I'm reporting them together because what doesn't work in one version works in the other, and vice-versa so hopefully that will help with debugging.

I am running both 2.5 release version and 2.6 development version in 1920x1080 mode. 2.5 sets up the UI correctly, and by that I mean that the control panel is aligned all the way to the right edge of the monitor (and the globe is properly centered). When I load up 2.6, however, the UI control panel is stuck just offset from the middle of the screen, like the panel thinks the resolution is 1280x1024 (approximately) or something like that. The panel sits over the far eastern edge of the globe on the screen covering the globe slightly and there is about a third of the screen between the right edge of the screen and the right edge of the control panel that is just showing the star field. The moon and sun rotate around the earth across the whole 1920x1080 screen. This also causes a problem if you click the message window button to make it display the message list all the time as the message list now hides the buttons on the control panel and you can't click it again to get rid of it because the message window is on top of it. The message window realizes the screen is 1920x1080, it seems to just be the control panel that doesn't.

But, version 2.5 does not take over the full screen and leaves the task bar showing at the bottom of the screen, while version 2.6 takes over the full screen and properly hides the task bar. So each does a piece of it correctly.

I should also mention that I run in multimonitor mode in a somewhat strange situation with two xservers instead of one unified desktop across them both. I'm running in Mint 16, btw. The log output below shows my video configuration.
Steps to reproduce this issue
Just startup the game. Hers is the loging info. I abreviated some of it to keep it shorter.

Here is some of the output of the 2.5 version showing the resolution.

~/Games/ufoai25/ufoai > ./ufo ---- endianness initialization ----- found little endian system

---- filesystem initialization ----- Adding game dir: /usr/local/games/ufo//base Adding game dir: ./base Adding game dir: /home/mark/.ufoai/2.5/base using /home/mark/.ufoai/2.5/base for writing executing filesystem.cfg executing default.cfg executing config.cfg

----- network initialization ------- libcurl/7.32.0 GnuTLS/2.12.23 zlib/1.2.8 libidn/1.28 librtmp/2.3 initialized.

------ server initialization ------- added 12 maps to the mapcycle

----- console initialization ------- Console initialized.

------- video initialization ------- SDL version: 2.0.0 I: setting mode 24 I: disable multisample buffers I: set swap control to 0 available driver: x11 available driver: dummy current desktop mode: 1920x1080@60Hz (SDL_PIXELFORMAT_RGB888) driver: x11 found 2 display(s) use fake fullscreen for the first display: 1920:1080 I: 1920x1080 (fullscreen: yes) I: got 0 bits of stencil I: got 24 bits of depth buffer I: got double buffer I: got 8 bits for red I: got 8 bits for green I: got 8 bits for blue I: got 0 bits for alpha I: got multisample disabled I: got 0 multisample buffers GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GTX 550 Ti/PCIe/SSE2 GL_VERSION: 4.4.0 NVIDIA 331.49

. . .

Here is some of the output of the 2.6 version showing the resolution.

~/Games/ufoai26-dev/ufoai > ./ufo ---- endianness initialization ----- found little endian system

---- filesystem initialization ----- Adding game dir: /usr/local/games/ufo//base Adding game dir: ./base Adding game dir: /home/mark/.ufoai/2.6-dev/base using /home/mark/.ufoai/2.6-dev/base for writing executing filesystem.cfg executing default.cfg executing config.cfg

----- network initialization ------- libcurl/7.32.0 GnuTLS/2.12.23 zlib/1.2.8 libidn/1.28 librtmp/2.3 initialized.

------ server initialization ------- added 12 maps to the mapcycle

----- console initialization ------- Console initialized.

------- video initialization ------- I: SDL version: 2.0.0 I: found 2 display(s) I: current desktop mode: 1920x1080@60Hz (SDL_PIXELFORMAT_RGB888) I: video driver: x11 I: available driver: x11 I: available driver: dummy I: driver: x11 I: setting mode 24 I: try to get display with 1920x1080 I: set multisample buffers to 4 I: set swap control to 1 I: 1920x1080 (fullscreen: yes) I: got 8 bits of stencil I: got 24 bits of depth buffer I: got double buffer I: got 8 bits for red I: got 8 bits for green I: got 8 bits for blue I: got 0 bits for alpha I: got multisample enabled I: got 1 multisample buffers GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GTX 550 Ti/PCIe/SSE2 GL_VERSION: 4.4.0 NVIDIA 331.49 . . .

I don't see anything else in the output related to resolution, but the two outputs look pretty identical. I can generate some more output if you think it will help, but hopefully with the two versions each having a piece that works you'll be able to track it down quickly.