We do often include affiliate links to earn us some pennies. See more here.

The folks Unity3D are currently doing a "HackWeek" when they work on special projects. It looks like the Linux team are working on using SDL instead of X11 directly which will bring Mir & Wayland support amongst other things.

For those that don't know: X11, Mir and Wayland are what allow you to see windows, drag them around and generally do everything on your Linux computer. X11 is really old and Wayland/Mir will eventually replace it.

I follow Unity developer Na'Tosha Bard on twitter, and it has been fun to see the progress on it, here's what they have done so far!

#unity3d #HackWeek End of Day 1 Status: X11 is out. SDL is partially in. pic.twitter.com/YrWSY6unWk

— Na'Tosha Bard (@natosha_bard) May 9, 2016

#unity3d #HackWeek Day 2: Switch to SDL mostly complete. Partial input handling working. No more assertion failures. pic.twitter.com/4XWYwavziL

— Na'Tosha Bard (@natosha_bard) May 10, 2016

OK, Bonus #unity3d #HackWeek Status: #unity3d running on Wayland! pic.twitter.com/agsZT4kLpE

— Na'Tosha Bard (@natosha_bard) May 10, 2016


I love that Unity developers do things like this. SDL support should make things like multiple monitor handling much better. That is something I am especially keen for, as multiple monitor handling in a lot of Unity games is often really poor. SDL could also help them improve things like gamepad/controller support too.

Worth noting that these changes may not end up in the official Unity builds, but we can hope it all works out.

Article taken from GamingOnLinux.com.
Tags: Editorial, Unity
0 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
28 comments
Page: «2/2
  Go to:

jnrivers May 12, 2016
Maybe they will realize the value of vsync.. <snap>
Imants May 12, 2016
Quoting: c3224Unity is working on SDL supprot and SDL includes X11, Wayland and Mir support; Unity guys are too dumb to work on Wayland and Mir directly, so they are not working on Wayland and Mir and your headline is wrong. Mir, Wayland, X11 and other subsystems support in SDL was worked on by SDL developers an community (guys who are not dumb).
kkthnxbye

It is not dumb to not work on things which others are working and share they're work. It is dumb to to work on the same thing witch others are working because you are wasting time and money on things witch is already done and could even work better than your implementation.
In short reinventing the wheel is dumb!
seb24 May 12, 2016
Quoting: c3224Unity is working on SDL supprot and SDL includes X11, Wayland and Mir support; Unity guys are too dumb to work on Wayland and Mir directly, so they are not working on Wayland and Mir and your headline is wrong. Mir, Wayland, X11 and other subsystems support in SDL was worked on by SDL developers an community (guys who are not dumb). It was a damn time to use SDL for an engine which claims support to multiple platforms, they aim too add "Build to XYZ" buttons all over the place but all of their builds, except Windows ones, are bad and full of bugs.

According to screnshoots they are using Ubuntu, a Linux distribution with unique DE, unique display system and unique patches to almost all librarys and unique defaults, hey my Linux traitors, do you know what that means? It means there will be all kind of bugs and issues in other distributions because game developers (engine developers also) dont understand that Ubuntu is "a little bit special kid" and at the end they dont support Linux they support Ubuntu.

