Wayland - black screen, and then can't run Cinnamon

Questions about the experimental Wayland support on Linux Mint Cinnamon
Forum rules
Include your system information for help with troubleshooting. Report reproducible issues related to Wayland, whether for Cinnamon, an XApp, a Mint tool or any Linux Mint maintained software on the dedicated issue tracker. Topics in this forum are automatically closed after 6 months.
kusk0r
Level 1
Level 1
Posts: 2
Joined: Sun May 19, 2024 8:34 am

Re: Wayland - black screen, and then can't run Cinnamon

Post by kusk0r »

Posting this in case it can help someone else.

I would also get black screen when logging in to Cinnamon on Wayland.

From what I remeber i used to work in the begining. I am unsure if an update broke it or installing a theme. I remember also adding my keyboard layout by Cinnamon/X11 and hoping it might work in Wayland. First time it broke, after login to Cinnamon/Wayland I got a black screen with a small white cursor on the upper left corner.
New attempts after reboot gave the same result. I could however log in to Cinnamon/X11. After rebooting from an X11 session I could log in to Cinnamon/Wayland. But it would still give a black screen after rebooting and going again into Cinnamon/Wayland.

If I would log in to Cinnamon/Wayland, then reboot into another distro and go into my home dir and remove the config files, I could then again log in to Cinnamon/Wayland once, but on the next reboot again black screen after log in to Cinnamon/Wayland.

I was suspecting some change in a config file would resolve this but could not find any info. Made a new user. Same story there, first log in to Cinnamon Wayland works, next login black screen.

In the .xsession/errors file I found

libEGL warning: failed to open /dev/dri/renderD128: Permission denied
libEGL warning: failed to open /dev/dri/card0: Permission denied

These are owned by the render group (in my system anyway), added my user to the render group and since then I can get into Cinnamon/Wayland. Mouse is locked though, sometimes keyborad also. Have to reconnect them to the motherboard and then everything works.
Last edited by kusk0r on Sun May 19, 2024 9:51 am, edited 1 time in total.
User avatar
SMG
Level 25
Level 25
Posts: 33959
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Wayland - black screen, and then can't run Cinnamon

Post by SMG »

kusk0r wrote: Sun May 19, 2024 9:03 amI would also get black screen when logging in to Cinnamon on Wayland.
Welcome to the Linux Mint forum, kusk0r.

It would be helpful if you provide information about your system. Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.

If you are not running Linux Mint, give us information about your install by entering this command in a terminal:

Code: Select all

LANG=C inxi -Fxxxrzc0 --usb
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]Results[/code].
Image
A woman typing on a laptop with LM20.3 Cinnamon.
kusk0r
Level 1
Level 1
Posts: 2
Joined: Sun May 19, 2024 8:34 am

Re: Wayland - black screen, and then can't run Cinnamon

Post by kusk0r »

SMG wrote: Sun May 19, 2024 9:13 am
kusk0r wrote: Sun May 19, 2024 9:03 amI would also get black screen when logging in to Cinnamon on Wayland.
Welcome to the Linux Mint forum, kusk0r.

It would be helpful if you provide information about your system. Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.

If you are not running Linux Mint, give us information about your install by entering this command in a terminal:

Code: Select all

LANG=C inxi -Fxxxrzc0 --usb
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]Results[/code].

Code: Select all

System:
  Kernel: 6.5.0-35-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
    wm: muffin vt: 8 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG MAXIMUS Z790 HERO v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1801 date: 12/08/2023
CPU:
  Info: 24-core (8-mt/16-st) model: Intel Core i9-14900K bits: 64 type: MST AMCP smt: enabled
    arch: N/A rev: 1 cache: L1: 2.1 MiB L2: 32 MiB L3: 36 MiB
  Speed (MHz): avg: 1407 high: 5797 min/max: 800/5700:6000:4400 cores: 1: 800 2: 800 3: 800
    4: 800 5: 800 6: 800 7: 800 8: 800 9: 5485 10: 5471 11: 5797 12: 800 13: 4056 14: 800 15: 800
    16: 800 17: 800 18: 800 19: 2618 20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800
    27: 800 28: 800 29: 800 30: 800 31: 800 32: 800 bogomips: 203980
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA vendor: Micro-Star MSI driver: nvidia v: 535.171.04 pcie: speed: 2.5 GT/s
    lanes: 16 ports: active: none off: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:2684 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: 0
  OpenGL: renderer: llvmpipe (LLVM 15.0.7 256 bits) v: 4.5 Mesa 23.2.1-1ubuntu3.1~22.04.2
    direct render: Yes
Audio:
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22ba class-ID: 0403
  Device-3: ASUSTek USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6:3
    chip-ID: 0b05:1a53 class-ID: 0300
  Device-4: SteelSeries ApS Arctis Pro Wireless type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-7.2.3:12 chip-ID: 1038:1294 class-ID: 0300
  Sound Server-1: ALSA v: k6.5.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel vendor: ASUSTeK driver: igc v: kernel pcie: speed: 5 GT/s lanes: 1 port: N/A
    bus-ID: 08:00.0 chip-ID: 8086:125c class-ID: 0200
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Hardware-1: Intel Device driver: vmd v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:a77f rev:
    class-ID: 0104
