Project

General

Profile

Actions

Emulator Issues #2252

closed

OpenCL doesn't decode CMPR textures correctly.

Added by MatejDro over 14 years ago.

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

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
Yes
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Install OpenCL build of dolphin

What is the expected output? What do you see instead?
Games are working much faster in OpenCL, but many textures in game change
to black.

What version of the product are you using? On what operating system?
R5026 builds by orleans + OpenCL plugins by orleans

Please provide any additional information below.
I posted pictures at that thread:
http://forums.dolphin-emu.com/thread-5945-page-2.html

Actions #1

Updated by nonke06 over 14 years ago

Same problem here.
I have 2xGTX295 and driver 196.21.
using Orleans nvidia-sdk opencl release.
But things are better than it used to be since I do not get any error message while
loading games ;-)

Actions #2

Updated by MatejDro over 14 years ago

Yes except for the black textures OpenCL works perfectly.

Actions #3

Updated by nonke06 over 14 years ago

well, my understanding is that opencl is just used for ... texture decoding ;-)

Actions #4

Updated by MatejDro over 14 years ago

I dont care for what is used, it makes games fast and that is most important.

Actions #5

Updated by kevinx0404 over 14 years ago

you might as well turn off efb copy and cpu-efb access then.

Actions #6

Updated by nonke06 over 14 years ago

I tried what you suggested and it did not change anything.

Actions #7

Updated by kevinx0404 over 14 years ago

oh sorry, I was replying to matejdro, because he wanted max performance.
Unfortunately, opencl is still in it's infancy.

Actions #8

Updated by MatejDro over 14 years ago

I meant that i dont care if OpenCL decodes textures or helps emulating or plays audio
or whatever it do. I just know that it makes games faster and that is most important
to me.

Actions #9

Updated by nonke06 over 14 years ago

MatejDro, we understood your point. However, opencl is not working for the moment.
As Kevinx commented, it is only the early beginning and it will improve (or not) in
the future.
Because based on what we currently see, we can not say that opencl makes games
running faster. Since the only thing it is supposed to do is not done correctly.
If you were able to disable the texture decoding completely in the "standard"
dolphin release you will probably see the exact same speed increase. That was my
point and opencl has to prove that it could help things with most of wii games. It
is one of the reasons, with complexity, why developers are not working full time on
it.

Anyway, Kevinx was trying to help you by suggesting some option tweaks for the
regular release. Then it is up to you to use them or not.
I tried opencl by curiosity. Mario is running full speed on my ring with all
enhancement enabled.

Actions #10

Updated by Sonicadvance1 over 14 years ago

Might be best to test this again with Rev 5042+, I disabled CMPR texture decoding in
OpenCL atm due to it failing

Actions #11

Updated by MatejDro over 14 years ago

No black texturew with OpenCL now, but also no speedup.

Actions #12

Updated by kevinx0404 over 14 years ago

what games are you testing with?

Actions #13

Updated by Sonicadvance1 over 14 years ago

  • Status changed from New to Accepted
  • Issue type set to Feature request
  • Category set to gfx
  • Relates to performance set to Yes
  • Operating system N/A added

I may look in to this

Actions #14

Updated by antileecher over 14 years ago

No more speed up. Dolphin is the same with or without OpenCL. :(

Good luck.

Actions #15

Updated by Sonicadvance1 over 14 years ago

means that the texture decoding isn't the bottleneck on your system. My desktop that
I was testing on has a slow CPU, and Texture decoding was taking a large block of CPU
time.

Actions #16

Updated by Anonymous over 14 years ago

Also we need to stop sending decoded textures back and forth; if they're already on the
gpu there's no reason to move them from vram unless we have to...

Actions #17

Updated by Xsacha about 14 years ago

Guys, CMPR works perfectly in dolphin now. Also, 10x speed up on older hardware.

Actions #18

Updated by skidau about 14 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF