HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.93k stars 199 forks source link

Diablo 2 resurrected still black screen after installing hanskristian fix #818

Closed d2rgaming-9000 closed 1 year ago

d2rgaming-9000 commented 3 years ago

Hey I installed vkd3d-proton provided https://github.com/HansKristian-Work/vkd3d-proton/actions/runs/1130860939. Here are the steps that I followed for the supposed fix.

  1. ran the .sh script and installed it.
  2. created a file d2r-dxvk-patched in ~/.local/share/lutris/runtime/dxvk
  3. copied the x86 x64 files into D2R directory
  4. Run EXE inside wine prefix "Game.exe". The game launches with sounds but black screen.

The supposed fix was suggested by some kind people on reddit, but alas it does not seem to be working for me and yes I am missing a step and that is configuring lutris to install d2r as d2r-dxvk-patched "manual" dxvk version, but i do not know how to do that. When I go to the lutris search area and type in diablo, then click on install "Diablo II: Resurrected" no window shows up there. But I have it already installed via battlenet, via heroes of the storm.

My issue is more complicated it as I have battlenet installed via heroes of the storm using lutris. I wish there is a more clear way of doing it. The initial advise that was given here was to basically just install the script and run the exe game.exe.

I am using GTX 670 mx and latest wine.

iWeaker commented 3 years ago

I think it's a driver problem, the GTX 670 stopped having support for a long time, I think its latest drivers are the 390 .. and it lacks many extensions and Vulkan optimizations.

jerrytt commented 3 years ago

I've same issue on nvidia 960m card on my laptop.

what i can confirm is driver/hardware issue :

I use Manjaro_OS on usb(ssd) disk which can boot on any machine with same software env.

i7 + nvidia 960m card : 1 backscreen 2 mouse can rander correctly . 3 d2r run on windows without issue

i9 + nvidia t1000 card: 1 run "nvidia-modprobe -u -c=0" first 2 running game without problem 3 d2r run on windows without issue

jerrytt commented 3 years ago

I wish there is a more clear way of doing it. The initial advise that was given here was to basically just install the script and run the exe game.exe.

I am using GTX 670 mx and latest wine.

I think dxvk 1.9.1L-2 are patched. nothing need to do if you set your dxvk correct version.

karolmateusznowak commented 3 years ago

D2R starts and works properly till the welcome screen: Screenshot_2021-09-30_18-21-49

After any key is pressed, D2R freezes

Terminal logs:

MESA-INTEL: error: ../src/intel/vulkan/anv_device.c:3713: GPU hung on one of our command buffers (VK_ERROR_DEVICE_LOST)
01e0:err:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
01e0:err:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
01e0:err:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.
01e0:err:d3d12_command_queue_signal: Failed to submit signal operation, vr -4.

My Setup Is: Ubuntu 21.04 Intel UHD 620 vkd3d-proton built from the latest source code

Did anybody manage to run D2R without any problems on Intel UHD 620?

K0bin commented 3 years ago

That's most likely an ANV issue. I don't think anything works with VKD3D-Proton on ANV.

Pilvinen commented 3 years ago

Greetings, friends.

Same problem here.

The game works perfectly and I can get into multiplayer games and play with my character and interact with everything -> the only problem is that the screen is black sans for the mouse "gauntlet cursor" and some shader/lighting effects.

I'm on Ubuntu Linux 20.04.3 LTS with NVIDIA driver version 470.57.02 running with NVIDIA GeForce GTX 750 Ti (which has been tested by other people on Windows and deemed to work just fine with low settings) and multi-monitor setup with 3 monitors. I tried lutris-ge-6.18-1-x86_64 as my Wine version and DXVK v1.9.2L and tested some older versions too.

I tried installing the recommended patches and changing all kinds of settings, but essentially nothing I've tried fixes the issue. No suspicious errors on console either.

Diablo II: Resurrected version 2.5.1.13122 (Beta). I also tried the stable version. No difference.

K0bin commented 3 years ago

Please make sure that Lutris actually installed a recent version of vkd3d-proton that has the fix. Provide vkd3d-proton logs for example.

Pilvinen commented 3 years ago

I'm am just an end user so you'll have to be more specific on what you need and from where and how if you need more information. There's very little information available on Google how these things work.

image

This is what I'm seeing on Lutris config for runner options. I've tried changing the versions but nothing seems to make a difference.

When I right click the runner and select "show logs" I get this:

image

I'm not sure if this is the vk3d3-proton logs you requested or not, but you didn't give more specific instructions where to find them and Google wasn't helpful on this.

K0bin commented 3 years ago

I have no idea how this works with Lutris. For plain Wine, there's instructions in the README.

Pilvinen commented 3 years ago

Lutris is essentially just a wrapper for Wine.

K0bin commented 3 years ago

Lutris is essentially just a wrapper for Wine.

I know that. I just don't know whether it has installed and configured the correct version of VKD3D-Proton.

Launch the game with VKD3D_DEBUG=info.

Pilvinen commented 3 years ago

Ok, so I did:

export VKD3D_DEBUG=info

And ran from console with lutris >> mylog.txt

I let it run for a while and then killed the process.

Here's the log: https://pastebin.com/U52fjFbb

d2rgaming-9000 commented 3 years ago

@iWeaker4you such a shame..

K0bin commented 3 years ago

@Pilvinen That at least confirms that you're using a version of VKD3D-Proton that has the fix.

There's another black screen issue then.

Pilvinen commented 3 years ago

Glad that I could be of small assistance. Let me know if you could use some other logging information or some such to further narrow down the issue.

