SFML community forums

Help => General => Topic started by: Krofna on April 11, 2012, 08:36:10 pm

Title: Weird rendering on debian...
Post by: Krofna 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:

(http://img705.imageshack.us/img705/7088/screenshottqr.png)

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

Any ideas why does this happen?
Title: Re: Weird rendering on debian...
Post by: Laurent 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?
Title: Re: Weird rendering on debian...
Post by: Krofna 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.
Title: Re: Weird rendering on debian...
Post by: Krofna 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.


(http://img861.imageshack.us/img861/6213/screenshotex.png)
Title: Re: Weird rendering on debian...
Post by: Laurent on April 13, 2012, 09:59:15 pm
The glyph bug is a known one.