Comments (4)
Thanks for reporting back.
from dxvk.
err: D3D11SwapChain: Failed to recreate swap chain: -13
err: DXGI: CreateSwapChainForHwnd: Failed to create swap chain, hr -2147467259
Looks like some problem with PRIME maybe? For some reason we're unable to create a Vulkan swap chain on the game's window, but the reason for that can be pretty much anything from messed up driver setup (shouldn't really be a problem since Turing should just work out of the box), your wine/proton build being weird, Heroic setting weird environment variables that fuck things up, or the specific game doing something weird. Extremely hard to remote-debug these things.
Maybe try something like DXVK_FILTER_DEVICE_NAME=Intel
to force it to run on the integrated GPU and see if that works for now.
from dxvk.
I don't really know about the drivers, installed smoothly from rpmfusion and signed for safe boot. I already reinstalled them once to be sure a few days ago, but the issue persisted. Setting DXVK_FILTER_DEVICE_NAME=Intel
does run the game, but of course there are performance hits on more demanding titles (for the record, almost every game I tried firing up from both Steam and Heroic throws this error).
Since remote-debugging is not viable, how would I go about investigating it? I'm pretty new to Linux so I'm just asking about some good debugging practices. Also, in the event I manage to launch the game, would the log be of any use? Thank you for your patience. I'm kinda going insane with this
from dxvk.
Hello, with the help of some (way) more knowledgeable people (than me) I found a solution for anyone having the same issue. Basically the root of it was that during boot, one of the Nvidia kernel modules failed to load. In my case, nvidia-modprobe
failed to initialize, and as a result, some key system files were missing at startup; for me it was the /dev/nvidia-modeset
device file. The curious thing is that vulkaninfo
fixed the issue because it directly attempts to call nvidia-modprobe
after the boot initialization (as explained well here and also here). This means that running vulkaninfo
deals the same exact result as running nvidia-modprobe -m
(to load the modeset module and create the missing file). Now, the easiest and preferred way to automatically run nvidia-modprobe
when the Nvidia module is loaded during boot, is by setting a custom udev rule
: the structure of which is almost identical to this one made for Arch. There are some personal differences in the KERNEL
and DRIVER
arguments based on how each is called in the host machine, so let's go step by step:
- You may want to check if you have
nvidia-drm.modeset=1
in the boot parameters. If not, it is preferred to add it (there are plenty of resources online on how to add a boot parameter in GRUB, I don't wanna make expansive explanations. Also note that depending on the distro of choice, the spelling could need a_
instead of-
so check for your distro); - Create a new file in
/etc/udev/rules.d
callednvidia-modprobe.rules
; - Copy the contents of the Arch rule in the newly created file;
- Run
udevadm info -a -n /dev/dri/cardX
, whereX
is the number of your dGPU. Should be either0
or1
(you should be able to infer which card the command targeted by looking at the output anyways); - Find the right
KERNEL
andDRIVER
entries listed by the command and replace the default ones in thenvidia-modprobe.rules
file with those (in my case they wereKERNEL=="card1"
andDRIVER==""
); - Add the right flags to the line
RUN+="/usr/bin/nvidia-modprobe -c 0 -u"
. I, for example, had to add-m
to rebuild the right missing module (modeset); - Save the file, reboot and you should be good!
from dxvk.
Related Issues (20)
- Dark Souls: Remastered - visually freezes but everything else works HOT 7
- Desaturated colours when used with Watch Dogs 2 HOT 2
- Battle.net's BlizzardBrowser.exe (Chromium) "Failed to find the GPU adapter with the specified Luid." HOT 2
- Question about NVIDIA shader cache HOT 2
- Game opens in wrong monitor(WINDOWS10) HOT 3
- Ephinea PSOBB crashes with add-on plugin and DXVK artifact build which addresses #3117 HOT 9
- Mirror's Edge (2009) performs worse after shader compilation HOT 1
- [d3d9] Shift 2 Unleashed alt-tab issue HOT 1
- Everquest missing old textures HOT 13
- 46274498
- Please plan for what happens to SOVERSION when minor/micro version has 2 digits HOT 4
- [d3d9] Lego Star Wars The Complete Saga - stuttering during the levels opening animations (even for a second time) HOT 3
- Is DXVK_FRAME_RATE programmed to work with Direct3D 12 (vkd3d) games? HOT 2
- Ubisoft Connect launcher main window not working HOT 4
- EA Origin launcher question HOT 4
- World of Warcraft 1.12: regression caused by 7df8017 HOT 11
- API trace DXVK files question HOT 5
- Watch Dogs 1 doesn't respect minimized state HOT 11
- Ability to build DXVK Native in distro environments HOT 1
- Need for Speed Underground - Image corruption on Intel HD Graphics 630 (KBL GT2) HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dxvk.