Created attachment 162921 [details] screenshot i'm running kde plasma on my mobile phone in chroot debian12 with zink on turnip. zink cannot create from pixmap properly when working with turnip vulkan driver, and even with amd radv the content is blurry. please implement software based texture from pixmap window content processing. that may also fix the same problem when running kwin with nvidia prime offload ``` root@localhost ~# export KWIN_COMPOSE=O2 root@localhost ~# kwin_x11 --replace QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' error: XDG_RUNTIME_DIR is invalid or not set in the environment. kwin_xkbcommon: XKB: inet:334:58: unrecognized keysym "XF86EmojiPicker" OpenGL vendor string: Mesa OpenGL renderer string: zink Vulkan 1.3(Turnip Adreno (TM) 730 (MESA_TURNIP)) OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.0-devel (git-1d619e68c6) OpenGL shading language version string: 4.60 Driver: Unknown GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 Mesa version: 23.3 X server version: 1.21.1 Linux kernel version: 5.10.101 Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kf.kirigami: Failed to find a Kirigami platform plugin file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined ../src/vulkan/wsi/wsi_common_x11.c:2057: Swapchain status changed to VK_SUBOPTIMAL_KHR MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 4195, resource id: 37748984, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7961, resource id: 37748995, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10454, resource id: 37749049, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10455, resource id: 37749049, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10456, resource id: 37749049, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10457, resource id: 37749049, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10458, resource id: 37749049, major code: 14 (GetGeometry), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined file:///usr/local/share/kwin/effects/showfps/qml/main.qml:119: TypeError: Cannot read property 'width' of undefined MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 35601, resource id: 4194338, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 24499, resource id: 81788931, major code: 15 (QueryTree), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 26579, resource id: 37749171, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 28938, resource id: 37749172, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 30050, resource id: 37749182, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43210, resource id: 37749203, major code: 18 (ChangeProperty), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43339, resource id: 37749204, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45521, resource id: 37749213, major code: 18 (ChangeProperty), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45648, resource id: 37749214, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 62059, resource id: 37749270, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 62060, resource id: 37749270, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 62061, resource id: 37749270, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 62062, resource id: 37749270, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 62063, resource id: 37749270, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1573, resource id: 37749275, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12274, resource id: 37749289, major code: 18 (ChangeProperty), minor code: 0 MESA: error: kopper: could not create texture from pixmap (4) MESA: error: kopper: could not create texture from pixmap (4) qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 22384, resource id: 71313724, major code: 18 (ChangeProperty), minor code: 0 ```
in the same environment kwin wayland on x11 backend works well
Sorry, but this doesn't sound like something that we can fix. If Zink can't create a pixmap, that has to be fixed in Zink, so please report this at https://gitlab.freedesktop.org/mesa/mesa/-/issues
reported to mesa https://gitlab.freedesktop.org/mesa/mesa/-/issues/9903