andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
489 stars 43 forks source link

Running in OpenBSD gives me same fps than quakespasm #188

Closed lea2501 closed 1 year ago

lea2501 commented 1 year ago

I just compiled ironwail successfully in OpenBSD 7.2 stable, but in the id1 start map i get only 50 fps, the same as quakespasm 0.94.4 in ports, quakespasm even feels smoother moving through the level.

Do you know if there's something like limiting the amount of fps i'm getting in OpenBSD? like some forced refresh rate sync or something like that? or maybe you could point me in some research direction to check why im getting no more fps.

I installed with this commands:

$ doas pkg_add cmake sdl2 gmake libmad libvorbis
$ gmake DO_USERDIRS=1 USE_SDL2=1

And run it like this: $ ~/src/ironwail/Quake/ironwail -width 1920 -height 1080 -fullscreen -basedir ~/games/quake/ -heapsize 256000 -zone 4096 -game id1 +map start +skill 1 +exec ~/games/quake/id1/autoexec.cfg -fitz (removing the -fitz parameter gives me same result)

Here's some of my hardware (no dedicated GPU, only intel one):

$ sysctl hw
hw.machine=amd64
hw.model=Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz
hw.ncpu=4
hw.cpuspeed=800
hw.setperf=0
hw.vendor=Dell Inc.
hw.product=Latitude 5480

GPU info:

inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 630" rev 0x04
drm0 at inteldrm0
inteldrm0: msi, KABYLAKE, gen 9
inteldrm0: 1920x1080, 32bpp

Thanks in advance!

lea2501 commented 1 year ago

My bad, it seems this hardware its not capable of running at more fps than the amount im getting, i tried in other hardware and im getting 4000+ fps.