kkthnxbye
Dumb message ever ^^ .
- Using existing framework is a smart move. It's totally useless to dev again a new stuff if you can use an existing one. Unless you have good reason to do it.
- If you read the article (yeah it's difficult...) you can see they are working on specific problem for Wayland, so the headline is right and you are wrong.
- If you open your eyes you can see they are testing on a Fedora distribution.
M@GOid May 12, 2016
Quoting: Guest
Quoting: MGOidI think the Trine games are problematic with OpenSource drivers. I have a Core i7 and a R9 290 (radeonsi driver) and it plays like crap, even if I set everything to low.

Must be one of those bad OpenGL ports, too dependent of the forgiveness in the Nvidia proprietary drivers.

It's probably more that trine is locked in terms of framerate. I'm fairly certain it comes from game logic rather than graphical issues - even if you managed to get a fps higher, the actual on-screen content won't update more than about 30fps. At least, that's how it was when I last played.

Nope, I can't get 30fps. And they let you run the games above 30fps now.

Trine 3 will not even start with the OSS driver. Of the 115 games I have in Linux, only Trine 3 and Dead Island are this bad. I am not touching Techland and Frozenbyte stuff after that.
Purple Library Guy May 12, 2016
Quoting: Guest
Quoting: FUltra
Quoting: Guest1. Any special reason why would you support Unity3D?
2. Everyones acting like X11 is the past and is really buggy and slow - but really most don't have real problems with X11 and if there are problems let us fix them or rewrite parts if neccesarry.

But X11 is the past and is really buggy (try for example to create a 100% no-one-can-bypass screen saver lock for X11). More to the point is that the devs behind X11 is the same devs that are creating Wayland.

The only sad thing with these nice changes to Unity3D is that AFAIK Unity3D is statically linked to each game and does not exist as a shared resource in for example Steam so for this new version to be used games have to be updated one by one(?).
As I said stop creating new projects and help existing - for me it is "I WILL NEVER STOP USING X11" unless I'll see dwm for Wayland which I guess won't happen and Wayland needs to be cross-platform like other Unix-software.
Anyway who says it is the past and is buggy - Really who needs screenssavers thats like Im not at my desk but I need something running at my screen.

Sorry mate, but really that ship has sailed. Yes, X11 has done yeoman service over many years, but as FUltra said, the people making Wayland are the X11 people. It's coming and that's that. And X11 has/creates a whole bunch of security problems, which don't matter to me sitting at my desktop but matter plenty overall. And X11 ultimately just has too many concepts built deep into it which are at odds with how graphics are done now. It just does not, at its core, do things the way modern graphics work, and that creates bottlenecks and limits capability. For a long time the advantages of maturity outweighed that, but the people who developed X11 seem to pretty much all agree that time is past. They could "just update" X11 but for that to work it would have to be a distinction without a difference--the name is about all that would be left.

Wayland has been slow, but it is arriving. And maybe Mir I guess, wtf Canonical and their Not Invented Here syndrome.
c3224 May 12, 2016
Quoting: seb24Using existing framework is a smart move. It's totally useless to dev again a new stuff if you can use an existing one. Unless you have good reason to do it.

First SDL is not a framework, second I didnt said using existing API is dumb I said Unity devs are too stupid to work on something bleeding edge like Wayland or Mir, not using SDL till now is also stupid. If they want to be so 1337 and pro-F/LOSS they can use SDL on Windows too, if they do that ill join to the Unity circle jerk too.

Quoting: seb24If you read the article (yeah it's difficult...) you can see they are working on specific problem for Wayland, so the headline is right and you are wrong.

It is hard to read the articles on this site lately when they are full of circlejerk, so please tell me what is that specific problem, how to use Wayland in C#? How to compile it on Windows? Or Mac maybe?

Quoting: seb24If you open your eyes you can see they are testing on a Fedora distribution.

Im not expert on Ubuntu or Fedora systems, but first two SS look like Ubuntu. Running something for 1 sec is not testing, according to all bugs I encountered in their engine on Linux they dont know what testing is. I did a lot of testing on Unity, reported bugs to game devs, they said it was forwarded to Unity devs, bugs where around for 1+ year they may persist til now I cant check because Steam is removed from my Linux installation, booting and playing games on Windows is more tolerable than playing them on Linux. And what they are going to do when they discover bugs on Linux, cry and wait until bit rot fix it by accident, because they are not going to fix it, just look at all reported bugs on Steam forums.

#unity3d #HackWeek #luvLinux #kkthnxbye #badEnglish
Tak May 12, 2016
QuoteIf they want to be so 1337 and pro-F/LOSS they can use SDL on Windows too
It's not out of the question, actually - if we can still achieve everything we want and remove a bunch of duplicated/reïmplemented code on multiple platforms, everybody wins.
M@GOid May 12, 2016
Quoting: Guest
Quoting: MGOidNope, I can't get 30fps. And they let you run the games above 30fps now.

Trine 3 will not even start with the OSS driver. Of the 115 games I have in Linux, only Trine 3 and Dead Island are this bad. I am not touching Techland and Frozenbyte stuff after that.

Guess they've removed that target by now, but I'm still dubious about how much on-screen content will actually change. Pushing more frames to the monitor when nothing is changing doesn't make gameplay smoother, but some people just like to see a high number.

Trine3 is....yes, the less said the better about that. It's the one game I've never even been able to start playing. Don't have Dead Island.

Ok, enough, I'll not continue this sub-thread and derail the main topic anymore - apologies about that!

Hehe, since I never played Trine 1 and 2 before the 3, I really didn't share the hate towards the third game :-) I actually played it a bit in Windows to compare the performance against Catalyst driver in Linux. Yes, the gameplay is different, but I didn't get why people hate it.

FPS to me is a matter of the speed of the gameplay. A card game obviously don't have much happening on the screen, but a race game at 60FPS is a must. A fast paced game like L4D2 or CS:GO, where every millisecond mater, benefits from a 120 Hz monitor, at last to me.

In general I like 60 fps, no matter what type of game I'm playing. Above that only in a very few games, like L4D2.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.