[Linux] b263: AMD graphic card with Mesa
murray
Join Date: 2012-12-22 Member: 175880Members, NS2 Playtester, Pistachionauts
I had problems to start the game with mesa version > 10.0.3
I got this error message:
But I found a workaround. I created a symlink to the udev library in the ns2 folder and then the game starts without problems.
But as in version 10.0.3 I start the optimization and it crashes at the beginning during the "Precaching" procedure. But this time I got a nice backtrace.
My graphic card is a Radeon HD 6850.
logfile:
I got this error message:
Error: X windows: GLXBadFBConfig
Error: glXCreateContextAttribsARB failed
Error: X windows: GLXBadFBConfig
Error: X windows: GLXBadFBConfig
Error: X windows: GLXBadFBConfig
Error: X windows: GLXBadFBConfig
Error: X windows: GLXBadFBConfig
Error: OpenGL version 3.1 is required
Error: Couldn't initialize the render device.
But I found a workaround. I created a symlink to the udev library in the ns2 folder and then the game starts without problems.
libudev.so.0 -> /usr/lib32/libudev.so
But as in version 10.0.3 I start the optimization and it crashes at the beginning during the "Precaching" procedure. But this time I got a nice backtrace.
Program received signal SIGSEGV, Segmentation fault.
0xf3792271 in __memcpy_ia32 () from /usr/lib32/libc.so.6
(gdb) bt
#0 0xf3792271 in __memcpy_ia32 () from /usr/lib32/libc.so.6
#1 0xf7200172 in M4::OpenGLIndexBuffer::UpdateInternal (this=0xadbeafb8, offset=0, length=24, data=0xa7e11976, type=M4::RenderLockType_Discard) at ../Source/Render/OpenGLIndexBuffer.cpp:184
#2 0xf72001e9 in M4::OpenGLIndexBuffer::UpdateCommand::Execute (data=0xa7e1198e) at ../Source/Render/OpenGLIndexBuffer.cpp:157
#3 0xf71eb6a8 in M4::CommandBuffer::ExecuteCommands (this=0xe883df40) at ../Source/Render/CommandBuffer.cpp:91
#4 0xf71fcee8 in M4::OpenGLDevice::BeginRendering (this=0xe883db88) at ../Source/Render/OpenGLDevice.cpp:527
#5 0x0807809a in M4::ClientGame::Update (this=0xe883e008, deltaTime=0.053775349999995115) at ../Source/Spark_Client/ClientGame.cpp:891
#6 0x0806be66 in M4::ClientEngine::Update (this=0xf08fd170, deltaTime=0.053775349999995115) at ../Source/Spark_Client/ClientEngine.cpp:152
#7 0x080bfc04 in M4::BaseEngine::RunFrame (this=0xf08fd170) at ../Source/Spark_Server/BaseEngine.cpp:196
#8 0x080bfc30 in M4::BaseEngine::Run (this=0xf08fd170) at ../Source/Spark_Server/BaseEngine.cpp:160
#9 0x0806a283 in main (argc=<error reading variable: Cannot access memory at address 0x6>, argv=<error reading variable: Cannot access memory at address 0xa>) at ../Source/ShooterExe/Main.cpp:82
My graphic card is a Radeon HD 6850.
logfile:
Build 263
Arch Linux x86_64
Steam initialized
Num displays: 2
OpenGL 3.3 (Core Profile) Mesa 10.1.0-rc3 (git-05b9e6a) initialized (X.Org Gallium 0.4 on AMD BARTS)
GLSL version 3.30
ARB_texture_storage extension present
ARB_get_program_binary extension present
Sound Device: default stereo
Record Device: default
Loading config://ConsoleBindings.json
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
[...]