Originally posted by mrugiero
View Post
Announcement
Collapse
No announcement yet.
Lessons For Developers In Porting Games To Linux
Collapse
X
-
-
Originally posted by GreatEmerald View PostNo, for closed source, static linking is very bad. Once it's statically linked, it's part of the program. That means additional license issues, and most importantly, doesn't allow you to update the libraries after release. For example, if UT2004 was statically linked, its sound wouldn't work in any way on current Linux. But since it wasn't, swapping out the ancient OpenAL library with OpenAL Soft makes it work flawlessly.
Comment
-
Originally posted by kacperpl1 View PostI think its that ubuntu SDL got special treatment to support steam and if other distros want to run steam they need to get compatibile. It works on ubuntu and steam - it no brainer for us, developers, here. I can only assume that going some distro independent SDL would take more time at this moment.
Leszek won't waste time on ideology talk, so if you want to ask something it'll better be a tech question - then I'll try to persuade him to answer.
The library is still under heavy development with daily patches, so it might be that Debian's version is simply outdated?
Comment
-
Ask Leszek about that. I dont feel competent to say anything for sure here, I'm just unrealscript coder
You could be right about debian version being outdated though. I could only guess that getting required SDL version to work under debian was too much work, while ubuntu got ready for it to support steam.
Comment
-
Not sure what the difference is, but Debian testing ships libsdl2 rc1-1: http://packages.qa.debian.org/libs/libsdl2.html (it was recently updated).
Since it's not out as stable SDL release yet, I'm not sure why would anyone target it for production purposes already. Targeting it while in development is fine of course, since it's going to be released soon enough.
UPDATE: Ubuntu package looks exactly the same to me: http://packages.ubuntu.com/search?se...ywords=libsdl2 unless there is some "special treatment" there indeed. If Valve prefers Ubuntu as a target, it doesn't mean everyone should follow suit IMHO, since the claim that "Ubuntu is the most popular distro" is more of a PR, than a solid evidence that it's the most used distro in practice. And even if it is the most used in reality, its not used more than all other distros by a big margin, so singling it out doesn't look like a good option, so I disagree with Valve's approach here.Last edited by shmerl; 23 June 2013, 02:24 PM.
Comment
-
So far every steam game I've tried has run just fine on gentoo. So long s I use the steam runtime everything seems to work perfectly. As long as that continues to be true, I don't have a problem with game developers and valve targeting Ubuntu.
Comment
-
Originally posted by IneQuation View PostBut SDL2 is pretty sweet and I made a mistake by saying you can't do multithreaded rendering in the slides. The thing is, I looked at the SDL2 docs early in development of the port and I couldn't find any information about context sharing. It's only been a couple of weeks ago that I actually happened to look at the headers in the source and found out I was wrong - it was simply undocumented. I traced the feature to a commit that Sam Lantinga made back in May 2012 I think, but the documentation wiki is still way behind the code.
=)
If anything is wrong, I hope to be something missing, then we could just wait for SDL 2.1.
Originally posted by IneQuation View PostI'm preparing another talk which will be exclusively about SDL2 where I will address and correct this, as well as present all of SDL2's cool features to other professional developers.
Comment
-
Originally posted by duby229 View PostSo far every steam game I've tried has run just fine on gentoo. So long s I use the steam runtime everything seems to work perfectly. As long as that continues to be true, I don't have a problem with game developers and valve targeting Ubuntu.
Code:create_symlink_for_steam() { cd ${D}/usr/$(get_libdir) ln -s libSDL2.so.2.0.0 libSDL2-2.0.so.0 }
Comment
Comment