Author Topic: Suggested GUI changes for 3.4.0  (Read 4760 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Suggested GUI changes for 3.4.0
« on: 26 October 2010, 08:56:08 »
As discussed previously on IRC, I suggest to remove GUI access to the following options:

* Path finder selector: Unfortunately Silnarm's path finder has not been working for us for a while now and it has not been worked on for a while, so at this point it is just an option which will cause crashes, and should thus be removed from GUI. It can remain as an .ini file option, though, so that it can be worked on again later if someone gets around to it.

* Server controlled AI: Client controlled AI does not work too well and has been causing crashes in the past, but server controlled AI works very well. So I recommend to remove GUI access to this option. If, for any reason, client controlled AI would seems to make more sense in a certain use case, it can remain as an .ini file option, though, so that it can be worked on again later if someone gets around to it.

* Shadow mapping: This option does not seems to work for anybody - it seems to always result in a message of "GL_ARB_shadow_ambient required for shadow mapping". So it seems to either rely on an OpenGL extension which is not available in nowadays hardware or it just fails to detect availability of this extension properly. In any case this option is not usable for anyone. So I recommend to remove GUI access to this option - it can remain as an .ini file option, though, so that it can be worked on again later if someone gets around to it. Alternatively, it might be possible to try and fix shadow mapping. Thanks to kobe for pointing this out again recently.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Suggested GUI changes for 3.4.0
« Reply #1 on: 26 October 2010, 09:53:00 »
Quote
* Path finder selector: Unfortunately Silnarm's path finder has not been working for us for a while now and it has not been worked on for a while, so at this point it is just an option which will cause crashes, and should thus be removed from GUI. It can remain as an .ini file option, though, so that it can be worked on again later if someone gets around to it.

I haven't had any pathfinder crashes, been using the PB-beta, and I love it. ;)



Quote
* Shadow mapping: This option does not seems to work for anybody - it seems to always result in a message of "GL_ARB_shadow_ambient required for shadow mapping". So it seems to either rely on an OpenGL extension which is not available in nowadays hardware or it just fails to detect availability of this extension properly. In any case this option is not usable for anyone. So I recommend to remove GUI access to this option - it can remain as an .ini file option, though, so that it can be worked on again later if someone gets around to it. Alternatively, it might be possible to try and fix shadow mapping. Thanks to kobe for pointing this out again recently.

I've never had a problem with shadow mapping before. :look:
Egypt Remastered!

Proof: Owner of glest@mail.com

claymore

  • Guest
Re: Suggested GUI changes for 3.4.0
« Reply #2 on: 26 October 2010, 12:56:32 »
We've had some desyncs and some unexplained crashes with RP-beta, but this and the option for server-controlled AI are already hidden under advanced options anyway. So I don't really see the problem.

At most, indicate beside these options that they are "unstable".

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Suggested GUI changes for 3.4.0
« Reply #3 on: 26 October 2010, 14:05:14 »
It's possible that the issues reported about the "RoutePlanner" path finder are only subject to a specific use case, such as cross-operating system/architecture network gaming, and/or that they only occur in certain configurations. But since network gaming is, as of now, the main focus of MegaGlest, and this path finder obviously is not stable there, yet,  and hasn't stabilized lately, I suggest to remove access to it off the GUI.

My idea is that unstable options should not be presented to users at all. Neither as directly accessible nor as 'advanced' options. The common notion on 'advanced' options is that they are more difficult to understand, more complex, and possibly also that they can have side effects, but not that they are unstable or act unreliably, or that they are known to more likely crash an application. That's why I'm suggesting to remove such options off the GUI entirely. These options can still remain in the active code, and be available by .ini options, so that whoever still likes to use them can still easily activate them without having to recompile. I think this is a good compromise which suits everybody's needs.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Suggested GUI changes for 3.4.0
« Reply #4 on: 26 October 2010, 21:55:39 »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #5 on: 26 October 2010, 21:56:32 »
I have removed some of the items from the UI as requested. I have left the pathfinder selection for now until I can check with silnarm regarding his plans for the route planner. Silnarm any idea as to when you might be able to look into the route planner in MG?

For now I have left shadow mapping as is, since I want to look into getting it to work. I researched a bit and found out what the problem is and there DOES seem to be some possible solutions. ATI cards look like they generally do come with the missing extension (just an FYI).

Thanks

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Suggested GUI changes for 3.4.0
« Reply #6 on: 26 October 2010, 22:09:41 »
Thanks for applying those changes. :)

