* GNOME on Wayland current status
@ 2017-12-24 13:20 Rutger Helling
2018-01-01 16:53 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Rutger Helling @ 2017-12-24 13:20 UTC (permalink / raw)
To: guix-devel
Hello Guix,
As discussed in patch #29758 I've tried GNOME on Wayland on the
different display managers.
SDDM: Should work, just pick the "GNOME (on Wayland)" session.
SLiM: Doesn't seem to work. I'm not sure if SLiM has support for Wayland
sessions at all.
I couldn't get GDM to start, so I don't know if that works or not.
Note that you can use the following command to manually start GNOME on
Wayland:
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
This seems to require that you've started GNOME via a display manager
first though.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2017-12-24 13:20 GNOME on Wayland current status Rutger Helling
@ 2018-01-01 16:53 ` Ludovic Courtès
2018-01-02 12:47 ` Rutger Helling
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-01-01 16:53 UTC (permalink / raw)
To: Rutger Helling; +Cc: guix-devel
Hello!
Rutger Helling <rhelling@mykolab.com> skribis:
> As discussed in patch #29758 I've tried GNOME on Wayland on the
> different display managers.
>
> SDDM: Should work, just pick the "GNOME (on Wayland)" session.
> SLiM: Doesn't seem to work. I'm not sure if SLiM has support for
> Wayland sessions at all.
> I couldn't get GDM to start, so I don't know if that works or not.
>
> Note that you can use the following command to manually start GNOME on
> Wayland:
> XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
>
> This seems to require that you've started GNOME via a display manager
> first though.
Thanks for the update!
Any idea what could be done in terms of documentation or code
(services?) for people who’d like to try out GNOME on Wayland?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-01 16:53 ` Ludovic Courtès
@ 2018-01-02 12:47 ` Rutger Helling
2018-01-04 2:52 ` Mark H Weaver
0 siblings, 1 reply; 9+ messages in thread
From: Rutger Helling @ 2018-01-02 12:47 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]
Hi Ludo,
I've sent in a patch (#29943) that adds a small paragraph to the
documentation about the current situation.
I believe there was a plan to replace SLiM with GDM for the default
login manager. Getting GDM to work properly should probably be the
first step since it has great Wayland support. From what I know GDM can
default to Wayland and falls back automatically to X11 if for some
reason Wayland doesn't work.
Alternatively we could switch to SDDM as the default for now, until GDM
is ready. That way people are at least able to start a GNOME Wayland
session easily (I don't think this is possible with SLiM). I don't know
how controversial of a change that would be. Note also that unlike GDM,
the SDDM greeter itself still runs on X11 for the time being. Ideally
we want the greeter to run on Wayland too, that
way you can avoid starting a Xorg server running as root.
On Mon, 01 Jan 2018 17:53:14 +0100
ludo@gnu.org (Ludovic Courtès) wrote:
> Hello!
>
> Rutger Helling <rhelling@mykolab.com> skribis:
>
> > As discussed in patch #29758 I've tried GNOME on Wayland on the
> > different display managers.
> >
> > SDDM: Should work, just pick the "GNOME (on Wayland)" session.
> > SLiM: Doesn't seem to work. I'm not sure if SLiM has support for
> > Wayland sessions at all.
> > I couldn't get GDM to start, so I don't know if that works or not.
> >
> > Note that you can use the following command to manually start GNOME
> > on Wayland:
> > XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
> >
> > This seems to require that you've started GNOME via a display
> > manager first though.
>
> Thanks for the update!
>
> Any idea what could be done in terms of documentation or code
> (services?) for people who’d like to try out GNOME on Wayland?
>
> Thanks,
> Ludo’.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-02 12:47 ` Rutger Helling
@ 2018-01-04 2:52 ` Mark H Weaver
2018-01-04 8:38 ` ng0
0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2018-01-04 2:52 UTC (permalink / raw)
To: Rutger Helling; +Cc: guix-devel
Hi Rutger,
Rutger Helling <rhelling@mykolab.com> writes:
> I've sent in a patch (#29943) that adds a small paragraph to the
> documentation about the current situation.
>
> I believe there was a plan to replace SLiM with GDM for the default
> login manager. Getting GDM to work properly should probably be the
> first step since it has great Wayland support. From what I know GDM can
> default to Wayland and falls back automatically to X11 if for some
> reason Wayland doesn't work.
>
> Alternatively we could switch to SDDM as the default for now, until GDM
> is ready.
I recently switched my x86_64 GuixSD laptop to use SDDM, so I could try
out GNOME on Wayland. It mostly works, but there are still a few
problems:
* Even after logging in, SDDM is still visibly running within
xorg-server on VT 7, while Wayland is running on VT 8. If you switch
back to VT 7, you can see the login screen still there, with the clock
showing the time that you logged in instead of the current time. I'm
not sure if there are security implications to this, but it's
certainly a waste of system resources.
* SDDM is based on Qt, so it substantially increases the closure size of
the system, as well as memory usage since SDDM and Xorg-server
continues to run in another VT during your entire session.
* The "Sound" panel of the GNOME settings is non-functional. Whenever I
try to change anything at all in that panel, it crashes.
* Startup notification for several GNOME programs is broken, e.g. GNOME
Terminal, Files (Nautilus), Videos (Totem), and possibly other. When
I launch any of those programs, although the program immediately
starts up, GNOME Shell doesn't seem to realize this, and for quite
some time the spinner continues to indicate that the application is
starting up, and it doesn't show up in the Alt-Tab application
switcher. If you switch to another application, you cannot switch
back to it via Alt-Tab.
* As far as I know, we haven't yet themed SDDM to include our beautiful
GuixSD login screen artwork. It would be a shame to lose that by
default.
On the other hand, I'm pleased to report that under Wayland, tearing no
longer occurs during video playback, scrolling, etc.
Anyway, it's very exciting to see progress on this, but I'm reluctant to
bring Qt into our default system closure, and furthermore I'd be
inclined to wait until more of the aforementioned problems are
addressed.
What do you think?
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-04 2:52 ` Mark H Weaver
@ 2018-01-04 8:38 ` ng0
2018-01-04 10:49 ` Rutger Helling
0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2018-01-04 8:38 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel, Rutger Helling
[-- Attachment #1: Type: text/plain, Size: 3054 bytes --]
Mark H Weaver transcribed 2.4K bytes:
> Hi Rutger,
>
> Rutger Helling <rhelling@mykolab.com> writes:
>
> > I've sent in a patch (#29943) that adds a small paragraph to the
> > documentation about the current situation.
> >
> > I believe there was a plan to replace SLiM with GDM for the default
> > login manager. Getting GDM to work properly should probably be the
> > first step since it has great Wayland support. From what I know GDM can
> > default to Wayland and falls back automatically to X11 if for some
> > reason Wayland doesn't work.
> >
> > Alternatively we could switch to SDDM as the default for now, until GDM
> > is ready.
What about lightdm? Does it not offer wayland support?
We have no service for it yet, but as far as I understand the greeters
(like 'lightdm-gtk-greeter') writing your own theme is relatively standardized.
> I recently switched my x86_64 GuixSD laptop to use SDDM, so I could try
> out GNOME on Wayland. It mostly works, but there are still a few
> problems:
>
> * Even after logging in, SDDM is still visibly running within
> xorg-server on VT 7, while Wayland is running on VT 8. If you switch
> back to VT 7, you can see the login screen still there, with the clock
> showing the time that you logged in instead of the current time. I'm
> not sure if there are security implications to this, but it's
> certainly a waste of system resources.
>
> * SDDM is based on Qt, so it substantially increases the closure size of
> the system, as well as memory usage since SDDM and Xorg-server
> continues to run in another VT during your entire session.
>
> * The "Sound" panel of the GNOME settings is non-functional. Whenever I
> try to change anything at all in that panel, it crashes.
>
> * Startup notification for several GNOME programs is broken, e.g. GNOME
> Terminal, Files (Nautilus), Videos (Totem), and possibly other. When
> I launch any of those programs, although the program immediately
> starts up, GNOME Shell doesn't seem to realize this, and for quite
> some time the spinner continues to indicate that the application is
> starting up, and it doesn't show up in the Alt-Tab application
> switcher. If you switch to another application, you cannot switch
> back to it via Alt-Tab.
>
> * As far as I know, we haven't yet themed SDDM to include our beautiful
> GuixSD login screen artwork. It would be a shame to lose that by
> default.
>
> On the other hand, I'm pleased to report that under Wayland, tearing no
> longer occurs during video playback, scrolling, etc.
>
> Anyway, it's very exciting to see progress on this, but I'm reluctant to
> bring Qt into our default system closure, and furthermore I'd be
> inclined to wait until more of the aforementioned problems are
> addressed.
>
> What do you think?
>
> Mark
>
>
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is/a/ :: https://ea.n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-04 8:38 ` ng0
@ 2018-01-04 10:49 ` Rutger Helling
2018-01-04 12:43 ` ng0
2018-01-08 16:17 ` Mark H Weaver
0 siblings, 2 replies; 9+ messages in thread
From: Rutger Helling @ 2018-01-04 10:49 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 4123 bytes --]
Hi ng0,
that might be a good idea. I was disturbed to learn that SLiM
has seemingly been abandoned since 2013
(source: https://wiki.archlinux.org/index.php/SLiM), so lightdm might
be a good light-weight alternative as the default display manager. Do
you know if the lightdm process itself can run on Wayland (like GDM)?
@Mark
SDDM for the moment cannot run on Wayland yet, which is why it starts
its own X server.
I don't think I've had some of the problems you had with GNOME. Could
you try logging in once via a display manager to GNOME (either X11 or
Wayland is fine), then logging out, stopping the display manager and
running the following command on a TTY:
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
One of the problems I've run into myself is that X11 screen lockers
like xlock don't seem to work. In GNOME GDM is supposed to be the
screen locker I believe, but I don't think that works at the moment.
I'll try and see if there's a simple Wayland-based screen locker we
could use later.
On Thu, 4 Jan 2018 08:38:58 +0000
ng0 <ng0@n0.is> wrote:
> Mark H Weaver transcribed 2.4K bytes:
> > Hi Rutger,
> >
> > Rutger Helling <rhelling@mykolab.com> writes:
> >
> > > I've sent in a patch (#29943) that adds a small paragraph to the
> > > documentation about the current situation.
> > >
> > > I believe there was a plan to replace SLiM with GDM for the
> > > default login manager. Getting GDM to work properly should
> > > probably be the first step since it has great Wayland support.
> > > From what I know GDM can default to Wayland and falls back
> > > automatically to X11 if for some reason Wayland doesn't work.
> > >
> > > Alternatively we could switch to SDDM as the default for now,
> > > until GDM is ready.
>
> What about lightdm? Does it not offer wayland support?
> We have no service for it yet, but as far as I understand the greeters
> (like 'lightdm-gtk-greeter') writing your own theme is relatively
> standardized.
>
> > I recently switched my x86_64 GuixSD laptop to use SDDM, so I could
> > try out GNOME on Wayland. It mostly works, but there are still a
> > few problems:
> >
> > * Even after logging in, SDDM is still visibly running within
> > xorg-server on VT 7, while Wayland is running on VT 8. If you
> > switch back to VT 7, you can see the login screen still there, with
> > the clock showing the time that you logged in instead of the
> > current time. I'm not sure if there are security implications to
> > this, but it's certainly a waste of system resources.
> >
> > * SDDM is based on Qt, so it substantially increases the closure
> > size of the system, as well as memory usage since SDDM and
> > Xorg-server continues to run in another VT during your entire
> > session.
> >
> > * The "Sound" panel of the GNOME settings is non-functional.
> > Whenever I try to change anything at all in that panel, it crashes.
> >
> > * Startup notification for several GNOME programs is broken, e.g.
> > GNOME Terminal, Files (Nautilus), Videos (Totem), and possibly
> > other. When I launch any of those programs, although the program
> > immediately starts up, GNOME Shell doesn't seem to realize this,
> > and for quite some time the spinner continues to indicate that the
> > application is starting up, and it doesn't show up in the Alt-Tab
> > application switcher. If you switch to another application, you
> > cannot switch back to it via Alt-Tab.
> >
> > * As far as I know, we haven't yet themed SDDM to include our
> > beautiful GuixSD login screen artwork. It would be a shame to lose
> > that by default.
> >
> > On the other hand, I'm pleased to report that under Wayland,
> > tearing no longer occurs during video playback, scrolling, etc.
> >
> > Anyway, it's very exciting to see progress on this, but I'm
> > reluctant to bring Qt into our default system closure, and
> > furthermore I'd be inclined to wait until more of the
> > aforementioned problems are addressed.
> >
> > What do you think?
> >
> > Mark
> >
> >
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-04 10:49 ` Rutger Helling
@ 2018-01-04 12:43 ` ng0
2018-01-04 13:15 ` Catonano
2018-01-08 16:17 ` Mark H Weaver
1 sibling, 1 reply; 9+ messages in thread
From: ng0 @ 2018-01-04 12:43 UTC (permalink / raw)
To: Rutger Helling; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 4654 bytes --]
Rutger Helling transcribed 4.7K bytes:
> Hi ng0,
>
> that might be a good idea. I was disturbed to learn that SLiM
> has seemingly been abandoned since 2013
> (source: https://wiki.archlinux.org/index.php/SLiM), so lightdm might
> be a good light-weight alternative as the default display manager. Do
> you know if the lightdm process itself can run on Wayland (like GDM)?
No idea, I've never really used Wayland or Xwayland on any computer other
than my phones. I'd guess the Manual of lightdm would cover this.
> @Mark
>
> SDDM for the moment cannot run on Wayland yet, which is why it starts
> its own X server.
>
> I don't think I've had some of the problems you had with GNOME. Could
> you try logging in once via a display manager to GNOME (either X11 or
> Wayland is fine), then logging out, stopping the display manager and
> running the following command on a TTY:
>
> XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
>
> One of the problems I've run into myself is that X11 screen lockers
> like xlock don't seem to work. In GNOME GDM is supposed to be the
> screen locker I believe, but I don't think that works at the moment.
> I'll try and see if there's a simple Wayland-based screen locker we
> could use later.
>
> On Thu, 4 Jan 2018 08:38:58 +0000
> ng0 <ng0@n0.is> wrote:
>
> > Mark H Weaver transcribed 2.4K bytes:
> > > Hi Rutger,
> > >
> > > Rutger Helling <rhelling@mykolab.com> writes:
> > >
> > > > I've sent in a patch (#29943) that adds a small paragraph to the
> > > > documentation about the current situation.
> > > >
> > > > I believe there was a plan to replace SLiM with GDM for the
> > > > default login manager. Getting GDM to work properly should
> > > > probably be the first step since it has great Wayland support.
> > > > From what I know GDM can default to Wayland and falls back
> > > > automatically to X11 if for some reason Wayland doesn't work.
> > > >
> > > > Alternatively we could switch to SDDM as the default for now,
> > > > until GDM is ready.
> >
> > What about lightdm? Does it not offer wayland support?
> > We have no service for it yet, but as far as I understand the greeters
> > (like 'lightdm-gtk-greeter') writing your own theme is relatively
> > standardized.
> >
> > > I recently switched my x86_64 GuixSD laptop to use SDDM, so I could
> > > try out GNOME on Wayland. It mostly works, but there are still a
> > > few problems:
> > >
> > > * Even after logging in, SDDM is still visibly running within
> > > xorg-server on VT 7, while Wayland is running on VT 8. If you
> > > switch back to VT 7, you can see the login screen still there, with
> > > the clock showing the time that you logged in instead of the
> > > current time. I'm not sure if there are security implications to
> > > this, but it's certainly a waste of system resources.
> > >
> > > * SDDM is based on Qt, so it substantially increases the closure
> > > size of the system, as well as memory usage since SDDM and
> > > Xorg-server continues to run in another VT during your entire
> > > session.
> > >
> > > * The "Sound" panel of the GNOME settings is non-functional.
> > > Whenever I try to change anything at all in that panel, it crashes.
> > >
> > > * Startup notification for several GNOME programs is broken, e.g.
> > > GNOME Terminal, Files (Nautilus), Videos (Totem), and possibly
> > > other. When I launch any of those programs, although the program
> > > immediately starts up, GNOME Shell doesn't seem to realize this,
> > > and for quite some time the spinner continues to indicate that the
> > > application is starting up, and it doesn't show up in the Alt-Tab
> > > application switcher. If you switch to another application, you
> > > cannot switch back to it via Alt-Tab.
> > >
> > > * As far as I know, we haven't yet themed SDDM to include our
> > > beautiful GuixSD login screen artwork. It would be a shame to lose
> > > that by default.
> > >
> > > On the other hand, I'm pleased to report that under Wayland,
> > > tearing no longer occurs during video playback, scrolling, etc.
> > >
> > > Anyway, it's very exciting to see progress on this, but I'm
> > > reluctant to bring Qt into our default system closure, and
> > > furthermore I'd be inclined to wait until more of the
> > > aforementioned problems are addressed.
> > >
> > > What do you think?
> > >
> > > Mark
> > >
> > >
> >
>
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is/a/ :: https://ea.n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-04 12:43 ` ng0
@ 2018-01-04 13:15 ` Catonano
0 siblings, 0 replies; 9+ messages in thread
From: Catonano @ 2018-01-04 13:15 UTC (permalink / raw)
To: Rutger Helling, Mark H Weaver, guix-devel
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
2018-01-04 13:43 GMT+01:00 ng0 <ng0@n0.is>:
> Rutger Helling transcribed 4.7K bytes:
> > Hi ng0,
> >
> > that might be a good idea. I was disturbed to learn that SLiM
> > has seemingly been abandoned since 2013
> > (source: https://wiki.archlinux.org/index.php/SLiM), so lightdm might
> > be a good light-weight alternative as the default display manager. Do
> > you know if the lightdm process itself can run on Wayland (like GDM)?
>
> No idea, I've never really used Wayland or Xwayland on any computer other
> than my phones. I'd guess the Manual of lightdm would cover this.
>
This page says: "Supports different display technologies (X, Mir, Wayland
...)."
https://freedesktop.org/wiki/Software/LightDM/
On the Arch wiki there's also a paragraph about migrating from SLIM
https://wiki.archlinux.org/index.php/LightDM#Migrating_from_SLiM
[-- Attachment #2: Type: text/html, Size: 1512 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: GNOME on Wayland current status
2018-01-04 10:49 ` Rutger Helling
2018-01-04 12:43 ` ng0
@ 2018-01-08 16:17 ` Mark H Weaver
1 sibling, 0 replies; 9+ messages in thread
From: Mark H Weaver @ 2018-01-08 16:17 UTC (permalink / raw)
To: Rutger Helling; +Cc: guix-devel
Hi Rutger,
Rutger Helling <rhelling@mykolab.com> writes:
> SDDM for the moment cannot run on Wayland yet, which is why it starts
> its own X server.
>
> I don't think I've had some of the problems you had with GNOME. Could
> you try logging in once via a display manager to GNOME (either X11 or
> Wayland is fine), then logging out, stopping the display manager and
> running the following command on a TTY:
>
> XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
I tried this, and it results in a GNOME-on-wayland session that seems to
work as well as it did when launched via SDDM, but with all of the same
problems I mentioned in my earlier email (except for the resource usage
due to Xorg-server/Qt/SDDM running in another VT).
In particular, the sound setting panel still crashes, and startup
notification is still broken for many GNOME programs including Nautilus
(Files), Totem (Videos), Evince (Documents), and Epiphany (Web).
Additionally, I've noticed that it's not possible to restart GNOME Shell
(via Alt-F2 r) under Wayland. That's not a Guix-specific problem, but
it's a particular problem for Guix because it's needed after updating
one's profile in order to reload the set of known .desktop files, so
that when launching programs via GNOME Shell the updated programs are
run instead of the older ones (which may have security holes).
> One of the problems I've run into myself is that X11 screen lockers
> like xlock don't seem to work. In GNOME GDM is supposed to be the
> screen locker I believe, but I don't think that works at the moment.
> I'll try and see if there's a simple Wayland-based screen locker we
> could use later.
FYI, here are the most recent updates on the efforts to get GDM working
in Guix:
https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00268.html
https://lists.gnu.org/archive/html/guix-devel/2017-10/msg00231.html
Thanks for your work on this!
Regards,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-01-08 16:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-24 13:20 GNOME on Wayland current status Rutger Helling
2018-01-01 16:53 ` Ludovic Courtès
2018-01-02 12:47 ` Rutger Helling
2018-01-04 2:52 ` Mark H Weaver
2018-01-04 8:38 ` ng0
2018-01-04 10:49 ` Rutger Helling
2018-01-04 12:43 ` ng0
2018-01-04 13:15 ` Catonano
2018-01-08 16:17 ` Mark H Weaver
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.