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

Multi-monitor... #36

Open
BenjamenMeyer opened this issue Apr 4, 2020 · 11 comments
Open

Multi-monitor... #36

BenjamenMeyer opened this issue Apr 4, 2020 · 11 comments
Labels
Milestone

Comments

@BenjamenMeyer
Copy link
Member

BenjamenMeyer commented Apr 4, 2020

I typically use my laptop hooked up to a second display; when loading vegastrike. I build VS and then used the Asset Production set to play the VS screen takes over both monitors and centers itself between them instead of sticking to one screen or the other.

  1. Is this expected behavior? (I'm thinking not)
  2. What data can I provide to help resolve?
  3. What can I do to help out on this? It makes game play a bit interesting and hard; though it does seem to work.

OS: Linux - Kubuntu 19.04

@BenjamenMeyer
Copy link
Member Author

Here's a screen shot of game play.
Some things to note:

  1. The screen below is not quite centered across two monitors; the unused space doesn't show up in the screen shot but appears grey on the screen. The monitor break goes through the image about one quarter the way into the right radar HUD.
  2. The data in the lower right portion isn't visible - the bottom of the actual screen area that is visible is near the top of the nav computer display showing the planet; the Right Side Radar HUD is partially visible, but only what shows up on my left hand monitor; anything that should be on the right hand monitor isn't visible.

Screenshot4

Note: This is on a laptop with an attached external monitor with both set to the same resolution, but differing actual physical sizes.

My expectation is that Vegastrike choose a single monitor device and only use that one device; even if the other is blank. Having it split between two monitors is rather hard to see what is going on.

@royfalk
Copy link
Contributor

royfalk commented Apr 7, 2020 via email

@BenjamenMeyer
Copy link
Member Author

@royfalk that's fine. I think it's just a matter of adding settings to control the viewport; I might investigate from that angle as in my normal setup it's very hard to play, especially missing part of the screen.

At least for the moment, it's not a high priority - we need to get things moving as a community first.

@Loki1950
Copy link
Member

Loki1950 commented Apr 7, 2020

IIRC assigning monitor settings is handled by SDL and it changed from SDL1 and SDL2 my normal work station has two monitors

@BenjamenMeyer
Copy link
Member Author

Work around right now is to just use Windowed mode instead of Full Screen mode.
I think that's generally acceptable until we can get proper multi-monitor support in.

@Loki1950
Copy link
Member

When in testing mode I use to run in widowed mode from a terminal window for max info

@BenjamenMeyer
Copy link
Member Author

@Loki1950 probably one of those things we need to document for testing purposes.

@nabaco
Copy link
Member

nabaco commented Apr 28, 2020

Hi @BenjamenMeyer, for further triage, we might need the following information:

  1. System specs (OS, graphics card and driver, xrandr output)
  2. VS configuration (./vssetup screenshot might be enough)
  3. Game log (./vegastrike > output.log 2 > error.log)

Out of curiosity, how is your laptop hooked up? Directly or through a docking station?

@nabaco nabaco moved this from Needs triage to Low priority in All the bugs Apr 28, 2020
@BenjamenMeyer
Copy link
Member Author

@nabaco yes; we should outline how to collect that information and provide it.

System Specs:

  • HP ProBook 4530s (2012?)
  • Kubuntu 19.10
  • Xrandr:
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS-1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768      60.03*+
   1360x768      59.80    59.96  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)

vegastrike.config.txt
xorg-config

I'll have to capture the rest later.
As to how it's hooked up - this laptop doesn't have a docking station (would love to have one though); so the monitor is just plugged in as an external monitor via the HDMI port. KDE is configured such that the display is extended to the other monitor - thus the disparity between the xranderr output (noting the settings of the individual displays) and the Xorg Config image (noting how Xorg sees the displays). I expect SDL will see what Xorg tells it is there, and the difference in physical sizes might also be causing some of the disparity too since VegaStrike is trying to treat the whole area as one big display mat and it's not really - the two displays are actually two different sizes.

@nabaco
Copy link
Member

nabaco commented Apr 28, 2020

When I'll get to the wiki I'll write up a page on that too. Maybe I'll setup a Github template for Bug issues.

Can you try and run the game with this resolution 1280x800? Or with a resolution that has the same aspect ratio? This is only as an experiment, since I saw some difference in the configuration file accross different resolutions.

@BenjamenMeyer BenjamenMeyer added this to the Backlog milestone May 21, 2020
@evertvorster
Copy link
Contributor

This is definitely something to be addressed when we get to polishing the game engine.

Settings should be part of the game engine, and not be a separate binary.
As mentioned earlier in this bug, this would be addressed when fixing the rendering engine.

This specific issue is unfortunately the first thing that a person who is newly interested in Vega-Strike would be seeing, and conceivably this is a turn-off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
All the bugs
  
Low priority
Development

No branches or pull requests

5 participants