uhulinux / ub-ubk3

64bit-only repo
1 stars 0 forks source link

plasma wailand session random total freeze with nvidia GPU & nouveau #44

Open attuska opened 5 years ago

attuska commented 5 years ago

Teljesen lefagyott a gépem, még a billentyűzet, egér is, csak a hardver reset gombbal lehet újraindítani GeForce GTX 660 Ti, nouveau. A frissített plasma -t wayland felületen a plasma discover-t próbáltam, ami szépen működött, ám az ablakjának becsukási gombjára kattintás után az ablakja elkezdett halványodni, majd úgy maradt és a gép totálisan lefagyott. Az egér, a billentyűzet, a billentyűzeten a numlock gomb nyomogatására sem reagált a billentyűzet led -je többé. Hardver reset gombbal lehetet csak megmenekülni ebből az állapotból. A gép újraindítása után az sddm -el most nem a plasma(wailand) sessionba léptem, amit az sddm szolgai módon megjegyzett, hanem a mate felületre és megnéjtem a ~/.local/sddm/wailand-session.log -ot. Ebből az utolsó pár sor ez:

dbus-daemon[19197]: [session uid=1000 pid=19197] Activating service name='org.kde.kwalletd5' requested by ':1.45' (uid=1000 pid=19592 comm="/usr/bin/plasma-discover ") dbus-daemon[19197]: [session uid=1000 pid=19197] Successfully activated service 'org.kde.kwalletd5' dbus-daemon[19197]: [session uid=1000 pid=19197] Activating service name='org.kde.kwalletd' requested by ':1.49' (uid=1000 pid=19642 comm="/usr/bin/kwalletd5 ") dbus-daemon[19197]: [session uid=1000 pid=19197] Activated service 'org.kde.kwalletd' failed: Failed to execute program org.kde.kwalletd: No such file or directory

A journal utolsó kimenete ez:

márc 17 08:41:47 attila-pc plasma-discover[19592]: file:///usr/lib/qt5/qml/QtQuick/Controls.2/org.kde.desktop/private/MobileTextActionsToolBar.qml:69: TypeError: Cannot read property 'selectedText' of null márc 17 08:41:52 attila-pc plasmashell[19312]: kf5idletime_kwayland: This plugin does not support polling idle time márc 17 08:41:55 attila-pc plasma-discover[19592]: qrc:/qml/ApplicationsListPage.qml:138:16: QML ResourcesProxyModel: Binding loop detected for property "sortOrder" márc 17 08:41:55 attila-pc plasma-discover[19592]: file:///usr/lib/qt5/qml/org/kde/kirigami.2/Page.qml:282: TypeError: Cannot read property 'globalToolBar' of null márc 17 08:42:17 attila-pc plasma-discover[19592]: file:///usr/lib/qt5/qml/QtQuick/Controls.2/org.kde.desktop/private/MobileTextActionsToolBar.qml:69: TypeError: Cannot read property 'selectedText' of null márc 17 08:42:17 attila-pc plasma-discover[19592]: file:///usr/lib/qt5/qml/QtQuick/Controls.2/org.kde.desktop/private/MobileTextActionsToolBar.qml:61: TypeError: Cannot read property 'selectedText' of null márc 17 08:42:18 attila-pc plasma-discover[19592]: QObject::~QObject: Timers cannot be stopped from another thread márc 17 08:42:22 attila-pc plasmashell[19312]: kf5idletime_kwayland: This plugin does not support polling idle time márc 17 08:42:50 attila-pc kdeinit5[19271]: () márc 17 08:42:50 attila-pc kdeinit5[19271]: ("/home/attila/homok/devnolib", "/home/attila/homok/Packages", "/home/attila/homok/Contents", "/home/attila/homok/appstreamgen/pr1", "/home/attila/homok/appstreamgen/pr2", "/home/attila/ho> márc 17 08:42:50 attila-pc kdeinit5[19271]: () márc 17 08:42:52 attila-pc kdeinit5[19271]: () márc 17 08:42:52 attila-pc kdeinit5[19271]: ("/home/attila/homok/appstreamgen/ubk3/akonadi_18.12.2-1.1_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3/akonadi-calendar_18.12.2-1.1_amd64.ubk3.uhu", "/home/attila/homok/appstrea> márc 17 08:42:52 attila-pc kdeinit5[19271]: () márc 17 08:42:52 attila-pc plasmashell[19312]: kf5idletime_kwayland: This plugin does not support polling idle time márc 17 08:42:53 attila-pc kdeinit5[19271]: () márc 17 08:42:53 attila-pc kdeinit5[19271]: ("/home/attila/homok/appstreamgen/ubk3/anjuta_3.28.0-1.6_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3/anjuta-dev_3.28.0-1.6_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3> márc 17 08:42:53 attila-pc kdeinit5[19271]: () márc 17 08:42:55 attila-pc kdeinit5[19271]: () márc 17 08:42:55 attila-pc kdeinit5[19271]: ("/home/attila/homok/appstreamgen/ubk3/arj_3.10.22-1.8_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3/ark_18.12.2-1.1_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3/asciido> márc 17 08:42:55 attila-pc kdeinit5[19271]: () márc 17 08:43:06 attila-pc kdeinit5[19271]: () márc 17 08:43:06 attila-pc kdeinit5[19271]: ("/home/attila/homok/appstreamgen/ubk3/autoconf_2.69-1.8_amd64.ubk3.uhu", "/home/attila/homok/appstreamgen/ubk3/autoconf-archive_2018.03.13-1.8_amd64.ubk3.uhu", "/home/attila/homok/appstre> márc 17 08:43:06 attila-pc kdeinit5[19271]: () márc 17 08:43:10 attila-pc kdeinit5[19271]: () márc 17 08:43:10 attila-pc kdeinit5[19271]: ("/home/attila/homok/debian-appstream-data/appstream.debian.org/data/sid/main/CID-Index-i386.json.gz", "/home/attila/homok/debian-appstream-data/appstream.debian.org/data/sid/main/CID-Inde> márc 17 08:43:10 attila-pc kdeinit5[19271]: () márc 17 08:43:16 attila-pc kdeinit5[19271]: () márc 17 08:43:16 attila-pc kdeinit5[19271]: ("/home/attila/homok/debian-appstream-data/appstream.debian.org/data/sid/index.html?C=S;O=D", "/home/attila/homok/debian-appstream-data/appstream.debian.org/data/index.html?C=N;O=D", "/hom> márc 17 08:43:16 attila-pc kdeinit5[19271]: () -- Reboot --

