xash3d icon indicating copy to clipboard operation
xash3d copied to clipboard

Extremely unstable framerate.

Open Incognito4nonymous opened this issue 7 years ago • 13 comments

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.

Incognito4nonymous avatar Oct 13 '16 22:10 Incognito4nonymous

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

a1batross avatar Oct 14 '16 10:10 a1batross

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

Incognito4nonymous avatar Oct 14 '16 12:10 Incognito4nonymous

Try use SDL that attached to tarball

mittorn avatar Oct 14 '16 17:10 mittorn

How do I do that dude ? :)

Incognito4nonymous avatar Oct 15 '16 12:10 Incognito4nonymous

Use LD_LIBRARY_PATH.

a1batross avatar Oct 15 '16 12:10 a1batross

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.

Incognito4nonymous avatar Oct 15 '16 15:10 Incognito4nonymous

Use LD_LIBRARY_PATH=. to load SDL from current directory

mittorn avatar Oct 16 '16 07:10 mittorn

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

c1a3_shot0000

c1a3_shot0003

Incognito4nonymous avatar Oct 16 '16 08:10 Incognito4nonymous

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.

Incognito4nonymous avatar Oct 16 '16 08:10 Incognito4nonymous

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

mittorn avatar Oct 16 '16 09:10 mittorn

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

Incognito4nonymous avatar Oct 17 '16 17:10 Incognito4nonymous

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

mittorn avatar Oct 18 '16 04:10 mittorn

I tried on Windows, the issue is completely absent.

Incognito4nonymous avatar Oct 18 '16 08:10 Incognito4nonymous