Comments (12)
After reading both issues, this does look like an issue stemming from the FSR patchset. Could you apply this following patch to Wine-GE and trying again?
0002-fshack-potentially-fix-image-corruption-on-ANV.patch.txt
I have no clue if it is going to help, but I couldn't reproduce the issue either on Broadwell HD Graphics 5500 (hasvk
)
from dxvk.
@casasfernando Interesting, I'll look into it tomorrow.
from dxvk.
Renders fine on Nvidia, so I'm inclined to say it's a driver bug.
from dxvk.
Thanks for looking into this so quickly.
I also suspect it’s a driver issue because I couldn’t repro on AMD gpus but what puzzles me is that it only affect some games (including every game with nglide I tested) and disabling lossless color compression at driver level resolves it.
Games where DXVK is working without noccs env var: NFS HP2, Call of Duty and Star Wars Republic Commando
I was wondering if it can be caused by some D3D9 translation work that DXVK is doing.
I have an Intel 11th gen laptop with IrisXE igpu where I can check the behavior and report back.
from dxvk.
Also working fine on 11th Gen Intel(R) Core(TM) i7-1185G7 with Intel(R) Xe Graphics (TGL GT2) iGPU and using the same mesa driver version, Wine version and prefix.
Could this be a driver problem only affecting older Intel iGPUs?
Attaching the Heroic-Wine log in case it helps:
from dxvk.
Could this be a driver problem only affecting older Intel iGPUs?
Yes a lot of driver issues can be generation specific
from dxvk.
I went ahead and opened an issue for Mesa project to look into this: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11247
from dxvk.
Made some progress on the Mesa issue above with the great help of the guys there. The problem seems to be caused by Proton/Wine-GE fshack.
I'm still troubleshooting the issue and found a validation error repeating several times in DXVK log file:
err: VUID-VkImageViewCreateInfo-image-01762:
err: Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] Object 0: handle = 0x3430000000343, type = VK_OBJECT_TYPE_UNKNOWN; | MessageID = 0x6516b437 | vkCreateImageView() format VK_FORMAT_B8G8R8A8_SRGB differs from VkNonDispatchableHandle 0x3430000000343[] format VK_FORMAT_B8G8R8A8_UNORM. Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkImageViewCreateInfo-image-01762)
Once we find more I will share the information here as well.
from dxvk.
After reading both issues, this does look like an issue stemming from the FSR patchset. Could you apply this following patch to Wine-GE and trying again?
0002-fshack-potentially-fix-image-corruption-on-ANV.patch.txt
I have no clue if it is going to help, but I couldn't reproduce the issue either on Broadwell HD Graphics 5500 (
hasvk
)
Thanks for the patch.
I will look into how to build Win-GE since I never tried it before and once I test it I will report back.
from dxvk.
@loathingKernel I tried to build Wine-GE today following the build instructions from the Github repo to no avail.
Even building it without any modifications is not working: ./makebuild.sh lutris-GE https://github.com/GloriousEggroll/proton-wine Proton8-26
The container is created and started successfully but then the build script fails in a very early stage. I already had docker installed on the machine, but I also tried with podman.
I have very limited time during the week but I will keep trying and report back once I get a successful build.
Thanks
from dxvk.
Still trying to build Wine-GE to test the patch but in the meantime I thought sharing complete logs from DXVK and Heroic (includes DXVK as well as Wine log) may help.
I was able to confirm that the Vulkan validation errors are logged every time the game changes resolution. E.g.: going from menu (800x600) to in-game (1024x768) and back to menu. And they are always logged 4 times one after the other.
-
DXVK log: Speed_d3d9.zip
-
Heroic logs: 9iA7LBNBUQE8RmC712KWaL-lastPlay.zip
Thanks
from dxvk.
Thanks @loathingKernel for providing the custom build of Proton-GE-9-6 patched with this: #4041 (comment)
I can confirm that with that patch in place the problem is completely gone! 🎉
Since the problem it's on Proton/Wine-GE FSR patchset I think this issue can be closed right?
from dxvk.
Related Issues (20)
- Libdisplayinfo Broken again HOT 1
- [d3d9] Blaster Master Zero 3 freeze on switch to windowed
- SHADE : Wrath of Angels - Freeze on Loading Screens HOT 13
- [d3d9] Alan Wake (2010) crashes after getting past the menu HOT 2
- Don`t work - dxvk.deviceFilter with 2 gpu windows and linux HOT 9
- Bully Scholarship Edition - FMVs do not play properly on Windows HOT 7
- StarCraft 2 lighting on the Void Thrashing mission HOT 5
- Wine 9.0 flatpak not working with flatpaked dxvk HOT 3
- The Sims Castaway Stories - Choppy FPS HOT 8
- Incorrect primary team color for non-standard clothing in Team Fortress 2 HOT 28
- Question about frame rate option rework HOT 1
- Question about custom Vendor and Device IDs HOT 4
- [d3d11, regression] Max Payne 3 LOD Fade Breaks After d66f838 HOT 3
- Gears of War (2007 - GFWL) HOT 1
- EverQuest - Low FPS when in foreground. HOT 1
- DMC 4 Don't Open, Help me in that
- Borderlands 2 crash HOT 3
- DXVK v2.0-26 not works for Death Stranding Director's Cut on Proton HOT 1
- [d3d9, regressions] Alt-tab issues in fullscreen at non native resolutions
- [d3d8, regression] Rome Total War broken world map
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.