FreeOrion

Forums for the FreeOrion project
It is currently Sat May 26, 2018 5:44 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Invisible starlanes
PostPosted: Sun Apr 29, 2018 12:53 pm 
Offline
Space Krill

Joined: Sun Apr 29, 2018 12:16 pm
Posts: 5
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?


Attachments:
Freeorion_20180429_062242.png
Freeorion_20180429_062242.png [ 621.04 KiB | Viewed 502 times ]
Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sun Apr 29, 2018 3:32 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4614
Please post the client log file freeorion.log; instructions for its location are here.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sun Apr 29, 2018 5:08 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12195
Location: Munich
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?


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Mon Apr 30, 2018 9:57 am 
Offline
Space Krill

Joined: Sun Apr 29, 2018 12:16 pm
Posts: 5
Ok, here's the log file. I hope I'm not at the randomly trying stuff stage yet, but it may come to that.


Attachments:
freeorion.log [33.9 KiB]
Downloaded 11 times
Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Tue May 01, 2018 1:13 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4488
Location: Sol III
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?


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Tue May 01, 2018 4:46 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4614
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.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Wed May 02, 2018 11:44 pm 
Offline
Space Krill

Joined: Sun Apr 29, 2018 12:16 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Thu May 03, 2018 4:33 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4614
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).

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sun May 06, 2018 12:25 am 
Offline
Space Krill

Joined: Sun Apr 29, 2018 12:16 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sat May 12, 2018 4:54 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 389
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:
$ LIBGL_ALWAYS_SOFTWARE=ON freeorion

_________________
Any content posted should be considered licensed GNU GPL 2.0 and/or CC-BY-SA 3.0 as appropriate.


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sat May 12, 2018 5:55 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4614
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.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Sat May 12, 2018 6:39 pm 
Offline
Space Kraken

Joined: Sat Dec 10, 2011 5:46 am
Posts: 107
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

_________________
Gentoo Linux amd64, gcc-6.4.0, boost-1.65.0
Ubuntu Server 18.04.0 x64, gcc-7.3, boost-1.65.1
Welcome to multiplayer public server at freeorion-test.dedyn.io. Version 2018-05-22.2e3c6f4
Donates are welcome: BTC: 14XLekD9ifwqLtZX4iteepvbLQNYVG87zK


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Tue May 22, 2018 3:15 am 
Offline
Space Krill

Joined: Sun Apr 29, 2018 12:16 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: Invisible starlanes
PostPosted: Tue May 22, 2018 4:36 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4614
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.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group