Wayland does not work on Gnome in Manjaro

I use both Pop_OS! and Manjaro in my desktop and in my notebook, with Gnome. In both I am able to run wayland or to have it as an option in the log in screen, except for Manjaro in my notebook. Since I want to use multiple monitors in the laptop with different resolutions, Wayland seems to be the option. Yet, all I get in my login is "Gnome" and "Gnome Classic", and I confirmed in all cases that x11 is running.
I am sure it is not hardware limitation because when running Pop_OS! 19.04 I do get Wayland to work, and very well. It is a macbook pro 11,5 (AMD radeon R9) and I tried various solutions I found in similar topics on this forum and on arch wiki as well.
For instance, editing /etc/gdm/custom.conf and adding:
‘WaylandEnable=true’
OR commenting out "WaylandEnable=false"
as suggested here did noting for me.
Also, adding the amdgpu driver in early KMS as suggested in the arch wiki did not work either.
I went through other variants of the above, all to no avail. It is specially frustrating for me because I tend to use Manjaro in my desktop a lot, but see myself mostly using Pop_OS! or Ubuntu in my notebook because of this issue. The hardware details are:

$ cat /etc/gdm/custom.conf
# GDM configuration storage

[daemon]
AutomaticLoginEnable=False
# Uncoment the line below to force the login screen to use Xorg
# WaylandEnable=false
WaylandEnable=True

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true
$ inxi -Fxzc0
System:
  Host: pcmbp16-manjaro Kernel: 5.2.1-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 9.1.0 Desktop: Gnome 3.32.2 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Apple product: MacBookPro11,5 v: 1.0 serial: <filter> 
  Mobo: Apple model: Mac-06F11F11946D27C5 v: MacBookPro11,5 serial: <filter> 
  UEFI: Apple v: 192.0.0.0.0 date: 04/18/2019 
Battery:
  ID-1: BAT0 charge: 76.4 Wh condition: 76.4/99.8 Wh (77%) 
  model: DP bq20z451 status: Full 
CPU:
  Topology: Quad Core model: Intel Core i7-4980HQ bits: 64 type: MT MCP 
  arch: Haswell rev: 1 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 44717 
  Speed: 998 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 998 2: 998 
  3: 998 4: 998 5: 999 6: 999 7: 999 8: 999 
Graphics:
  Device-1: AMD Venus XT [Radeon HD 8870M / R9 M270X/M370X] vendor: Apple 
  driver: radeon v: kernel bus ID: 01:00.0 
  Display: x11 server: X.org 1.20.5 driver: radeon 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: AMD VERDE (DRM 2.50.0 5.2.1-1-MANJARO LLVM 8.0.0) 
  v: 4.5 Mesa 19.1.2 direct render: Yes 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 
  Series] 
  vendor: Apple driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Device-3: Broadcom and subsidiaries 720p FaceTime HD Camera 
  driver: bdc-pci bus ID: 05:00.0 
  Sound Server: ALSA v: k5.2.1-1-MANJARO 
Network:
  Device-1: Broadcom and subsidiaries BCM43602 802.11ac Wireless LAN SoC 
  vendor: Apple driver: brcmfmac v: kernel port: 3000 bus ID: 04:00.0 
  IF: wlp4s0 state: down mac: <filter> 
  Device-2: Broadcom and subsidiaries NetXtreme BCM57762 Gigabit Ethernet 
  PCIe 
  vendor: Apple Thunderbolt to driver: tg3 v: 3.137 port: 3000 
  bus ID: 0b:00.0 
  IF: ens9 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.75 TiB used: 8.78 GiB (0.5%) 
  ID-1: /dev/nvme0n1 model: Aura Pro X2 size: 1.75 TiB 
Partition:
  ID-1: / size: 31.25 GiB used: 8.65 GiB (27.7%) fs: ext4 
  dev: /dev/nvme0n1p6 
Sensors:
  System Temperatures: cpu: 51.5 C mobo: N/A gpu: radeon temp: 60 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 247 Uptime: 33m Memory: 15.54 GiB used: 2.04 GiB (13.1%) 
  Init: systemd Compilers: gcc: N/A Shell: bash v: 5.0.7 inxi: 3.0.34 

Any help would be greatly appreciated.

Not even Ubuntu can get Wayland to work properly so when you have installed Ubuntu you are defaulting to X.

Even the devs have been working on Wayland for so long now - there is still so much work for them.

2 Likes

