So I've been building the latest from SVN for quite some time. I can't wait to get my hands on new stuff. Anyway, it's always worked fine for me, but recently I upgraded to Ubuntu 12.10. In doing so I had to recompile SDL and T-Engine. I'm now getting some super weird artifacting. See the attached images. I'm wondering if it has to do with the versions of the SDL libraries I'm using. Has anyone else seen this or does anyone have any suggestions? Here's what I'm working with.
Latest TEngine from svn
http://hg.libsdl.org/SDL version 6302 as per this commit
SDL Image 1.2.12
SDL ttf 2.0.11
I did have to make this fix, which I don't remember doing before...
Any ideas?
Oddities with SDL on upgrading to Ubuntu 12.10
Moderator: Moderator
-
- Yeek
- Posts: 10
- Joined: Sun Sep 11, 2011 10:32 pm
Oddities with SDL on upgrading to Ubuntu 12.10
- Attachments
-
- The scene appears to be fine.
- fine background.jpeg (233.31 KiB) Viewed 4238 times
-
- but all the chrome is messed up
- bad ui.jpeg (194.53 KiB) Viewed 4238 times
Re: Oddities with SDL on upgrading to Ubuntu 12.10
Sdl2 recently updated their code so it can be installed side-by-side with sdl1.2
Maybe you have mismatched versions of the ttf library that is trying to use the outdated version and catches sdl1.2 instead? Say you compiled sdl_ttf and installed it, and never compiled it again. Then you updated sdl2 and installed it?
I think that soon, not building sdl2 and the rest of the ancilliary libraries will be the best way to compile, there are already ppa's with sdl2, only a matter of time for the main repos.
Maybe you have mismatched versions of the ttf library that is trying to use the outdated version and catches sdl1.2 instead? Say you compiled sdl_ttf and installed it, and never compiled it again. Then you updated sdl2 and installed it?
I think that soon, not building sdl2 and the rest of the ancilliary libraries will be the best way to compile, there are already ppa's with sdl2, only a matter of time for the main repos.
-
- Yeek
- Posts: 10
- Joined: Sun Sep 11, 2011 10:32 pm
Re: Oddities with SDL on upgrading to Ubuntu 12.10
I had thought of that... ldd only shows the libs that I compiled. Additionally, I removed SDL 1.2 and friends. ppas are a good idea though. I think I might try that next.
Re: Oddities with SDL on upgrading to Ubuntu 12.10
I've also seen this when trying to compile t-engine in Ubuntu, although I haven't tried using the libSDL2 ppa's.
So, avatarofentropy, if you find a way to fix the issue, please share
So, avatarofentropy, if you find a way to fix the issue, please share

darkgod wrote:OMFG tiger eye you are my hero!
-
- Yeek
- Posts: 10
- Joined: Sun Sep 11, 2011 10:32 pm
Re: Oddities with SDL on upgrading to Ubuntu 12.10
Tried again with the ppas and got the same result. I guess it's good that I didn't screw anything up, but sad that it's not working... 

Re: Oddities with SDL on upgrading to Ubuntu 12.10
I'm having this same problem. Did anyone ever find a fix for this?
Author of the Glutton class.
-
- Yeek
- Posts: 10
- Joined: Sun Sep 11, 2011 10:32 pm
Re: Oddities with SDL on upgrading to Ubuntu 12.10
I haven't tried building since 1.0 was released, but I'm pretty sure DG figured it out because there is a working 64bit build.
Re: Oddities with SDL on upgrading to Ubuntu 12.10
No, I asked on IRC and DarkGod doesn't know why this is happening. The prebuilt executable + libraries works fine, but when I compile from source, I get these strange graphical glitches.
Author of the Glutton class.