Meu desktop usa o Kubuntu 24.04, totalmente atualizado, com o KDE Plasma 5.27.12. Cerca de uma semana atrás, decidi dar outra chance ao Wayland, e dessa vez achei que tudo funcionou perfeitamente, exceto pelo fato de que a opção Screen Energy Saving parece não funcionar...
Para ser preciso, ele funciona inicialmente, uma vez que o tempo ocioso tenha decorrido, e a tela fique preta. Mas ele permanece preto por cerca de 10 segundos apenas, então a tela volta a ligar novamente. Obviamente, há algo substituindo as configurações definidas (por mim) em Configurações do Sistema -> Energia.
A mesma coisa acontece se eu desligar a tela via CLI ( kscreen-doctor -d off
), ou seja, a tela permanece preta por cerca de 10 segundos e depois acende novamente. Se eu escolher colocar o PC no modo de suspensão/hibernação após o mesmo período de tempo, a tela não acende novamente, mas é claro que não é isso que eu quero.
Após a tela acender novamente, em System Settings -> Display and Monitor, aparecem as seguintes informações: Uma nova saída foi adicionada. As configurações foram recarregadas. Eu obtenho, de fato, a seguinte saída interessante:
tail -f /var/log/syslog
......
2025-02-14T16:15:20.425314+01:00 kaus kactivitymanagerd[2625]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.425640+01:00 kaus kded5[2563]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.425915+01:00 kaus polkit-kde-authentication-agent-1[2641]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.426185+01:00 kaus foot[2779]: warn: wayland.c:1382: unknown global removed: 0x0000004f
2025-02-14T16:15:20.426443+01:00 kaus DiscoverNotifier[2802]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.426480+01:00 kaus foot: wayland: unknown global removed: 0x0000004f
2025-02-14T16:15:20.426679+01:00 kaus plasmashell[4761]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.426909+01:00 kaus xdg-desktop-portal-kde[3113]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.446383+01:00 kaus org_kde_powerdevil[5644]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.452066+01:00 kaus org_kde_powerdevil[2642]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.456716+01:00 kaus org_kde_powerdevil[5650]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.477425+01:00 kaus org_kde_powerdevil[5644]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:20.487835+01:00 kaus org_kde_powerdevil[5650]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:20.492526+01:00 kaus plasmashell[5655]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.524998+01:00 kaus plasmashell[5655]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:20.566383+01:00 kaus plasmashell[5663]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.571856+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:20.572028+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:20.573351+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:20.586841+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:20.600327+01:00 kaus plasmashell[5663]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:20.602521+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:20.606076+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
2025-02-14T16:15:20.606343+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.606506+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
2025-02-14T16:15:20.606659+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.606797+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.606941+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.607092+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.607265+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.607421+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.607579+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.607733+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:20.700216+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:20.700254+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:20.816145+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL vendor string: Intel
2025-02-14T16:15:20.816430+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
2025-02-14T16:15:20.816557+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version string: 4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1
2025-02-14T16:15:20.816656+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL shading language version string: 4.60
2025-02-14T16:15:20.816745+01:00 kaus kwin_wayland_wrapper[2502]: Driver: Intel
2025-02-14T16:15:20.816825+01:00 kaus kwin_wayland_wrapper[2502]: GPU class: Coffee Lake
2025-02-14T16:15:20.816948+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version: 4.6
2025-02-14T16:15:20.817030+01:00 kaus kwin_wayland_wrapper[2502]: GLSL version: 4.60
2025-02-14T16:15:20.817110+01:00 kaus kwin_wayland_wrapper[2502]: Mesa version: 24.2.8
2025-02-14T16:15:20.817207+01:00 kaus kwin_wayland_wrapper[2502]: X server version: 1.23.2
2025-02-14T16:15:20.817330+01:00 kaus kwin_wayland_wrapper[2502]: Linux kernel version: 6.8
2025-02-14T16:15:20.817448+01:00 kaus kwin_wayland_wrapper[2502]: Requires strict binding: no
2025-02-14T16:15:20.817546+01:00 kaus kwin_wayland_wrapper[2502]: GLSL shaders: yes
2025-02-14T16:15:20.817643+01:00 kaus kwin_wayland_wrapper[2502]: Texture NPOT support: yes
2025-02-14T16:15:20.817738+01:00 kaus kwin_wayland_wrapper[2502]: Virtual Machine: no
2025-02-14T16:15:21.020900+01:00 kaus kwin_wayland_wrapper[2502]: BlurConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.023996+01:00 kaus kwin_wayland_wrapper[2502]: ZoomConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.025121+01:00 kaus kwin_wayland_wrapper[2502]: WindowViewConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.026215+01:00 kaus kwin_wayland_wrapper[2502]: SlidingPopupsConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.026382+01:00 kaus kwin_wayland_wrapper[2502]: SlideConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.026613+01:00 kaus kwin_wayland_wrapper[2502]: OverviewConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.027160+01:00 kaus kwin_wayland_wrapper[2502]: KscreenConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.027885+01:00 kaus kwin_wayland_wrapper[2502]: DesktopGridConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.500242+01:00 kaus org_kde_powerdevil[5682]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:21.532164+01:00 kaus plasmashell[5686]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:21.543067+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:21.543131+01:00 kaus plasmashell[2599]: Checking screens: available: (QScreen(0x5fedb26e8010, name="DP-3")) redundant: QHash() fake: QSet(QScreen(0x5fedb2832170, name="")) all: (QScreen(0x5fedb2832170, name=""), QScreen(0x5fedb26e8010, name="DP-3"))
2025-02-14T16:15:21.607762+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:21.607819+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:21.724534+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL vendor string: Intel
2025-02-14T16:15:21.724669+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
2025-02-14T16:15:21.724707+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version string: 4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1
2025-02-14T16:15:21.724742+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL shading language version string: 4.60
2025-02-14T16:15:21.724769+01:00 kaus kwin_wayland_wrapper[2502]: Driver: Intel
2025-02-14T16:15:21.724802+01:00 kaus kwin_wayland_wrapper[2502]: GPU class: Coffee Lake
2025-02-14T16:15:21.724829+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version: 4.6
2025-02-14T16:15:21.724918+01:00 kaus kwin_wayland_wrapper[2502]: GLSL version: 4.60
2025-02-14T16:15:21.724948+01:00 kaus kwin_wayland_wrapper[2502]: Mesa version: 24.2.8
2025-02-14T16:15:21.724981+01:00 kaus kwin_wayland_wrapper[2502]: X server version: 1.23.2
2025-02-14T16:15:21.725010+01:00 kaus kwin_wayland_wrapper[2502]: Linux kernel version: 6.8
2025-02-14T16:15:21.725039+01:00 kaus kwin_wayland_wrapper[2502]: Requires strict binding: no
2025-02-14T16:15:21.725071+01:00 kaus kwin_wayland_wrapper[2502]: GLSL shaders: yes
2025-02-14T16:15:21.725102+01:00 kaus kwin_wayland_wrapper[2502]: Texture NPOT support: yes
2025-02-14T16:15:21.725170+01:00 kaus kwin_wayland_wrapper[2502]: Virtual Machine: no
2025-02-14T16:15:21.732241+01:00 kaus kwin_wayland_wrapper[2502]: BlurConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.733999+01:00 kaus kwin_wayland_wrapper[2502]: ZoomConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.735218+01:00 kaus kwin_wayland_wrapper[2502]: WindowViewConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.736053+01:00 kaus kwin_wayland_wrapper[2502]: SlidingPopupsConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.736185+01:00 kaus kwin_wayland_wrapper[2502]: SlideConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.736374+01:00 kaus kwin_wayland_wrapper[2502]: OverviewConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.736800+01:00 kaus kwin_wayland_wrapper[2502]: KscreenConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.737320+01:00 kaus kwin_wayland_wrapper[2502]: DesktopGridConfig::instance called after the first use - ignoring
2025-02-14T16:15:21.807503+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:21.823266+01:00 kaus plasmashell[2599]: message repeated 3 times: [ qt.qpa.wayland: Wayland does not support QWindow::requestActivate()]
2025-02-14T16:15:22.372133+01:00 kaus DiscoverNotifier[2802]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.372448+01:00 kaus foot[2779]: warn: wayland.c:1382: unknown global removed: 0x00000051
2025-02-14T16:15:22.372711+01:00 kaus polkit-kde-authentication-agent-1[2641]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.372930+01:00 kaus kactivitymanagerd[2625]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.373094+01:00 kaus kded5[2563]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.373141+01:00 kaus foot: wayland: unknown global removed: 0x00000051
2025-02-14T16:15:22.373394+01:00 kaus xdg-desktop-portal-kde[3113]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.373731+01:00 kaus plasmashell[4761]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.397611+01:00 kaus org_kde_powerdevil[5726]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.398211+01:00 kaus org_kde_powerdevil[2642]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.404861+01:00 kaus org_kde_powerdevil[5732]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.419837+01:00 kaus org_kde_powerdevil[5726]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:22.427077+01:00 kaus org_kde_powerdevil[5732]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:22.451625+01:00 kaus plasmashell[5738]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.488961+01:00 kaus plasmashell[5738]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:22.521557+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:22.524481+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:22.547828+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.553843+01:00 kaus plasmashell[5745]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
2025-02-14T16:15:22.561598+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:22.576030+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:22.577459+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:20: TypeError: Cannot read property 'pluginName' of null
2025-02-14T16:15:22.577520+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:75: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577566+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:78: TypeError: Cannot read property 'pluginName' of null
2025-02-14T16:15:22.577591+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:80: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577613+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:81: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577639+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:82: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577663+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:83: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577686+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:84: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577738+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:16: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577761+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:17: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.577795+01:00 kaus plasmashell[2599]: file:///usr/share/plasma/wallpapers/org.kde.slideshow/contents/ui/main.qml:18: TypeError: Cannot read property 'configuration' of null
2025-02-14T16:15:22.582656+01:00 kaus plasmashell[5745]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:22.674442+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:22.674478+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:22.800943+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL vendor string: Intel
2025-02-14T16:15:22.801060+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
2025-02-14T16:15:22.801131+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version string: 4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1
2025-02-14T16:15:22.801256+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL shading language version string: 4.60
2025-02-14T16:15:22.801345+01:00 kaus kwin_wayland_wrapper[2502]: Driver: Intel
2025-02-14T16:15:22.801561+01:00 kaus kwin_wayland_wrapper[2502]: GPU class: Coffee Lake
2025-02-14T16:15:22.801704+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version: 4.6
2025-02-14T16:15:22.801839+01:00 kaus kwin_wayland_wrapper[2502]: GLSL version: 4.60
2025-02-14T16:15:22.801982+01:00 kaus kwin_wayland_wrapper[2502]: Mesa version: 24.2.8
2025-02-14T16:15:22.802086+01:00 kaus kwin_wayland_wrapper[2502]: X server version: 1.23.2
2025-02-14T16:15:22.802246+01:00 kaus kwin_wayland_wrapper[2502]: Linux kernel version: 6.8
2025-02-14T16:15:22.802422+01:00 kaus kwin_wayland_wrapper[2502]: Requires strict binding: no
2025-02-14T16:15:22.802565+01:00 kaus kwin_wayland_wrapper[2502]: GLSL shaders: yes
2025-02-14T16:15:22.802709+01:00 kaus kwin_wayland_wrapper[2502]: Texture NPOT support: yes
2025-02-14T16:15:22.802906+01:00 kaus kwin_wayland_wrapper[2502]: Virtual Machine: no
2025-02-14T16:15:22.970701+01:00 kaus kwin_wayland_wrapper[2502]: BlurConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.972646+01:00 kaus kwin_wayland_wrapper[2502]: ZoomConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.973338+01:00 kaus kwin_wayland_wrapper[2502]: WindowViewConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.974403+01:00 kaus kwin_wayland_wrapper[2502]: SlidingPopupsConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.974496+01:00 kaus kwin_wayland_wrapper[2502]: SlideConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.974650+01:00 kaus kwin_wayland_wrapper[2502]: OverviewConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.974989+01:00 kaus kwin_wayland_wrapper[2502]: KscreenConfig::instance called after the first use - ignoring
2025-02-14T16:15:22.975489+01:00 kaus kwin_wayland_wrapper[2502]: DesktopGridConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.144882+01:00 kaus org_kde_powerdevil[5763]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:23.187486+01:00 kaus plasmashell[5769]: Initializing "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
2025-02-14T16:15:23.202846+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
2025-02-14T16:15:23.202882+01:00 kaus plasmashell[2599]: Checking screens: available: (QScreen(0x5fedb2715a40, name="DP-3")) redundant: QHash() fake: QSet(QScreen(0x7058b000b3b0, name="")) all: (QScreen(0x7058b000b3b0, name=""), QScreen(0x5fedb2715a40, name="DP-3"))
2025-02-14T16:15:23.241293+01:00 kaus kded5[2849]: xsettingsd: Reloading configuration
2025-02-14T16:15:23.241339+01:00 kaus kded5[2849]: xsettingsd: Loaded 12 settings from /home/mario/.config/xsettingsd/xsettingsd.conf
2025-02-14T16:15:23.372171+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL vendor string: Intel
2025-02-14T16:15:23.372240+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
2025-02-14T16:15:23.372272+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version string: 4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1
2025-02-14T16:15:23.372302+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL shading language version string: 4.60
2025-02-14T16:15:23.372333+01:00 kaus kwin_wayland_wrapper[2502]: Driver: Intel
2025-02-14T16:15:23.372393+01:00 kaus kwin_wayland_wrapper[2502]: GPU class: Coffee Lake
2025-02-14T16:15:23.372425+01:00 kaus kwin_wayland_wrapper[2502]: OpenGL version: 4.6
2025-02-14T16:15:23.372460+01:00 kaus kwin_wayland_wrapper[2502]: GLSL version: 4.60
2025-02-14T16:15:23.372498+01:00 kaus kwin_wayland_wrapper[2502]: Mesa version: 24.2.8
2025-02-14T16:15:23.372537+01:00 kaus kwin_wayland_wrapper[2502]: X server version: 1.23.2
2025-02-14T16:15:23.372572+01:00 kaus kwin_wayland_wrapper[2502]: Linux kernel version: 6.8
2025-02-14T16:15:23.372624+01:00 kaus kwin_wayland_wrapper[2502]: Requires strict binding: no
2025-02-14T16:15:23.372653+01:00 kaus kwin_wayland_wrapper[2502]: GLSL shaders: yes
2025-02-14T16:15:23.372686+01:00 kaus kwin_wayland_wrapper[2502]: Texture NPOT support: yes
2025-02-14T16:15:23.372717+01:00 kaus kwin_wayland_wrapper[2502]: Virtual Machine: no
2025-02-14T16:15:23.384230+01:00 kaus kwin_wayland_wrapper[2502]: BlurConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.386218+01:00 kaus kwin_wayland_wrapper[2502]: ZoomConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.386909+01:00 kaus kwin_wayland_wrapper[2502]: WindowViewConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.387691+01:00 kaus kwin_wayland_wrapper[2502]: SlidingPopupsConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.387765+01:00 kaus kwin_wayland_wrapper[2502]: SlideConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.387968+01:00 kaus kwin_wayland_wrapper[2502]: OverviewConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.388367+01:00 kaus kwin_wayland_wrapper[2502]: KscreenConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.388886+01:00 kaus kwin_wayland_wrapper[2502]: DesktopGridConfig::instance called after the first use - ignoring
2025-02-14T16:15:23.489964+01:00 kaus plasmashell[2599]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
do qual podemos ver que o kactivitymanager, por algum motivo não especificado, decide que deve criar uma tela Qt falsa para evitar que ele trave. E isso acontece várias vezes no curso de alguns segundos, até que a situação se estabilize, e não haja mais atividades relacionadas no syslog .
Outro detalhe importante é acrescentado por uma captura das conexões dbus :
date > cap.txt; kscreen-doctor --dpms off; dbus-monitor --profile >> cap.txt
e o conteúdo do arquivo de captura, cap.txt , é:
Fri Feb 14 04:08:49 PM CET 2025
#type timestamp serial sender destination path interface member
# in_reply_to
sig 1739545729.278759 2 org.freedesktop.DBus :1.68 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired
sig 1739545729.278766 4 org.freedesktop.DBus :1.68 /org/freedesktop/DBus org.freedesktop.DBus NameLost
mc 1739545730.964295 280 :1.41 :1.49 /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Background GetAppState
mr 1739545730.965055 239 :1.49 :1.41 280
mc 1739545730.966093 281 :1.41 :1.43 /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore Lookup
err 1739545730.966962 71 :1.43 :1.41 281
mc 1739545735.968323 282 :1.41 :1.49 /org/freedesktop/portal/desktop org.freedesktop.impl.portal.Background GetAppState
mr 1739545735.969096 240 :1.49 :1.41 282
mc 1739545735.970145 283 :1.41 :1.43 /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore Lookup
err 1739545735.970998 72 :1.43 :1.41 283
sig 1739545740.179599 187 :1.26 <none> /kwinrc org.kde.kconfig.notify ConfigChanged
mc 1739545740.180923 389 :1.21 org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus AddMatch
O horário inicial da captura do dbus , 1739545729, corresponde a sexta-feira, 14 de fevereiro de 2025, 16h08min49s GMT+01:00, que também é a saída do comando date imediatamente antes do comando que desliga o monitor. Vemos que cerca de 11 segundos após o desligamento o kwin envia um sinal de que a configuração mudou, o que presumivelmente é a consequência do kded5 ter criado uma tela Qt falsa. Mas o que exatamente aciona esse comportamento engraçado?
O engraçado é que a mesma configuração funciona perfeitamente em uma sessão X11, ela só quebra em uma sessão Wayland. Mas, apesar disso, não está claro para mim se isso é um bug do Wayland ou do KDE. Eu pesquisei qt.qpa.wayland: Creating a fake screen in order for Qt not to crash , o que leva a duas escassas referências, a mais relevante das quais afirma:
O problema provavelmente está no Wayland ou no DE, pois eles não estão fechando o portal.
(qualquer que seja o portal). Mas aqui também não houve consenso sobre o verdadeiro culpado.
Alguém pode ajudar? Estou perdido, obrigado.
O que é Wayland?
Assim como o OP, eu tinha a impressão de que Wayland era software, mas depois de pesquisar no Google, encontrei The Wayland Protocol . O ecossistema Linux está em processo de conversão do X Server para se alinhar mais de perto ao paradigma MVC . O PHP tem feito a parte do MVC há anos com Frameworks tão grandes quanto Laravel e tão micro quanto Slim .
Como essa mudança afetou o Linux
Se dividirmos um ambiente de desktop em partes para corresponder ao paradigma MVC, teremos:
Obrigado ao Geeks For Geeks pela imagem. A imagem mostra o fluxo contínuo de dados e como cada uma das partes interage com as outras partes junto com os dados. Em qualquer ambiente de desktop, o Wayland é o modelo. O software que compõe o modelo é Desktop Agnostic, o que significa que o Wayland não se importa com qual desktop você usa, pois o protocolo fornecido por sua implementação C passa os mesmos dados entre os itens retratados na foto exatamente da mesma maneira, independentemente da escolha do desktop do usuário. Este modelo pode não ser perfeito, mas, independentemente disso, agora temos apenas 2 peças para solucionar problemas, a View e o Controller.
Como a maioria dos usuários de Linux que começaram naquela época, eu só queria uma GUI que funcionasse, então segui as instruções de instalação do XOrg Server e empilhei a GUI/GNOME em cima disso. Não olhei para o código, só queria que funcionasse e não me importei com os detalhes. Eu sabia que poderia ser uma bagunça desajeitada para consertar e manter, e novamente não me importei. Com o advento de hardware mais novo, mais RAM etc., tenho certeza de que em algum momento a base de código do X11 se tornou cada vez mais difícil de manter, e da necessidade de algo novo nasceu o Wayland.
Concordo com o OP neste caso, como usuário da NVIDIA, e a própria NVIDIA que tem sido lenta em adotar o Wayland, esse ritmo lento não importa agora, pois não posso mais desabilitar o suporte ao Wayland na minha Gentoo Box, o que me força a uma situação semelhante à do OP.
Para onde ir agora? Solução de problemas do controlador
Deixei de fora intencionalmente a view, pois a view é o componente burro. A única coisa que os Compositores fazem é desenhar a saída do que está na tela, e o monitor é ainda mais burro como a parte final da view. Isso nos deixa o Componente Controller. No caso do OP, isso é:
kscreen-doctor
.Sabendo disso e sabendo o que colocar um monitor para dormir faz, eu sabia o que procurar. Quando uma tela dorme, os itens desenhados na tela, ou seja, aqueles que o Compositor no componente View desenharia são enviados para a RAM, armazenados lá até que a tela seja despertada, a RAM seja esvaziada e os objetos sejam redesenhados.
Para armazenar os itens desenhados na RAM, um snapshot é tirado (como uma foto de câmera). Essa foto é então enviada para o Controller, e o controlador envia a foto para o Model, e o processo é revertido para o awakening.
O que está acontecendo?
No caso do OP (e no meu também), a foto é tirada, enviada ao Controlador e quebra quando o controlador tenta dizer ao modelo para armazenar a foto para despertar mais tarde. Essa quebra ocorre nos 10 segundos ou mais em que a tela fica preta. Eu encontrei tudo isso aqui:
O rastreador de bugs do KDE
Nele havia uma lista de bugs e um link para o Resumo de Bugs do Tracker - Problemas Significativos Conhecidos do Plasma/Wayland , e agora cito:
Mais adiante na página:
Infelizmente, o parágrafo citado significa que alguém que se voluntaria como codificador vai precisar reescrever o Session Manager para o KDE de forma que ele não seja baseado no X11 Session Management Protocol e/ou escrever um plugin. Olhando para o cabeçalho para isso, o protocolo tem 23 anos, foi parcialmente/totalmente construído no GNOME (não consigo dizer ao escanear o documento devido a todas as menções de possíveis ) e não existe no KDE.