libcg / grvk

Vulkan-based Mantle API implementation
https://en.wikipedia.org/wiki/Mantle_(API)
zlib License
221 stars 14 forks source link

Dragon Age: Inquisition #38

Open libcg opened 2 years ago

libcg commented 2 years ago

Meta-issue for Dragon Age: Inquisition.

Nerellus commented 2 years ago

Logs from current master ( 6a0e4d860f55eb4f5cdef00e97bd95bca788505b ) grvk.log grvk_axl.log

Crashes during launch with RX 570 on latest mesa git ( 231ccb6 ).

I noticed the wine log additionally has this line beneath the grvk output: EAssertion failed: dst->hasImmediate, file ../src/amdilc/amdilc_compiler.c, line 720 Full Origin/wine output, nothing else interesting that I see. origin.log

I'll also note that this was with Proton Experimental, as I can't get normal wine builds to launch the game at all lately.

libcg commented 2 years ago

Thanks, I have a branch that makes it boot, I can go in-game but it crashes during the first dialog scene.

libcg commented 2 years ago

@Nerellus the game should boot and go ingame with this build: https://github.com/libcg/grvk/suites/4708213536/artifacts/129087929 (make sure tessellation is disabled in the settings). However I'm seeing a crash in the first dialog scene when starting a new game.

Nerellus commented 2 years ago

Unfortunately I still don't make it to the menu, I get wine: Unhandled page fault on execute access to 0000000000000000 at address 0000000000000000 (thread 0520), starting debugger... at launch now. origin.log grvk.log (with GRVK_LOG_LEVEL=trace) grvk_axl.log

libcg commented 2 years ago

@Nerellus try this build: https://github.com/libcg/grvk/actions/runs/1605043031 I fixed a few validation errors.

The in-game crash I mentioned earlier is caused by unhandled tessellation shaders, it happens even when tessellation is disabled in the graphics settings.

Nerellus commented 2 years ago

I still get the page fault at launch with d9ca03e74ef21e6699342a23338fcd77d4b02a15. grvk.log

plasticbomb1986 commented 2 years ago

OS: Arch Linux KERNEL: 5.16.0-rc6-1-mainline CPU: AMD Ryzen 7 3800XT 8-Core GPU: AMD Radeon RX Vega (vega10, LLVM 13.0.0, DRM 3.44, 5.16.0-rc6-1-mainline) GPU DRIVER: 4.6 Mesa 22.0.0-devel (git-222487fabe) RAM: 32 GB GRVK: d9ca03e

steam-1222690.log grvk.log grvk_axl.log

Result. IMG_20211225_180602

Game starts up with GRVK, nicely goes through the menu, race and what type of character its gonna be, then the heper cards, and than..... The picture above. Have to shoot down the processes through ssh and reboot the computer to get back the screen.

plasticbomb1986 commented 2 years ago

So, just ran it again, made sure everything i know of what can cause my system to hang up is off (PBO, no OC nothing, just default system).

Same result. Settings: Low preset, fullhd, mantle. Its loading into world, walked away from the moment when first you can controll the character, up halfway on the mountain side while i was checking the game works with dxvk. Then there made a save, and loading back there. The game loads in the first few frame, and crash. i think its crashing the gpu (resulting in the same screen as above), probably tries to do something stupid, or not yet implemented, and pulls down the whole 3d engine, and probably mutter too. If i SSH in and do a sudo reboot, console comes back and shows the normal messages as its shutting down modules, and does the reboot process.

One note: I think GRVK needs a check on what vulkan implementation its loading in. As im building mesa-git, RADV, lavapipe, Intel, vrtio all gets build, and for some reason grvk tries to load in a different one then what it should on my amd vega gpus, until i remove all the others and only leave radv in vulkan/icd.d.

logs with GRVK_LOG_LEVEL=trace dragonagecrashgrvk.zip

plasticbomb1986 commented 2 years ago

Hoi! New month, new testruns. Game loads into menu, but on high settings it crashes as its loading the game, on low it loads in the first few frames, (like5-10) and than its crashing.

Logs: high settings: grvk_axl.log high settings-grvk.zip high settings-steam-1222690.zip Origin_d3d11.log Origin_dxgi.log low settings: grvk_axl.log low settings- steam-1222690.zip Origin_d3d11.log Origin_dxgi.log

Not sure why, but the low settings grvk.log github does not accept it, none compressed its obviously to big, but even compressed its reject it, so ive uploaded it to my google drive: https://drive.google.com/file/d/1E1CGZ_aiBmWTEASUTZMroE4AeaSbFg0a/view?usp=sharing

libcg commented 2 years ago

@plasticbomb1986 the crash you were seeing should be fixed by https://github.com/libcg/grvk/commit/02ae2a5db29a8aab3b1787da844dd8db241a3172

libcg commented 1 year ago

The game should be playable as of 2bb8b8e (build available here: https://github.com/libcg/grvk/suites/9530381740/artifacts/452852535)

Make sure to disable tessellation in the settings to make the terrain visible. Also, there's a rendering bug where shadows disappear depending on the camera position.