OpenArena/engine

Recording OpenArena game play is too dark on Linux

rilysh opened this issue · 9 comments

Hi,
I'm trying to record a OpenArena game play but no matter what I set, screen recording will always going to be dark, I mean too dark.

Even taking screenshot is also dark, for some reason. I tried to set gamma through xgamma (I'm using X11 and Xfce as DE), but no luck! Followed some old OpenArena forum posts, but I couldn't able to find anything that could work, especially the screen recording part.

  • This is how it looks (screenshot)
    image
  • This is how it should look like
    IMG_20240405_233732_919

I'm using binaries downloaded from here: http://www.openarena.ws/download.php?list.61

Thanks.

What's the output with a compiled engine?

I mean, if by compiling a product from this repo happens the same.

I've tried upstream source just a few days ago, no differences, it's just the same.

in the OpenArena engine (this git) there's r_alternateBrightness which should default to 2 (tries a fragment shader, if not then it tries a blended polygon), as that allows the overbrights to work again.

closing this because this is not an issue with the current engine. Screenshots show that it's not coming from this tree (no widescreen fov etc)

This is from the current tree, master branch. I'm not sure if you mean "current engine" by this: https://github.com/ioquake/ioq3

In the opening post Rilysh implied he's using OA 0.8.8 binaries (he linked 0.8.8 download page).
I might be wrong, but I think leilei is referring to "latest version" of the OA engine code.
To test post-0.8.8 OA binaries, we have nightly builds for Windows. For Linux, I fear you may have to compile them by yourself...

In the opening post Rilysh implied he's using OA 0.8.8 binaries (he linked 0.8.8 download page). I might be wrong, but I think leilei is referring to "latest version" of the OA engine code.

I don't really understand what you mean by "latest version" here. Git hosted source code should be the one that's the "latest version" and most updated. Download page at OpenArena website refers 0.8.8 the last "newest" release and the compiled binary (0.8.8) is approximately ~12 years old.

The only branch I found is active (last commit 2 months ago) is this one: https://github.com/OpenArena/engine/commits/leidev24/ which I haven't really tested yet.

To test post-0.8.8 OA binaries, we have nightly builds for Windows. For Linux, I fear you may have to compile them by yourself...

Can you provide me the source code link (and possibly the nightly builds URL, if available)? Isn't the source code hosted in the current repository at https://github.com/OpenArena/engine/ (this repo)? Sorry but I'm a bit confused with the given statement.

With "latest version" I just meant up-to-date with "master" branch of this repository, indeed.
Did you only test the issue with 0.8.8 binaries or with up-to-date code, too? I'm not sure when that r_alternateBrightness 2 thing has been implemented, but maybe after 0.8.8 release.

The Windows engine nightly builds can be found here: https://files.poulsander.com/~poul19/public_files/oa/dev088/engine_windows_nightly/

I tried both. The first one was 0.8.8 (from the website) and the second one was from this repository. Neither one addressed the problem.

I did try to increase the gamma, and it somewhat fixed the "recording being too dark" problem (even after the adjustment, it was dark, but wasn't too dark) but apparently gamma level needs to be adjusted to a very high level which makes the game play (from the players view) very bright.