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

Author Topic: [FIXED] RenderTexture on Intel GPU's. Let's fix this problem!  (Read 35022 times)

0 Members and 1 Guest are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #30 on: September 19, 2012, 11:28:12 am »
Quote
XFlush on GlxContext.cpp:124 is where it gives the error.

Maybe it's something with the deleted  m_ownsWindow, but I'm too lazy to find out what that does. :D
Thanks a lot, I'll have a look ;)
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #31 on: September 19, 2012, 11:30:47 am »
It's indeed a stupid mistake with the m_ownsWindow member. I'll fix that this evening.
Laurent Gomila - SFML developer

Haikarainen

  • Guest
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #32 on: September 19, 2012, 04:11:25 pm »
My application dies with:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Resource id in failed request:  0x640000a
  Serial number of failed request:  1434
  Current serial number in output stream:  1440
 
On exit as well

I really cant create minimal code from this, but I use rendertextures and shaders together a lot ("chainlinked" shaders on rendertextures for blur etc)

This didnt happen with 1display-branch

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #33 on: September 19, 2012, 04:13:54 pm »
As implied by my last post, this problem is already identified and will be solved in a couple of hours.
Laurent Gomila - SFML developer

Haikarainen

  • Guest
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #34 on: September 19, 2012, 04:23:17 pm »
As implied by my last post, this problem is already identified and will be solved in a couple of hours.

Ah, sorry I missed that.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #35 on: September 19, 2012, 11:09:51 pm »
Is the X error gone now?
Laurent Gomila - SFML developer

Szunti

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #36 on: September 20, 2012, 10:10:15 pm »
Yes, it's gone.

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #37 on: September 20, 2012, 11:04:44 pm »
I have similar problems on windows. I have a intel graphics card integrated in my laptop. Whenever I use a render texture the screen is just black. I'm not an expert in debugging, but I'll try to help.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #38 on: September 20, 2012, 11:59:36 pm »
Quote
I have similar problems on windows.
Latest version of SFML and latest graphics drivers?
Laurent Gomila - SFML developer

Haikarainen

  • Guest
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #39 on: September 21, 2012, 01:09:20 am »
Quote
I have similar problems on windows.
Latest version of SFML and latest graphics drivers?


For what its worth:
I just tried it under Windows myself (same computer as I've been tinkering with in Linux on this problem), Rendertextures works flawlessly for me. Windows 7, Intel HD4000, latest SFML-git, Latest drivers.

I recall having the same issue as Foaly, doesnt seem to occur now.

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #40 on: September 21, 2012, 07:07:40 am »
I have to admit that it's been a while since I tried it. I'll recompile and try it later today.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #41 on: September 21, 2012, 08:11:35 am »
Quote
I have to admit that it's been a while since I tried it. I'll recompile and try it later today.
Make sure your drivers are up to date. Someone reported that the latest drivers solve the problem on Windows.
Laurent Gomila - SFML developer

Foaly

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #42 on: September 22, 2012, 09:50:46 am »
alright. I just did some little tests and it seems to all work fine. awesome! :)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #43 on: September 22, 2012, 06:28:25 pm »
I use an Intel HD Graphics 3000 on Windows 7, and sf::RenderTexture seems to work already with the revision 6790904 before the fix.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [POSSIBLY FIXED] RenderTexture on Intel GPU's. Let's fix this problem!
« Reply #44 on: September 22, 2012, 06:34:43 pm »
The fix is for Linux only, on Windows it seems that it's the latest Intel drivers that solve the problem(s).
Laurent Gomila - SFML developer

 

anything