OpenArena / engine

OpenArena modifications to the ioquake3 engine
http://openarena.ws
GNU General Public License v2.0
212 stars 50 forks source link

Recording OpenArena game play is too dark on Linux #88

Closed rilysh closed 2 months ago

rilysh commented 3 months ago

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.

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

Thanks.

NeonKnightOA commented 3 months ago

What's the output with a compiled engine?

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

rilysh commented 3 months ago

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

leilei- commented 2 months ago

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.

leilei- commented 2 months ago

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)

rilysh commented 2 months ago

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

The-Gig commented 2 months ago

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...

rilysh commented 2 months ago

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.

The-Gig commented 2 months ago

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/

rilysh commented 2 months ago

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.