mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-01-26 16:54:32 +00:00
d7d8244593
Instead of duplicating prefixes in the ThunksDB json file even more, just do a prefix replacement when the thunks database is being parsed. Changes the JSON overlay arrays over to @PREFIX@ and reduce the duplication. Adds support for the pressure-vessel prefix `/usr/lib/pressure-vessel/overrides/lib` This gets thunks ready for running under pressure-vessel, once vulkan thunking switches from device libraries to the vulkan loader it should just work.
226 lines
6.3 KiB
JSON
226 lines
6.3 KiB
JSON
{
|
|
"DB": {
|
|
"GL": {
|
|
"Library" : "libGL-guest.so",
|
|
"Depends": [
|
|
"X11"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGL.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGL.so.1",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGL.so.1.2.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGL.so.1.7.0"
|
|
]
|
|
},
|
|
"GLESv2": {
|
|
"Library": "libGLESv2-guest.so",
|
|
"Depends": [
|
|
"X11"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGLESv2.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGLESv2.so.2",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGLESv2.so.2.0.0"
|
|
]
|
|
},
|
|
"X11": {
|
|
"Library": "libX11-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libX11.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libX11.so.6",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libX11.so.6.4.0"
|
|
]
|
|
},
|
|
"Vulkan-radeon": {
|
|
"Library": "libvulkan_radeon-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_radeon.so"
|
|
],
|
|
"Comment": [
|
|
"Vulkan library relies on xcb, otherwise it crashes with jemalloc"
|
|
]
|
|
},
|
|
"Vulkan-lavapipe": {
|
|
"Library": "libvulkan_lvp-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_lvp.so"
|
|
]
|
|
},
|
|
"Vulkan-freedreno": {
|
|
"Library": "libvulkan_freedreno-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_freedreno.so"
|
|
]
|
|
},
|
|
"Vulkan-intel": {
|
|
"Library": "libvulkan_intel-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_intel.so"
|
|
]
|
|
},
|
|
"Vulkan-panfrost": {
|
|
"Library": "libvulkan_panfrost-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_panfrost.so"
|
|
]
|
|
},
|
|
"Vulkan-nvidia": {
|
|
"Library": "libvulkan_nvidia-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libGLX_nvidia.so.0"
|
|
],
|
|
"Comment": [
|
|
"Not currently wired up"
|
|
]
|
|
},
|
|
"Vulkan-virtio": {
|
|
"Library": "libvulkan_virtio-guest.so",
|
|
"Depends": [
|
|
"xcb"
|
|
],
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libvulkan_virtio.so"
|
|
]
|
|
},
|
|
"xcb": {
|
|
"Library": "libxcb-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb.so.1",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb.so.1.1.0"
|
|
]
|
|
},
|
|
"xcb-dri2": {
|
|
"Library": "libxcb_dri2-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri2.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri2.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri2.so.0.0.0"
|
|
]
|
|
},
|
|
"xcb-dri3": {
|
|
"Library": "libxcb_dri3-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri3.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri3.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-dri3.so.0.0.0"
|
|
]
|
|
},
|
|
"xcb-xfixes": {
|
|
"Library": "libxcb_xfixes-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-xfixes.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-xfixes.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0"
|
|
]
|
|
},
|
|
"xcb-shm": {
|
|
"Library": "libxcb_shm-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-shm.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-shm.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-shm.so.0.0.0"
|
|
]
|
|
},
|
|
"xcb-sync": {
|
|
"Library": "libxcb_sync-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-sync.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-sync.so.1",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-sync.so.1.0.0"
|
|
]
|
|
},
|
|
"xcb-randr": {
|
|
"Library": "libxcb_randr-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-randr.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-randr.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-randr.so.0.1.0"
|
|
]
|
|
},
|
|
"xcb-present": {
|
|
"Library": "libxcb_present-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-present.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-present.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-present.so.0.0.0"
|
|
]
|
|
},
|
|
"xcb-glx": {
|
|
"Library": "libxcb_glx-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-glx.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-glx.so.0",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxcb-glx.so.0.0.0"
|
|
]
|
|
},
|
|
"xshmfence": {
|
|
"Library": "libshmfence-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxshmfence.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxshmfence.so.1",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libxshmfence.so.1.0.0"
|
|
]
|
|
},
|
|
"drm": {
|
|
"Library": "libdrm-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libdrm.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libdrm.so.2",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libdrm.so.2.4.0"
|
|
]
|
|
},
|
|
"asound": {
|
|
"Library": "libasound-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libasound.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libasound.so.2",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libasound.so.2.0.0"
|
|
]
|
|
},
|
|
"Xrender": {
|
|
"Library": "libXrender-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXrender.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXrender.so.1",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXrender.so.1.3.0"
|
|
]
|
|
},
|
|
"Xext": {
|
|
"Library": "libXext-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXext.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXext.so.6",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXext.so.6.4.0"
|
|
]
|
|
},
|
|
"Xfixes": {
|
|
"Library": "libXfixes-guest.so",
|
|
"Overlay": [
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXfixes.so",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXfixes.so.3",
|
|
"@PREFIX_LIB@/x86_64-linux-gnu/libXfixes.so.3.1.0"
|
|
]
|
|
},
|
|
"":{}
|
|
}
|
|
}
|