Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Just wondering, Intel GPU  (Read 17436 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #15 on: May 04, 2012, 11:05:27 am »
Are you really sure? Because both implementations are totally different: the main one is using the framebuffer object extension, and the fallback is just using a regular context in a hidden window.

So the performances of the fallback implementation should be similar to the performances that you get when you directly draw to the window. Have you tried to do this (draw to window vs draw to render-texture)?
Laurent Gomila - SFML developer

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Re: Just wondering, Intel GPU
« Reply #16 on: May 04, 2012, 12:03:59 pm »
Yeah, I tried both implementations and also change our code to render directly to the screen (or to a texture) and I cannot honestly see any difference in all 4 variations.

Increasing the framerate also made no difference, so I think there is just some massive bottleneck somewhere. If I run the same program on similar hardware (CPU speed & memory) but with non-Intel graphics, it's as I would expect it to be - playable!!

SFML 2.1

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #17 on: May 04, 2012, 12:08:54 pm »
Quote
Yeah, I tried both implementations and also change our code to render directly to the screen (or to a texture) and I cannot honestly see any difference in all 4 variations.
But you said it was all about render-textures; now I see that it has nothing to do with them?!
Laurent Gomila - SFML developer

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Re: Just wondering, Intel GPU
« Reply #18 on: May 04, 2012, 12:18:21 pm »
Quote
Yeah, I tried both implementations and also change our code to render directly to the screen (or to a texture) and I cannot honestly see any difference in all 4 variations.
But you said it was all about render-textures; now I see that it has nothing to do with them?!

I'll have to do a lot more testing and see what kind of frame rates we can get out of it. I thought it was render-texture only but now I'm not so sure. Let me run more tests and I'll be able to give a better answer :)
SFML 2.1

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #19 on: May 04, 2012, 05:29:19 pm »
Do we know what exactly is wrong with the RenderTextures on intel?
On my laptop a rendertexture causes the program to crash, yet creating a FBO with the following code works fine:



Code: [Select]
#include "./RenderTarget.hpp"
#include "./Program.hpp"

RenderTarget::RenderTarget(Program *p)
{
    prog = p;

    glfwGetWindowSize( &width, &height );
    //width = 512; height = 512;
}

RenderTarget::~RenderTarget()
{
    glDeleteTextures( 1, &texture );
//  free our framebuffer

glDeleteRenderbuffersEXT(1, &depthBuff);
glDeleteFramebuffersEXT( 1, &fbo );
}

GLuint RenderTarget::getTexture()
{
    return texture;
}

bool RenderTarget::Create()
{
    glGenRenderbuffersEXT(1, &depthBuff);
    glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, depthBuff);

    glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, width, height); // Set the render buffer storage to be a depth component, with a width and height of the window

glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, depthBuff); // Set the render buffer of this buffer to the depth buffer

    glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, 0);



    glGenTextures(1, &texture); // Generate one texture

glBindTexture(GL_TEXTURE_2D, texture); // Bind the texture fbo_texture

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); // Create a standard texture with the width and height of our window

// Setup the basic texture parameters

glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);

// Unbind the texture
glBindTexture(GL_TEXTURE_2D, 0);

glGenFramebuffersEXT(1, &fbo); // Generate one frame buffer and store the ID in fbo
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo); // Bind our frame buffer


glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, texture, 0); // Attach the texture fbo_texture to the color buffer in our frame buffer
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, depthBuff); // Attach the depth buffer fbo_depth to our frame buffer

GLenum status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT); // Check that status of our generated frame buffer

if (status != GL_FRAMEBUFFER_COMPLETE_EXT) // If the frame buffer does not report back as complete
{
std::cout << "Couldn't create frame buffer" << std::endl; // Make sure you include <iostream>

}

glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); // Unbind our frame buffer
}

bool RenderTarget::Activate()
{
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo);
float aspectRatio = width / (float)height;
prog->Projection = glm::perspective(
                     prog->initialFoV,         // The horizontal Field of View, in degrees : the amount of "zoom". Think "camera lens". Usually between 90° (extra wide) and 30° (quite zoomed in)
                     aspectRatio, // Aspect Ratio. Depends on the size of your window. Notice that 4/3 == 800/600 == 1280/960, sounds familiar ?
                     0.1f,        // Near clipping plane. Keep as big as possible, or you'll get precision issues.
                     500.0f       // Far clipping plane. Keep as little as possible.
                 );