Thanks for the reply.
Yes, I know. I don´t really use it as my daily driver and simply stick with x11.
However, whenever I need to use a projector or want to have a display attached with a different resolution I use Wayland. In Pop_OS! the "Gnome on Wayland" option appears by default in my login screen. It does not show in Manjaro even after trying to force it.
In Pop_OS! it works well when using a projector.

Software - also operating systems - are tools and you choose the tool that gets the job done.

Ubuntu Wayland works fine on my install. Using 19.10.
The previous version, also worked without issue , using Wayland.

1 Like

Thanks, verndog.
What puzzles me is that we are talking about the same hardware, a macbook pro 11,5, having Pop_OS! with Wayland enabled and working flawless (so far, after 3 months) but not doing so with Manjaro no matter what I try. My next attempt will be to fiddle with boot parameters, which might work with the notebook's AMD R9 gpu as suggested at this article: Arch Wiki on AMDGPU / R9.
Let me know in case you have any suggestions.

I have wayland Gnome mostly working, I also have wayfire working. Both on a bog standard Clevo laptop Core i5.

When I say mostly, I mean I am struggling to hammer it into shape:
Screenshot%20from%202019-07-24%2019-02-29

Just select Gnome Wayland in your DM. I use sddm.

The problem is that I cannot select Wayland in my DM (Gnome). This option does not appear, no matter what I do.

OK, try this:

sudo pacman -S sddm
sudo systemctl enable sddm -f
reboot

To revert

sudo systemctl enable gdm -f
sudo pacman -R sddm
reboot

Can you see wayland now.

I will try the reverse now. Back shortly.

Done:
IMG_20190724_195837

Is the gear icon visible for you?

Before trying it I was getting the regular log in screen with the gear. When pressing the gear, I was only seeing the two first options you have in your screenshot. After the procedure I get a rather different login screen, with no gear. Upon login, I still see X11 (via env command).
I believe my login screen has some issues due to Gnome extensions being incompatible with sddn. I will try to boot disabling gnome extensions to see whether I get something closer to your login screen.

Sorry, that is GDM not sddm (I said I would do the reverse) Let me revert back - BRB :smiley:

Here is what I’m getting now as the login screen

image

I reverted and returned to status quo:

image

My sddm is heavily modified :slight_smile:
IMG_20190724_201145

If you click on gnome-classic what are the options?

That is weird, gnome & gnome classic, but no wayland. Which video drivers are you using?

(I assume your gnome is x?)

If I choose gnome classic I simply get a different DM, but no trace of Wayland.
Here is what I get if I choose gnome classic:

Output of inxi -Fxzc0

System:
Host: pcmbp16-manjaro Kernel: 5.2.1-1-MANJARO x86_64 bits: 64
compiler: gcc v: 9.1.0 Desktop: N/A Distro: Manjaro Linux
Machine:
Type: Laptop System: Apple product: MacBookPro11,5 v: 1.0 serial:
Mobo: Apple model: Mac-06F11F11946D27C5 v: MacBookPro11,5 serial:
UEFI: Apple v: 192.0.0.0.0 date: 04/18/2019
Battery:
ID-1: BAT0 charge: 76.7 Wh condition: 76.7/99.8 Wh (77%)
model: DP bq20z451 status: Full
CPU:
Topology: Quad Core model: Intel Core i7-4980HQ bits: 64 type: MT MCP
arch: Haswell rev: 1 L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 44713
Speed: 1098 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 998 2: 998
3: 998 4: 998 5: 998 6: 998 7: 1000 8: 998
Graphics:
Device-1: AMD Venus XT [Radeon HD 8870M / R9 M270X/M370X] vendor: Apple
driver: radeon v: kernel bus ID: 01:00.0
Display: x11 server: X.org 1.20.5 driver: ati,radeon unloaded: modesetting
resolution:
OpenGL: renderer: AMD VERDE (DRM 2.50.0 5.2.1-1-MANJARO LLVM 8.0.0)
v: 4.5 Mesa 19.1.2 direct render: Yes
Audio:
Device-1: Intel 8 Series/C220 Series High Definition Audio
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000
Series]
vendor: Apple driver: snd_hda_intel v: kernel bus ID: 01:00.1
Device-3: Broadcom and subsidiaries 720p FaceTime HD Camera
driver: bdc-pci bus ID: 05:00.0
Sound Server: ALSA v: k5.2.1-1-MANJARO
Network:
Device-1: Broadcom and subsidiaries BCM43602 802.11ac Wireless LAN SoC
vendor: Apple driver: brcmfmac v: kernel port: 3000 bus ID: 04:00.0
IF: wlp4s0 state: down mac:
Device-2: Broadcom and subsidiaries NetXtreme BCM57762 Gigabit Ethernet
PCIe
vendor: Apple Thunderbolt to driver: tg3 v: 3.137 port: 3000
bus ID: 0b:00.0
IF: ens9 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 1.75 TiB used: 8.82 GiB (0.5%)
ID-1: /dev/nvme0n1 model: Aura Pro X2 size: 1.75 TiB
Partition:
ID-1: / size: 31.25 GiB used: 8.68 GiB (27.8%) fs: ext4
dev: /dev/nvme0n1p6
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A gpu: radeon temp: 56 C
Fan Speeds (RPM): N/A
Info:
Processes: 253 Uptime: 10m Memory: 15.54 GiB used: 1.25 GiB (8.0%)
Init: systemd Compilers: gcc: N/A Shell: bash v: 5.0.7 inxi: 3.0.34

