http://bugs.winehq.org/show_bug.cgi?id=33476
--- Comment #4 from Stefan Dösinger stefan@codeweavers.com 2013-05-02 08:53:09 CDT --- Created attachment 44350 --> http://bugs.winehq.org/attachment.cgi?id=44350 Hack
fxc.exe tries to create a D3DDEVTYPE_REF device that renders to the desktop window (GetDesktopWindow()). winex11 rejects that.
As far as I know, it is not valid to create a HAL device that renders to NULL or GetDesktopWindow(), but you can do that with REF and NULLREF devices. The attached hack creates a dummy window, which makes fxc happy. This is broken in many ways. I don't even know what a correct fix would look like. We can't use opengl to render to the desktop window, and writing our own software renderer seems a bit out of proportion as well. Maybe we can use the BitBlt() present code we have for ddraw to render offscreen, then blit the results to the desktop.
And yeah, fxc doesn't actually render anything. But REF devices on Windows can render, they're just very slow...