this post was submitted on 14 Apr 2024
12 points (92.9% liked)

Arch Linux

7763 readers
4 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Hello, I'm facing some rather annoying issues with running KDE6 on Wayland. Despite consulting the Arch Wiki and various online resources, I haven't been able to get it working. X11 works fine, so I've been sticking with X exclusively due to my limited experience with desktop Linux and troubleshooting.

For context, my setup includes an AMD 7950x with Unraid as the main OS. My daily desktop runs on a mainline Arch VM with an RTX 3070ti and a dedicated USB controller card passed through. This setup has been stable for months, serving my gaming and media needs.

When attempting a Wayland session, I select it, observe a brief black screen flash, and then return to the login prompt. This issue persisted through upgrades and tests on different distributions like Manjaro and Endeavor. I've also tried multiple Wayland compositors, all with the same outcome.

The only success I've had with Wayland was on Garuda, which defaults to Wayland. I'm keen on using Wayland due to its evolving features, especially since it's essential for running Waydroid.

Any assistance would be greatly appreciated. While my use case may be unique, Waydroid is crucial for specific Android apps vital to my workflow.

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 7 months ago (1 children)

I do not think your issues are in any way unique. I am also using Plasma 6 on Arch with a 3080 Ti. Initially, it simply booted to a black screen with nothing but a cursor, and no ability to do anything.

Adding the changes to /etc/mkinitcpio.conf per @[email protected] 's reply as well as adding those kernel params to my /boot/refind_linux.conf, and now it boots into a desktop, but I am seeing large amounts of flickering, windows going black, or visual elements flickering in and out. Looking at my installed packages, I already had both xorg-xwayland and wayland-protocols (per @[email protected] 's reply) installed.

It seems like there are still more steps before what I would consider a usable result. Personally, it was not "obvious" to me when Plasma 6 rolled out that I needed to do any of this.

[–] [email protected] 3 points 7 months ago (1 children)

Some of the flickering can be gotten rid of by disabling hardware-acceleration for qtwebengine.

I've got
`export QTWEBENGINE_DISABLE_GPU_THREAD=1

export QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing --num-raster-threads=1 --enable-viewport --main-frame-resizes-are-orientation-changes --disable-composited-antialiasing"`
in .bashrc.

Note that there is still enough flickering left to annoy, and some (appimage?) apps dont seem to register the setting.

[–] [email protected] 1 points 7 months ago (1 children)

Thanks for the reply!

I tried this, and it does not seem to have helped much, if at all. Visual elements like scroll bars and text boxes in Steam continue to flicker, and apps like Discord flicker or go completely black randomly. My main use case for this desktop is gaming, so sadly without more of a fix I am not sure that I can move away from X11 yet.

[–] [email protected] 2 points 6 months ago

Confirming, this is also my experience as well. It's unfortunate but a thing regardless.