I'm still trying to get Wayland to work reliably. At the moment I log in at a TTY, then fire it up with "startplasma-wayland" ... except it doesn't start properly!

I'm GUESSING part of the problem is my video card isn't set up properly. But I thought I'd followed the gentoo guide, and compiled the Radeon and R600 drivers into my kernel. I prefer to compile stuff in the kernel and not as modules, and I told it to load the drivers into the kernel, but am worried I might have missed something. I've changed it for the next kernel so it'll be a module loading what it wants from the firmware directory, so hopefully that'll be better but I'm not sure.

I did an lspci -k and got this for the video card ...

09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710 [Radeon HD 4350/4550]
        Subsystem: ASUSTeK Computer Inc. RV710 [Radeon HD 4350/4550]
        Kernel driver in use: radeon
        Kernel modules: radeon

I notice it says "VGA compatible", and not what the wiki page leads me to expect - something like "Video driver" - which makes me think the card isn't set up properly.

The symptoms basically are that wayland always hangs the first attempt to start it. Once killed from another tty it MAY (or may not) start successfully.


I mentioned Thunderbird - that keeps on losing contact with the compositor or something which is why it keeps crashing ...


And I run a multi-user system. I tried to fire up wayland as a second user, and got the error

kwin_xwl: /tmp/.X11-unix is not owned by root or us

Of course it isn't - it's not a user specific link so of course it's going to clash with another user!

I attach the wayland log I got in case it gives anybody any other clues as to what's going on.

Cheers,
Wol
No backend specified through command line argument, trying auto resolution
kwin_wayland_drm: drmSetClientCap for Atomic Mode Setting failed. Using legacy 
mode on GPU "/dev/dri/card0"
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5089:46: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5091:48: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5093:48: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5097:47: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5099:46: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5107:48: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5111:46: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5113:46: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5117:45: this 
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5120:46: this 
compose sequence is a duplicate of another; skipping line
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 AMD RV710 (DRM 2.50.0 / 5.10.74-gentoo, 
LLVM 13.0.0)
OpenGL version string:                  3.0 Mesa 21.2.5
OpenGL shading language version string: 1.30
Driver:                                 R600G
GPU class:                              Unknown
OpenGL version:                         3.0
GLSL version:                           1.30
Mesa version:                           21.2.5
Linux kernel version:                   5.10.74
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Filter multi-plane format 961959257
Filter multi-plane format 825316697
Filter multi-plane format 842093913
Filter multi-plane format 909202777
Filter multi-plane format 875713881
Filter multi-plane format 961893977
Filter multi-plane format 825316953
Filter multi-plane format 842094169
Filter multi-plane format 909203033
Filter multi-plane format 875714137
Filter multi-plane format 842094158
Filter multi-plane format 909203022
kf.notifications: env says KDE is running but SNI unavailable -- check 
KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
kwin_xwl: /tmp/.X11-unix is not owned by root or us
kwin_xwl: Failed to create Xwayland connection sockets
kdeinit5: Aborting. $DISPLAY is not set. 
kdeinit5: Aborting. $DISPLAY is not set. 
kwin_libinput: Libinput: event7  - Chicony USB Keyboard: client bug: event 
processing lagging behind by 20ms, your system is too slow

startplasma-waylandsession: Starting up...qt.qpa.wayland: Wayland does not 
support QWindow::requestActivate()
libpng warning: iCCP: known incorrect sRGB profile
qt.svg: <input>:406:376: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:407:130: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:408:130: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:408:393: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:409:130: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:410:129: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:411:129: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:412:129: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:413:129: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:413:379: Could not add child element to parent element because 
the types are incorrect.
qt.svg: <input>:413:631: Could not add child element to parent element because 
the types are incorrect.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
libpng warning: iCCP: known incorrect sRGB profile
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
"kwin_wayland_wrapper" ("--xwayland", 
"/usr/lib64/libexec/startplasma-waylandsession") exited with code 15
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
kwin_wayland_drm: Mode setting failed

Reply via email to