doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.76k stars 822 forks source link

Seven: The Days Long Gone #177

Closed mmtrt closed 5 years ago

mmtrt commented 6 years ago

Software information

Apitrace file(s)

Screenshots

Sometimes game display all black then have to rerun game in order to fix this. screenshot_20180318_113412 screenshot_20180318_102241 screenshot_20180318_103355 screenshot_20180318_103431

Log files

pingubot commented 6 years ago

@mmtrt : For the apitrace, you need to create it without dxvk bein active.

pingubot commented 6 years ago

@mmrt: for the nvapi errors in the log, you should get rid of it by disabling nvapi in in the wine dll overides tab.

doitsujin commented 6 years ago

Please re-test with 42d49d7603401d662153b9fc4d94917f62c2bd92.

mmtrt commented 6 years ago

@doitsujin 42d49d7603401d662153b9fc4d94917f62c2bd92 fixes above issue though game have another issue stone block area ground is showing white and images are showing darker because of graphics preset is at lowest setting.

Like this white default - wine desktop_002 Original is like this got it from yt selection_005

on Top right corner white spots default - wine desktop_003

mmtrt commented 6 years ago

@doitsujin nice work just tested 09151f36168bad2630a3c642a8f4401a65e87ed5 tough game is still darker even with max graphics set. This could be related to ingame brightness setting being lower but below screenshot is on defualt brightness by game. default - wine desktop_002

EDIT: darkness issue confirmed I have same in cities skylines on night time ground goes somewhat dark with some buildings and without dxvk city buildings have weird blackish look with washout colors could be wine issue or mesa IDK both games running on upto 5c2144b55d996b913268158a8cf9c527d03b5234.

EDIT1: with todays commits till d9b1995cf05c9bd8ab1b6bbcb884d37fbebf05d1 performance hit is 50% slowed this game even with lowest graphics preset tough above dark issue still present.

mmtrt commented 6 years ago

Above darkness issue is fixed tested on 675b1c5b8c682a4b1d335eee07ab9386c95dd7f2 I think in-game all issues are fixed tough game loading screen is black it does not show pictures but text and loading logo shows when game loads up.

doitsujin commented 6 years ago

Sadly I cannot test the apitrace you provided because replaying it locks up my GPU (which is probably a driver issue). Not sure what's going on with the menu.

mmtrt commented 6 years ago

noooo it looked fine then again I changed video settings here it goes same darkness is not going anywhere even with lower to higher all same.

I could create new trace file if you wanted to test again.

doitsujin commented 6 years ago

New trace file won't solve the problem though. I'll have to check what it is that makes my GPU hang, report it, and hope that it gets fixed. If it's another LLVM bug I'm probably screwed, and so is anyone who wants to try this on RADV.

In other words - as much as i would like to, i can't do anything about this right now.

mmtrt commented 6 years ago

alright though game crashes when exit backtrace.txt

terminal log last lines

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  7 (X_ReparentWindow)
  Resource id in failed request:  0x540006e
  Serial number of failed request:  1019
  Current serial number in output stream:  1020
0052:err:secur32:schan_get_object Handle 2(0xc64efc0) is not of type 0x1
wine: Unhandled page fault on read access to 0x00000000 at address 0x7fb2b0894eb5 (thread 0052), starting debugger...
wine client error:30: write: Bad file descriptor
0009:fixme:ver:GetCurrentPackageId (0x60fd30 (nil)): stub
ZeroFault commented 6 years ago

I am getting some Vulkan debug layer errors when I replay the trace on my GTX 1080. vulkanlog.txt

hakzsam commented 6 years ago

The GPU hang gets fixed with https://cgit.freedesktop.org/mesa/mesa/commit/?id=06d3c65098097675a34035da3043a71061fad17b btw.