FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
552 stars 108 forks source link

Extremely unstable framerate. #196

Open Incognito4nonymous opened 7 years ago

Incognito4nonymous commented 7 years ago

Hello everyone ! I recently became interested into making running games as much as possible under Linux and I discovered your ambitious project.

After.... Long... Really long times, I managed to make Xash run, with Half-Life, with the original hl.dll since my WON version wasn't shipped with the .so files. I was also unable to compile xash and I had to download it from Moddb. But this brings me to my issue. Sometime my framerate hits 60, but whenever I brutally move my mouse, it goes to 18, and sometimes 12 fps, which makes the game, unplayable. in addition the blood has a strange glitch, it keeps flashing like if it was clipping through the floor.

a1batross commented 7 years ago

Strange. What OS do you run? Are you tried to Xash with system SDL2? Also, can you post screenshot with this "blood glitch"?

Incognito4nonymous commented 7 years ago

I run Slackware64 14.2 multilib enabled. How do I run xash with another SDL? I forgot to say that the blood glitch disappeared after a friend gave me his hl.so

mittorn commented 7 years ago

Try use SDL that attached to tarball

Incognito4nonymous commented 7 years ago

How do I do that dude ? :)

a1batross commented 7 years ago

Use LD_LIBRARY_PATH.

Incognito4nonymous commented 7 years ago

So, I have to cd inside my xash directory and type LD_LIBRARY_PATH=libSDL2-2.0.so.0 ./xash.sh -dev 5 Just to make myself sure I don't do it wrong.

mittorn commented 7 years ago

Use LD_LIBRARY_PATH=. to load SDL from current directory

Incognito4nonymous commented 7 years ago

Same, the flsahing blood issue is back by the way, with and without the custom SDL

c1a3_shot0000

c1a3_shot0003

Incognito4nonymous commented 7 years ago

I wonder if it ain't due to a lightning problem, as my console is regularly flooded with lightstyle entries, as shown a bit in the above screenshot.

mittorn commented 7 years ago

xash3d has software lighting. When switching lightstyles, it will rebuild lightmaps

Incognito4nonymous commented 7 years ago

Well that doesn't really help me, anyway, I'll download the Windows version tonight to see if I'm facing the same problem.

mittorn commented 7 years ago

Try uncle mike's version. If it ha same performance, nothing will help. Xash3d has very slow render.

Incognito4nonymous commented 7 years ago

I tried on Windows, the issue is completely absent.