ATI cards look like they generally do come with the missing extension (just an FYI).

Oh so this is not a bug, just a feature with limited hardware support...
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Suggested GUI changes for 3.4.0
« Reply #7 on: 27 October 2010, 00:09:57 »
I've never seen any problems with either the pathfinder or the Shadow mapping... Why remove either?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Suggested GUI changes for 3.4.0
« Reply #8 on: 27 October 2010, 00:59:36 »
I've never seen any problems with either the pathfinder or the Shadow mapping... Why remove either?

Yea, please don't remove this stuff, just set defaults to the most stable stuff.
Egypt Remastered!

Proof: Owner of glest@mail.com

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Suggested GUI changes for 3.4.0
« Reply #9 on: 27 October 2010, 04:56:48 »
No sense, a lot of NVIDIA graphics cards and ATI cards do not support the shadow mapping.
"OenGL extension supported: GL_ARB_shadow_ambient, required for shadow mapping"

I've never heard of that problem until this thread, all graphics are ATI(my laptop, Main computer, other computer). :|
Egypt Remastered!

Proof: Owner of glest@mail.com

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #10 on: 27 October 2010, 06:32:21 »
We've had some desyncs and some unexplained crashes with RP-beta...

If anyone has had RoutePlanner related crashes, please get me a stack-trace!

The 'new pathfinder lied' exception was removed, it was never a terribly bad thing, and shouldn't have been cause to throw an exception, but it also shouldn't happen, so I wanted to know if did. That said I'll probably never find the time to investigate that one properly.

Silnarm any idea as to when you might be able to look into the route planner in MG?

Reasonably soon now, once the next GAE bug-fix release is out, so probably next week some time.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Suggested GUI changes for 3.4.0
« Reply #11 on: 27 October 2010, 12:28:46 »
I too have seen the shadow mapping issue on four computers up to this point. They all are running windows systems with either Ati or Nvidia cards. (3 Nvida 1 Ati)

I found this post a long time ago but it may be helpful for fixing this problem:

https://forum.megaglest.org/index.php?PHPSESSID=4c0393cf0e8a5f7d91dd4909cf443d3e&topic=3820.0
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #12 on: 27 October 2010, 15:04:53 »
Thanks shadow mapping is fixed :)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Suggested GUI changes for 3.4.0
« Reply #13 on: 27 October 2010, 17:58:55 »
By fixed, do you mean that that it now works for those whom it won't?

Oddly, my last two computers are ATI and it worked fine on both...
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #14 on: 27 October 2010, 18:21:21 »
The change now works on my NVidia 9800 (whereas before using the _ambient extension many NVidia cards do not). Thus far this still does not seem to work on Intel cards.

Gabbe

  • Guest
Re: Suggested GUI changes for 3.4.0
« Reply #15 on: 28 October 2010, 04:44:06 »
6870 - works

xfire 5870 works

xfire 5970 works

5830 works

GTX 295 works

GTX 460 works

nVidia 7000m geforce works

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #16 on: 7 November 2010, 15:55:36 »
6870 - works

xfire 5870 works

xfire 5970 works

5830 works

GTX 295 works

GTX 460 works

nVidia 7000m geforce works

you can add 8800GTX to the list.
WiP Game developer.
I do danish translations.
"i break stuff"

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #17 on: 7 November 2010, 18:17:13 »
Works with my GT220  :)

Unfotunately the shadows look VERY aliased even with a 1024 shadow map and units have a "flicker" which looks weird  :confused:
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Suggested GUI changes for 3.4.0
« Reply #18 on: 8 November 2010, 08:00:49 »
I saw some flicker too, i tought it were my mod wich had badly models, il check more troughotly when i get home,

EIDT;I know this message had bad grammar, i can't be botherd to fix it tho.
« Last Edit: 8 November 2010, 10:00:47 by Coldfusionstorm »
WiP Game developer.
I do danish translations.
"i break stuff"

Gabbe

  • Guest
Re: Suggested GUI changes for 3.4.0
« Reply #19 on: 8 November 2010, 23:07:36 »
I saw some flicker too, i tought it were my mod wich had badly models, il check more troughotly when i get home,

EIDT;I know this message had bad grammar, i can't be botherd to fix it tho.

is like one sentence..

6870 xfire works aswell

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Suggested GUI changes for 3.4.0
« Reply #20 on: 8 November 2010, 23:18:57 »
I can also confirm that it works perfectly on ATI Mobility Radeon HD 4650.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert