377 points · by fractalb · 11y ago · 129 comments
see: https://unity.ubuntu.com/about/
Though there is a certain appreciable irony in having two totally different things named unity.
Granted it was never popular, and it definitively isn't now, but still.
The Unity3D game engine announcement is awesome and they've been really changing the face of game dev.
There are a lot of products in tech, and a huge number of name collisions. Context (such as the fact that the linked domain is unity3d) saves us all from having to add caveats and clarifications to every mention. Just as I can talk about Microsoft Windows without noting that I'm not talking about panes of glass.
But there's something that has been bothering me for a while about games for Linux compiled with the Unity SDK.
Does anybody know what kind of dependencies a game written with the Unity SDK has? I'm pretty clueless about that stuff but I'd still like to know what it would take to get a game running on a minimal Linux install (like a naked Arch or Gentoo). Ubuntu obviously comes well equipped for the task but I don't really care about that.
So where do the graphics come from? Does it need some special libraries apart from OpenGL? Where do fonts come from? How does it interface with hardware, i.e. does it need X, or does it come with its own drivers for keyboard, mouse, gamepad?
I fear that it is necessary to install half of Ubuntu to get the games running but - as I said - I don't really know anything about that.
Unity should solve that now. Maybe.
To answer a few specifics with out getting too ragey:
To get real usable 3d you need to be running the proprietary drivers. The opensource ones at least a year or so ago when I was paying close attention were uniformly too slow and supported such a limited subset of the specs that the were usually pointless.
The take away for me was to always assume that the user system is completely dumb and to ship EVERYTHING. We ended up packaging the kitchen sink to get rid of the majority of the "I installed this on <nightly build of obscure distro> and it says it can't find libc" issues.
The performance of radeonsi isn't terrible (though that's partly because the proprietary AMD driver sets the bar kind of low), though still generally slower than the proprietary one. There are some experimental instruction scheduling changes in an LLVM branch that appear to give better performance than the proprietary drivers for at least some benchmarks.
On the Nvidia side it's pretty much proprietary or bust though. Featurewise it tends to be in good shape (at least in comparison to the other open source drivers anyway), but there's no support for changing the GPU clock so performance is terrible.
The problem is that basically you are always aiming at a moving target of system configuration when you release. Do you bet that your users have mechanical disks or SSD? If you aim for the latter you can make different choices. Windows as an operating system moves pretty slowly compared to the broader linux ecosystem, your percent users running a particular version of say DirectX is easy to guess, and easy to predict.
The problem when you move to linux is that the landscape is shifting rapidly. Everything from the kernel to libraries to what Distro is hot this week change nightly.OT steal mikepavone's example; In the last few years how many new families of windows video card drivers have come out? How much change have we seen in their capabilities? On linux the answer is, frankly, impressive.
This is great for linux, but it makes it hard to reach out to the smaller percent of the small percent of users who are having an issue and fix their issues.
The result is that at release you can just let that windows binary sit there and maybe fix a few bugs that crop up in your code. Your linux binary is more of a surfing act where things are great, then you are slowing down, and something breaks, and the whole tower comes down.
Fundamentally, it's why things like Unity are popular. The fewer people on a team, the less time you have deal with things like compatibility issues.
And then people wonder why so few devs support Linux.
linux-gate libdl libpthread librt libGLU libGL libX11 libXcursor libstdc++ libm libgcc_s libc libnvidia-tls libnvidia-glcore libXext libxcb libXrender libXfixes libXau libXdmcp
This could be a good use case for Docker containers. I remember they showed Quake running on Docker at a convention so it should be possible.
Or are there multiple game engines called Unity (on top of the existing confusion between the game engine and the Ubuntu thing)?
EDIT: I think the announcement is about Linux support in the SDK, not the actual software developed with Unity?
It is nice that "linux support" is a bullet point that companies feel is worth having, but it isn't a significant enough part of their market for them to make it work without glaring issues, often.
Hopefully though now that their main product is expected to work 100% correctly on Linux, that this will lead to fixes in their Linux compiler.
It does technically support it. It's just that for some mysterious reason, it's turned off by default. Games that explicitly turn it on, or let you change it in the settings (in my small library that's only MouseCraft and JazzPunk) run fine.
Everything else maxes out my CPU. As a laptop user, this does not make me happy.
This is great news and I hop they will support it.
It's been about 2 years since my last attempt at Linux for my main desktop OS... about time for another go at it. Been my HTPC OS for almost a year and a half (since switching to xbmc/kodi for most playback anyways).
I jumped over to Fedora and have been pleasantly surprised to find out that SLI, multi monitor, and sleep work flawlessly. Zero problems so far.
It was always that I got a laptop or computer running Windows, after a year and a half or so I managed to crud it up badly, even while keeping everything as clean to the best of my abilities, it just got slower and slower, meaning to install Linux as a dual boot, until something breaks and I actually do it.
Next computer will just start out with Linux, though.
I think we all know the future of this then.
$ gdebi unity-editor-5.1.0f3+2015082501_amd64.deb
...
Requires the installation of the following packages: lib32gcc1 lib32stdc++6 libc6-i386Unreal Engine is somewhat harder to use, but it's graphics engine is a bit closer to the cutting edge - it's the go-to engine for AAA devs these days. Unity's main user base (for people who use it to make games - some use it for academic ends, or for tech demos) tends to be the indie game scene.
They do the same job, but differ in the technical aspects and ease-of-use, and business model (though both are aiming to lower the barriers to making games), and they tend to cater to different segments of the market.
I am pretty dedicated to releasing for SteamOS as a main target platform, and have been trying to untether from windows. I have a few friends are love unity and want me to join projects but my main complaint has always been that there was no linux editor. Looks like I will have to test out the this unity test build.
I'm an Arch Linux guy. I strongly dislike both Ubuntu and Canonical, on technical, political and ethical grounds. But I get it.
And you know, a huge part of the problem is that "we", as the Linux community, have no direct interest in pushing compatibility between distributions. It takes a lot of effort, a lot of political reach, and the distros will just run with their own thing a few months later anyway, nullifying the efforts.
Besides... have you seen what happens when people are actually successful at pushing compatibility? Have you seen the shit people throw at Lennart/RH for Systemd? Why would anyone ever want to play that game?
Anyway, not to detract from the topic - it's fantastic news. Unity3d is huge in the game development world and this is a big win.
Let's not bait with systemd, that's a different issue.
Package manager interoperability is certainly a political issue. A lot of distributions are identified by their PM infrastructure, so adopting a universal one like Nix or Guix would mean losing their identity. Conflict of interest, quite clearly.
We might end up with, GNOME-based distros at least, running a NIH version of Nix called xdg-app, however.
What truly affects companies wanting to release and support their software on multiple distributions is the lack of universal fat-apps. And yes, xdg-app is the way to go - sadly, only GNOME has been leading that front and cross-desktop talks have stopped.
The XDG mailing list is dead. Sending an email there is equivalent to pissing in a violin.
Meh, I'm pretty jaded. But I totally do think systemd is a clear example of what happens when a group tries to push for less NIH and more standardization. Tools get replaced and people get upset.
No, say that Unity comes to Ubuntu.
Gone are the days when distros decided if something worked or didn't. Thanks to things like SystemD this will continue down that road (Ducks). Also hoping we finally do package management in a elegant modern way soon and not like we are right now.
They even provide a distro agnostic installer. Sure, it would be better if they provided RPMs and a bit more "official support", but it's not practical to promise and support it working on every distro.
1) Deb
2) RPM
3) Tarball
It's unreasonable to ask them to support all kinds of Linux distributions; it all depends on how well it actually 'will work'. E.g. Blizzard's Hearthstone does not officially support Linux (despite using Unity, btw.); also it doesn't support graphics chipsets as old as Intel GM45 (Intel's integrated graphics circa 2008; gen.4; last Core2). Yet I've been able to run this game on Ubuntu on my ThinkPad X200 reasonably well since beta and it's only getting better with time. Part of it are improvements from Wine and Mesa 3D (I didn't believe I will get performance improvements for the 5+ year-old hardware, but it happened last year: mesa 9.3(?) brought a solid improvement to 3D including Ubuntu desktop experience[sic!]) but also I believe Blizzard is actually fixing Linux-related glitches, even though the game is not officially supported. This could be better than some companies 'supporting' Linux by doing a half-assed port and forgetting about it.
the editor will run on most ‘modern’ 64-bit Linux distributions
The fact that it's only supported on one distro doesn't mean it hasn't come to the others. It has, but in an unsupported way. Anyone who uses a Linux desktop running anything besides Ubuntu should be quite used to that.
http://download.unity3d.com/download_unity/unity-editor-inst...
I'll take that over zero linux support anyday. Usually it's pretty easy to make these things run by yourself too. ldd the binary, fetch the missing libraries and/or grab the ubuntu packages set the library path and you're done.
Go fork another distro and shut up. Perhaps a new window manager? Steve Jobs took a bankrupt company and turned it into the world's most profitable company in less time.
On a related note, it's currently not working on Arch/Manjaro/Void Linux http://forum.unity3d.com/threads/service-not-available.35033...
But anyway, they are probably doing this because Valve supports Ubuntu, and Valve is doing it because Ubuntu comes with GPU drivers out of the box (contrary to Debian, where you must apt-get them).
A Debian installer with support for non-free software would go a long way towards changing all that. (Or even better, a deb-multimedia installer.)
Actually they're advertising Linux as SteamOS these days which is essentially Debian.
Let Linux take the desktop and THEN we can start forking over minute details.
Because MS has basically cockblocked all attempts at getting something other than Windows preinstalled on store shelf hardware.
and it's only good multiplayer if you can't cheat.
that means every dumb game system rush to try to run as root. as you can see with steam.
then after they have that excuse they also use that new power to enforce DRM. as you can see with steam.
and cheaters continue to cheat. but now you have malware.
running games in Linux is easy. heck you've done it on windows, you can make it on Linux with better docs and apis. the problem with Linux gaming is catering to users that don't have their heads up their buts. that is the real problem, and nobody sees the monetary incentive.
that said, true Linux gaming holy grail will be achieved when you can run a windows vm with full 3d support. period.
You are tragically misinformed:
user@host:~$ find ~/.local/share/Steam/ -perm -4000
user@host:~$ find ~/.local/share/Steam/ -user root
user@host:~$ find /bin -perm -4000
/bin/ping6
/bin/ping
/bin/su
/bin/fusermount
/bin/ntfs-3g
/bin/umount
/bin/mount
user@host:~$ find /bin -user root | wc -l
201
user@host:~$ ps aux | grep -i steam | grep root | wc -l
0It's often compared alongside the Unreal editor, which I unfortunately haven't taken for a spin yet.
Unreal is far more mature as a platform and you can do a lot more with it. (The code of the internals sucks a bit though).