Project

General

Profile

Actions

Emulator Issues #5094

closed

Kirby's Return to Dream Land - OpenGL - shadow bug

Added by shadowflash over 12 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
OGL
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-730

Description

--------------------------------------

  1. Game Name and ID (as it appears in right click > properties: "GZ2P01",
    "RSBE01", etc): SUKE01

  2. Shadow is black and it's vertical instead of normal shadow.

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.

Not on any known revision that runs this game.

4) What steps will reproduce the problem?

Just run the game with OpenGL backend.

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)?
3.0-305.

On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.
Kubuntu 11.10 32-bit. GeForce GT440 video card. 290.10 drivers (doesn't matter, same bug with earlier drivers)


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #8085: Kirby adventure wii or Kirby returns to dreamlandDuplicate

Actions
Actions #1

Updated by tommyhl2.SS over 12 years ago

I'm getting this. http://i.imgur.com/J9OuS.jpg Windows 7 x64, HD6650, Catalyst 11.12.

http://i.imgur.com/J9OuS.jpg

Actions #2

Updated by shadowflash over 12 years ago

If renderer is OpenGL then it's the source of that bug, because i have different OS, video card and drivers, and i'm getting exactly same bug.

Actions #3

Updated by shadowflash over 12 years ago

Just ran win32 build in wine with D3D9 plugin and got normal shadow.

Actions #4

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
  • Category set to gfx
Actions #5

Updated by tommyhl2.SS over 11 years ago

  • Status changed from New to Accepted

This is still an issue with OGL.

Dolphin 3.5-290 - 64-Bit (cae8bb33c334)

http://i.imgur.com/L0Lzl.jpg

Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 2.4GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 12.4)
RAM: Samsung 4GB DDR3-1333

Actions #6

Updated by tommyhl2.SS over 11 years ago

GLSL-master has this issue as well. Dolphin 3.5-356 - 64-Bit (a87fd89fce2c)

Actions #7

Updated by NeoBrainX over 11 years ago

Upload a two-frame fifo log and a reference screenshot showing the same scene, please.

http://wiki.dolphin-emu.org/index.php?title=FifoPlayer

Actions #9

Updated by NeoBrainX over 11 years ago

Happens in Video_Software, too.

Actions #10

Updated by MayImilae over 10 years ago

A forum user mentioned that it still occurs even after the GLSL OpenGL rewrite in 3.5-1064. https://forums.dolphin-emu.org/Thread-wii-kirby-s-return-to-dream-land?pid=285711#pid285711

Actions #11

Updated by tommyhl2.SS over 10 years ago

  • Category changed from gfx to ogl
Actions #12

Updated by tommyhl2.SS over 10 years ago

Replacing the broken mediafire FIFO log download from comment 8.

http://www.mediafire.com/download/xmw3qt39aicod8r/KirbyOglBlackShadow.7z

Actions #13

Updated by degasus over 10 years ago

Better fifo log which also shows the shadow in working backends:
https://mega.co.nz/#!yNoSlRaQ!D0ZrSlxUPkmSQ4BtiDO2Xgwifm8diJZIoZ2ERszAe3k

Some hours of debugging later: This game renders with logicOp=Noop and DstAlpha=1 the alpha channel, but dstAlpha + logicOp isn't supported by OpenGL nor Direct3D.

But it's working on D3D11 because this backend doesn't have logicOp support implemented at all. It just use the same based on blending hack as the D3D9 backend. But as blending support dstAlpha, this hack also does.

Actions #14

Updated by NeoBrainX over 10 years ago

For reference, it seems like the issue does not occur in the software renderer anymore when testing on revision c1ddeacc9d09.

Actions #15

Updated by NeoBrainX over 10 years ago

Not surprisingly, it also does not happen on real hw.

Actions #16

Updated by idan345 almost 10 years ago

has there been any progress on this? still have that bug and i wonder if its going to be fixed at some point ?

Actions #17

Updated by Stevoisiak over 9 years ago

Can confirm the issue does not happen when using the software renderer or Direct3D. Only OpenGL

Actions #18

Updated by degasus over 9 years ago

@idan345 This issue is hard to fix. We could add a check if the logicOp is Noop and emulate this with color masking, but other games may still be broken because of this issue.
But good luck, at least on some mobile GPUs, there will be an extension to use custom blending. This would allow us to emulate this feature there. But bad luck, this feature isn't possible on current gen desktop GPUs at all.

Actions #19

Updated by pauldacheez over 9 years ago

Issue 8085 has been merged into this issue.

Actions #20

Updated by ZephyrSurfer over 7 years ago

A current PR fixes this on Dolphin: https://github.com/dolphin-emu/dolphin/pull/4153

Actions #21

Updated by JosJuice over 7 years ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-730
Actions

Also available in: Atom PDF