You are not logged in.

#1 2023-10-19 18:37:15

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

[SOLVED] No wayland session under SDDM

I used up till now the proprietary driver (nvidia-470xx-dkms) for my old nvidia graphics card (chip GK106, card name GeForce GTX 650Ti).
I decided to give wayland a go.
My nvidia driver supports EGL streams for wayland but KDE/Kwin which I'm using does not support it any more. For GBM support my card is too old.

So I decided to switch to the opens source driver nouveau (current latest linux kernel 6.5.7).

But when I do I cannot find a plasma wayland session anymore under SDDM. Nouveau should support wayland no ?
Note that under the proprietary driver I do see that option but wayland is practial unusual in this scenario since it falls back to software rendering.

Any thoughts ?

Thanks,
Chris

Last edited by Strider (2023-10-20 18:13:06)


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#2 2023-10-19 20:01:27

seth
Member
Registered: 2012-09-03
Posts: 56,466

Re: [SOLVED] No wayland session under SDDM

Can you https://wiki.archlinux.org/title/SDDM#R … er_Wayland ?
Or https://wiki.archlinux.org/title/KDE#From_the_console ?

When you log into an X11 session, what does "glxinfo" say?

Offline

#3 2023-10-19 20:34:07

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] No wayland session under SDDM

Seth,
running startplasma-wayland from the console seems to work (kind of). I'm posting this reply from this session. But I have apparently not my favorite color settings and all my icons are blank ..
For "glxinfo" : do I have to look for something specific ? Because the output of this command is quite large..

Thanks,
Chris


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#4 2023-10-19 20:47:33

seth
Member
Registered: 2012-09-03
Posts: 56,466

Re: [SOLVED] No wayland session under SDDM

Mostly the render strings, in doubt "glxinfo -B" is gonna do.

Icons and colors sound (almost unrelated) as if your previous config isn't used - or they're misrenderings.
Can you deterministically impact the system colors and is eg. #ff0000 in the color dialog "red"?

Offline

#5 2023-10-19 21:01:33

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] No wayland session under SDDM

I also now tried to run SDDM under Wayland as described and that worked too (even better than under X11).
I also Installed Weston as adviced.
What I now see is that I have an option 'weston' in SDDM.
But besides that I can only start a session under X11.
So no Kwin_wayland.
However, I see that there are some instruction to run KDE / Kwin in wayland from SDDM by adding sections in the config file of SDDM. I will try that.
Here is the output of glxinfo -B :

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0x10de)
    Device: NVE6 (0x11c6)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 1008MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.3
    Max compat profile version: 4.3
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 807 MB, largest block: 807 MB
    VBO free aux. memory - total: 838859 MB, largest block: 838859 MB
    Texture free memory - total: 807 MB, largest block: 807 MB
    Texture free aux. memory - total: 838859 MB, largest block: 838859 MB
    Renderbuffer free memory - total: 807 MB, largest block: 807 MB
    Renderbuffer free aux. memory - total: 838859 MB, largest block: 838859 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1008 MB
    Total available memory: 1049583 MB
    Currently available dedicated video memory: 807 MB
OpenGL vendor string: Mesa
OpenGL renderer string: NVE6
OpenGL core profile version string: 4.3 (Core Profile) Mesa 23.2.1-arch1.2
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.3 (Compatibility Profile) Mesa 23.2.1-arch1.2
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#6 2023-10-20 18:12:06

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 104

Re: [SOLVED] No wayland session under SDDM

I solved the issue.
I found out that the directory /usr/share/wayland-sessions/ was missing.
Turns out I did not install plasma-wayland-session.
This is because my KDE installation is a few years old and that package was not part of KDE at the time (I do not know anymore if I installed it via a group or meta-package at the time).
Classic problem in package management : a pacman -Syu only updates was is installed but does not add to your system what is not installed and part of a group.

Regards,
Chris


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

Board footer

Powered by FluxBB