Skip to content
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

Colors appear very dark on Overlunky WINE. #281

Closed
Mizosu97 opened this issue Dec 4, 2022 · 7 comments
Closed

Colors appear very dark on Overlunky WINE. #281

Mizosu97 opened this issue Dec 4, 2022 · 7 comments

Comments

@Mizosu97
Copy link

Mizosu97 commented Dec 4, 2022

While using overlunky, the entire game is dark. Using wine 7+.

If anybody knows how to resolve this issue, please tell me.

Reference Image

@Dregu
Copy link
Collaborator

Dregu commented Dec 7, 2022

Photographs of screens don't really show what the graphics look like at all, but I'll take your word for it... Does this really have anything to do with Overlunky, or does your game just look like that in wine anyway? Did you install DXVK like the readme says?

@Mizosu97
Copy link
Author

Mizosu97 commented Dec 8, 2022

Photographs of screens don't really show what the graphics look like at all, but I'll take your word for it... Does this really have anything to do with Overlunky, or does your game just look like that in wine anyway? Did you install DXVK like the readme says?

Spelunky looks completely normal without overlunky.

I should already have DXVK installed, as I use it with other games.

I couldn't take a screenshot, since there's this weird bug with Spelunky that pulls up the menu whenever I interact with anything outside of the game. The menu won't go away after going back to the game.

@Dregu
Copy link
Collaborator

Dregu commented Dec 8, 2022

Well don't know what to tell you, except you seem to have the console open, but that shouldn't affect the colors either. DXVK should be apparent from the launch messages noting the DXVK version etc. My vanilla game colors are messed up in wine without dxvk sorta like that, but game and OL work fine with it.

This inspired me to fix the steamplay proton support though, cause it seemed to work better OOTB before completely breaking without us doing nothing to it... #283

@Dregu
Copy link
Collaborator

Dregu commented Dec 9, 2022

I did also confirm that my game with OL looks very dark/weird gamma on wine-7.22 on a fresh wineprefix. Game without OL is brighter, but the colors are messed up differently. Running WINEPREFIX=~/.wine_fresh setup_dxvk install with defaults on dxvk-2.0 fixes all of this.

@Dregu
Copy link
Collaborator

Dregu commented Dec 10, 2022

Also found a sort of fix for this from some old imgui issues that were also hooking other games. This is some sort of sRGB color space/gamma issue that wine doesn't handle very well. This doesn't fix the color issues already present in vanilla wine, but reverts the darkness back to about the same level of banded uglyness.

More importantly my fix doesn't seem to break anything in the already working DXVK, Proton and Windows, so it might make its way in some day...

@Dregu
Copy link
Collaborator

Dregu commented Dec 11, 2022

I didn't touch Wine colors, but #283 tries to fix Proton issues, so you can try running OL on Steam with the --launch_game parameter.

@Mizosu97
Copy link
Author

I did also confirm that my game with OL looks very dark/weird gamma on wine-7.22 on a fresh wineprefix. Game without OL is brighter, but the colors are messed up differently. Running WINEPREFIX=~/.wine_fresh setup_dxvk install with defaults on dxvk-2.0 fixes all of this.

Reinstalled DXVK, it works now! I guess I either forgot to install, or it failed when I did. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants