T
Termux4mo ago
Sirox

x11 gives errors after switching to lavapipe from turnip

i'm trying to switch to lavapipe from turnip, i compiled it from latest mesa with flags -Dvulkan-drivers=swrast -Dgallium-drivers=[] -Dcpp_rtti=false and then made a file called lvp_icd.aarch64.json in usr/share/vulkan/icd.d with those contents
{
"ICD": {
"api_version": "1.3.295",
"library_path": "/data/data/com.termux/files/home/mesa/build/src/gallium/targets/lavapipe/libvulkan_lvp.so"
},
"file_format_version": "1.0.0"
}
{
"ICD": {
"api_version": "1.3.295",
"library_path": "/data/data/com.termux/files/home/mesa/build/src/gallium/targets/lavapipe/libvulkan_lvp.so"
},
"file_format_version": "1.0.0"
}
but then when i try to run vkcube the screen in termux x11 is black, some other programs fail with
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 147 ()
Minor opcode of failed request: 4
Serial number of failed request: 179
Current serial number in output stream: 193
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 147 ()
Minor opcode of failed request: 4
Serial number of failed request: 179
Current serial number in output stream: 193
and all those are working fine with turnip. what am i doing wrong?
Solution:
GitHub
dri3 extension makes lavapipe driver failure · Issue #639 · termu...
I found that since Termux-X11 supports the DRI3 extension, the Lavapipe (the Software Vulkan Driver) driver has a problem that show the black window of the lavapipe vulkan program。 such as vkcube: ...
Jump to solution
2 Replies
Solution
twaik
twaik4mo ago
GitHub
dri3 extension makes lavapipe driver failure · Issue #639 · termu...
I found that since Termux-X11 supports the DRI3 extension, the Lavapipe (the Software Vulkan Driver) driver has a problem that show the black window of the lavapipe vulkan program。 such as vkcube: ...
Sirox
SiroxOP4mo ago
i tried it, but it didn't change anything after restarting termux it worked
Want results from more Discord servers?
Add your server