-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery Fake color is not correct #8406
Comments
current master log
before
|
It's funny that the colors in the wrong image look right. Could you try to bisect which change broke it, and see the GE debugger? I'm guessing it's because we're not downloading the entire framebuffer. But it might also be caused by my checking the stride - this CLUT is 64x4 rather than 256x1. -[Unknown] |
Since unknownbrackets@28a07c7 ,it's black,and then unknownbrackets@095d8cb it looks what it looks now. Is it one? |
Watch for the CLUT field under Texture to show an address that starts with 0x04. -[Unknown] |
Well, it definitely drew brown in the CLUT, and it seems like it ought to be brown... Hmm maybe it needs a flush before copy. Try adding: FlushBeforeCopy(); Just after: PackFramebufferAsync_(nullptr); Hmm, actually, that could be an interesting cause of various issues, even in the GPU deindexing... -[Unknown] |
Is it each |
|
Was this originally working correctly in v1.1.1? -[Unknown] |
No. |
Find, GPU/GLES/Framebuffer.cpp: int w = std::min(pixels % vfb->fb_stride, (int)vfb->width);
int h = std::min((pixels + vfb->fb_stride - 1) / vfb->fb_stride, (int)vfb->height); Add after: if (w == 0 || h > 1) {
// Exactly aligned.
w = std::min(vfb->fb_stride, (int)vfb->width);
} Does this help? -[Unknown] |
Yes,it does. |
Cool, okay so that is the fix for this issue, and might fix others... but umm, #8509 will look pretty terrible with that fixed, right now. Hmm. -[Unknown] |
Or otherwise when loading full rows. Should fix hrydgard#8406.
Or otherwise when loading full rows. Should fix hrydgard#8406.
Got re-broken since I reverted the fix: d8db8ec |
Is this working in the latest git versions? -[Unknown] |
Oh, interesting. That almost looks right, but not quite. Can I have a GE dump? https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump |
Here: |
Fixes #8406, although technically, we should wrap by bufw, not the texture width.
Since #8389
right color

wrong color

The text was updated successfully, but these errors were encountered: