ROCKNIX / distribution

Other
337 stars 62 forks source link

Dark areas, inverted "negative" effect #390

Open RA1D3N-205 opened 1 month ago

RA1D3N-205 commented 1 month ago

In many games for PSX, N64, Saturn, Dreamcast, some SNES, maybe PSP or even on all systems. The games are unplayable because dark areas look inverted or "negative" no matter which emulator I use.

Here some examples:

PSX Alien Trilogy, SLES-00246 Medal of Honor, SLUS-00974 Medal of Honor - Underground, SLUS-01270 Tomb Raider 1-5 under water, German versions

N64 Both Castlevania, European versions

The 2 pictures clearly show the difference. The dark image shows how it should be. I deliberately set the brightness of the brighter image to maximum in order to better show the difference of the effect.

I found out that other users who used JELOS also had this problem. They fixed the problem with options to adjust gamma and other settings. I haven't found anything under rocknix yet.

Here is the link to it: https://www.reddit.com/r/SBCGaming/comments/15c6cjk/powkiddy_x55_owners_be_sure_to_adjust_your_gamma/

I use a powkiddy x55 with the 20240702 version, same problem on the 20240612 version

Screenshot_20240718_175709_YouTube 20240718_181832

XEntombmentX commented 2 weeks ago

I have this same problem. You can see this very clearly in the dark areas around the main menu. In JelOS, I'm able to fix this by adjusting the gamma, contrast, etc., but since I can't do that in Rocknix, it's stuck looking like this.

image

LaurensBosscher commented 2 weeks ago

Requires testing but a workaround might be possible through sway using e.g:

Having some sane defaults for the X55 will probably fix this issue for most users. Open question is, what is actually supported with libmali?

LaurensBosscher commented 5 days ago

@XEntombmentX @RA1D3N-205

As a workaround for Retroarch emulators you can use the misc/image-adjustment shader.

This shader allows for tweaking both gamma and contrast. It does have some performance overhead so it's not perfect and it'll probably require some experimentation to figure out the best settings but it should help.

XEntombmentX commented 5 days ago

Yeah, that may help in-game, but using Emulation Station in that state is horrendous, too.