Author Topic: [(p) fixed] Some potential issues in reset to default (3.5.0b2)  (Read 1203 times)

workarounder

  • Guest
The first potential issue is setting 'DepthBits' to 32 on linux version. In this case game just does not start.

Ubuntu 10.10 Maverick (Linux 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC 2011 i686 GNU/Linux)

--opengl-info
(click to show/hide)

Output
(click to show/hide)

Default glest.ini

Problem can be solved by setting 'DepthBits' to 24 or 16 manually.

The second potential issue is setting 'PhotoMode' to 'true'. It happens both for win32 and linux-x86 versions. This value not only enable the photo mode in game by default, but it also allow to use unlimited zooming (i.e. you can zoom to underground). However photo mode works just fine by pressing F8 (with 'PhotoMode=false').
(click to show/hide)

Microsoft Windows Server 2003, Standard Edition x86 (5.2.3790 Service Pack 2 build 3790) with PAE

--opengl-info
(click to show/hide)

p.s. does it normal that configurator by default sets 'UserData_Root' to null instead of '$HOME/.megaglest' or '%appdata%/megaglest'?
« Last Edit: 18 April 2011, 14:29:11 by workarounder »

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #1 on: 18 April 2011, 19:30:45 »
Hmm...I think this bug was fixed already. Do you think you could build SVN HEAD and try again, please? Thanks.
https://docs.megaglest.org/MG%2FLinux_Compiling

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #2 on: 19 April 2011, 01:07:18 »
The configurator will no longer edit glest.ini, a file which is not supposed to be changed (and whose settings are overwritten by those found in glestuser.ini), but edit glestuser.ini, the file which is supposed to be edited as needed. This was wrong so far until and including 3.5.0 beta2, and has only recently been fixed in the subversion repository.
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 · · ·

workarounder

  • Guest
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #3 on: 19 April 2011, 03:00:14 »
SVN 2110 still have issue with 'DepthBits=32' on my native 1366x768 resolution.

But now it writes default settings to glestuser.ini.

Terminal output
(click to show/hide)
« Last Edit: 19 April 2011, 03:04:39 by workarounder »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #4 on: 19 April 2011, 03:31:34 »
SVN 2110 still have issue with 'DepthBits=32' on my native 1366x768 resolution.

You're probably trying to use a value your video card can't handle. Most video cards provide either 16 or 24 bits of depth buffers. I'd suggest you start with the default values (restore glest.ini from the distribution / svn revert it, then rename/delete glestuser.ini and just run the game).
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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #5 on: 19 April 2011, 04:04:27 »
Try svn now, I added some fallback logic to try other bits and resolutions if the selected one fails

workarounder

  • Guest
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #6 on: 19 April 2011, 04:41:44 »
You're probably trying to use a value your video card can't handle. Most video cards provide either 16 or 24 bits of depth buffers.
I understand. I does not mean, that this problem caused by the game itself. The only cause of this trouble is the 'Default' button in the megaglest_configurator.

This problem appears only when I tried to reset config to default by megaglest_configurator, which writes 'DepthBits=32' into glestuser.ini. Maybe it value exactly should be 16 or 24?

win32 configurator does not provoke something like this, but It can be found in the linux version.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Some potential issues in reset to default (3.5.0b2)
« Reply #7 on: 19 April 2011, 17:27:38 »
Thanks for pointing this out. The new configurator default for DepthBits is now 16 bit. Some other values were also modified for increased compatibility.
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 · · ·