dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

[Feature Request] Add support for X11 WSI

Open bkaradzic opened this issue 2 years ago • 3 comments

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

bkaradzic avatar Dec 17 '23 04:12 bkaradzic

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

flibitijibibo avatar Dec 18 '23 00:12 flibitijibibo

#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.

doitsujin avatar Dec 18 '23 01:12 doitsujin

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

flibitijibibo avatar May 22 '24 16:05 flibitijibibo