Author Topic: OpenGL error #1286  (Read 2731 times)

bobglaub

  • Guest
OpenGL error #1286
« on: 28 October 2011, 06:31:11 »
Having an issue, and I don't know how to resolve it.  Here's what we have (my buddy and I)

megaglest 3.5.2

Linux Mint 10 32 bit

pentium 4 3.2 GHz
2GB RAM
nVidia 5200 256MB video card

It will load a scenario just fine, but whenever we hit "Custom Game" it immediatly crashes.  The debug throws this at is:

Code: [Select]
[2011-10-28 00:17:11] In [/home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_custom_game.cpp::simpleTask Line 2081]
[2011-10-28 00:17:11] In [/home/softcoder/Code/megaglest/trunk/source/glest_game/menu/menu_state_custom_game.cpp::simpleTask Line 2149]
[2011-10-28 00:17:11] In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/main.cpp::handleRuntimeError Line: 442] [OpenGL error #1286 [0x506] : [invalid framebuffer operation] at file: [/home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp], line: 444
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x82c8f0b] line: 3021
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x82cd6ed] line: 3081
./megaglest:main() address [0x82cd7f6] line: 3101
/lib/libc.so.6:__libc_start_main() address [0x3e4ce7] line: 0
./megaglest() [0x81b95c1] address [0x81b95c1] line: 0
]
[2011-10-28 00:17:11] In [/home/softcoder/Code/megaglest/trunk/source/glest_game/main/program.cpp::showMessage 619] msg [OpenGL error #1286 [0x506] : [invalid framebuffer operation] at file: [/home/softcoder/Code/megaglest/trunk/source/glest_game/graphics/renderer.cpp], line: 444
Stack Trace:
./megaglest:Glest::Game::glestMain(int, char**) address [0x82c8f0b] line: 3021
./megaglest:Glest::Game::glestMainWrapper(int, char**) address [0x82cd6ed] line: 3081
./megaglest:main() address [0x82cd7f6] line: 3101
/lib/libc.so.6:__libc_start_main() address [0x3e4ce7] line: 0
./megaglest() [0x81b95c1] address [0x81b95c1] line: 0
]

If anybody can help, please do so, it'd be greatly appreciated.

Edit by Omega: Added code tags
« Last Edit: 30 October 2011, 03:57:20 by Omega »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: OpenGL error #1286
« Reply #1 on: 28 October 2011, 11:37:21 »
Which gfx card driver do you use? nvidia or nouveau?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: OpenGL error #1286
« Reply #2 on: 28 October 2011, 14:10:05 »
You could go into the options menu and try disabling map preview and see if that helps

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: OpenGL error #1286
« Reply #3 on: 29 October 2011, 01:08:14 »
For what it's worth, Linux Mint 10 is based on Ubuntu Maverick Meerkat (10.10). So it's kernel version should be based on 2.6.35.
The known bugs in graphics section of Maverick's release notes says:
Quote
The new Xorg 1.9 available in Maverick is not compatible with nVidia based chipsets that use the (nvidia-96) and (nvidia-173) drivers.
So at least during the Maverick release, proprietary nvidia drivers did not work. Apparently support for it was added later, but I could not tell whether that's been fully transported to Linux Mint 10.
« Last Edit: 29 October 2011, 01:25:26 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 · · ·