Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

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.
Post Reply
mibagents
Level 1
Level 1
Posts: 7
Joined: Tue Aug 23, 2016 7:53 pm

Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

Post by mibagents »

Below is my system info but the short version is i have an Asus vivobook AMD5000 running Radeon graphics. My OS is Fedora because LMDE couldn't use my wifi card and I didn't want to go changing it out. None of that is really relevant though, here's the issue: I run Cinnamon and decided to try the Wayland Experiment and it basically crashes my computer. Like it literally shuts off and I have to turn the computer back on.

I know you're probably focusing on Mint first but I just wanted to contribute my experience if it can be any help.

Code: Select all

System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39 clocksource: tsc
  Desktop: Cinnamon v: 6.0.4 tk: GTK v: 3.24.41 wm: Muffin vt: 2 dm: 1: GDM
    v: 45.0.1 2: LightDM v: 1.32.0 note: stopped Distro: Fedora Linux 39
    (Workstation Edition)
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M1603QA_M1603QA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: M1603QA v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: M1603QA.308
    date: 05/22/2023
Battery:
  ID-1: BAT0 charge: 38.0 Wh (76.6%) condition: 49.6/50.0 Wh (99.1%)
    power: 6.3 W volts: 11.9 min: 11.9 model: ASUSTeK ASUS Battery type: Li-ion
    serial: N/A status: discharging cycles: 44
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5800HS with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB
    L3: 16 MiB
  Speed (MHz): avg: 831 high: 2894 min/max: 400/4463 cores: 1: 400 2: 2224
    3: 1850 4: 400 5: 400 6: 400 7: 400 8: 400 9: 2894 10: 1534 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 102202
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
    lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:1638 class-ID: 0300 temp: 37.0 C
  Device-2: BillionPixels USB2.0 HD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-3:3 chip-ID: 322e:2012
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
    s-diag: 599mm (23.57")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x1618 res: 1920x1200
    hz: 60 dpi: 142 size: 344x215mm (13.54x8.46") diag: 406mm (16") modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6 vendor: amd mesa v: 23.3.5 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir LLVM
    17.0.6 DRM 3.57 6.7.4-200.fc39.x86_64) device-ID: 1002:1638
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 03:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8852BE PCIe 802.11ax Wireless Network vendor: AzureWave
    driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000
    bus-ID: 01:00.0 chip-ID: 10ec:b852 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
    rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-2:2 chip-ID: 13d3:3571
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 class-ID: 6c010c
Drives:
  Local Storage: total: 476.94 GiB used: 78.72 GiB (16.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL4512HBLU-00BTW
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HXC70W1Q temp: 27.9 C scheme: GPT
Partition:
  ID-1: / size: 145.48 GiB used: 78.32 GiB (53.8%) fs: btrfs
    dev: /dev/nvme0n1p7
  ID-2: /boot size: 973.4 MiB used: 350 MiB (36.0%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-3: /boot/efi size: 256 MiB used: 64.8 MiB (25.3%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 145.48 GiB used: 78.32 GiB (53.8%) fs: btrfs
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 39.9 C mobo: N/A gpu: amdgpu temp: 37.0 C
  Fan Speeds (rpm): cpu: 0
Repos:
  Packages: pm: flatpak pkgs: 34
  No active dnf repos in: /etc/dnf/dnf.conf
  Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
    1: copr:copr.fedorainfracloud.org:phracek:PyCharm ~ https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/fedora-$releasever-$basearch/
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
    1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
    1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/fedora.repo
    1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/google-chrome.repo
    1: google-chrome ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64
  Active yum repos in: /etc/yum.repos.d/megasync.repo
    1: MEGAsync ~ https://mega.nz/linux/repo/Fedora_$releasever/
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
    1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
    1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
    1: rpmfusion-nonfree-nvidia-driver ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
    1: rpmfusion-nonfree-steam ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
    1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo
    1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
Info:
  Memory: total: 12 GiB note: est. available: 11.08 GiB used: 3.23 GiB (29.1%)
  Processes: 437 Power: uptime: 20m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform Init: systemd v: 254 target: graphical (5)
    default: graphical
  Compilers: N/A Shell: Bash v: 5.2.26 running-in: gnome-terminal
    inxi: 3.3.32
User avatar
SMG
Level 25
Level 25
Posts: 32438
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

Post by SMG »

mibagents wrote: Mon Feb 19, 2024 9:24 pmI run Cinnamon and decided to try the Wayland Experiment and it basically crashes my computer. Like it literally shuts off and I have to turn the computer back on.
While Cinnamon on Wayland is alpha stage, having it crash your computer such that you cannot even get in is not expected. I've gone through your output and, because Wayland is still experimental, we are still learning so the questions I'm asking may or many not have relevance. It's just the ideas I currently have.

I notice you have both GDM and LightDM installed. Do you know if you were using LightDM when you switched? (I presume you logged out and then logged into Wayland. Let us know if that is not correct.)

Are you having any issues with Cinnamon while on X11 (ie. do you have multiple users and run into the bug which happens when switching them)?

Are you running your laptop screen at its max resolution (ie. not using fractional scaling)?

Because you are restarting after the crash, we can maybe get some journalctl info (if Fedora has it running by default and it is persistent) to possibly see what happened. That helped in this topic.

The below is what we focused on in the other topic (adapted for your AMD situation):

Code: Select all

journalctl -b -1 | grep -i "drm\|amdgpu\|03:00.0\|wayland"
Usually when investigating crashes, I have people check the last 100 or 200 lines to see if it shows a cause. I have no guesses at all at this time as to what may have happened so I don't know if 100 or more might be needed to see the issue.

Code: Select all

journalctl -b -1 | tail -n 100
Driver or kernel crashes can produce a lot of lines so it depends on what happened as to how far back one needs to go to see what was the initial trigger. I don't know comfortable you are with reading logs so if you need help let us know. If you are comfortable with them and can see what the issue is and just want to post those lines, that is also fine.

You're running btrfs so while that should not make a difference, I'm just noting it is different than the others who have posted so far when testing Cinnamon on Wayland.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mibagents
Level 1
Level 1
Posts: 7
Joined: Tue Aug 23, 2016 7:53 pm

Re: Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

Post by mibagents »

I'm not sure about the display manager, do the DE's bring their own to the table? Because this is Workstation so I have Gnome, but I added Cinnamon for "casual" time and use Gnome when I want to focus hard on work.

I'll find the logs, I'm sure Fedora has something and I'll see what I can find. I'm, eh , mid? about reading such things. I think I know what keywords to look for at least lol.
User avatar
SMG
Level 25
Level 25
Posts: 32438
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

Post by SMG »

mibagents wrote: Tue Feb 20, 2024 11:38 am I'm not sure about the display manager, do the DE's bring their own to the table? Because this is Workstation so I have Gnome, but I added Cinnamon for "casual" time and use Gnome when I want to focus hard on work.
Cinnamon uses LightDM so it would likely have added that.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
JosephM
Level 6
Level 6
Posts: 1466
Joined: Sun May 26, 2013 6:25 pm

Re: Cinnamon 6.0 and wayland support - (AMD graphics on Fedora)

Post by JosephM »

SMG wrote: Wed Feb 21, 2024 2:33 pm
mibagents wrote: Tue Feb 20, 2024 11:38 am I'm not sure about the display manager, do the DE's bring their own to the table? Because this is Workstation so I have Gnome, but I added Cinnamon for "casual" time and use Gnome when I want to focus hard on work.
Cinnamon uses LightDM so it would likely have added that.
Cinnamon doesn't depend on lightdm in any way. If you are using GNOME you are mostly likely using GDM3 or you wouldn't have proper lock screen functionality.
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.
Post Reply

Return to “Cinnamon on Wayland”