Page 1 of 1

Invisible starlanes

Posted: Sun Apr 29, 2018 12:53 pm
by Murdoc
I checked out the forums and found a previous thread about this, but the problem there was that they needed OpenGL 2.0 and didn't have it. Well I have 3.0 and my starlanes are invisible. They work, but I have to use the fleets to see where they will go to find them.

I'm running Kubuntu 17.10, Free Orion 0.4.7-2 (from the repositories). The game just says "build ???". I have python 2.7. My video card is a Radeon HD 4890. I don't know specifically what drivers for it are installed because I don't know where to look for that info, but it is working with just whatever comes with Kubuntu, I haven't downloaded anything extra. I'm running at full screen at a resolution of 1920x1080. I've tried changing the resolution and playing windowed but that hasn't helped.

I checked all the settings I can find and they seem to indicate that the starlanes should be on. I even tried increasing the size of them in case that helped, but to no avail. I'll include a screenshot so you can see the map and the settings (that I know about anyway, I couldn't see anything else that might affect it). The problem has existed since the beginning of this game, which is the first game I've run with this version. Saving the game, and reloading (even restarting the game) hasn't changed anything so it's not a one-time glitch. I've run FreeOrion on this computer before, and had no problems then.

Anything else I can check or try?

Re: Invisible starlanes

Posted: Sun Apr 29, 2018 3:32 pm
by Dilvish
Please post the client log file freeorion.log; instructions for its location are here.

Re: Invisible starlanes

Posted: Sun Apr 29, 2018 5:08 pm
by Geoff the Medio
Murdoc wrote:Anything else I can check or try?
Try enabling and disabling all the other graphics / rendering settings, particularly those related to the map. Maybe something will suddenly / randomly fix it?

Re: Invisible starlanes

Posted: Mon Apr 30, 2018 9:57 am
by Murdoc
Ok, here's the log file. I hope I'm not at the randomly trying stuff stage yet, but it may come to that.

Re: Invisible starlanes

Posted: Tue May 01, 2018 1:13 pm
by Vezzra
Hm, Ubuntu 17.10 runs with Wayland. Does Kubuntu 17.10 too? In this case it would be interesting if 18.04 LTS (where Canonical switched back to X because of issues with Wayland) shows the same issue, but I guess it's probably not that easy to temporarily install 18.04 on your machine just to check this. Maybe you can switch your Kubuntu 17.10 to X?

Another interesting thing would be if the issue also shows up with current master. So, if you can build FO yourself, could you try that?

Re: Invisible starlanes

Posted: Tue May 01, 2018 4:46 pm
by Dilvish
Vezzra wrote:Maybe you can switch your Kubuntu 17.10 to X?
Here is an article about switching back and forth between Wayland and Xorg in 17.10.

Re: Invisible starlanes

Posted: Wed May 02, 2018 11:44 pm
by Murdoc
Thanks for those ideas, guys. I'm fairly sure that I'm running Wayland, but the Kubuntu login screen doesn't seem to have an option to switch, and I can't find any info online about other ways to do it. I am planning on upgrading to 18.04, but I'm not sure when I'll get around to it yet. So I guess unless there are any other ideas, I will have to wait until I can do that to see if it even works. I'm sure you can imagine the pain it is not knowing where your supply lines are and stuff. Weird problem.

Re: Invisible starlanes

Posted: Thu May 03, 2018 4:33 am
by Dilvish
Murdoc wrote:So I guess unless there are any other ideas
I would definitely recommend trying to compile FO yourself, it's pretty easy on Linux. That might eliminate some weird conflict between the library versions your freeorion package expects to rely on versus what actually on your machine. (I know your package manager would normally keep that all sorted out, but I think that in some situations some trouble can still arise.) Here are the most current general build instructions, and here are some more detailed instructions specific to Linux, but also slightly stale (such as mentioning a slightly stale boost version).

Re: Invisible starlanes

Posted: Sun May 06, 2018 12:25 am
by Murdoc
Thanks, I might do that. I may wait until after trying the upgrade though, just because I like the package manager keeping me updated on things.

Re: Invisible starlanes

Posted: Sat May 12, 2018 4:54 pm
by dbenage-cx
Looks related to #1674.
Geoff the Medio wrote:
Murdoc wrote:Anything else I can check or try?
Try enabling and disabling all the other graphics / rendering settings, particularly those related to the map.
Running with software rendering should display ok (at a performance cost):

Code: Select all

$ LIBGL_ALWAYS_SOFTWARE=ON freeorion

Re: Invisible starlanes

Posted: Sat May 12, 2018 5:55 pm
by Dilvish
dbenage-cx wrote:Looks related to #1674.
Yes indeed that looks quite on point.
Murdoc wrote:I'm running Kubuntu 17.10, Free Orion 0.4.7-2 (from the repositories).
So Murdoc, the FreeOrion version you have is from June 2017, before dbenage-cx committed his fix for this issue. It's somewhat surprising to me that they did not roll out the 0.4.7.1 bugfix release for 17.10 since it is still supported, but I c'est la vie. 18.04LTS and 18.10 are using the 0.4.7.1 release and so their repos will have the linked fix.

So debenage-cx has given you a command-line rendering fix that should be an available resolution for you, or also this news should give you confidence that if you take the minor hassle of building FO yourself from source that would resolve your problem also, with better performance.

Re: Invisible starlanes

Posted: Sat May 12, 2018 6:39 pm
by o01eg
Dilvish wrote:
Murdoc wrote:I'm running Kubuntu 17.10, Free Orion 0.4.7-2 (from the repositories).
So Murdoc, the FreeOrion version you have is from June 2017, before dbenage-cx committed his fix for this issue. It's somewhat surprising to me that they did not roll out the 0.4.7.1 bugfix release for 17.10 since it is still supported, but I c'est la vie. 18.04LTS and 18.10 are using the 0.4.7.1 release and so their repos will have the linked fix.
He could try my PPA with weekly test-builds ppa:o01eg/freeorion. I have versions for 16.04, 17.10 and 18.04. http://freeorion.org/forum/viewtopic.php?f=2&t=10942

Re: Invisible starlanes

Posted: Tue May 22, 2018 3:15 am
by Murdoc
Wow, I didn't expect any more answers. So many more ideas, thanks to all!
I checked and it is indeed an issue with the visibility circles, I can either have them or the star lanes, unless I use the software rendering which makes the pointer drag.
I tried o01eg's PPA but it turned out not to be compatible with my current saved games; is it because of it being a newer version? I didn't think such a minor update would break them, but it loaded up the game with no stars, planets, ships, or empires. It got the turn number right, but that's about it.

Re: Invisible starlanes

Posted: Tue May 22, 2018 4:36 am
by Dilvish
Murdoc wrote: I didn't think such a minor update would break them
Minor update? Ah, because the version number didn't change much, I suppose. It looks to me like you are talking about nearly a full year of dev work. Since this isn't the kind of app where people really need their old save files to remain compatible, we put just a fairly modest bit of effort into maintaining backwards compatibility from month to month, let alone year to year.

So I hope you can be happy that the version from o0leg's PPA works for you.