Closed xMeM closed 1 year ago
X server reports shm support only for for Unix connections. In the case of TCP connection it always reports no MIT-SHM support.
Anyway, you are likely doing something wrong. I am checking every version with termux's glxgears (llvmpipe and virpipe). It requires MIT-SHM support.
无论如何,你可能做错了什么。我正在使用termux的glxgears(llvmpipe和virpipe)检查每个版本。它需要MIT-SHM的支持。
I used vulkan-loader-generic to load the native Qualcomm vulkan driver in termux, and then tried to use vulkan-wsi-layer. Finally, I successfully ran vkcube and vkmark on my OnePlus11 device, but after I updated termux:x11 version, shared pixmap creation failed.
This is all the code I use, some of which is copied from mesa and termux-gfx-wrapper. Maybe you can help me check it. sysvk vulkan-wsi-layer
Yeah, you are right. It happens because I initialized root window with offscreen pixmap. Fixing this now.
Build is finished. Can you please check this?
构建已完成。你能检查一下吗?
Okay, it’s fixed now
Use the following code to query the shared pixmap support status. In previous versions, it outputs enable, but in the latest version, it outputs disable.
The last version that outputs enable is this one .
Is this code correct? If it is incorrect, how can I correctly query the support of shared pixmap?