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

Author Topic: OpenTK and SFML  (Read 10942 times)

0 Members and 1 Guest are viewing this topic.

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: OpenTK and SFML
« Reply #15 on: May 19, 2016, 10:31:46 pm »
What about the last code I pasted above? (It doesn't call either of those functions.)

Hmm. I ran it on my work computer, which is just an intel graphics card.

I have a GTX 970 as well at home (can't remember driver version, prolly the latest), I'll see if I can repro it.

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: OpenTK and SFML
« Reply #16 on: May 20, 2016, 08:13:16 pm »
I can reproduce it on my home machine (driver 365.10).

Investigating, it looks like I may be correct, seems it may be a race condition:
(click to show/hide)

NVIDIA's driver may potentially be doing some extra threading that interferes with both SFML and OpenTK using the context, that Intel's driver does not do.

Unfortunately, this is getting out of the realm of my knowledge, so I'm not really sure where to go from here.
« Last Edit: May 20, 2016, 08:15:11 pm by dabbertorres »

Raptor2277

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • Email
Re: OpenTK and SFML
« Reply #17 on: May 21, 2016, 03:44:42 am »
Welp, thanks for the help. Interesting issue we got here.