Results 1 to 5 of 5

Thread: wayland session and KDE still not working?

  1. #1
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    187

    Default wayland session and KDE still not working?

    Hello,

    I have a system with a nvidia quadro K4200 graphic card using it with nouveau and DE is KDE.
    I have two screens one on the DVI port and the other on the DP-1 port of the Nvidia card. (both at 1920*1080 extended to on virtual screen 3840 *1080).
    Works perfectly with Xorg plasma KDE.
    Kernel is
    Code:
    uname -a
    Linux hpprol2 5.1.10-1-default #1 SMP Mon Jun 17 14:44:35 UTC 2019 (ad24342) x86_64 x86_64 x86_64 GNU/Linux
    with xen.
    When I try in the login the option plasma(wayland) or
    - it freezes immediately with a black screen (error in nouveau)
    - session opens but freezes after some seconds.(dumped cores + error in nouveau)
    Thereafter I need to to a hard reboot.
    In journalctl I have different dumped cores (in ksplashqml, thereafter in drkonqi and then the error in nouveau).

    I wonder if wayland can work with this video card and the xen kernel?

    Code:
     hwinfo --gfxcard 
    41: PCI a00.0: 0300 VGA compatible controller (VGA)             
      [Created at pci.386]
      Unique ID: cuhJ.tGd9UiuRjJA
      Parent ID: 3hqH.hBV2yBdnGfA
      SysFS ID: /devices/pci0000:00/0000:00:03.0/0000:0a:00.0
      SysFS BusID: 0000:0a:00.0
      Hardware Class: graphics card
      Model: "nVidia GK104GL [Quadro K4200]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x11b4 "GK104GL [Quadro K4200]"
      SubVendor: pci 0x10de "nVidia Corporation"
      SubDevice: pci 0x1096 
      Revision: 0xa1
      Driver: "nouveau"
      Driver Modules: "nouveau"
      Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable)
      Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
      Memory Range: 0xde000000-0xdfffffff (ro,non-prefetchable)
      I/O Ports: 0x6000-0x6fff (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 162 (202150 events)
      I/O Ports: 0x3c0-0x3df (rw)
      Module Alias: "pci:v000010DEd000011B4sv000010DEsd00001096bc03sc00i00"
      Driver Info #0:
        Driver Status: nouveau is active
        Driver Activation Cmd: "modprobe nouveau"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
      Attached to: #59 (PCI bridge)
    
    Primary display adapter: #41
    Code:
    rpm -qa *wayland*
    libwayland-egl1-1.17.0-1.3.x86_64
    plasma5-session-wayland-5.16.1-1.1.noarch
    libwayland-client0-32bit-1.17.0-1.3.x86_64
    wayland-devel-1.17.0-1.3.x86_64
    libwayland-client0-1.17.0-1.3.x86_64
    libgstwayland-1_0-0-1.14.5-4.2.x86_64
    wayland-protocols-devel-1.17-1.3.noarch
    libqt5-qtwayland-5.12.3-1.3.x86_64
    libqt5-qtwayland-devel-5.12.3-1.3.x86_64
    kwayland-integration-5.16.1-1.1.x86_64
    libwayland-cursor0-1.17.0-1.3.x86_64
    xorg-x11-server-wayland-1.20.5-1.1.x86_64
    libwayland-server0-1.17.0-1.3.x86_64
    kwayland-devel-5.59.0-1.1.x86_64
    kwayland-5.59.0-1.1.x86_64
    libwayland-server0-32bit-1.17.0-1.3.x86_64
    libva-wayland2-2.4.0-1.3.x86_64
    dumped core when the session opens
    Code:
    Jun 28 14:42:28 hpprol2 systemd-coredump[11444]: Process 11416 (ksplashqml) of user 1000 dumped core.
                                                     
                                                     Stack trace of thread 11435:
                                                     #0  0x00007f1ab3af4dd1 raise (libc.so.6)
                                                     #1  0x00007f1ab0ff1218 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                     #2  0x00007f1ab3af4e50 __restore_rt (libc.so.6)
                                                     #3  0x00007f1ab3f2cd6b _ZNK18QThreadStorageData3getEv (libQt5Core.so.5)
                                                     #4  0x00007f1ab4516b82 _ZN21QOpenGLContextPrivate17setCurrentContextEP14QOpenGLContext (libQt5Gui.so.5)
                                                     #5  0x00007f1ab4518e81 _ZN14QOpenGLContext11makeCurrentEP8QSurface (libQt5Gui.so.5)
                                                     #6  0x00007f1ab4ce66c0 n/a (libQt5Quick.so.5)
                                                     #7  0x00007f1ab4cea298 n/a (libQt5Quick.so.5)
                                                     #8  0x00007f1ab3f278d2 n/a (libQt5Core.so.5)
                                                     #9  0x00007f1ab3108faa start_thread (libpthread.so.0)
                                                     #10 0x00007f1ab3bb671f __clone (libc.so.6)
                                                     
                                                     Stack trace of thread 11416:
                                                     #0  0x00007f1ab3bb1449 syscall (libc.so.6)
                                                     #1  0x00007f1ab3f29c21 _ZN10QSemaphore7acquireEi (libQt5Core.so.5)
                                                     #2  0x00007f1ab4110e95 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                     #3  0x00007f1ab41110af _ZN7QObject9destroyedEPS_ (libQt5Core.so.5)
                                                     #4  0x00007f1ab4118519 _ZN7QObjectD1Ev (libQt5Core.so.5)
                                                     #5  0x00007f1ab1d8ef40 n/a (libKF5IconThemes.so.5)
                                                     #6  0x00007f1ab3af7500 __run_exit_handlers (libc.so.6)
                                                     #7  0x00007f1ab3af763c exit (libc.so.6)
                                                     #8  0x00007f1aaf15075e _ZN15QtWaylandClient15QWaylandDisplay13exitWithErrorEv (libQt5WaylandClient.so.5)
                                                     #9  0x00007f1aaf1507b6 _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt5WaylandClient.so.5)
                                                     #10 0x00007f1ab4110a18 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
                                                     #11 0x00007f1ab413be3f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                     #12 0x00007f1ab40e4bdb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                     #13 0x00007f1ab40ec5c2 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                     #14 0x000055557e04b8c9 n/a (ksplashqml)
                                                     #15 0x00007f1ab3adfbcb __libc_start_main (libc.so.6)
                                                     #16 0x000055557e04b95a _start (ksplashqml)
                                                     
                                                     Stack trace of thread 11430:
                                                     #0  0x00007f1ab3ba77ec __read (libc.so.6)
                                                     #1  0x00007f1ab0fef94e n/a (libKF5Crash.so.5)
                                                     #2  0x00007f1ab0fefc61 n/a (libKF5Crash.so.5)
                                                     #3  0x00007f1ab0ff00fd n/a (libKF5Crash.so.5)
                                                     #4  0x00007f1ab0ff0c31 n/a (libKF5Crash.so.5)
                                                     #5  0x00007f1ab0ff10e7 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                     #6  0x00007f1ab3af4e50 __restore_rt (libc.so.6)
                                                     #7  0x00007f1aacf82b79 n/a (libdrm_nouveau.so.2)
                                                     #8  0x00007f1aacf831e1 n/a (libdrm_nouveau.so.2)
                                                     #9  0x00007f1aad37be39 n/a (nouveau_dri.so)
                                                     #10 0x00007f1aad8914a2 n/a (nouveau_dri.so)
                                                     #11 0x00007f1aad4b46de n/a (nouveau_dri.so)
                                                     #12 0x00007f1aad4b6153 n/a (nouveau_dri.so)
                                                     #13 0x00007f1aad479a43 n/a (nouveau_dri.so)
                                                     #14 0x00007f1aad47b56e n/a (nouveau_dri.so)
                                                     #15 0x00007f1ab4cb926d n/a (libQt5Quick.so.5)
                                                     #16 0x00007f1ab4cbaf46 n/a (libQt5Quick.so.5)
                                                     #17 0x00007f1ab4cb7ac0 _ZN30QSGOpaqueTextureMaterialShader11updateStateERKN17QSGMaterialShader11RenderStateEP11QSGMaterialS5_ (libQt5Quick.so.5)
                                                     #18 0x00007f1ab4ca558e _ZN16QSGBatchRenderer8Renderer17renderMergedBatchEPKNS_5BatchE (libQt5Quick.so.5)
                                                     #19 0x00007f1ab4ca70f5 _ZN16QSGBatchRenderer8Renderer13renderBatchesEv (libQt5Quick.so.5)
                                                     #20 0x00007f1ab4cad352 _ZN16QSGBatchRenderer8Renderer6renderEv (libQt5Quick.so.5)
                                                     #21 0x00007f1ab4c999a0 _ZN11QSGRenderer11renderSceneERK11QSGBindable (libQt5Quick.so.5)
                                                     #22 0x00007f1ab4c99e4b _ZN11QSGRenderer11renderSceneEj (libQt5Quick.so.5)
                                                     #23 0x00007f1ab4cdb330 _ZN23QSGDefaultRenderContext15renderNextFrameEP11QSGRendererj (libQt5Quick.so.5)
                                                     #24 0x00007f1ab4d3e4ac _ZN19QQuickWindowPrivate16renderSceneGraphERK5QSize (libQt5Quick.so.5)
                                                     #25 0x00007f1ab4ce66d4 n/a (libQt5Quick.so.5)
                                                     #26 0x00007f1ab4cea298 n/a (libQt5Quick.so.5)
                                                     #27 0x00007f1ab3f278d2 n/a (libQt5Core.so.5)
                                                     #28 0x00007f1ab3108faa start_thread (libpthread.so.0)
                                                     #29 0x00007f1ab3bb671f __clone (libc.so.6)
                                                     
                                                     Stack trace of thread 11425:
                                                     #0  0x00007f1ab310ee05 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                     #1  0x00007f1aad761683 n/a (nouveau_dri.so)
                                                     #2  0x00007f1aad7613d7 n/a (nouveau_dri.so)
                                                     #3  0x00007f1ab3108faa start_thread (libpthread.so.0)
                                                     #4  0x00007f1ab3bb671f __clone (libc.so.6)
    error in nouveau in both situation
    Code:
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: gr: DATA_ERROR 00000004 [INVALID_VALUE] ch 11 [00ff131000 plasmashell[11689]] subc 0 class a097 mthd 0ff8 data 6048057c
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    Jun 28 14:43:36 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00040000 [PBENTRY] ch 11 [00ff131000 plasmashell[11689]] subc 0 mthd 0000 data 00000000
    any advice?

    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.2.1 with KDE plasma

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,952
    Blog Entries
    2

    Default Re: wayland session and KDE still not working?

    Are you talking about running in a Guest or the HostOS?
    Although AFAIIK Wayland should be supported in both environments, it will make a big difference what gpu driver is used.

    also,
    Although in this case wouldn't likely make much diff, typically you'll find more posts related to Xen in the Virtualization forum.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    187

    Default Re: wayland session and KDE still not working?

    Quote Originally Posted by tsu2 View Post
    Are you talking about running in a Guest or the HostOS?
    Although AFAIIK Wayland should be supported in both environments, it will make a big difference what gpu driver is used.
    It is on the host. Not the VM. I cannot start it ==> the system freezes before

    Although in this case wouldn't likely make much diff, typically you'll find more posts related to Xen in the Virtualization forum.

    TSU
    Yes but not sure if XEN has an impact. I plan to test without XEN after a backup.

    Many thanks
    Philippe
    Tumbleweed (x86_64) Kernel 5.2.1 with KDE plasma

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,952
    Blog Entries
    2

    Default Re: wayland session and KDE still not working?

    Quote Originally Posted by phil524 View Post
    It is on the host. Not the VM. I cannot start it ==> the system freezes before


    Yes but not sure if XEN has an impact. I plan to test without XEN after a backup.

    Many thanks
    Philippe
    I haven't checked recently if there have been any changes, it used to be possible to boot to a non-Xen kernel in the standard Grub bootup menu.
    If that's still the case, no need to make major changes to your system.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    187

    Default Re: wayland session and KDE still not working?

    Quote Originally Posted by tsu2 View Post
    I haven't checked recently if there have been any changes, it used to be possible to boot to a non-Xen kernel in the standard Grub bootup menu.
    If that's still the case, no need to make major changes to your system.
    TSU
    I did some test with the standard kernel but the result are the same
    - sometime I can login but receive after few seconds a small window about a crash in ksplashqml. I can still then exit via Alt-Ctrl backspace
    - most times the screen goes black an all freezes and I need to to a hard reset.

    in journalctl
    Code:
    Jun 29 15:09:18 hpprol2 systemd-logind[1158]: New session 5 of user philippe.
    Jun 29 15:09:18 hpprol2 systemd[1]: Started Session 5 of user philippe.
    Jun 29 15:09:18 hpprol2 sddm-helper[3401]: pam_unix(sddm:session): session opened for user philippe by (uid=0)
    Jun 29 15:09:18 hpprol2 sddm-helper[3401]: Starting: "/usr/share/sddm/scripts/wayland-session dbus-run-session /usr/bin/startplasmacompositor"
    Jun 29 15:09:18 hpprol2 dbus-daemon[1063]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.92' (uid=1000 pid=3437 comm="qdbus-qt5 --system org.freedesktop.locale1 ")
    Jun 29 15:09:18 hpprol2 systemd[1]: Starting Locale Service...
    Jun 29 15:09:18 hpprol2 dbus-daemon[1063]: [system] Successfully activated service 'org.freedesktop.locale1'
    Jun 29 15:09:18 hpprol2 systemd[1]: Started Locale Service.
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: gr: TRAP ch 15 [00fe8ea000 ksplashqml[3489]]
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: gr: DISPATCH 80000002 [CLASS_SUBCH_MISMATCH]
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 000c data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 02000000 [SEMAPHORE] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 001c data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0030 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0034 data 00420000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0038 data a01108e3
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 003c data 00000560
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0040 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0044 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0048 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 004c data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0054 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0058 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 005c data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0060 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0064 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0068 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 006c data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0070 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0074 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00200000 [METHOD] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 0078 data 00000000
    Jun 29 15:09:20 hpprol2 kernel: nouveau 0000:0a:00.0: fifo: PBDMA0: 00400000 [METHODCRC] ch 15 [00fe8ea000 ksplashqml[3489]] subc 0 mthd 007c data 00000000
    there are thousands lines with same errors in nouveau.

    Is it possible that this card is not supported by wayland?
    I have also see on thing: in plasma the primary screen is the DVI but in plasma wayland (when it works for some seconds) it is the DP-1 (display port)

    For me it seems that wayland is still far to be ready.

    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.2.1 with KDE plasma

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •