dhewm / dhewm3

dhewm 3 main repository
https://dhewm3.org/
GNU General Public License v3.0
1.78k stars 344 forks source link

Sound volume on 1.5.1_RC2 #338

Open cyberpunkrocker-zero opened 3 years ago

cyberpunkrocker-zero commented 3 years ago

I just upgraded dhewm3 from1.5.0 to 1.5.1_RC2 on my Arch Linux system. While the 1.5.0 was quite quiet already, on 1.5.1_RC2 the sound volume was so low as being nearly inaudible. Because I have a dual-head system, I opened pavucontrol on the secondary screen and started dhewm3. There I noticed that the playback level on dhewm3 audio stream was for some reason set to 60% by default (And I definitely have not set it myself!!!). But, because dhewm3 grabs the mouse, I couldn't re-set the volume normally; I had to SSH in from my laptop and set the volume via a ncurses pulsemixer to 100%.

But still, dhewm3 maximum sound volume is very low, much more silent than on my other games, for example. I had to set the system volume to 120-130% before launching dhewm3 to set the volume about the same level as in other games. I remember the original Doom3 being much louder... (different machine, though). The in-game audio slider is set to max, and there's no difference in volume whether eax is on or not.

DanielGibson commented 3 years ago

If you open the console (Shift+Esc) the mouse gets ungrabbed, and shortcuts like Alt-Tab should work even without opening the console.

In my experience pulseaudios per-application volume is a broken mess; I'm not sure if that's specific to the pulse plugin for the XFCE panel (which also handles keyboard shortcuts for setting the volume) or a general problem, but on my system changing the global volume (either with the volume controls of my keyboard or by using the mousewheel on the volume icon on the panel) changes both the default output devices volume and the volume of all active playback sources. It also seems to remember the configured volume when restarting applications.

If it's the same on your system that could explain why dhewm3 has a different volume in pulse than other applications.

DanielGibson commented 3 years ago

Oh, also, yes, dhewm3 is less loud than Doom3 used to be, to work around a sound issues with lots of loud sounds (like shooting the shotgun against a nearby metal wall), see #179

cyberpunkrocker-zero commented 3 years ago

No, I only use pavucontrol app to adjust volume, it does not behave like you described. And it still does not change the fact that dhewm3 has way too low maximum audio volume. I should probably mention that I use Awesome wm (no DE's) and output the audio via GTX1070 HDMI/DisplayPort to my display's loudspeakers.

cyberpunkrocker-zero commented 3 years ago

(sigh) Well damn, maybe I should make a script which raises the volume before launching dhewm3, and resets it back when dhewm3 closes...

DanielGibson commented 3 years ago

Then I have no idea where the 60% are coming from, dhewm3 shouldn't change system volume settings.

You can also set s_volume_dB in the console to values bigger than 0 (try 5 or 10) to make the game louder - but keep in mind that this could cause sound bugs like described in #179. (When setting the slider in the settings menu to max it's 0, this allows you to go higher)

James90000 commented 1 month ago

Hello, I have been trying to fix the issue outlines in:

https://github.com/dhewm/dhewm3/issues/179

For a silly amount of time, I don't know how many hours.

I have tried reducing the volume with s_volume_dB, I have tried downloading and configuring OpenAL, I have tried disabling EAX 4.0 in game.

Essentially if a shotgun is used in close quarters, you can't really hear it fire at all and instead just heard 20 pellets hitting a metal wall.

I have no issue in the vanilla game, but I would really like to use your port if I can get the sound working properly.

Thank you,

James

James90000 commented 1 month ago

Update:

I reduced the 3 audio files that play when bullets hit metal by 18db in Audacity and the loaded them after the base game files.

Drawback is that for non-shotguns, the sound of bullets hitting the wall is near inaudible, The upside is that the sound of bullets hitting the wall is awful and I doubt most people would know that it is even missing.

I am beyond relieved.