prog->View = glm::lookAt(
               glm::vec3(2.0f, 0.0f ,4.0f),           // Camera is here
               glm::vec3(0.0f), // and looks here : at the same position, plus "direction"
               glm::vec3(0.0f, 1.0f, 0.0f)                  // Head is up (set to 0,-1,0 to look upside-down)
           );
}

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #20 on: May 04, 2012, 06:50:53 pm »
Quote
On my laptop a rendertexture causes the program to crash
So even the following simple code crashes on your machine?
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderTexture rt;
    rt.create(256, 256);

    return 0;
}
Laurent Gomila - SFML developer

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #21 on: May 04, 2012, 07:13:17 pm »
Hmm, that seems to work fine :S maybe they have updated my drivers without me knowing.
Im going to try out some more involved renderTexture stuff

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #22 on: May 04, 2012, 07:27:55 pm »
I added a RenderTexture to my program on which I drew the delta time as such:
(this is in the main loop)

Code: [Select]
delta = clock.restart().asMilliseconds();
                std::cout << "1" << std::endl;
                App.setActive();
                std::cout << "2" << std::endl;
                App.clear(sf::Color::Black);
                std::cout << "3" << std::endl;
                gameStateManager.Draw();
                std::cout << "4" << std::endl;



                std::cout << "5" << std::endl;
                //drawDebug();
                std::cout << "6" << std::endl;
                sf::Text text( Util::toString(Game::delta) + " ms",*(fontManager.getFile("visitor1.ttf")) ,10);
                std::cout << "7" << std::endl;
                text.setPosition(5,5);
                std::cout << "8" << std::endl;
                text.setColor(sf::Color::White);
                std::cout << "9" << std::endl;

                rt.setActive();
                std::cout << "10" << std::endl;
                rt.clear();

                rt.draw(text);
                std::cout << "11" << std::endl;

                rt.display();
                std::cout << "12" << std::endl;
                sf::Sprite rtsp(rt.getTexture());
                std::cout << "13" << std::endl;

                App.setActive();
                std::cout << "14" << std::endl;
                App.draw(rtsp);
                std::cout << "15" << std::endl;
                App.display();
                std::cout << "16" << std::endl;
Making sure the sf::Text is created under the windows OGL context
It simply returns 1; and prints up to 11, meaning the rt.display seems to give the problem.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #23 on: May 04, 2012, 08:41:17 pm »
Do you mean that it crashes after 11? If so, run the debugger to see what happens.
Laurent Gomila - SFML developer

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Re: Just wondering, Intel GPU
« Reply #24 on: May 04, 2012, 11:19:05 pm »
Laurent, we're running SFML 2.0 from October 2011 (I know.....I've not got around to updating it yet) - is there anything in the 2.0 RC that would change what we are experiencing now?
SFML 2.1

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #25 on: May 05, 2012, 04:14:18 am »
the game run normally, with gdb, with valgrind and with valgrind -v
Doesnt really give any errors as to why it closes
Code: [Select]
./richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ ./Agamed
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
1
2
3
4
5
6
7
8
9
10
11
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ gdb ./Agamed
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/richy/codeblocks/agamecpp/bin/Debug/Agamed...done.
(gdb) run
Starting program: /home/richy/codeblocks/agamecpp/bin/Debug/Agamed
[Thread debugging using libthread_db enabled]
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
1
2
3
4
5
6
7
8
9
10
11
[Inferior 1 (process 2706) exited with code 01]
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind ./Agamed
==2713== Memcheck, a memory error detector
==2713== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2713== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2713== Command: ./Agamed
==2713==
==2713== Invalid read of size 4
==2713==    at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2713==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2713==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2713==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2713==    by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2713==  Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2713==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2713==    by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2713==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2713==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2713==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2713==
==2713== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2713==    at 0x4335124: writev (writev.c:51)
==2713==    by 0x40004: ???
==2713==  Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2713==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2713==    by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2713==    by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2713==    by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2713==    by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2713==    by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2713==    by 0x805C566: Game::Run() (Game.cpp:148)
==2713==    by 0x804FB7F: main (main.cpp:34)
==2713==
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
==2713== Conditional jump or move depends on uninitialised value(s)
==2713==    at 0x805C5BC: Game::Run() (Game.cpp:166)
==2713==    by 0x804FB7F: main (main.cpp:34)
==2713==
1
2
3
4
5
6
7
8
9
10
11
==2713==
==2713== HEAP SUMMARY:
==2713==     in use at exit: 117,597,627 bytes in 4,841 blocks
==2713==   total heap usage: 12,669 allocs, 7,828 frees, 134,911,932 bytes allocated
==2713==
==2713== LEAK SUMMARY:
==2713==    definitely lost: 88 bytes in 1 blocks
==2713==    indirectly lost: 0 bytes in 0 blocks
==2713==      possibly lost: 44,674,635 bytes in 71 blocks
==2713==    still reachable: 72,922,904 bytes in 4,769 blocks
==2713==         suppressed: 0 bytes in 0 blocks
==2713== Rerun with --leak-check=full to see details of leaked memory
==2713==
==2713== For counts of detected and suppressed errors, rerun with: -v
==2713== Use --track-origins=yes to see where uninitialised values come from
==2713== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind ./Agamed -v
==2716== Memcheck, a memory error detector
==2716== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2716== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2716== Command: ./Agamed -v
==2716==
==2716== Invalid read of size 4
==2716==    at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2716==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2716==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2716==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2716==    by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2716==  Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2716==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2716==    by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2716==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2716==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2716==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2716==

