[opensuse-factory] GNOME Wayland (in QEMU)
I'm trying to play with Wayland. The issues so far 1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user. I presume this is the old "patterns are not self contained" issue (I never managed to recreate anything proposed by installer post-installation, which is why I was rather sad seeing these choices removed from installation dialogue). 2. In lightdm I see two GNOME sessions and one "GNOME Xorg" session. Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop? 3. I can select Weston in lightdm and it actually works - it starts weston (and loginctl confirms that session type is wayland), so wayland itself sort of works - but keyboard is unusable. It seems to miss key presses/releases, so first no character is entered, when I press the same character once more it often starts auto-repeat filling screen with the same character over and over. 4. I can start GNOME wayland from tty using XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session but session type remains tty and I have exactly the same issue with keyboard (now in gnome-terminal instead of weston-terminal). Any ideas? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/30/2017 02:13 AM, Andrei Borzenkov wrote:
I'm trying to play with Wayland. The issues so far
1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user.
Weird. No problems here with GDM. But I did install the "Gnome Base System" and "Gnome Desktop Environment" patterns.
2. In lightdm I see two GNOME sessions and one "GNOME Xorg" session.
That's probably not going to work. When I last experimented with this, I could only start Gnome-Wayland with either GDM or SDDM. And I could only start Plasma-Wayland with SDDM. That was a few months ago, so perhaps it has changed. I was unable to start any Wayland session with "lightdm". Gnome-Wayland seems to work pretty well if started from GDM. If I start from SDDM, then the Gnome keyring is not open for the session.
Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop?
Starting Gnome-Wayland from GDM, I think depends on GDM itself running under Wayland. If I use SDDM, then I don't think that runs under Wayland, and it can start Gnome-Wayland. Oh, and yes, running an "xterm" in Gnome-Wayland, I do sometimes have a key press spurt out a whole line of duplicates of that character. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
30.07.2017 15:39, Neil Rickert пишет:
On 07/30/2017 02:13 AM, Andrei Borzenkov wrote:
I'm trying to play with Wayland. The issues so far
1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user.
Weird. No problems here with GDM. But I did install the "Gnome Base System" and "Gnome Desktop Environment" patterns.
There is no "GNOME Base System" pattern (at least none under this name in zypper). I installed "GNOME Desktop Environment" but this did not change anything - whatever session I chose in GDM I get just "Sorry, this did not work. Please try again". ...
Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop?
Starting Gnome-Wayland from GDM, I think depends on GDM itself running under Wayland.
And how do I start GDM under Wayland? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
30.07.2017 21:28, Andrei Borzenkov пишет:
30.07.2017 15:39, Neil Rickert пишет:
On 07/30/2017 02:13 AM, Andrei Borzenkov wrote:
I'm trying to play with Wayland. The issues so far
1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user.
Weird. No problems here with GDM. But I did install the "Gnome Base System" and "Gnome Desktop Environment" patterns.
There is no "GNOME Base System" pattern (at least none under this name in zypper). I installed "GNOME Desktop Environment" but this did not change anything - whatever session I chose in GDM I get just "Sorry, this did not work. Please try again".
I reinstalled TW selecting GNOME Desktop and GDM works. Go figure ...
...
Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop?
Starting Gnome-Wayland from GDM, I think depends on GDM itself running under Wayland.
And how do I start GDM under Wayland?
I still do not see how I am supposed to start GNOME under Wayland, even though this is allegedly default in GNOME 3.24. Selecting GNOME session in GDM start X session. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/30/2017 02:45 PM, Andrei Borzenkov wrote:
I still do not see how I am supposed to start GNOME under Wayland, even though this is allegedly default in GNOME 3.24. Selecting GNOME session in GDM start X session.
In Tumbleweed that I installed two years ago, it just works. In a more recently installed Tumbleweed, I had the same problem. It turned out that currently Tumbleweed is not installing Gnome-session-wayland. Once I installed that, it worked. It might require rebooting first. There's another problem you might run into. If you start Gnome-xorg, then try Gnome (without the "xorg"), that might fail due to logout from Gnome not terminating processes that are still using xorg. And the same happens the other way -- if you first login to Gnome-wayland, then later try gnome-xorg, that might fail. Killing old process (or rebooting) should fix. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
30.07.2017 23:35, Neil Rickert пишет:
On 07/30/2017 02:45 PM, Andrei Borzenkov wrote:
I still do not see how I am supposed to start GNOME under Wayland, even though this is allegedly default in GNOME 3.24. Selecting GNOME session in GDM start X session.
In Tumbleweed that I installed two years ago, it just works.
In a more recently installed Tumbleweed, I had the same problem. It turned out that currently Tumbleweed is not installing Gnome-session-wayland. Once I installed that, it worked. It might require rebooting first.
After installing gnome-session-wayland I'm back to "Sorry, this didn't work" after selecting any session in GDM. Removing this package did not help even after restart; but removing xorg-x11-server-wayland did. So it still does not work ... either no wayland or no session at all. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
31.07.2017 06:39, Andrei Borzenkov пишет:
30.07.2017 23:35, Neil Rickert пишет:
On 07/30/2017 02:45 PM, Andrei Borzenkov wrote:
I still do not see how I am supposed to start GNOME under Wayland, even though this is allegedly default in GNOME 3.24. Selecting GNOME session in GDM start X session.
In Tumbleweed that I installed two years ago, it just works.
In a more recently installed Tumbleweed, I had the same problem. It turned out that currently Tumbleweed is not installing Gnome-session-wayland. Once I installed that, it worked. It might require rebooting first.
After installing gnome-session-wayland I'm back to "Sorry, this didn't work" after selecting any session in GDM. Removing this package did not help even after restart; but removing xorg-x11-server-wayland did.
So it still does not work ... either no wayland or no session at all.
I gave it one more try with the same result. This time TW was installed with GNOME desktop from the very beginning. Once I installed gnome-session-wayland and xorg-x11-server-wayland, I cannot login either with "GNOME" or with "GNOME Xorg" session. gdm itself runs in wayland, so it does not look like wayland issue, at least directly. I am not sure where to look either. Where are gdm logs nowadays? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 11/11/2017 12:30 AM, Andrei Borzenkov wrote:
31.07.2017 06:39, Andrei Borzenkov пишет:
I gave it one more try with the same result. This time TW was installed with GNOME desktop from the very beginning. Once I installed gnome-session-wayland and xorg-x11-server-wayland, I cannot login either with "GNOME" or with "GNOME Xorg" session. gdm itself runs in wayland, so it does not look like wayland issue, at least directly.
I am not sure where to look either. Where are gdm logs nowadays?
It's working here, though not very well. I installed Tumbleweed under KVM, including gnome-session-wayland. Using "gdm", I do get wayland sessions. But it looks a bit unstable. The screen flickers for every keypress and for every mouse move. So, most of the time, I use "lightdm" and Xorg rather than "gdm" and wayland. I also have Ubuntu-17.10 installed under KVM. And that seems to be rock-solid using wayland. And Tumbleweed Gnome/Wayland is solid when installed on the real computer rather than under KVM. As for "gdm" logs, I am seeing them in "/var/log/messages". That's on real hardware with a syslog service installed. I assume that otherwise they are in systemd-journal. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Neil Rickert <nrickert@ameritech.net> [01-01-70 12:34]: [...]
As for "gdm" logs, I am seeing them in "/var/log/messages". That's on real hardware with a syslog service installed. I assume that otherwise they are in systemd-journal.
if you want to see them in /var/log/messages, you need to install one of the syslog services. I perfer rsyslog. and you may want to alter /etc/systemd/journald.conf -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
11.11.2017 18:12, Neil Rickert пишет:
On 11/11/2017 12:30 AM, Andrei Borzenkov wrote:
31.07.2017 06:39, Andrei Borzenkov пишет:
I gave it one more try with the same result. This time TW was installed with GNOME desktop from the very beginning. Once I installed gnome-session-wayland and xorg-x11-server-wayland, I cannot login either with "GNOME" or with "GNOME Xorg" session. gdm itself runs in wayland, so it does not look like wayland issue, at least directly.
I am not sure where to look either. Where are gdm logs nowadays?
It's working here, though not very well.
For whatever reasons when wayland is enabled gdm fails to authenticate user. Oh well ... https://bugzilla.opensuse.org/show_bug.cgi?id=1067754 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
11.11.2017 19:56, Andrei Borzenkov пишет:
11.11.2017 18:12, Neil Rickert пишет:
On 11/11/2017 12:30 AM, Andrei Borzenkov wrote:
31.07.2017 06:39, Andrei Borzenkov пишет:
I gave it one more try with the same result. This time TW was installed with GNOME desktop from the very beginning. Once I installed gnome-session-wayland and xorg-x11-server-wayland, I cannot login either with "GNOME" or with "GNOME Xorg" session. gdm itself runs in wayland, so it does not look like wayland issue, at least directly.
I am not sure where to look either. Where are gdm logs nowadays?
It's working here, though not very well.
For whatever reasons when wayland is enabled gdm fails to authenticate user. Oh well ...
FTR - seems QEMU problem, runs OK using current QEMU git. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/30/2017 02:45 PM, Andrei Borzenkov wrote:
I still do not see how I am supposed to start GNOME under Wayland, even though this is allegedly default in GNOME 3.24. Selecting GNOME session in GDM start X session.
Getting back to an old thread from July. I currently have Ubuntu 17.10 under QEMU. And Wayland is working. When setting up for a KVM install, I set it to use "vnc" instead of "spice". That seems to be the missing clue. It seems that "vnc" supports Wayland, but "spice" doesn't. I should add that I am running KVM under Leap 42.3. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 30/07/17 03:13 AM, Andrei Borzenkov wrote:
I'm trying to play with Wayland. The issues so far
It makes me wonder. Whatever the future may hold for rendering methods, right now I can't get GDM or SDDM to work either. No prejudice against Wayland in principle, but why to I have the linraries loaded if I can't use them? -- To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 30/07/2017 04:13, Andrei Borzenkov ha scritto:
I'm trying to play with Wayland. The issues so far
1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user. I presume this is the old "patterns are not self contained" issue (I never managed to recreate anything proposed by installer post-installation, which is why I was rather sad seeing these choices removed from installation dialogue).
2. In lightdm I see two GNOME sessions and one "GNOME Xorg" session. Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop?
3. I can select Weston in lightdm and it actually works - it starts weston (and loginctl confirms that session type is wayland), so wayland itself sort of works - but keyboard is unusable. It seems to miss key presses/releases, so first no character is entered, when I press the same character once more it often starts auto-repeat filling screen with the same character over and over.
The missing key issue is present here when Cinnamon ScreenSaver blocks the screen after long time of inactivity, if I try to input my password it looses at least one key so I'm unable to login. In addition by clicking on the login as another user icon is not working here. I dunno if the problems are related but when I read "miss key presses" I thought worth to post my recent experience also if I'm using Cinnamon as default DE.
4. I can start GNOME wayland from tty using
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
but session type remains tty and I have exactly the same issue with keyboard (now in gnome-terminal instead of weston-terminal).
Any ideas?
Cheers, -- Marco Calistri
participants (5)
-
Andrei Borzenkov
-
Anton Aylward
-
Marco Calistri
-
Neil Rickert
-
Patrick Shanahan