Author Topic: [not a bug] 3.6.0.2: FTGL errors on Windows 7 running in VBox virtualization  (Read 875 times)

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
On the command line window where I start MegaGlest from, lines like these are printed every ~ tenth of a second on Windows 7 Home Professional running in Virtualbox virtualization. This may be just due to the imperfect video virtualization...
 
Code: [Select]
[..\..\source\shared_lib\sources\graphics\gl\font_textFTGL.cpp::Shared::Graphics::Gl::TextFTGL::Advance] Line 262 Error = 1280 [invalid enumerant] for text [http://megaglest.org]
[..\..\source\shared_lib\sources\graphics\gl\font_textFTGL.cpp::Shared::Graphics::Gl::TextFTGL::LineHeight] Line 313 Error = 1280 [invalid enumerant] for text []

 The first one is printed during the intro (when the URL displays on screen), the second is in the About menu. Depending on which menu you're in the message changes slightly, as does the text presented in square brackets.

Edit: Further discussion on IRC indicated this is in fact just due to shortcomings in the video virtualization.
« Last Edit: 17 January 2012, 15:26:46 by tomreyn »
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
I discovered that VirtualBox's opengl wrapper does not like older opengl calls [like glGenLists()]. Since this call did not seem to help us in any way, i modified to code to remove its use and now we are able to run inside virtualbox.

 

anything