It is using the "radeon" driver. I tried to force amdgpu using early KMS start as mentioned in the first message above, but it simply ignored it.
My current hypothesis is that at some point in the boot process the hardware is deemed as non compatible with amdgpu and/or Wayland and neither gets enabled. This somewhat makes sense since Apple is know for tweaking the hardware. Yet, Pop_OS! and Ubuntu do not seem to be affected. I do get Wayland with them in this very same machine.

Same machine with stock Pop_OS! It runs Wayland smoothly:

Output of inxi -Fzxc0

System:
Host: pcmbp16ret-popos Kernel: 5.0.0-21-generic x86_64 bits: 64
compiler: gcc v: 8.3.0 Desktop: Gnome 3.32.1 Distro: Pop!_OS 19.04
base: Ubuntu 19.04 Disco
Machine:
Type: Laptop System: Apple product: MacBookPro11,5 v: 1.0 serial:
Mobo: Apple model: Mac-06F11F11946D27C5 v: MacBookPro11,5 serial:
UEFI: Apple v: 192.0.0.0.0 date: 04/18/2019
Battery:
ID-1: BAT0 charge: 76.3 Wh condition: 76.8/99.8 Wh (77%)
model: DP bq20z451 status: Discharging
CPU:
Topology: Quad Core model: Intel Core i7-4980HQ bits: 64 type: MT MCP
arch: Haswell rev: 1 L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44698
Speed: 2891 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 2646 2: 2579
3: 2779 4: 2593 5: 2896 6: 2785 7: 2785 8: 2644
Graphics:
Device-1: AMD Venus XT [Radeon HD 8870M / R9 M270X/M370X] vendor: Apple
driver: radeon v: kernel bus ID: 01:00.0
Display: wayland server: X.Org 1.20.4 driver: radeon
resolution: 2880x1800~60Hz
OpenGL: renderer: AMD VERDE (DRM 2.50.0 5.0.0-21-generic LLVM 8.0.0)
v: 4.5 Mesa 19.0.2 direct render: Yes
Audio:
Device-1: Intel 8 Series/C220 Series High Definition Audio
driver: snd_hda_intel v: kernel bus ID: 00:1b.0
Device-2: AMD Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
vendor: Apple driver: snd_hda_intel v: kernel bus ID: 01:00.1
Device-3: Broadcom and subsidiaries 720p FaceTime HD Camera
driver: bdc-pci bus ID: 05:00.0
Sound Server: ALSA v: k5.0.0-21-generic
Network:
Device-1: Broadcom and subsidiaries BCM43602 802.11ac Wireless LAN SoC
vendor: Apple driver: brcmfmac v: kernel port: 3000 bus ID: 04:00.0
IF: wlp4s0 state: up mac:
Device-2: Broadcom and subsidiaries NetXtreme BCM57762 Gigabit Ethernet
PCIe
vendor: Apple Thunderbolt to driver: tg3 v: 3.137 port: 3000
bus ID: 0b:00.0
IF: ens9 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 1.75 TiB used: 348.13 GiB (19.5%)
ID-1: /dev/nvme0n1 model: Aura Pro X2 size: 1.75 TiB
Partition:
ID-1: / size: 62.74 GiB used: 19.34 GiB (30.8%) fs: ext4
dev: /dev/nvme0n1p5
Sensors:
System Temperatures: cpu: 81.0 C mobo: N/A gpu: radeon temp: 68 C
Fan Speeds (RPM): N/A
Info:
Processes: 288 Uptime: 5m Memory: 15.54 GiB used: 2.60 GiB (16.8%)
Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3
inxi: 3.0.33

Note that the driver is the same used by Manjaro in this machine (radeon), so it is not the culprit.
image

Well stumped here, will search the internet and report back if I find anything.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by