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

Author Topic: Weird rendering on debian...  (Read 1868 times)

0 Members and 1 Guest are viewing this topic.

Krofna

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Weird rendering on debian...
« on: April 11, 2012, 08:36:10 pm »
Compiling&running my game (which runs fine on Windows) on debian I get pinky screen full of artifacts from eariler screens, bunch of mirroring, misplacing, missing elements, etc. Well, just look at the picture:



- Debian 6.0.4, kernel 2.6.32-5-amd64
- ATI HD 6850 Sapphire
- latest SFML 2.0

Any ideas why does this happen?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Weird rendering on debian...
« Reply #1 on: April 11, 2012, 08:39:02 pm »
Are your graphics drivers up to date? Can you run other OpenGL apps without problems? Do you use an OpenGL-based desktop compositor?
Laurent Gomila - SFML developer

Krofna

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: Weird rendering on debian...
« Reply #2 on: April 11, 2012, 08:49:28 pm »
I just installed latest fglrx drivers and app won't even run anymore with this error:
Quote
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  135 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  17
  Current serial number in output stream:  17
I don't have any other OpenGL apps to test at this moment.
Desktop compositor? If thats desktop enviroment, I use GNOME.

Krofna

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: Weird rendering on debian...
« Reply #3 on: April 13, 2012, 09:55:27 pm »
I fixed my drivers, and now can run other OpenGL apps fine ( fgl_glxgears ran with 1800 FPS ), but I still have problems with my SFML app. It mostly 'works' now, but there are 2 issues

- Glyphs often got squares around them
- Texture is rendered incorrectly at one specific screen in my app, not sure what causes it.



Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Weird rendering on debian...
« Reply #4 on: April 13, 2012, 09:59:15 pm »
The glyph bug is a known one.
Laurent Gomila - SFML developer