Oddities with SDL on upgrading to Ubuntu 12.10

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Oddities with SDL on upgrading to Ubuntu 12.10

#1 Post by avatarofentropy »

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?
Attachments
The scene appears to be fine.
The scene appears to be fine.
fine background.jpeg (233.31 KiB) Viewed 4238 times
but all the chrome is messed up
but all the chrome is messed up
bad ui.jpeg (194.53 KiB) Viewed 4238 times

SCO
Cornac
Posts: 30
Joined: Sun Mar 11, 2012 1:58 am

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#2 Post by SCO »

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.

avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#3 Post by avatarofentropy »

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.

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#4 Post by tiger_eye »

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 :-)
darkgod wrote:OMFG tiger eye you are my hero!

avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#5 Post by avatarofentropy »

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... :(

desophos
Cornac
Posts: 33
Joined: Sun Jan 20, 2013 8:49 am

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#6 Post by desophos »

I'm having this same problem. Did anyone ever find a fix for this?
Author of the Glutton class.

avatarofentropy
Yeek
Posts: 10
Joined: Sun Sep 11, 2011 10:32 pm

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#7 Post by avatarofentropy »

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.

desophos
Cornac
Posts: 33
Joined: Sun Jan 20, 2013 8:49 am

Re: Oddities with SDL on upgrading to Ubuntu 12.10

#8 Post by desophos »

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.

Post Reply