protonscr

[Feature Request] Add support for X11 WSI

dxvkopen enhancement
doitsujin/dxvk#3751 · opened 2023-12-17 by bkaradzic · updated 2025-05-19 · 3 comments · github
Bbkaradzic 2023-12-17 github

This is not issue, rather feature request... Sorry! :smiley:

It would be great if DXVK can be used directly with X11 without SDL.

I already did some work, it's not complete, but it works enough for my use case (using D3D11 for testing on Linux directly without SDL):
https://github.com/bkaradzic/dxvk/commit/38b5f66ece6b2e7bcfa99654bf298329195dc90f

Fflibitijibibo 2023-12-18 github

It might make things easier to rebase on #3738, which allows all the backends to live in one binary.

Ddoitsujin maintainer 2023-12-18 github

#3738 is definitely going to happen first, but I'm not opposed to having an X11 backend added afterwards.

Is the xlib path relevant? Given that the headers are such a huge pain in the arse to work with and have #defines for literally every English word in existence, I'd strongly prefer to not have to deal with it and just have an xcb path.

Fflibitijibibo 2024-05-22 github

The WSI changes got merged, so it should now be possible to add xcb/xlib support in the same binary as SDL/GLFW.

Nothing extracted yet.