Something is borked in your STL for some reason, this error is not inside DXVK code. Where did you get your mingw from?
From the AUR? I just reinstalled it, too. Do I need it from somewhere else?
These are the packages I have installed according to yay -Q | grep -i mingw
mingw-w64-binutils 2.33.1-1
mingw-w64-crt 7.0.0-1
mingw-w64-gcc 9.2.0-1
mingw-w64-headers 7.0.0-1
mingw-w64-winpthreads 7.0.0-1
Weird. I'm running the exact same versions and it's working fine here :woman_shrugging:
However, line 320 in /usr/x86_64-w64-mingw32/include/c++/9.2.0/bits/stl_heap.h looks different here:
std::__pop_heap(__first, __last, __last, __cmp);
So, uh, maybe try reinstalling mingw-w64-gcc or try fixing it manually, I guess.
Oh my god this is driving me insane. So, I went to reinstall mingw-w64-gcc, and it absolutely will not build, which has been an issue before. I've tried it like 6 times, and it just gives a bullshit Makefile error with no information. I know that's not your purview. Anyway, So I then decided to just go ahead and edit the file manually as you suggested. The line is the exact same as what you said yours looks like. Like that second weird parenthesis that shows up in the error isn't in my file. Now when I try to run ninja install I get a different error:
[55/182] Generating 'src/d3d11/bca5607@@d3d11@sha/dxgi_presenter_vert.h'.
../src/d3d11/../dxgi/shaders/dxgi_presenter_vert.vert
[57/182] Generating 'src/d3d11/bca5607@@d3d11@sha/dxgi_presenter_frag.h'.
../src/d3d11/../dxgi/shaders/dxgi_presenter_frag.frag
[82/182] Compiling C++ object 'src/d3d...5607@@d3d11@sha/d3d11_buffer.cpp.obj'.
FAILED: src/d3d11/bca5607@@d3d11@sha/d3d11_buffer.cpp.obj
x86_64-w64-mingw32-g++ -Isrc/d3d11/bca5607@@d3d11@sha -Isrc/d3d11 -I../src/d3d11 -I.././include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ 'src/d3d11/bca5607@@d3d11@sha/d3d11_buffer.cpp.obj' -MF 'src/d3d11/bca5607@@d3d11@sha/d3d11_buffer.cpp.obj.d' -o 'src/d3d11/bca5607@@d3d11@sha/d3d11_buffer.cpp.obj' -c ../src/d3d11/d3d11_buffer.cpp
In file included from /usr/x86_64-w64-mingw32/include/corecrt.h:10,
from /usr/x86_64-w64-mingw32/include/crtdefs.h:10,
from /usr/x86_64-w64-mingw32/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/stddef.h:1,
from /usr/x86_64-w64-mingw32/include/c++/9.2.0/bits/cxxabi_init_exception.h:38,
from /usr/x86_64-w64-mingw32/include/c++/9.2.0/bits/exception_ptr.h:38,
from /usr/x86_64-w64-mingw32/include/c++/9.2.0/exception:143,
from /usr/x86_64-w64-mingw32/include/c++/9.2.0/stdexcept:38,
from /usr/x86_64-w64-mingw32/include/c++/9.2.0/array:39,
from ../src/d3d11/../dxvk/../util/log/log.h:3,
from ../src/d3d11/../dxvk/dxvk_include.h:3,
from ../src/d3d11/../dxvk/dxvk_device_info.h:3,
from ../src/d3d11/../dxvk/dxvk_adapter.h:3,
from ../src/d3d11/../dxvk/dxvk_device.h:3,
from ../src/d3d11/d3d11_buffer.h:3,
from ../src/d3d11/d3d11_buffer.cpp:1:
/usr/x86_64-w64-mingw32/include/ocidl.h:2441:1: internal compiler error: Segmentation fault
2441 | __CRT_UUID_DECL(IPropertyPageSite, 0xb196b28c, 0xbab4, 0x101a, 0xb6,0x9c, 0x00,0xaa,0x00,0x34,0x1d,0x07)
| ^~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[95/182] Compiling C++ object 'src/d3d...607@@d3d11@sha/d3d11_context.cpp.obj'.
ninja: build stopped: subcommand failed.
I have no idea what the deal is, but I've tried it on an Arch install and 2 different Manjaro installs. What the hell. Oh well, it's not DXVK so I guess I'll have to figure something else out.
Are you running a first-gen Ryzen CPU by any chance? I heard from multiple users that GCC 9.2 causes some trouble with those for some reason.
I'm running second-gen, but I think it was a memory issue having my RAM clocked at 3200MHz, GloriousEggroll told me first and second-gen ryzen seem to not like going above 3000MHz. I lowered it to 3000MHz and it works.
Nothing extracted yet.
I can't get the latest version to compile manually. I thought it maybe had something to do with a patch I applied, but I exited the directory, removed the whole cloned directory, re-cloned it just to make sure everything was fresh, and tried again, with the same issue. Something during
ninja installis causing an error, and I can't figure out for the life of me what it is. It always errors out at a different step. Sometimes it doesn't error out until the very end, sometimes it's at the very beginning. It worked just fine for me on the previous version. Here is the output formeson --cross-file build-win64.txt --buildtype release --prefix /home/matt/dxvk build.w64:After
cd build.w64; ninja install, like I said it's different every time but here's the output starting at the first error for the most recent attempt:As you can see from the meson command I have all the dependencies (the
winelib checkhas always said no, I can't figure that whole thing out but I don't think it matters here), and I haven't edited any files, like I said this fails with a completely fresh cloned repo. Doing it the "easy way" from the guide, usingpackage-release.shalso fails with the same errors at the same step.System information