DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd November 2016
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default X11/X.Org: The beginning of the end

2016-11-22: Fedora 25 was released.
Fedora is one of the most popular Gnu/Linux distributions. Undeniably Fedora has large influence on Gnu/Linux world (and indirect, smaller on other FOSS systems too).
Default graphical environment for Fedora 25 is Gnome 3.22. Fedora 25 has session of Gnome3/Wayland as default. Legacy X11 apps can be used by XWayland backward compatibility layer.
Fedora 25 has still Gnome3/X11 session, because some features are still missing in Gnome3/Wayland session and properietary drivers (Nvidia, AMD) are still not supporting DRM/KMS/GBM. There are some talks about replacing GBM requirement by new Unix graphics (and compute) memory API.

Others spins of Fedora 25 with other graphical environments (KDE5, Xfce,...) still are using X11 session.

It is going to take years to complete process of replacing X11 by Wayland, though.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 23rd November 2016 at 09:55 AM.
Reply With Quote
  #2   (View Single Post)  
Old 23rd November 2016
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 489
Default

Wayland is, even in Fedora, somewhat Gnome connected. For example, if I do a minimal Fedora install, and add a window manager, it's not going to be using Wayland yet.

As you say, it is going to be years.
Reply With Quote
  #3   (View Single Post)  
Old 25th November 2016
cynwulf's Avatar
cynwulf cynwulf is offline
Package Pilot
 
Join Date: Mar 2014
Posts: 153
Default

Quote:
Originally Posted by scottro View Post
Wayland is, even in Fedora, somewhat Gnome connected. For example, if I do a minimal Fedora install, and add a window manager, it's not going to be using Wayland yet.
It's kind of the other way around. Gnome have simply implemented wayland support earlier than most other projects. So not really "gnome connected".

Gnome project have certain objectives - all 'Linux proprietary' of course - so tying everything to Linux specific interfaces such as systemd is not an issue for them. It was fairly predictable that they would be an early wayland adopter and that fedora - the test bed for RHEL - would be the first Linux distribution to include it.

It's not really in Red Hat's interests to be developing, funding and backing projects (such as gnome and systemd) which can be utiltised by competitors to RHEL in the server market. And this is why gnome and systemd projects are simply not interested in portability to other *nix like systems.

I don't know enough about wayland to comment further, especially on it's portability, but someone has been working on porting it to DragonFly BSD: https://github.com/DragonFlyBSD/DeltaPorts/pull/123

With the KMS/DRI bits now ported from Linux and in place in most of the *BSDs it seems feasible at least?

Perhaps it's long overdue, considering that most single user desktop users don't really need an X server anyway...
Reply With Quote
  #4   (View Single Post)  
Old 23rd November 2016
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

Window managers for X11 need to be rewritten as Wayland compositors (every single one of them) if somebody wants to use them as a basis for Wayland desktop environment.

There are several Wayland compositors. Mutter (from Gnome3) is only one of them.
Weston is reference Wayland compositor.

KDE5 has KWin compositor. Developers from KDE Plasma project recently have invested a lot of time and work to refactor KWin for Wayland. You can read some more about KDE Five Plasma's KWin work here:
https://blog.martin-graesslin.com/blog/tag/wayland/

There is also a Sway Wayland compositor inspired by i3 X11 window manager, but nowadays integrated desktop environments (Gnome3, KDE5) are best bet for using Wayland, though.
It is sad and I hope this is going to change, but it is what it is, at least for now.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #5   (View Single Post)  
Old 25th November 2016
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

