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

Author Topic: Short rendering "pause" after ~3s on 64bit Linux, Intel HD4000  (Read 2358 times)

0 Members and 1 Guest are viewing this topic.

ecraven

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hello :)

I have tried all the demos from the SFML book, a few existing projects, and some of my own SFML code, in all of them I experience the following:
About 2-3s after I start any SFML program, the window seems to freeze for about 0.5-1s, then things continue normally (no more freezes after that). Audio is not affected, only rendering.
The machine is an Intel i7-3770T with on-chip HD2000 (?) graphics card. System is Arch Linux, 64bit, 3.14.4.
SFML is git as of today (same problem on 2.1 release).
This does not happen on any other library or game I've tried so far.
Is there a way to help debug this? Has this happened to anyone else?

Thanks for any help!
« Last Edit: June 26, 2014, 11:55:38 pm by ecraven »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: Short rendering "pause" after ~3s on 64bit Linux, Intel HD2000
« Reply #1 on: June 26, 2014, 05:51:18 pm »
What graphics driver are you using?
Do you run it in release mode?

There are CPU ans GPU profilers, but not sure what exists on Arch.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ecraven

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Short rendering "pause" after ~3s on 64bit Linux, Intel HD4000
« Reply #2 on: June 26, 2014, 06:07:37 pm »
glxinfo says

direct rendering: Yes
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.4

I have Option "AccelMethod" "uxa" set for X11 also. I haven't enabled any debugging, that shouldn't be a problem. Also, this never happens with any other library or framework, which makes me suspect SFML does something my driver doesn't like :(
« Last Edit: June 26, 2014, 11:55:56 pm by ecraven »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
AW: Re: Short rendering "pause" after ~3s on 64bit Linux, Intel HD2000
« Reply #3 on: June 26, 2014, 06:41:33 pm »
I haven't enabled any debugging, that shouldn't be a problem.
Doesn't quite answer if you're running a debug or a release build. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: Short rendering "pause" after ~3s on 64bit Linux, Intel HD2000
« Reply #4 on: June 26, 2014, 07:43:49 pm »
(That's actually Intel HD 4000 graphics)

ecraven

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Short rendering "pause" after ~3s on 64bit Linux, Intel HD4000
« Reply #5 on: June 26, 2014, 10:55:03 pm »
if you mean SFML, release.
« Last Edit: June 26, 2014, 11:55:48 pm by ecraven »