#Game being laggy despite FPS being *normal*
1 messages ยท Page 1 of 1 (latest)
@sterile moss Have you tried playing in windowed mode? Also, what does your CPU say? Your CPU has 8 cores/threads so 13% or 25% could mean 1 or 2 of those are fully used up otherwise something else strange is happening.
Yes, I've tried the windowed mode. It doesn't really do anything. How can I check the CPU? While playing, it's at 60%.
You can right-click the taskbar and click "taskmanager" there.
It's the resolution I'm playing, the processor is basically 20% right now, the game is laggy as hell, though
Oh
hold on
It's 42% max while playing at the barren wasteland
Despite that, the game is slow and laggy
And the input lag/latency is so bad it feels like a very slow internet browser
Like, I drag the digging zone and I have to wait for 1-2 seconds before it even starts drawing
There's a giant lag
go into your settings and click "show fps" to "yes"
Is it the same if you do those things when paused?
should see something like this. The left number is the simulation ticks per second and the right is your graphic updates per second.
Well, it says that
But the game is still laggy
I've started a 1x1 embark
And yes, there's no difference between paused and unpaused
then its not obviously performance related
It's probably a graphics problem
I've formatted my pc yesterday
But nothing has changed, really
A single tree on the map is enough to brick my game
Or so it would seem
I almost feel bad for asking the infuriating question "did you update your graphics driver"?^^
Yes
I've tried everything I've found online
I'm running the game with special launch options, played a bit with NVIdia control panel to support OpenGL
I run the game as a priority and administrator
And I run it in a window so small it takes 1/4 of my screen
kk, wait a sec, I'm checking if there are still any init_d-config options regarding ui drawing in the steam version
Alright, thanks a lot. I'll wait.
Yeah I'm on a shitty laptop and even I can manage a 4x4 ocean embark, for a while, so it's not a lack of oomph
Yeah, it's obviously not normal. The worst thing is, I'm in minority.
Like, there aren't many people affected by this.
But even despite that, I can always play classic until the thing gets patched. I don't regret buying the game at all.
But it's strange that it works (or doesn't work) that way
Have you tried classic?
Yeah, I've been playing Dwarf Fortress on and off for ~3 years
Curious if it has the same issues
No
๐
I can run 500 pop fortress
Then it starts to lag
I used to run the multiplayer fortress (we played 1 year each) with 2 friends
And it used to be a 300 pop 6x6 embark with 2 waterfalls
and it ran smooth as butter
Impressive!
But it was modified ascii
Simple Mood tileset, my beloved
But then, you see it's strange
When my steam version game lags at 7 dwarfs, paused game
And a single tree is enough to slow my game to a halt
And a river is enough to completely crash it for some reaso n
Haha, looks good, but not sure I could handle that font. I was always on CLA
The font is the best part. CLA is amazing, but I never really liked the filled tiles
I hope you get it sorted! Steam version has... Issues, but it's still good.
So, it seems there are no magic init options anymore
Yeah, I just wish it worked for me ๐ฆ
Oh, I've tried to put the "elevation view" setting to 0, too. It doesn't change anything.
Like, no change. Even when the world is black.
or white
Even on 1x1 embark
I'm down to educated guesses and fiddeling. Did you try disabling "resizable"?
The other things that have a slight chance:
Does changing the Graphical FPS cap affect anything?
that FPS Cap would be in the Video tab.
The other one is the Game FPS cap in the Game Tab. Right under the show fps thing.
If for some weird reason your pc skips frames upping those could help. But I do not know if input is related to GameFPS or GraphicalFPS. I just know that when my fort reaches 15 FPS i have to hold clicks a bit longer for them to register and if you already have that problem and increase the fps it might register your input faster..
50 is the default right? then check the extremes. go for 5 see if it is worse, probably is
then check 100 or 150. Same for the game fps one
Just tried, you have to confirm with Enter after typing else it resets when you click done
My input delay got way worse setting it to 5.
Well, welcome to my world because it didn't change a bit
I'm pretty sure 100 is the default, just for reference
But the FPS showed it
Hold on, I'll change the biome
The worst FPS I had was in tundra
try a higher than default value like 100
Without elevation
I'll do that
Hmm
The overworld map is much smoother
it runs on 90 fps now
It ran in 5 before
It's strange but great news tbh
I'll fiddle with that a bit
In game, though is the same
The goddamn trees
With the higher setting or the low setting
Ok, I also just had another suspicion. I just checked that your graphicscard supports adaptive sync/freesync/g-sync whatever. Did you ever come across that anywhere? Or do you force vsync?
I don't think I do force that, but I'm not sure where to check that
My Geforce is made out of dust and parched moths, but its in the NVIDA Control Panel
Not sure if newer GeforceCards still have that. I just search "nvidia" in the start menu
Is also here when I rightclick empty space on the desktop
There also might be some option in that geforce experience thing.
I'm in the control panel, looking for the vsync
there it's for me
It won't hurt trying. The default would be to let the app decide
Doesn't seem to change anything
Then two more things: Do you have any overlays enabled? Like the xbox game bar, or the geforce experience in-game overlay?
no, no steam overlay too
ok, just thought there might be a reason why steam overlay is off by default.
the other thing. old df had these settings in the init.txt
On cards that support the OpenGL ARB_sync extension, turning this on can improve framerates in GPU overload conditions. It defaults to NO, as many cards that claim to support this will crash if asked to do so.
[ARB_SYNC:NO]
This sets the applications vertical synchronization behavior. Changing this to YES can impact your FPS if your G_FPS is high. ARB_SYNC is a better option, if your system supports it.
[VSYNC:NO]
you can try pasting them here C:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\prefs\init.txt
just like this and try turning them on and off
https://dwarffortresswiki.org/index.php/DF2014:Init.txt here is the init.txt from the latest version before steam. Anything option talking about Sync or Buffer could have an effect
The game loaded 50% faster
So we'll see
Okay, it jumped to 25 frames
So it's a progress, really
20 frames more than it used to be huh
Other than that, you did try setting FPS and G_FPS to something high like 200+?
Make sure discord overlay is off too, that one is sneaky
I just did that, restarted the game and it launched without loading
Oo
the dwarf face literally just blinked
and the game started
so
the game is still laggy
but it's also very fast
XD
hah
like, the dwarves run in fast-motion
but the game is still laggy to drag and stuff
it looks like it's on 4x speed
That would be the game_fps, you can set that back down to 100
I feel kinda stupid that I forgot, but you can easily change the G_FPS (aka gamespeed) with ALT + <the two keys left of backspace>
oh, that's interesting
its ร and ยด on my german keyboard. The settings say "alt + minus and alt + equals"
yes, what did the fps counter at the bottom say when you ran it fast? 200(200)?
I wonder if a tileset change would fix the issue
No, it was still 100<90>
But the game was laggy on my part
But 100 in the front, is the standard speed. The dwarfs shouldn't have been any faster.
Default is 100(50)
Maybe remove them to test and then fiddle with the FPS cap under video again.
-fullscreen -USEALLAVAILABLECORES -high -maxMem=8192
aye aye sor
sir
alright, heavily forested area
if I don't respond, my pc exploded
okay, it runs worse
where did you get the launchoptions btw? they're news to me
Reddit is always helpful to some degree
Well, I guess what I need to do is just wait
Until it gets patched
Or tilesets become compatible
Because I'm almost sure it's the tileset's fault
Since trees kill my FPS
Ye. I just tried some of the old init settings, but the game eats them and they vanish from the init.txt when i restart
I'm still not sure if they kill your "FPS" because the readout from DF at the bottom did show that you should be fine
Or? your perceived fps never matched the number in brackets
Well, yeah
the brackets don't match the actual game's performance
unless it's an overworld map
There's definitely something mysterious going on. DF obviously draws as many frames as it tells you. Because what else could it count. And something eats those frames.
@sterile moss It's speculated (and seems to be the case) that the steam version is using software renderer for graphics. So for higher resolutions it becomes really taxing really fast.
Vsync is a hardware close way of matching your fps to your monitors refresh rate.
Double- and TribbleBuffer are methods of drawing frames to memory before displaying them.
Any overlays that support streaming may take any frames a application wants to display for a detour.
*triple xD
I'm playing on 1366x798 resolution, though. It takes 1/4 of my screen
I've messed the number up a bit, but the point is - it's small
Yes and the game tells him basically
FPS: 100(50)
I'm pretty sure I've turned all overlays off
the FPS should be down if it was a performance problem
Game being laggy despite FPS being normal
I bet if you ran a virtual machine with linux on it and then emulated windows with wine to run steam to play DF your performance would be better
How does one do that?
Well, going off the above info, could you try to run DF with 2 physical cores? (Even numbered 0, 2) and so on?
I've never emulated aything
How does one do that?
Are you on windows?
Emulating: that's way more effort than it's worth.
Cores: TaskManager > details
Then only check core 0 , or 0 and 2 like he said
Check 0 and 2, because iirc the game uses 2 threads one for Game Logic and one for Rendering
actually try both (only 0 nan (0,2))
That seems... off. Don't you have 8 cores?
Have you been upgrading a very old computer? How old is the CPU? Looks like a bottleneck to me
4 core?
Not sure
what cpu?
i7-9700k
Yeah should have 8 cores
That's !FUN!
that makes no sense yeah lol
You might have disabled them inside the bios. Or it's some weird 8 cores on the chip but 2 share a pipeline thing. But when enabled they should also show up.
Where can I see my CPU?
push windows key and start typing system info, click top thing
So, guys
This is so fucking dumb
I'm fucking ashamed to even send you that but I can probably explain
So basically
The CPU
IS NOT THE ONE I USED TO HAVE
But then
I fucking bought the i7-9700k
I even have the receipt
I sent my PC to the service about a year aho
thats a fairly big difference lol
๐ฌ
cpu deff the problem lol
maybe even AMD for GPUS after these 3000 flops
hah
this is hilariously bad
I would honestly think that CPU could run it better
but i dont know jack about quad core i7's
Probably, yeah
But it still doesn't add up, DF shows you roughly FPS: 100(50)
But your input laggy as hell
my CPU is ancient even compared to yours
And I didn't notice
but I run embarks fine
my main desktop is an old i5
Not only my DF is running like garbage, I also found out my CPU has been stolen by the service
probably
yeah I agree, it still doesnt add up. I have a 2060 which is pretty much the same architecture and it runs fine
is there anything I can do?
if you had a 30xx series i'd say yeah, prob an issue
dunno, I'd have to fuck around with shit myself with something so specific and zero info
Have you checked that your RTX 2080 isnt an GTX 280?^^
Literally running absolutely fine, even with firefox and discord open and no gpu to speak of
I'm afraid to look XD
nah it's okay
That still doesn't make sense i7 6700 (non K) should have 4 cores, 8 threads
yeah I just did a comparison. that i7 6700 is only 10% slower than my cpu. It's not your hardware
Is hyper threading on?
unless the model is so old it uses a different type of throughput that makes it less efficient with DF in particular. Just guesses at this point
How do I check that?
Seems like it's off. You'll have to check in BIOS
Uh oh
im curious, try changing your desktop RES to 1080P and running the game in windowed
Well RIP to your CPU, anyways.
The most striking thing is still, why does DF say it runs fps 100(50). And when you change grapical FPS to 5 in the options DF feels the same as when you set FPS to 100.
Somethings eating frames
Watch him come back and find rebooting fixed it
if he bought his GPU on a sketchy site some of them trick the computer into thinking its a different GPU
and they sell you junk
yeh but i think DF would show low frames in the counter if DF was unable to render faster
My laptop literally does not have a gpu
No, it was my CPU
He might have some !FUN! BIOS settings causing stutters
It must've been snatched at the service point
It's Poland, we're barbarians sometimes
Anyways
Turned the hyper-threading on
It was !FUN!
We'll see if it changed anything
So now it should be 4/8
It is
Cool, it's still not what you wanted but at least it makes sense now.
Next time fix the fan yourself, I reckon xD
1280x720 can be integer scaled if you choose to go down that road for crisp graphics. You'd loose out on (Fish, Plants and Others) category of the Stockpile summary
Hyperthreading shouldn't make a difference I believe. CPU isn't faster, there is just a second thread to do some work when the first thread is stalled and waiting for something. So unless he's streaming in 44 chrome tabs
It could if the hitching comes from thread-switching overhead. But I doubt it, worth a shot though.
๐
I'd really like to see tarns codebase at one point.
Well, turning into 1920x1080 didn't change shit
But Hyperthreading gave me like, 2 fps more
which means... my game is now like 10!
instead of 5
Yay
I'll try that
Only 0,1 or 2,3
Twice as good is amazing, I'd die for those gains in other games
I mean I'd still die for twice as fast DF ^^'
Bahaha
I mean
I paid for much better CPU
It should have been better in the first place!
I still don't think it should make as much of a difference, something has gone wrong somewhere
DF doesn't care, whatever this is is not you running out of cpu^^
again, I'm literally on a 2-core laptop from 2011 and I'm getting 100fps on a map with a waterfall
I'm jelous
hey, the laptop would cost less than a new cpu xD!
I'm thinking this. If you're CPU got snatched, you didn't have SMT on, what else is fucked?
When I upgraded from my 4 core rustbucket to this 8 core chromed over rust bucket I lost DF performance as single core was a bit worse.
I'm afraid to even think about it
BTW unrelated, but if you know your RAM speed, make sure they're actually what you got. If it has an XMP profile make sure to enable it in BIOS
๐ข
Make sure you're not overheating
coretemp is a good app for checking
If they snatched the cpu it might be they didn't put the cooler back properly
For a desktop I would say anything from 25 to 50
50 on the high end, I'd put new paste on it at that point
*c
That's really cpu dependent
Mine are 45-60C
That seems ok
AMD run hotter at least that was the case
Minimal 40
Overheating is like 80-100~
mine will crap out at 74Cยฐ
My laptop idles at 60 but I literally just took it apart, cleaned it, and put liquid metal on it a week ago
That's fine
The game still runs in 11 fps
Its black magic to me.
I put a new cooler on the cpu 75Cยฐ at boot craps out. I redo the paste can boot but still run to hot to do anything without crashing.
I hit my cooling block with a screwdriver end. bam 40Cยฐ at boot, wat
haha
just wasn't seated right I suppose, mine was running at 100 with the fans going constantly even idle, but it turned out the cooler wasn't secured properly
fixing that + the metal has made everything run so much better xD
So either way that's not your problem, which is good
Do you think it'll be patched?
Or will I have to play classic when it comes out updated
I'd furiously hit check update on your graca drivers
Supposed to be weekly patches, but I assume classic is gonna run the same "engine" so your problems may persist?
hmmm
they nicked your cpu right
I'm pretty sure it's the Steam version's fault
What if you have old cpu drivers hanging around fucking everything up
Probably a tileset
I've formatted my PC yesterday
Ah, fair enough then!
You know, I used to run 300 pop forts on 6x6 embarks in classic
Playing with modified ascii tiles
Smooth as butter
I'm betting on something between DF and you and not inside DF per se. Otherwise I can't explain why DF thinks its running with more frames than you experience
You see, the thing is... the PC is wiped clean
Like, my HDD and SSD discs are wiped
All the apps gone
All the clutter wiped from existence
And nothing has changed
Yeh it sucks. I'm eying your graphics card. It's quite new, you have fresh drivers. Nvidia likes to fuck up with their drivers sometimes.
Did you run SteamVersion fine before the wipe?
No
It ran like shit
Hence the wipe
I figured "eh why not"
"I wanted to do that anyway"
low key hoped it will fix things
since my pc was full of crap
but no
As good a reason as any. Ask tarn to enable RayTracing and ClothsPhysic so the RTX feels validated, idunno.
haha
Tbh I hate my graphics card
like, i'm not even playing games that require it
such a waste of money
But I'd say that whatever it is it'll get patched by whomever.
Hey, idea, can one force hardware emulation for a programm?
I don't know
Can you check the settings app (just settings in start menu) There Display and then Graphics Settings?
does it say like here when you pick an app and then open the options something about power saving gput?
It's like watching an old movie in an IMAX theater
How do I see the graphic settings? where to look?
Open the Settings app and go to the System group of settings.
Select the Display tab and scroll down.
Click the โGraphic Settingsโ option.
On the Graphics Settings screen, open the โChoose an app to set preferenceโ dropdown.
Select the type of app you want to set the GPU use for; Classic app for desktop apps, and Universal app for UWP or Store apps.
you can also just search graphic from the settings window
then just check any app if it lists some. Im just inerested if you have a other option than the rtx
Crap. I'd hoped there might be a integrated GPU
you can try setting the powersettings to whatever isn't selected for DF but it won't help I believe
Could always try yanking the graphics card and see if it still boots ๐
what a garbage situation tbh
XD
I hate how they yanked my CPU and I didn't even fucking notice
what a life
so now my FPS in game shows 9999+
but still runs like crap
what
the
f is happening
behold
see its fine the game says 49 fps * bugs closes* ๐
Yeah it shows that but... still runs like it's 10
like, i still can't drag with a mouse :(*
mouse and keyboard are laggy, right?
only time I've had anything even close was when I had a forgotten beast get into my dining hall and 170 poets decided they all wanted a piece of it
like, I can't even scroll
and even then it still ran ok once I paused
That's the only time I've had input slowdown in the steam version so far
Before you install linux, you could try the compatibility mode.
shit ^^ I can't recommend running linux in windows to emulate windows. I started the install and its still chugging along. Just wanted to see if it even would work
Am I really the only one experiencing that? That's nuts/
You're one of the lucky 10000
Yeah
Perhaps why my CPU was stolen
Perhaps joking will help me cope
Anyways, mate
Thanks for your time
I hope you haven't wasted it
I'm pretty sure the realisation my CPU is not what it's supposed to be was a highlight
I fucking hate this timeline
No worries, stuff like that is like solving a Sodoku for me^^
There is a higher one that will not put the CPU into idle mode
FWIW
It's ok, steam df lets you save multiple timelines now
If you want at some point, share your screen and try to troubleshoot the issue together, feel free to DM me.
GMT+1 IIRC
Yeah ๐
you have infected meee~
@sterile moss https://www.reddit.com/r/dwarffortress/comments/zhhmff/guide_on_pixel_perfect_graphics_reliable_text_and/ did you see/try this already?
43 votes and 18 comments so far on Reddit
lmao it's a virus
check your CPU
Well, some day it will run better. They will inevitably find a way to optimize it.
just popping in here to say I am also having the same problem with the FPS being normal but controls having noticeable input lag and missing inputs
I don't have any of the weird hardware situation that OP seems to be having so while it doesn't rule it out its another point against that being the cause
I've also tried everything suggested in this thread so far with nothing helping
system specs are Ryzen 5 3600 and RTX 2070, 1440p monitor.
People with much worse PCs than me have been running the game perfectly fine and I have no issues running other more CPU or GPU demanding games
oh also I have no integrated GPU
yeah already tried this and did nothing
I think I've fixed my FPS @zealous mesa
I've installed the different sdl drivers
and then found out even in my native resolution
when I'm playing on a "default" zoom
It's smooth as butter
but only then
if it's zoomed in or out it's instantly 1 fps
Like, zoomed with the [ ]
You should definietly check it out
Hey, need an advice?
Somebody should pin that message so it doesn't get lost in the chatter
I think we should write down all the things suggested in this thread as a TL;DR
without the !!!FUN!!! story about stolen CPU
this is what fixed my game a bit
Native resolution, lots of trees, a lot of water
The game is running smooth as butter mate
Turns out it's the zoom feature that's incompatible with my pc
Can you tell me, if there's a way to set a "default zoom"?
You know, in an Init file
#1052635799335731291 message the first message, for reference xD (That was a lot of scrolling up)
quite a ride, huh?
Seriously
so you just have to zoom out all the way and it made it run better?
No, no
It runs like shit when I zoom out all the way
It's a spot in the middle, all pixels are sharp and clean
Nothing looks out of place
It just aligns and runs smoothly
whenever I zoom in or out it returns to 1 fps
it's that one spot, it's 2 clicks of zoom out after launch for me