AFAIK Wayland is quite portable. It uses Unix domain sockets.
Kernel should expose KMS/DRM interfaces.
By convention Wayland-based environments to handle hardware accelerated rendering use GBM (Mesa's way to handle graphics memory) and EGL as binding. Compositors often use OpenGL ES (with binding by EGL) and clients renders through desktop OpenGL (also binded by EGL) or mobile variant: OpenGL ES.
GBM probably is going to be replaced, in medium or long-term, by new Unix graphics (and compute) memory API, which is in designing phase.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #6   (View Single Post)  
Old 26th November 2016
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Port Guard
 
Join Date: Dec 2015
Location: London
Posts: 21
Default

Is it possible that Wayland may eventually replace Xenocara in the OpenBSD base system?

As I understand it, Wayland is fundamentally more secure than the X server, although I am far from expert in this subject.
Reply With Quote
  #7   (View Single Post)  
Old 26th November 2016
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
Is it possible that Wayland may eventually replace Xenocara in the OpenBSD base system?
I hope so, but at the same time I am aware that this will take a lot of time. I haven't heard about any porting effort to OpenBSD, yet.
Even in Gnu/Linux community it is quite new, a lot of programs needs to be ported and Wayland probably is going to be enriched by new functionalities.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #8   (View Single Post)  
Old 26th November 2016
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 214
Default

Maybe not : https://www.reddit.com/r/openbsd/com...pport_wayland/
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #9   (View Single Post)  
Old 26th November 2016
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

Quote:
Originally Posted by LeFrettchen View Post
This question was asked year ago. I think this question was asked too early. Even in Gnu/Linux community, only enthusiasts were using Wayland year ago.

On the other hand in 10/11 years from now (2027) probably nobody is going to use X.Org in Gnu/Linux community (except enterprises using old, deprecated versions of RHEL) and I don't think that OpenBSD's Devs would like to develop and maintain X.Org themselves, so it must be ported in the coming years.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
Old 26th November 2016
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: Bronvaux, France
Posts: 214
Default

Maybe in 10 years, but there's no really need of Wayland now, and it should require large porting efforts.

And Wayland needs to prove itself before it should be used in OpenBSD.
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
Old 26th November 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,252
Default

Quote:
Originally Posted by LeFrettchen View Post
...Wayland needs to prove itself before it should be used in OpenBSD.
Agreed. It isn't the only game in town.
Reply With Quote
Old 26th November 2016
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Port Guard
 
Join Date: Dec 2015
Location: London
Posts: 21
Default

Well, somebody appears to be working on a port:

https://github.com/jasperla/openbsd-...er/x11/wayland

I'm trying to get this to build on my -current box but I'm too much of a n00b
Reply With Quote
Old 26th November 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,434
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
Well, somebody appears to be working on a port:
Vadim Zhukov. Send him an Email, I'm sure he'll reply with a status update regarding this WIP port's status. He doesn't bite.
Reply With Quote
Old 4 Weeks Ago
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

https://lists.freebsd.org/pipermail/...er/064198.html

News from FreeBSD community
Quote:
Originally Posted by Johannes Lundberg
Hi Everyone!
We had some progress with Wayland that we'd like to share.

Wayland (v1.12.0)
Working

Weston (v1.12.0)
Working (Porting WIP)

Weston-clients (installed with wayland/weston port)
Working

XWayland (run X11 apps in Wayland compositor)
Works (maximized window only) if started manually but not when
launching X11 app from Weston. Most likely problem with Weston IPC.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 4 Weeks Ago at 10:46 AM.
Reply With Quote
Old 2 Weeks Ago
richardet richardet is offline
Real Name: Richard Thornton
New User
 
Join Date: Sep 2013
Location: Princeton, NJ
Posts: 6
Default

While it may be inevitable, it is in a way too bad , in my opinion, that the Linux ecosphere is now starting to drive some of the*BSD world, with Wayland & systemd. I guess its like when Solaris 8 began to embrace GNOME. That's also about the time when Sun began its downward spiral.

Quote:
Originally Posted by e1-531g View Post
Reply With Quote
Old 2 Weeks Ago
e1-531g e1-531g is offline
Spam Deminer
 
Join Date: Mar 2014
Location: Country:Poland;Continent:Europe
Posts: 255
Default

Quote:
Originally Posted by richardet View Post
While it may be inevitable, it is in a way too bad , in my opinion, that the Linux ecosphere is now starting to drive some of the*BSD world, with Wayland & systemd.
I don't like when somebody puts words Wayland and systemd together in the same sentence. Wayland and systemd are not in the same category. Two distinct projects designed and implemented by different people with different attitude.
Wayland is designed by experienced X.Org developers to be reliable protocol. They could write display server, but they haven't because they want it to be reliable.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 2 Weeks Ago at 05:05 PM.
Reply With Quote
Old 2 Weeks Ago
richardet richardet is offline
Real Name: Richard Thornton
New User
 
Join Date: Sep 2013
Location: Princeton, NJ
Posts: 6
Default

I understand that they are not directly connected or even indirectly, and serve different purposes; my only point was that whatever their merits, or lack thereof, the various *BSD projects will either at some point have to embrace, ignore, or work around them. But I am not trying to step on your thread, but add to the conversation!
Reply With Quote
Reply

Tags
compositing, graphics, linux

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD USB 3.0 support beginning to emerge for -current J65nko News 0 12th March 2014 05:57 PM
FreeBSD Beginning the 7.3-RELEASE release cycle... J65nko News 0 24th January 2010 04:07 PM


All times are GMT. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick