Board index FlightGear Support Graphics

fgfs won't respect --geometry on multihead framebuffer

Graphics issues like: bad framerates, weird colors, OpenGL errors etc. Bad graphics ar usually the result of bad graphics cards or drivers.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?
- does the problem occur with any aircraft, at any airport?
- is there any output printed to the console (black window)?
- copy&paste your commandline (tick the "Show commandline box on the last page of FGRun or the "Others" section on the Mac launcher).
- please upload a screenshot of the problem.

If you experience FlightGear crashes, please report a bug using the issue tracker (can be also used for feature requests).
To run FlightGear on old computers with bad OpenGL support, please take a look at this wiki article. If you are seeing corrupted/broken textures, please see this article.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

fgfs won't respect --geometry on multihead framebuffer

Postby evranch » Wed Feb 06, 2019 5:10 am

I've been trying to get this to work for ages, but it baffles me. I'm running Linux with the AMDGPU-PRO drivers. They work great, and I don't suspect it's their fault.

Edit: From the saiarcot895 repository.
Linux Mint 19 (Ubuntu 18.04 based)
FlightGear version: 2018.3.1
SimGear version: 2018.3.1
OSG version: 3.2.3
PLIB version: 185

I have 3 monitors that are automatically bound together, apparently by AMDGPU when I read the Xorg.log, into one large framebuffer - 4720x1050.

The only way to get fgfs to span all three monitors is to start it windowed, and then drag the corners of the window until they span all of the monitors. This also seems to be what is keeping me from configuring proper cameras for the three monitors, so I get a distorted view on the side monitors. I have not been able to get it to respect any of the configuration files that set up multiple viewports.

I would have thought launching fgfs --geometry 4720x1050 would fill the framebuffer - no, it fills the middle monitor, windowed, with a top bar from the window manager. How about with --enable-fullscreen? That fills the middle monitor as well, without the window manager frame. If I use the window manager controls I can send the fullscreen image to whichever monitor I want with the "move to monitor 1" etc. commands.

Feeding a value smaller than the monitor to --geometry is respected, like 640x480, and gets me a small window.

How do I get it to fill the entire framebuffer and not respect the monitor boundaries?
Posts: 8
Joined: Tue May 01, 2018 5:03 am

Return to Graphics

Who is online

Users browsing this forum: No registered users and 1 guest