Pilvinen commented 3 years ago

Updated NVIDIA driver to latest available on their website (470.74) Tried out VKD3D-Proton 2.5 (The log mentioned Diablo II Resurrected fixes). Still black screen.

Logs: https://pastebin.com/wEUh2Vj2

K0bin commented 3 years ago

Probably a problem related to your old Maxwell GPU. It seems to work on newer GPUs.

Pilvinen commented 3 years ago

The minimum supported GPU according to Blizzard is GTX 660, so in theory it is supported and should work on GTX 750 Ti on hardware side at least. NVIDIA is dropping support soon for GTX 750 Ti and bunch of other cards, but on that side too there are still updates happening.

Is there any way I can help trying to track down the issue further or are you giving up and declaring this "won't fix"?

K0bin commented 3 years ago

The minimum supported GPU according to Blizzard is GTX 660, so in theory it is supported and should work on GTX 750 Ti on hardware side at least.

The only supported OS according to Blizzard is also Windows so that doesn't really matter that much.

That said, I think it should work. It might be a driver bug.

Try running it with validation layers (install them and launch it with the environment variable VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation). Then post the terminal output.

Pilvinen commented 3 years ago

I cloned the repository, built the Vulkan validation layers as shown in the first "Build" section here: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/BUILD.md

I also tried the Linux section, but those instructions turned out to not work at all.

But I think I got it installed.

Then I started Diablo with the environmental variable exported and got this log: https://pastebin.com/6GaNWkk7

Can you confirm that I got the validation layers installed and the logs contain what you needed? Because I've never worked with this stuff before and I have basically no idea what I'm doing or what it should look like.

Conusoid commented 3 years ago

Arch, 5.10.77-3-lts, GTX 770 with nvidia-470xx-dkms 470.82.00-2 driver, latest for this videocard, (can't use newer one since nvidia dropped 700 series support in september 2021). Lutris 0.5.9.1, DXVK v1.9.2L-3e64e1b, VKD3D v2.4L-a19619c (I believe those already includes all the fixes and patched dlls) lutris-ge-6.20-1-x86_64 But still black screen with the music. There's no any logs on starting D2R as well as after closing it. I'm desperate :( Something tells me that it's all videocard's fault...or Blizzard

K0bin commented 3 years ago

I think that's a driver bug because it works on less ancient GPUs.

StepanDav commented 3 years ago

Same problem with my "NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)", nVidia driver 470.82.00, Debian with kernel 5.7.0-3-amd64 and using Steam / Proton. I have tried both Proton - experimental and Proton-6.21-GE-2, both with the same outcome as original poster.

blz-log.txt: https://pastebin.com/9kc6tJbz dxdiag.txt: https://pastebin.com/NvxZff9Q

Arsakes commented 2 years ago

Also a blackscreen with Quadro M1000M, driver 495.44, OS: Archlinux, 5.10.82-1-lts

Tried patching and various versions of lutris runners, to no avail. Effect is the same. Cursor with a black screen.

Skucul commented 2 years ago

Also a blackscreen with Quadro M1000M, driver 495.44, OS: Archlinux, 5.10.82-1-lts

Tried patching and various versions of lutris runners, to no avail. Effect is the same. Cursor with a black screen.

Same problem: Ubuntu 21.10 GTX 860M, tested with driver Nvidia 495.44 and Mesa 21.2.2 both Lutris-GE 6.18 and fshack 6.21-5 v1.9.2L-3e64e1b VKD3D v2.5L-db89d40

Blisto91 commented 2 years ago

Hi there. Could some of you try and see if launching with this helps?

VKD3D_CONFIG=single_queue
StepanDav commented 2 years ago

Hi there. Could some of you try and see if launching with this helps?

VKD3D_CONFIG=single_queue

Tried (in Steam in "launch options", I specified "VKD3D_CONFIG=single_queue %command%").

Sadly, it didn't help. No change in apparent behavior of the game.

Conusoid commented 2 years ago
VKD3D_CONFIG=single_queue

Yep, no effect.

Btw guys. Does anyone else have a change when switching VKD3D version from 2.4 to 2.5? Instead of running game and black screen, now I have just a few secs of black screen and then blizzard crash error. (regardless of VKD3D_CONFIG=single_queue)

StepanDav commented 2 years ago

Having run out of ideas, I have purchased GeForce GTX 960. Consequently, I was also able to update my nVidia drivers (the most recent ones aren't compatible with the GTX 750 that I had previously).

This was enough to make the game work for me.

evbo commented 2 years ago

just curious, also with a GTX 750 and wondering is this likely a won't fix issue? Or could there be hope yet for us ancient dinosaur GPUs?

Conusoid commented 2 years ago

Or could there be hope yet for us ancient dinosaur GPUs?

I highly doubt it. The good news is that video cards are getting cheaper every day.

evbo commented 2 years ago

I guess Nouveau open source drivers have the potential to resolve this someday, e.g.: https://www.phoronix.com/news/Red-Hat-NVK-NVIDIA-Vulkan

Goddard commented 1 year ago

22.10 here with a 3080 laptop GPU and I also tried with my eGPU which is a desktop 3080. Tried with 520 and 525 nvidia driver. Tested with the latest D2R and Lutris. Also tried with Crossover.

K0bin commented 1 year ago

22.10 here with a 3080 laptop GPU

What do you mean by 22.10?

Goddard commented 1 year ago

22.10 here with a 3080 laptop GPU

What do you mean by 22.10?

https://releases.ubuntu.com/kinetic/