Invalid argument
Use 'h', 'help', '?' to get he argument description

==2716==
==2716== HEAP SUMMARY:
==2716==     in use at exit: 18,038,149 bytes in 975 blocks
==2716==   total heap usage: 1,486 allocs, 511 frees, 18,211,552 bytes allocated
==2716==
==2716== LEAK SUMMARY:
==2716==    definitely lost: 0 bytes in 0 blocks
==2716==    indirectly lost: 0 bytes in 0 blocks
==2716==      possibly lost: 0 bytes in 0 blocks
==2716==    still reachable: 18,038,149 bytes in 975 blocks
==2716==         suppressed: 0 bytes in 0 blocks
==2716== Rerun with --leak-check=full to see details of leaked memory
==2716==
==2716== For counts of detected and suppressed errors, rerun with: -v
==2716== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 93 from 11)
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind -v ./Agamed
==2719== Memcheck, a memory error detector
==2719== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2719== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2719== Command: ./Agamed
==2719==
--2719-- Valgrind options:
--2719--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--2719--    -v
--2719-- Contents of /proc/version:
--2719--   Linux version 3.0.0-19-generic (buildd@vernadsky) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012
--2719-- Arch and hwcaps: X86, x86-sse1-sse2
--2719-- Page sizes: currently 4096, max supported 4096
--2719-- Valgrind library directory: /usr/lib/valgrind
--2719-- Reading syms from /lib/i386-linux-gnu/ld-2.13.so (0x4000000)
--2719--   Considering /lib/i386-linux-gnu/ld-2.13.so ..
--2719--   .. CRC mismatch (computed a6c8b2f7 wanted 69f2d381)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /home/richy/codeblocks/agamecpp/bin/Debug/Agamed (0x8048000)
--2719-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--2719--    object doesn't have a dynamic symbol table
--2719-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--2719-- Reading suppressions file: /usr/lib/valgrind/default.supp
--2719-- REDIR: 0x4016b60 (index) redirected to 0x3803e847 (vgPlain_x86_linux_REDIR_FOR_index)
--2719-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4022000)
--2719-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
==2719== WARNING: new redirection conflicts with existing -- ignoring it
--2719--     new: 0x04016b60 (index               ) R-> 0x04028c7e index
--2719-- REDIR: 0x4016d20 (strlen) redirected to 0x4029045 (strlen)
--2719-- Reading syms from /usr/local/lib/libsfml-graphics-d.so.2.0 (0x4048000)
--2719-- Reading syms from /usr/local/lib/libsfml-window-d.so.2.0 (0x4101000)
--2719-- Reading syms from /usr/local/lib/libsfml-system-d.so.2.0 (0x4125000)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 (0x4136000)
--2719--   Considering /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 ..
--2719--   .. CRC mismatch (computed 0767ea0e wanted b08dd867)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libm-2.13.so (0x4221000)
--2719--   Considering /lib/i386-linux-gnu/libm-2.13.so ..
--2719--   .. CRC mismatch (computed 6e94624c wanted 22969979)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/libm-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libgcc_s.so.1 (0x424b000)
--2719--   Considering /lib/i386-linux-gnu/libgcc_s.so.1 ..
--2719--   .. CRC mismatch (computed b65cdc91 wanted 35537674)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libc-2.13.so (0x426a000)
--2719--   Considering /lib/i386-linux-gnu/libc-2.13.so ..
--2719--   .. CRC mismatch (computed 5d7f0723 wanted 3f8e3fd1)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libpthread-2.13.so (0x43e8000)
--2719--   Considering /lib/i386-linux-gnu/libpthread-2.13.so ..
--2719--   .. CRC mismatch (computed 0b26b884 wanted 21b4acb3)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libdl-2.13.so (0x4403000)
--2719--   Considering /lib/i386-linux-gnu/libdl-2.13.so ..
--2719--   .. CRC mismatch (computed e5b294cf wanted 30262032)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/libdl-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2 (0x4408000)
--2719--   Considering /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2 ..
--2719--   .. CRC mismatch (computed e0411edf wanted aadd0337)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libGLEW.so.1.6.0 (0x449f000)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libjpeg.so.62.0.0 (0x44f9000)
--2719--   Considering /usr/lib/i386-linux-gnu/libjpeg.so.62.0.0 ..
--2719--   .. CRC mismatch (computed e1fd38fa wanted 08d741ba)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 (0x451d000)
--2719--   Considering /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 ..
--2719--   .. CRC mismatch (computed 78999545 wanted cfa33ece)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libX11.so.6.3.0 (0x4571000)
--2719--   Considering /usr/lib/i386-linux-gnu/libX11.so.6.3.0 ..
--2719--   .. CRC mismatch (computed d84f718c wanted 1d9ffd31)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0 (0x46a7000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0 ..
--2719--   .. CRC mismatch (computed 880eb2ac wanted 33053b12)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/librt-2.13.so (0x46b0000)
--2719--   Considering /lib/i386-linux-gnu/librt-2.13.so ..
--2719--   .. CRC mismatch (computed 748da8a2 wanted 41137cd2)
--2719--   Considering /usr/lib/debug/lib/i386-linux-gnu/librt-2.13.so ..
--2719--   .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libz.so.1.2.3.4 (0x46ba000)
--2719--   Considering /lib/i386-linux-gnu/libz.so.1.2.3.4 ..
--2719--   .. CRC mismatch (computed 995eb12f wanted 33a06a21)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 (0x46cf000)
--2719--   Considering /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 ..
--2719--   .. CRC mismatch (computed 2a7a5080 wanted 0176d417)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXext.so.6.4.0 (0x46e5000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXext.so.6.4.0 ..
--2719--   .. CRC mismatch (computed c0607288 wanted e94ddf46)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 (0x46f8000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 ..
--2719--   .. CRC mismatch (computed 83ea7c99 wanted 71e46542)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 (0x46fc000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 ..
--2719--   .. CRC mismatch (computed 966dfda3 wanted 7165e6b6)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 (0x4703000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 ..
--2719--   .. CRC mismatch (computed 48e683b9 wanted 95bc54ab)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 (0x4709000)
--2719--   Considering /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 ..
--2719--   .. CRC mismatch (computed 5820098d wanted d188bd92)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 (0x4715000)
--2719--   Considering /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 ..
--2719--   .. CRC mismatch (computed ea093d75 wanted 9ccac4bc)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXrender.so.1.3.0 (0x4734000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXrender.so.1.3.0 ..
--2719--   .. CRC mismatch (computed ca4b965a wanted ab7c529f)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXau.so.6.0.0 (0x473f000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXau.so.6.0.0 ..
--2719--   .. CRC mismatch (computed 028146c5 wanted e16b2942)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 (0x4744000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 ..
--2719--   .. CRC mismatch (computed 79097260 wanted 766e3fcb)
--2719--    object doesn't have a symbol table
--2719-- REDIR: 0x42e89b0 (strstr) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e85f0 (__GI_strstr) redirected to 0x402af6e (strstr)
--2719-- REDIR: 0x42e1990 (rindex) redirected to 0x4028adc (rindex)
--2719-- REDIR: 0x42e1670 (__GI_strlen) redirected to 0x402902a (__GI_strlen)
--2719-- REDIR: 0x42e1010 (strcmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x438a6c0 (__strcmp_ssse3) redirected to 0x40299b8 (strcmp)
--2719-- REDIR: 0x41e59b0 (operator new(unsigned int)) redirected to 0x40283aa (operator new(unsigned int))
--2719-- REDIR: 0x42e7c10 (__GI_strncmp) redirected to 0x40294b2 (__GI_strncmp)
--2719-- REDIR: 0x42de780 (calloc) redirected to 0x4027253 (calloc)
--2719-- REDIR: 0x42dd790 (malloc) redirected to 0x40287f1 (malloc)
--2719-- REDIR: 0x42e2dc0 (memcpy) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4382480 (__memcpy_ssse3) redirected to 0x4029b53 (memcpy)
--2719-- REDIR: 0x42ddc40 (free) redirected to 0x4027b7d (free)
--2719-- REDIR: 0x42e3f00 (strchrnul) redirected to 0x402ab9f (strchrnul)
--2719-- REDIR: 0x4350d10 (__strcpy_chk) redirected to 0x402ac06 (__strcpy_chk)
--2719-- REDIR: 0x42e27c0 (memset) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4381370 (__memset_sse2) redirected to 0x402aa22 (memset)
--2719-- REDIR: 0x42e2700 (memmove) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4384370 (__memmove_ssse3) redirected to 0x402aab3 (memmove)
--2719-- REDIR: 0x42ddd20 (realloc) redirected to 0x40288a0 (realloc)
--2719-- REDIR: 0x42e18e0 (strncpy) redirected to 0x4029217 (strncpy)
--2719-- REDIR: 0x42e1620 (strlen) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e8010 (__strlen_sse2_bsf) redirected to 0x402900f (strlen)
--2719-- REDIR: 0x42e0ea0 (index) redirected to 0x4028bc7 (index)
--2719-- REDIR: 0x42e1730 (strnlen) redirected to 0x4028fc3 (strnlen)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/i965_dri.so (0x4b4e000)
--2719--   Considering /usr/lib/i386-linux-gnu/dri/i965_dri.so ..
--2719--   .. CRC mismatch (computed b3c00d85 wanted a009c271)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/libdricore.so (0x4c0f000)
--2719--   Considering /usr/lib/i386-linux-gnu/dri/libdricore.so ..
--2719--   .. CRC mismatch (computed da752803 wanted fbfed6ad)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/libglsl.so (0x4e56000)
--2719--   Considering /usr/lib/i386-linux-gnu/dri/libglsl.so ..
--2719--   .. CRC mismatch (computed ac0d91b1 wanted 56cd01ea)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libexpat.so.1.5.2 (0x4f6a000)
--2719--   Considering /lib/i386-linux-gnu/libexpat.so.1.5.2 ..
--2719--   .. CRC mismatch (computed 87726f3a wanted 9b6d73eb)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0 (0x4f94000)
--2719--   Considering /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0 ..
--2719--   .. CRC mismatch (computed 6052c0ac wanted 46626250)
--2719--    object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libpciaccess.so.0.10.8 (0x4fa1000)
--2719--   Considering /usr/lib/i386-linux-gnu/libpciaccess.so.0.10.8 ..
--2719--   .. CRC mismatch (computed b2a578f2 wanted 29af767a)
--2719--    object doesn't have a symbol table
--2719-- REDIR: 0x42e10f0 (strcspn) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e23d0 (bcmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4350b40 (__memcpy_chk) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e1890 (strncmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e2ab0 (stpcpy) redirected to 0x402a702 (stpcpy)
--2719-- REDIR: 0x438bb30 (__strncmp_ssse3) redirected to 0x4029449 (strncmp)
--2719-- REDIR: 0x42df080 (posix_memalign) redirected to 0x40271c4 (posix_memalign)
--2719-- REDIR: 0x42e10d0 (strcpy) redirected to 0x402907b (strcpy)
==2719== Invalid read of size 4
==2719==    at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==    by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2719==  Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2719==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719==    by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==
--2719-- REDIR: 0x42e0cf0 (strcat) redirected to 0x4028d35 (strcat)
--2719-- REDIR: 0x438d520 (__memcmp_ssse3) redirected to 0x402a64c (bcmp)
--2719-- REDIR: 0x41e37f0 (operator delete(void*)) redirected to 0x4027894 (operator delete(void*))
==2719== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2719==    at 0x4335124: writev (writev.c:51)
==2719==    by 0x40004: ???
==2719==  Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2719==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719==    by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2719==    by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2719==    by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2719==    by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2719==    by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2719==    by 0x805C566: Game::Run() (Game.cpp:148)
==2719==    by 0x804FB7F: main (main.cpp:34)
==2719==
--2719-- REDIR: 0x42e2230 (memchr) redirected to 0x4029b00 (memchr)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 (0x70b7000)
--2719--   Considering /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 ..
--2719--   .. CRC mismatch (computed 27b8283e wanted cf02d89f)
--2719--    object doesn't have a symbol table
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
==2719== Conditional jump or move depends on uninitialised value(s)
==2719==    at 0x805C5BC: Game::Run() (Game.cpp:166)
==2719==    by 0x804FB7F: main (main.cpp:34)
==2719==
1
2
3
4
5
6
7
8
9
10
11
==2719==
==2719== HEAP SUMMARY:
==2719==     in use at exit: 117,597,627 bytes in 4,841 blocks
==2719==   total heap usage: 12,670 allocs, 7,829 frees, 134,912,096 bytes allocated
==2719==
==2719== Searching for pointers to 4,841 not-freed blocks
==2719== Checked 54,532,328 bytes
==2719==
==2719== LEAK SUMMARY:
==2719==    definitely lost: 88 bytes in 1 blocks
==2719==    indirectly lost: 0 bytes in 0 blocks
==2719==      possibly lost: 44,674,635 bytes in 71 blocks
==2719==    still reachable: 72,922,904 bytes in 4,769 blocks
==2719==         suppressed: 0 bytes in 0 blocks
==2719== Rerun with --leak-check=full to see details of leaked memory
==2719==
==2719== Use --track-origins=yes to see where uninitialised values come from
==2719== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)
==2719==
==2719== 2 errors in context 1 of 3:
==2719== Conditional jump or move depends on uninitialised value(s)
==2719==    at 0x805C5BC: Game::Run() (Game.cpp:166)
==2719==    by 0x804FB7F: main (main.cpp:34)
==2719==
==2719==
==2719== 2 errors in context 2 of 3:
==2719== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2719==    at 0x4335124: writev (writev.c:51)
==2719==    by 0x40004: ???
==2719==  Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2719==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719==    by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2719==    by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2719==    by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2719==    by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2719==    by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2719==    by 0x805C566: Game::Run() (Game.cpp:148)
==2719==    by 0x804FB7F: main (main.cpp:34)
==2719==
==2719==
==2719== 4 errors in context 3 of 3:
==2719== Invalid read of size 4
==2719==    at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==    by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2719==  Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2719==    at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719==    by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719==    by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719==    by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719==    by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719==    by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719==    by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719==    by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==
--2719--
--2719-- used_suppression:     95 U1004-ARM-_dl_relocate_object
==2719==
==2719== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #26 on: May 05, 2012, 10:04:25 am »
Are your graphics drivers up to date?

There should be nothing new with SFML 2.0 RC compared to your version, but you can try it anyway.
Laurent Gomila - SFML developer

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #27 on: May 05, 2012, 02:13:55 pm »
2.0 RC is what im using, and I have the latest mesa drivers,I remember a while back I think I updated to some beta drivers and it worked but I got like 5fps

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Re: Just wondering, Intel GPU
« Reply #28 on: June 26, 2012, 05:39:25 pm »
I know the rendertexture bug has been talked about many times, but I wanted to have a go at finding the problem, usually using a rendertexture would cause a segfault or something similar but I tried it again and something new showed up.

#include <SFML/Graphics.hpp>
#include <string>
#include <sstream>


std::string toString (const int& t) {  std::stringstream ss;  ss << t;  return ss.str();  }

int main()
{
    sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");     sf::Clock deltaClock;
    sf::Text t("This is on the main screen");                               sf::Text r("This is on the RT");
    sf::RenderTexture rt;                                                   sf::Sprite rts(rt.getTexture());

    t.setPosition(10,10);                                                   r.setPosition(20,20);
    rt.create(400,300);                                                     rts.setPosition(200, 150);
   
    while (App.isOpen())
    {
        sf::Event Event;
        while (App.pollEvent(Event))
        {
            if (Event.type == sf::Event::Closed)                            App.close();
            if (Event.type == sf::Event::KeyPressed &&
                Event.key.code == sf::Keyboard::Escape)                     App.close();
        }
       
        sf::Time dt = deltaClock.restart();                                 t.setString(toString(dt.asSeconds()));

        rt.setActive();                                                     rt.clear();
        rt.draw(r);                                                         rt.display();

        App.setActive();                                                    App.clear();
        App.draw(rts);                                                      App.draw(t);
        App.display();
    }
    return 0;
}

 

Quote
./SFML\ RT\ test
intel_do_flush_locked failed: No such file or directory

GDB output:
Quote
(gdb) run
Starting program: /home/richy/codeblocks/SFML RT test/bin/Debug/SFML RT test
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
intel_do_flush_locked failed: No such file or directory
[Inferior 1 (process 3458) exited with code 01]

Valgrind output:
Code: [Select]
valgrind ./SFML\ RT\ test
==3462== Memcheck, a memory error detector
==3462== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==3462== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==3462== Command: ./SFML\ RT\ test
==3462==
--3462-- WARNING: Serious error when reading debug info
--3462-- When reading debug info from /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2:
--3462-- Can't make sense of .got section mapping
--3462-- WARNING: Serious error when reading debug info
--3462-- When reading debug info from /usr/lib/i386-linux-gnu/libglapi.so.0.0.0:
--3462-- Can't make sense of .got section mapping
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D544: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D54F: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D55A: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D565: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D57D: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D588: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D593: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D59E: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5A9: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5B4: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5BF: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5CA: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5D5: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5E0: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5EB: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D5F6: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D601: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D60C: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D617: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D622: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D62D: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA10: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA1B: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA26: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA31: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA3C: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA47: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA52: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA5D: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D7F3: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D7FA: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA8C: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA93: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DA9A: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DAA9: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403D80A: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DCF6: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DD01: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Conditional jump or move depends on uninitialised value(s)
==3462==    at 0x403DD11: drm_intel_bufmgr_gem_init (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE4C8: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403B928: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4036F94: drm_intel_bo_alloc_tiled (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE854: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==  Address 0xbeac0658 is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403A1B6: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x403C020: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4036FD3: drm_intel_bo_unreference (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFE87C: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C49E41: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x45948BE: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==  Address 0xbeac062c is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403B928: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4036F13: drm_intel_bo_alloc (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BEE3A6: intel_batchbuffer_reset (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BEE401: intel_batchbuffer_init (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF4093: intelInitContext (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C0E0AC: brwCreateContext (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BFDB17: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x47E294F: ???
==3462==  Address 0xbeac02a8 is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403CC56: drm_intel_bo_gem_create_from_name (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFD19E: intel_region_alloc_for_handle (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF34DC: intel_update_renderbuffers (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF3B77: intel_prepare_render (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF4675: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C4975A: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x459550C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==  Address 0xbeac07b8 is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403CCCB: drm_intel_bo_gem_create_from_name (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFD19E: intel_region_alloc_for_handle (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF34DC: intel_update_renderbuffers (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF3B77: intel_prepare_render (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BF4675: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C4975A: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x459550C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==3462==  Address 0xbeac07c8 is on thread 1's stack
==3462==
==3462== Syscall param writev(vector[...]) points to uninitialised byte(s)
==3462==    at 0x432C9AE: writev (writev.c:51)
==3462==    by 0x401BD3B: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==3462==  Address 0x5cd0d6c is 36 bytes inside a block of size 16,384 alloc'd
==3462==    at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==3462==    by 0x45FFA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==3462==    by 0x4129240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==3462==    by 0x4124720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==3462==    by 0x4123E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==3462==    by 0x40930B5: sf::RenderWindow::RenderWindow(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (RenderWindow.cpp:45)
==3462==    by 0x804A2E1: main (main.cpp:10)
==3462==
==3462== Syscall param writev(vector[...]) points to uninitialised byte(s)
==3462==    at 0x432C9AE: writev (writev.c:51)
==3462==    by 0x5D1DEF7: ???
==3462==  Address 0x5cd0d6d is 37 bytes inside a block of size 16,384 alloc'd
==3462==    at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==3462==    by 0x45FFA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==3462==    by 0x4129240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==3462==    by 0x4124720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==3462==    by 0x4123E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==3462==    by 0x40930B5: sf::RenderWindow::RenderWindow(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (RenderWindow.cpp:45)
==3462==    by 0x804A2E1: main (main.cpp:10)
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x4039C47: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4037457: drm_intel_bo_busy (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4C02FA6: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4D819FB: ??? (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x4D84E90: _mesa_TexSubImage2D (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x409E8A3: sf::Texture::update(sf::Image const&) (Texture.cpp:338)
==3462==    by 0x409DE1C: sf::Texture::loadFromImage(sf::Image const&, sf::Rect<int> const&) (Texture.cpp:194)
==3462==    by 0x407977B: sf::Font::Page::Page() (Font.cpp:608)
==3462==    by 0x4079CA6: std::map<unsigned int, sf::Font::Page, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, sf::Font::Page> > >::operator[](unsigned int const&) (stl_map.h:453)
==3462==    by 0x407889E: sf::Font::getGlyph(unsigned int, unsigned int, bool) const (Font.cpp:240)
==3462==  Address 0xbeac03bc is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403B00C: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x403CE0A: drm_intel_gem_bo_map_gtt (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4BFCD11: intel_region_map (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4BFBE2A: intel_miptree_map (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C0147C: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4D967FF: ??? (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x4D96E04: _mesa_store_texsubimage2d (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x4C02F69: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4D819FB: ??? (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x4D84E90: _mesa_TexSubImage2D (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==  Address 0xbeac0174 is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403A096: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4037047: drm_intel_bo_subdata (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4C23F6C: brw_upload_cache (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C27178: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C2748D: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C2642E: brw_upload_state (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C116F6: brw_draw_prims (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4DC769D: ??? (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x40915FC: sf::RenderTarget::draw(sf::Vertex const*, unsigned int, sf::PrimitiveType, sf::RenderStates const&) (RenderTarget.cpp:208)
==3462==    by 0x40A1B16: sf::VertexArray::draw(sf::RenderTarget&, sf::RenderStates) const (VertexArray.cpp:147)
==3462==  Address 0xbea9c8e4 is on thread 1's stack
==3462==
==3462== Syscall param ioctl(generic) points to uninitialised byte(s)
==3462==    at 0x432C869: ioctl (syscall-template.S:82)
==3462==    by 0x47AD8C3: drmIoctl (in /usr/lib/i386-linux-gnu/libdrm.so.2.4.0)
==3462==    by 0x403A73E: ??? (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4036FF7: drm_intel_bo_map (in /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0)
==3462==    by 0x4C23B61: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C23FB6: brw_upload_cache (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C305BD: do_wm_prog (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C30C71: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C2642E: brw_upload_state (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4C116F6: brw_draw_prims (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==3462==    by 0x4DC769D: ??? (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==3462==    by 0x40915FC: sf::RenderTarget::draw(sf::Vertex const*, unsigned int, sf::PrimitiveType, sf::RenderStates const&) (RenderTarget.cpp:208)
==3462==  Address 0xbeac05e8 is on thread 1's stack
==3462==
intel_do_flush_locked failed: No such file or directory
==3462==
==3462== HEAP SUMMARY:
==3462==     in use at exit: 53,533,694 bytes in 7,744 blocks
==3462==   total heap usage: 19,859 allocs, 12,115 frees, 55,040,139 bytes allocated
==3462==
==3462== LEAK SUMMARY:
==3462==    definitely lost: 16,682 bytes in 5 blocks
==3462==    indirectly lost: 0 bytes in 0 blocks
==3462==      possibly lost: 52,957,398 bytes in 6,416 blocks
==3462==    still reachable: 559,614 bytes in 1,323 blocks
==3462==         suppressed: 0 bytes in 0 blocks
==3462== Rerun with --leak-check=full to see details of leaked memory
==3462==
==3462== For counts of detected and suppressed errors, rerun with: -v
==3462== Use --track-origins=yes to see where uninitialised values come from
==3462== ERROR SUMMARY: 229 errors from 50 contexts (suppressed: 0 from 0)

Do you have any idea what this could be? or where this error could originate?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Just wondering, Intel GPU
« Reply #29 on: June 26, 2012, 09:07:44 pm »
Wow, this 2-column layout makes the code really unreadable :P

Quote
Do you have any idea what this could be?
No, but the intel_do_flush_locked failed error seems to be a common one. Probably a driver issue, again.
Laurent Gomila - SFML developer

 

anything