Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libdwayland platform plugin makes konsole spamming log under Plasma Wayland #7217

Open
felixonmars opened this issue Feb 1, 2024 · 2 comments
Assignees

Comments

@felixonmars
Copy link
Member

SUMMARY | 问题概要

With deepin-qt5platform-plugins installed, konsole running under Plasma Wayland prints dozens of errors on every second, rendering the systemd journal unusable:

Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
Feb 01 23:54:58 flygon.felixc.at konsole[2889]: dpi is invalid got from xsettings(Qt/DPI/ and Xft/DPI), fallback to get dpi from QWaylandScreen::logicalDpi()                                                                                                                     
……

This no longer reproduces after removing /usr/lib/qt/plugins/platforms/libdwayland.so from disk.

SOFTWARE/OS VERSIONS | 软件/系统版本信息

Arch Linux x86_64
deepin-qt5platform-plugins 5.6.21-1

(It has been the case since a long time ago, maybe ever since the plugin was added to the package.)

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

  • Install plasma, konsole, and deepin-qt5platform-plugins
  • Enter Plasma wayland session
  • Run konsole, and then watch systemd journal rolling

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

No response

ADDITIONAL INFORMATION | 额外补充

No response

@justforlxz
Copy link
Member

目前的 dde wayland 方案已经废弃,建议在构建时禁用 dwayland。

https://github.com/linuxdeepin/qt5platform-plugins/blob/master/CMakeLists.txt#L55

@felixonmars
Copy link
Member Author

wayland 支持已在 deepin-qt5platform-plugins 5.6.22-2 中禁用。建议上游项目代码里提供开关或直接移除相关支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants