-
Notifications
You must be signed in to change notification settings - Fork 899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Games doesn't run with v.2.3 and Proton but are working fine with 2.2 and previous #3670
Comments
Edit: wait you tried Experimental BE nvm. |
I know how to compile but not to bisect. I have the same problem with VKD3D as well. It's fine with 2.9 and it's not working with 2.10. |
May be it's a Pascal thing? |
I don't really see why we'd break specifcally on Proton specifically on Pascal. There haven't really been any significant changes to the Vulkan feature set that we use anyway and I don't see anything suspicious in the log either. |
Yes, the log is useless here. I tried it on Nobara, Linux Mint and vanilla Arch Linux. All the same. |
if you manually replace proton experimental's dxvk with an older version, do the games start? |
Yep, there's no problem. |
seems like bisecting is your best option, what you need to do is:
This will make git pick a commit in the middle of those. After that, you'll have to compile the project as normal and test it, if the problem is there you'll do |
Remember to do |
It seems pretty time consuming. I'll try but I'm not sure I'm gonna make it. |
In this case, it should be 7 compilations to find the bad commit (not telling you to do it, just giving some more info). |
Thanks, let's see if I can do this. |
Found it! Now the game is running fine. What I should do further? |
According to that, you still need some more steps, but you can try bringing the output of this `vulkaninfo | grep -i "instance version", I think it should be no lower than the one mentioned in that commit, but I'm not sure about it. |
Oh, I see. Now I have to finish all the steps. Thank you!
|
The final result is this:
|
I will say right away that I don't have time to devote to this. I am just adding some hopefully useful information regarding a family member's computer.
Wayland:
X11
How it freezes the computer:
By looking at the DXVK 2.3 release notes, I am guessing that NVIDIA has issues on X11 with the |
How can I disable For me if I press Super+D (show desktop) and wait a fair amount of time. the game minimizes and I can kill it from Ksysguard or with |
Hmm it's weird that present wait would be the issue as it should only be enabled on drivers past 535, but you originally tested with the 525 series as well. What driver did you use while bisecting? |
I tested it with 525.125.06 but the problem exisits on 535.43.09 as well. Is there a variable to disable this feature? I tried with VKD3D and there's such option: |
I have found the root cause.It happens when the following are all true:
PS: Just for reference, I checked the exact NVIDIA driver version on my family member's computer. They're on 535.104.05. |
Some searching reveals that the "Force Full Composition Pipeline" NVIDIA bug was discussed back in June of 2023 already, by the author of VKD3D: ValveSoftware/Proton#6869 (comment) This confirms it. And several other people in that thread confirmed it too. |
Yes, now everything is working fine. Thank you for that! |
@dreamhunt Happy to hear it helped you too! :) I have noticed that "Force Full Composition Pipeline" isn't required on X11 anymore if you use Chrome-based browsers (I use Brave). It now synchronizes the display of fullscreen videos and doesn't have tearing anymore even without that feature enabled. So for me, I don't see any reason to keep that checkbox enabled anymore. It was always a hack, according to NVIDIA. That setting does something to force vsync on X11 by guessing about when each frame changes, to avoid tearing if apps don't handle vsync internally. Two years ago, it was absolutely necessary but now it seems fine to disable that setting. :) As for reporting it to where it belongs, you probably saw the linked post where HansKristian from VKD3D said that he has reported it to NVIDIA back in June. I wasn't able to find his report (I searched for keywords in the entire Linux NVIDIA forum), and he hasn't replied with details about how he reported it, which leads me to assume that he has reported it to them privately. It might help to also report it publicly just in case, so I made a thread via a trash account here: If you have an NVIDIA account (or can make one with a trash email quickly), you could add your voice to that if you wanna show NVIDIA that it's a confirmed issue. Other than that, there's nothing else we can do but wait for NVIDIA to fix it. @doitsujin I'd suggest that you keep the "crashing" feature enabled in DXVK. It's about time that NVIDIA fully fixes their driver instead of DXVK/VKD3D having to kludge/blacklist the broken feature. :) And each time it's "wallpapered over" by DXVK, to make the issue invisible, it just delays the pressure on NVIDIA to actually fix it. :) ❤️ |
I'm actually mozo78 but I don't know why I can't write here with my main account and I'm using another one. |
That's fantastic news. Two years ago, I remember that every video would tear in fullscreen on X11 in my browser. I was using either Brave or Firefox back then. And that's why I started using NVIDIA's "Force Full Composition Pipeline" workaround. If Firefox doesn't tear in fullscreen, then that would mean both of the major browser brands work on X11 now. In that case, I really don't see any reason to keep the buggy NVIDIA setting anymore. It was always a hack and always caused various issues with the graphics rendering pipeline, frame delays, lower performance, etc. So it would be great if we can live without it now. X11 is unsynchronized by default and means that we theoretically might see tearing in some apps now, but I think it's gonna be fine since we've both confirmed that browsers work, and the big app GUI toolkits like Qt and GTK nowadays handle synchronized (tear-free) rendering properly on their own. It's nice that this driver bug taught me that I can finally disable the NVIDIA hack! ;) Edit: The mpv video player has tearing on X11 now, but I can live with that while waiting for NVIDIA's final Wayland support sometime in 2024. |
Yes, it's great and thank you :) |
I'm here just to confirm problem with dxvk 2.3 with another UE4 title - Evospace. Game run fine with dxvk 2.2, but with dxvk 2.3 crash on startup if focused. If unfocused, game load to menu even on dxvk 2.3, but crash once focused. Error message always same: "GameThread timed out waiting for RenderThread after 120.00 secs". Btw, i see here discussion about "Force Full Composition Pipeline" on NVIDIA causes problem, while i have is disabled, i have only "Force Composition Pipeline" enabled. I'm going to check with both disabled later, as is need reboot to take effect. Also, @Arcitec on nvidia forum say "NVIDIA driver 535+.", but actually 515.65 affected too (im on this version still) |
Just adding in dxvk 2.3 doesn't work with Rockstar Games Launcher (for RDR2). It says compiling shaders on the bottom left of the launcher and freezes. dxvk 2.2 works fine. It also doesn't work for Honkai Star Rail, a unity game (free to play). On HSR it shows a black screen but the game is still running in the background. Again, works with dxvk 2.2. Using Radeon 6700XT on radv Mesa 24.1.0-devel Looks like it isn't limited to UE4 titles or Nvidia GPU's? |
@wchao96 That is indeed unrelated, please open a separate issue. |
Made a workaround. This disables VK_KHR_present_id and VK_KHR_present_wait for nvidia. |
My comment was based on the source code of DXVK: // Unless we're on an Nvidia driver where these extensions are known to be broken
if (matchesDriver(VK_DRIVER_ID_NVIDIA_PROPRIETARY, 0, VK_MAKE_VERSION(535, 0, 0))) {
enabledFeatures.khrPresentId.presentId = VK_FALSE;
enabledFeatures.khrPresentWait.presentWait = VK_FALSE;
} These features are disabled in DXVK unless you are on driver 535+. So you should not have any hanging due to that. Still, I am curious if you would like to follow up with whether disabling composition pipeline helped you? I would assume it doesn't help, since only driver 535+ are affected by this bug. In older drivers than that, the present id/wait features were completely broken and that's why DXVK blacklists them in older drivers. Edit: There was a very brief period where a DXVK release in 2023 un-blacklisted those features on older drivers, which broke NVIDIA drivers. If you are affected by that other issue, you need to update DXVK or Proton (which contains older DXVK versions). |
Hello,
I have a weird problem:
Some games (all UE 4 titles for example and Baldurs Gate 3) doesn't run with v.2.3 and Proton but are working fine with 2.2 and previous. If I use Wine or Wine-Staging (Tkg), the games are running fine. When I use DXVK 2.3 and Proton or ProtonGE, the games starts to a black screen and doesn't go further.
Software information
Generally all UE 4 games and Baldur's Gate 3. I remember some Unity3D titles but I can't recall the exact names.
System information
Log files
Baldur's Gate 3 Proton 8.0-3.log
The text was updated successfully, but these errors were encountered: