OoliteProject / oolite

The main Oolite repository.
https://www.oolite.space
556 stars 71 forks source link

BUG: IFF Scanner randomly loses distance and view cone lines #372

Open Shindo-Aardwolf opened 3 years ago

Shindo-Aardwolf commented 3 years ago

I haven't tested with no OXZ's installed but with the newbie pack installed the all the HUDs keep losing the IFF Scanner markings for distance and the view cone. All the other features in the scanner work, ships are shown at the correct distance and height above/below the plane.

The stock HUDs have all permanently lost those lines but with the Nova Lux HUD/cockpit installed it comes and goes randomly(after docking or hyperspacing)

I'm running version 1.90 for Ubuntu/Linux and have run oolite-update

oolite-003

AnotherCommander commented 3 years ago

Seems like some huds have the scanner_minimalistic set to true. The minimalistic scanner setting removes all distance lines from the scanner. On top of this, switching to external view will remove also the view cone, since that is meaningful only when inside the ship. This is probably why it appears as if the scanner has lost all its lines.

It looks like it works as intended, if it is true that the minimalistic scanner is being set. For now, please test without any OXPs/OXZs present. If all is OK, then we can close the issue.

Shindo-Aardwolf commented 3 years ago

I wasn't aware that switching to external view removed those cones but even with all OXZs uninstalled and a starting a new game I still get this, even after flipping from external to internal and vice versa. I even hyperspaced to a new system to see if that wouldn't fix it.

oolite-011

.

AnotherCommander commented 3 years ago

Hm... It looks like it is missing any and all lines from the HUD, including the gauge frame lines. That's strange. Can you please post the Latest.log?

Shindo-Aardwolf commented 3 years ago

Latest.log

EDIT:i restarted the game to get a less spammy log file

KonstantinosSykas commented 3 years ago

Hi @Shindo-Aardwolf, please, try in Strict Mode with Game Options / Graphics Detail: Minimum Detail. If this doesn't resolve the issue, a clean installation should also help with the investigation. On that matter rename the folders ~/GNUstep ~/.Oolite ~/oolite-saves and perform a fresh installation using the relevant package from http://oolite.org/download/

Shindo-Aardwolf commented 3 years ago

I first tried starting a new game in strict mode with Graphics Detail: Minimum Detail. Same result, IFF Scanner is there and working but with no lines in it.

I then renamed all the above folders and re-installed and I still hasn't fixed the scanner.

I'm including the log file but there aren't any errors reported. Latest.log

Also including a snapshot, this was in a station but the IFF scanner looks exactly the same in space, other than having ships marked on it. oolite-001

If you need me to try things I will give it a shot but you may need to be specific in your instructions.

Thanks for the help so far.

AnotherCommander commented 3 years ago

Not very Linux-savvy, but it seems to me that, if this glitch happens also without any expansions, then it should be most likely a graphics driver issue, especially if it persists even when having installed the official binary from oolite.org.

May I suggest an update of the graphics drivers to their latest version?

Alternatively, can you try running the game with the -noshaders command line parameter and see if that helps?

Shindo-Aardwolf commented 3 years ago

It looks like there are no updates available to the built-in graphics card on my machine and running with the no-shader option made no difference either. I've have tried a number of different HUD's from 2014 to as recent as 2019 and they all randomly at times have the distance and view cone and at other times don't have them. I have found no reliable way to reproduce this but I'm still able to play and work out where enemy ships are in combat. I will keep investigating but thank you for all the suggestions so far

igorkueng commented 3 years ago

I got the same problem with a new install on linux Obarun. Tried both versions, from AUR and from oolite.org. I played it in the past on the same machine with Xubuntu and i never had this problem... http://aegidian.org/bb/viewtopic.php?f=2&t=20815&p=273065#p273065