Rpcs3: LLVM: Broken instruction on Ryzen architecture - Drakengard 3: No shadows, Regression after #4820

Created on 10 Mar 2019  路  5Comments  路  Source: RPCS3/rpcs3

In build 7084 (pr #4820) new changes makes LLVM PPU decoder break shadows in Drakengard 3, fast ppu interpreter works just fine and build before that (7079) with LLVM PPU will have working shadows as well. Any other settings like SPU decoder or anything in GPU doesn't make difference to shadows. If you run the game at least once on build before 7084 then update it to newer (max 7727 build) shadows will still work. Downgrading from 7084 to 7079 doesn't fix shadows.

7079 working shadows RPCS3.log.gz

7084 no shadows RPCS3.log.gz

Most helpful comment

Downgrading from 7084 to 7079 doesn't fix shadows.

Make sure to clear ppu llvm cache everytime you switch builds.

All 5 comments

Downgrading from 7084 to 7079 doesn't fix shadows.

Make sure to clear ppu llvm cache everytime you switch builds.

A follow up on how it looks like and how it should

image

image

I will also mention that I have ryzen 5 2600 and gtx 1080
and rsx captures for both

It seems like changing Use LLVM CPU: "" to Use LLVM CPU: "skylake" fixes it

There are some upstream bugs in LLVM itself (or ryzen hw) that causes this. It has improved with newer LLVM versions but it used to be pretty bad (black screen in most games unless you set CPU to intel arch)

In latest master build (0.0.6-8437) shadows works fine without any changes in config.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iBlackS0ul picture iBlackS0ul  路  3Comments

LokiGrants picture LokiGrants  路  3Comments

Xcedf picture Xcedf  路  3Comments

Luffykun007 picture Luffykun007  路  3Comments

JohnGodgames picture JohnGodgames  路  3Comments