A syslogban semmi nincs.

attuska commented 5 years ago

Elindítás után, rögtön a menüből sem lehet leállítani, a kiléptető kép megjelenésével egyött lefagy. Az sssm wayland-session.log utolsó sorai:

Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. kf5.kservice.services: "" has no desktop group, cannot construct a KPluginInfo object from it. dbus-daemon[606]: [session uid=1000 pid=606] Activating service name='org.kde.LogoutPrompt' requested by ':1.15' (uid=1000 pid=710 comm="/usr/bin/ksmserver --no-lockscreen ") dbus-daemon[606]: [session uid=1000 pid=606] Successfully activated service 'org.kde.LogoutPrompt' Using Wayland-EGL kf5.kservice.services: "" has no desktop group, cannot construct a KPluginInfo object from it. Empty filename passed to function Empty filename passed to function file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:173: ReferenceError: ColorScope is not defined file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:36: ReferenceError: model is not defined file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:160:9: Unable to assign [undefined] to QColor file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:159:9: Unable to assign [undefined] to int Using the 'xdg-shell' shell integration qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWind

attuska commented 5 years ago

A gnome-wailand is lefagyott, az mpv player elindítása után a felbukkanó mpv ablak után, mely keret nélküli. UBK2 esetén keretes és a gnome-wailand gond nélkül használható ugyanazon a hardveren! A gnome nem hagy logot a wailand sessionról, vagy ha mégis, nem lelem.

attuska commented 5 years ago

upd: A systemd-242 -re történ átállás azt hozta, hogy a GNOME első nekifutásra megy, a PLASMA továbbra is csontra fagy nálam. X alatt mennek.

attuska commented 4 years ago

upd: A totális frissítések után a plasma nálam továbbra is rapszódikusan csontra fagy, a gnome szépen megy. A /home/.local/sddm/wayland-session utolsó olvasható sorai:

dbus-daemon[3528]: [session uid=1000 pid=3528] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'

(tumblerd:3797): tumblerd-CRITICAL **: 21:04:55.845: Name org.freedesktop.thumbnails.Cache1 lost on the message dbus, exiting.

(tumblerd:3797): tumblerd-CRITICAL **: 21:04:55.845: Name org.freedesktop.thumbnails.Manager1 lost on the message dbus, exiting.

