ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

Lip syncing framerate very low by default regardless of running frame rate in native linux builds of HL2, EP1, and EP2 #5172

Open DrItanium opened 1 year ago

DrItanium commented 1 year ago

Observed with HL2, EP1, and EP2 using the native Linux builds of the games (does not affect the Windows builds run through proton [specifically version 8.0, did not test other versions])

The frame rate of the lip syncing is very low through out the game proper while the rest of the game runs at a locked 144 hz at 4k. The framerate is low enough that frames are being dropped out and it looks like something one would see in the original Quake. I also can see that the speed gauge on the airboat in HL2 seems to suffer from the problem (while it too is dropping frames, it isn't anywhere as bad).

Reproducing the issue is really easy:

  1. Start HL2
  2. Start a new game
  3. Look at the G-Man's mouth, it will look like his mouth is missing frames while he is talking.

I also see the problem in EP1 and EP2. EP1 is especially pronounced once Alyx starts talking to the player after being rescued by dog. I cannot read her lips at all on Linux. When I switch over to the Windows builds via Proton the framerate is correct.

If I had to guess, it feels like frame interpolation is somehow broken on the Linux builds and not on the Windows ones when it comes to the frame rate of lips. I could not find any option through the console which I could use to tune it. If it is there, then it isn't obvious.

OS: Gentoo Linux CPU: AMD Threadripper 2970WX GPU: AMD Radeon 6800XT (NAVI 21)

kisak-valve commented 1 year ago

Possible duplicate of #539.

DrItanium commented 1 year ago

I saw that issue previously but the description there seemed different. The lip-syncing isn't off or late, it is at a very low framerate.

EDIT: Upon further reading it might possibly be a duplicate of #539

NULLYUKI commented 1 year ago

Personally after going through both issues, I would assume that this is a duplicate of #539

DrItanium commented 1 year ago

Thinking on it further, I believe this is a duplicate of #539. It did take a few reads through to come to this conclusion. I do have few questions though:

  1. Is there a console cvar / configuration variable that controls the framerate of the lip sync/animation system?
  2. Is this a known limitation of the linux port or something special to my system?
3zet commented 1 week ago

The issue still persist, tried on 20th Anniversary update. Lipsync has maybe 10 updates per second, maybe less.