Drives:
  Local Storage: total: 32.11 TiB used: 228.75 GiB (0.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7 temp: 31.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 2TB size: 1.82 TiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B2QEXM7 temp: 49.9 C scheme: GPT
  ID-3: /dev/nvme2n1 vendor: Kingston model: SFYRD2000G size: 1.82 TiB speed: 63.2 Gb/s lanes: 4
    type: SSD serial: <filter> rev: EIFK31.6 temp: 35.9 C scheme: GPT
  ID-4: /dev/nvme3n1 vendor: Kingston model: SKC3000D2048G size: 1.86 TiB speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: EIFK31.6 temp: 42.9 C scheme: GPT
  ID-5: /dev/sda vendor: Seagate model: ST4000VN000-1H4168 size: 3.64 TiB speed: 6.0 Gb/s
    type: HDD rpm: 5900 serial: <filter> rev: SC43 scheme: GPT
  ID-6: /dev/sdb vendor: Seagate model: ST2000DX001-1NS164 size: 1.82 TiB speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: CC41 scheme: MBR
  ID-7: /dev/sdc vendor: Seagate model: ST18000NM000J-2TV103 size: 16.37 TiB speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: SN02 scheme: GPT
  ID-8: /dev/sdd vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB speed: 6.0 Gb/s
    type: HDD rpm: 5425 serial: <filter> rev: 0001 scheme: GPT
  ID-9: /dev/sde type: USB vendor: Samsung model: Flash Drive FIT size: 239.02 GiB type: SSD
    serial: <filter> rev: 1100 scheme: GPT
Partition:
  ID-1: / size: 76.35 GiB used: 18.13 GiB (23.7%) fs: ext4 dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p9
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-5:2 info: Alcor Micro USB Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 058f:6254 class-ID: 0900
  Device-1: 1-5.1:4 info: SteelSeries ApS Mouse type: HID,Mouse driver: hid-generic,usbhid
    interfaces: 3 rev: 1.1 speed: 12 Mb/s power: 200mA chip-ID: 1038:1720 class-ID: 0300
  Device-2: 1-6:3 info: ASUSTek USB Audio type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 8 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 0b05:1a53 class-ID: 0300
  Hub-3: 1-7:5 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 174c:2074 class-ID: 0900
  Hub-4: 1-7.2:7 info: Texas Instruments TUSB2036 Hub ports: 3 rev: 1.1 speed: 12 Mb/s
    chip-ID: 0451:2036 class-ID: 0900
  Device-1: 1-7.2.2:10 info: SteelSeries ApS Arctis Pro Wireless type: HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1038:1290
    class-ID: 0300
  Device-2: 1-7.2.3:12 info: SteelSeries ApS Arctis Pro Wireless type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 6 rev: 1.1 speed: 12 Mb/s power: 100mA
    chip-ID: 1038:1294 class-ID: 0300
  Device-3: 1-7.4:9 info: SteelSeries ApS Apex Pro type: Keyboard,HID driver: hid-generic,usbhid
    interfaces: 5 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1038:1610 class-ID: 0300
  Hub-5: 1-8:6 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 174c:2074 class-ID: 0900
  Hub-6: 1-10:8 info: Alcor Micro USB Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 058f:6254 class-ID: 0900
  Device-1: 1-11:11 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA chip-ID: 0b05:18f3 class-ID: 0300
    serial: <filter>
  Hub-7: 2-0:1 info: Super-speed hub ports: 9 rev: 3.1 speed: 20 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-8: 2-7:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0 speed: 5 Gb/s power: 8mA
    chip-ID: 174c:3074 class-ID: 0900
  Hub-9: 2-8:3 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0 speed: 5 Gb/s power: 8mA
    chip-ID: 174c:3074 class-ID: 0900
  Device-1: 2-8.1:4 info: Silicon Motion - Taiwan (formerly Feiya ) Flash Drive
    type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s power: 304mA
    chip-ID: 090c:1000 class-ID: 0806 serial: <filter>
  Hub-10: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-11: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2290 apt: 2282 flatpak: 8
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 547 Uptime: 1m wakeups: 0 Memory: 31.04 GiB used: 2.21 GiB (7.1%) Init: systemd
  v: 249 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13
Sorry for not attaching the required info. Now after a few reboots I see that keyboard and mouse work if I just wait a few seconds to type in my login password. Typing the password in the login window directly will resulted in no mouse&keyboard, which resolves after reconnecting the devices. I don\t intend to hijack the thread with another issue. The point with my previous reply was mostly to inform others about the possible permissions issue causing black screen in Cinnamon/Wayland.
User avatar
SMG
Level 25
Level 25
Posts: 33959
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Wayland - black screen, and then can't run Cinnamon

Post by SMG »

kusk0r wrote: Sun May 19, 2024 9:48 amThe point with my previous reply was mostly to inform others about the possible permissions issue causing black screen in Cinnamon/Wayland.
The original poster has Intel graphics and not the proprietary Nvidia graphics your system has. That makes a difference in this type of issue. I suspect you will get better performance once you move to the Nvidia-550 driver. Nvidia is switching away from using EGL and will be using GBM going forward.

By the way, you have very new hardware and will want to stay on top of BIOS/UEFI updates. If this is the correct link, the latest version is 2202.

Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: ROG MAXIMUS Z790 HERO v: Rev 1.xx serial: <superuser required>
UEFI: American Megatrends v: 1801 date: 12/08/2023
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Cinnamon on Wayland”