(tumblerd:3797): tumblerd-CRITICAL **: 21:04:55.845: Name org.freedesktop.thumbnails.Thumbnailer1 lost on the message dbus, exiting. mdb.c:2127: Assertion 'rc == 0' failed in mdb_page_dirty() KCrash: Attempting to start /usr/bin/baloo_file from kdeinit KCrash: Application 'baloo_file' crashing... mdb.c:2127: Assertion 'rc == 0' failed in mdb_page_dirty() KCrash: Attempting to start /usr/bin/baloo_file from kdeinit KCrash: Application 'baloo_file' crashing... mdb.c:2127: Assertion 'rc == 0' failed in mdb_page_dirty() KCrash: Attempting to start /usr/bin/baloo_file from kdeinit KCrash: Application 'baloo_file' crashing... dbus-daemon[3528]: [session uid=1000 pid=3528] Activating service name='org.freedesktop.Tracker1' requested by ':1.17' (uid=1000 pid=3638 comm="/usr/libexec/tracker-miner-fs ") dbus-daemon[3528]: [session uid=1000 pid=3528] Successfully activated service 'org.freedesktop.Tracker1' mdb.c:2127: Assertion 'rc == 0' failed in mdb_page_dirty() KCrash: Attempting to start /usr/bin/baloo_file from kdeinit KCrash: Application 'baloo_file' crashing... This plugin does not support raise() mdb.c:2127: Assertion 'rc == 0' failed in mdb_page_dirty() KCrash: Attempting to start /usr/bin/baloo_file from kdeinit KCrash: Application 'baloo_file' crashing...

Ezután a logban csak nem nyomtatható karakterek vannak már.

attuska commented 4 years ago

A legújabb qt5 frissítés után el sem indul. A ~/.local/share/sddm/waylans-session.log-ba most belekerült egy ilyen kezdetű, mely aztán baromi hosszan folytatódik:

nouveau: kernel rejected pushbuf: Érvénytelen argumentum nouveau: ch8: krec 0 pushes 1 bufs 40 relocs 0

Örvendetes.

A gnome változatlanul megy wayland felületen, tehát nem a nouveau a bűnös, hanem a plasma. A sway is megy, mely csak waylandon életképes.

attuska commented 4 years ago

Egy teljesen hasonló eset: https://forums.opensuse.org/showthread.php/536576-wayland-session-and-KDE-still-not-working Ez biza mesa bug lesz, van is nyitott bugjelzés: https://gitlab.freedesktop.org/mesa/mesa/issues/1166 Várni kell az okosokra... Ez QTbugra is utal: https://bugreports.qt.io/browse/QTBUG-76116

Ámde még Ilja Mirkin, a mesa fejlesztője is hárít, a plasma waylandot okolja és a túl öreg mesa -t. https://bugs.freedesktop.org/show_bug.cgi?id=109341#c6

I'm saying that there are patches that improve nouveau's handling of multi-threaded GL usage, but they're against latest mesa version, not something older.

Plasma + nouveau have, generally, not played very well together.

Ezek szerint egy mesa frissítés már megoldaná a fagyást. Vagy egy jólirányzott folt.

attuska commented 4 years ago

Próbaképp feltelepítettem a lefordított legújabb mesa csomagot, ez magában nem oldotta meg. Lefagy. mesa_19.2.7-1.1_amd64.ubk3.uhu, kernel_4.19.84-1.2_amd64.ubk3.uhu.

Lehet, hogy a mesa -tól függő csomagok újraforgatása rendbehozná, de ez elég reménytelen ügynek néz ki. Vaksi módon történő tapogatódzás.

attuska commented 4 years ago

Feltelepítve a frissített mesa-t és a tőle függő újraforgatottakat, semmi változás. Keményen lefagy a gép a plasma-wailand indítása után a plasma alapkép megjelésével. Döglött a billentyű, az egér, csak hardver reset lehetséges. Log nincs.

A plasma fejlesztői banda a hibás, vagy a qt.

GNOME:

attila@attila-pc:~$ echo $XDG_SESSION_TYPE wayland attila@attila-pc:~$

Teljesen új telepítményen is lefagy a plasma wayland.

attuska commented 4 years ago

Ezen a linken :https://bugreports.qt.io/browse/QTBUG-76116 van egy kommitszám: 007d73ef9e64a99e560cc932f519f8cb00121ba8 Erre google -val rákeresve egyetlen egy találat van: https://git.sailfishos.org/mirror/qtwayland/commit/007d73ef9e64a99e560cc932f519f8cb00121ba8 Itt van egy commit a qtwaylandra vonatkozón, ami a fagyást okozza, ezt kellene talán visszacsinálni, ha már a fejlesztők ezt nem teszik meg.

Megkísérlem.