Why is the game a laggy shitheap [SOLVED]

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: Why is the game a laggy shitheap

Postby jordancoles » Fri Oct 09, 2015 10:27 am

jorb wrote:I'll ask loftar to share his thoughts on optimization.

OBS has a few ways of capturing the game that you want to record/stream

Monitor capture is the worst for fps
Window capture is slightly better but it still guarantees some fps drops (which is what I use to stream haven atm)
And then there's game capture. Game capture mode is the best way to stream or record anything smoothly through obs

Some games work with it and others don't, but no idea why

For whatever reason, when haven is run in game capture mode the game recording will have black screen flickering every second or two, but it will run about 10-15 fps higher than window capturing

But even still, when I'm not recording at all I have around 25-40 fps
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:

Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
 
Posts: 14076
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Why is the game a laggy shitheap

Postby Pyon » Fri Oct 09, 2015 10:33 am

Try run it with OBS only for recording, then streaming, to check if the spikes are only CPU based or internet latency.
If its internet, you can't do nothing fancy except changing your provider.
If its CPU, if you want to set OBS affinity for only 1 core, and game for the rest 3. Its a PC, so I guess this CPU has 4 physical cores and 8 virtual? then put OBS on cores 6-7 and game on 0-5. To do this if you are on win7, press ctrl+shift+esc javaw.exe should be for zour haven, but make sure its this one and zou dont have others java programs turned on. Right click "Set affinity..."... and same for OBS.
At least thats what helped me a lot with other game that was bottlenecked on CPU a lot.

Btw for battleping or whatever, if you need an "exe" then just put the javaw.exe file, because thats what actualy runs your game.

Am 100% positive its not GPU problem.
Pyon
 
Posts: 5
Joined: Sat Sep 05, 2015 1:35 pm

Re: Why is the game a laggy shitheap

Postby jordancoles » Fri Oct 09, 2015 11:05 am

Pyon wrote:I guess this CPU has 4 physical cores and 8 virtual? then put OBS on cores 6-7 and game on 0-5. To do this if you are on win7, press ctrl+shift+esc javaw.exe should be for zour haven, but make sure its this one and zou dont have others java programs turned on. Right click "Set affinity..."... and same for OBS..

Could you explain more of the steps involved here

I have 4 cores starting from 0 and going up to 3 but not seeing where I can assign the program to the specific cores in task manager > resource monitor
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:

Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
 
Posts: 14076
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Why is the game a laggy shitheap

Postby Procne » Fri Oct 09, 2015 11:08 am

jordancoles wrote:
Pyon wrote:I guess this CPU has 4 physical cores and 8 virtual? then put OBS on cores 6-7 and game on 0-5. To do this if you are on win7, press ctrl+shift+esc javaw.exe should be for zour haven, but make sure its this one and zou dont have others java programs turned on. Right click "Set affinity..."... and same for OBS..

Could you explain more of the steps involved here

I have 4 cores starting from 0 and going up to 3 but not seeing where I can assign the program to the specific cores in task manager > resource monitor

Go to task manager, "processes" tab, right click a process and select "set affinity"
Procne
 
Posts: 984
Joined: Sat May 29, 2010 3:04 pm

Re: Why is the game a laggy shitheap

Postby jordancoles » Fri Oct 09, 2015 11:17 am

Procne wrote:
jordancoles wrote:
Pyon wrote:I guess this CPU has 4 physical cores and 8 virtual? then put OBS on cores 6-7 and game on 0-5. To do this if you are on win7, press ctrl+shift+esc javaw.exe should be for zour haven, but make sure its this one and zou dont have others java programs turned on. Right click "Set affinity..."... and same for OBS..

Could you explain more of the steps involved here

I have 4 cores starting from 0 and going up to 3 but not seeing where I can assign the program to the specific cores in task manager > resource monitor

Go to task manager, "processes" tab, right click a process and select "set affinity"

I set the game to core 0-2 and gave OBS the 3rd
It was really really laggy, OBS seemed like it needed more so I gave it cores 2 and 3 and gave haven 0 & 1 but the problem was the same
Getting around 15 FPS standing still

Didn't seem to help, almost felt worse :p
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:

Check out my pro-tips thread
Image Image Image
User avatar
jordancoles
 
Posts: 14076
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: Why is the game a laggy shitheap

Postby Koyu » Fri Oct 09, 2015 12:37 pm

So, its definitely CPU problem and the game also properly uses all the cores - thats why it went a bit worse with changing affinity.

There are some ways to decrease the CPU bottleneck: optimize the game (where optimizing any program always takes shitload of time).
Play around a bit more with OBS setting trying to configure it to take the least possible amount of CPU, or try using a program that uses GPU to catch screen output.
Try out unparking CPU cores: http://coderbag.com/Programming-C/CPU-core-parking-manager . It should make your CPU work a bit faster, increasing energy usage, so also temperatures (only slightly difference).
Try overclocking CPU if your cooling isn't bad and dont have high temperatures when it runs on max stress.
Buy new CPU - most shitty advice but always works.

Well also try out turning everything off and try stuff that would decrease any CPU usage.

Also a question, does it start to lag the moment you turn on the game with OBS, or when you are already playing a bit, like 10-20 minutes?
Koyu
 
Posts: 54
Joined: Tue Sep 09, 2014 12:54 am

Re: Why is the game a laggy shitheap

Postby lachlaan » Fri Oct 09, 2015 1:33 pm

Have you managed to check which GPU is being used for what? If it's FPS issues alone, then it might be a case of the recording software's encoding using the integrated graphics, which is (i believe) basically your CPU load being hogged. I've seen similar issues with certain programs using drivers that only solicit integrated graphics usage for what they think is lower GPU load , but which in turn murders the system.

Triple-check which GPU is under load with GPU-z or whatever other tool you might find.

Alternatively try that VirtualVM thinger to see what part of the game eats so much processing power. But my bet is on the recording software making your system think it needs to switch to integrated graphics.
lachlaan
 
Posts: 477
Joined: Sat Apr 06, 2013 9:32 pm

Re: Why is the game a laggy shitheap

Postby kilakan » Fri Oct 09, 2015 1:42 pm

It sounds like a mixture of things causing your lag JC. Your cpu is bottle-necking, your gpu is also a pretty old AMD model (even new R3-R9 amd models lag a tiny bit on HnH, it's poorly optimized for them as far as I can tell.) And I don't know, but what's your ram? If Java is having to offload resources constantly to the harddrive and re-load than the extra recording useage by obs might be causing a bit of a bottleneck on the read/write side of your disc.


Basically, it's shitty advice but:You probably need to buy some upgrades to your comp unless jorb/loftar want to spend a few months optimizing HnH which I doubt will happen while they are still trying to add features rapidly.

Your ping also doesn't help hugely, (it's basically 4 or 5 relatively small things adding up to your couple seconds lag by each individual thing causing some hang-ups.)
-Distant clown noises.
User avatar
kilakan
 
Posts: 406
Joined: Sun Jun 13, 2010 2:33 am

Re: Why is the game a laggy shitheap

Postby Granger » Fri Oct 09, 2015 1:45 pm

You could also take a peek inside the BIOS if you're able to disable onboard (on-CPU) graphics.

About your ping: Please post the output of
Code: Select all
tracert game.havenandhearth.com

run in cmd.exe

Code: Select all
C:\>tracert game.havenandhearth.com

Routenverfolgung zu ansgar.seatribe.se [213.239.201.139] über maximal 30 Abschnitte:

  1    <1 ms    <1 ms    <1 ms  fritz.box [192.168.0.1]
  2    31 ms    31 ms    31 ms  62.52.200.134
  3    43 ms    30 ms    30 ms  ae2-0.0002.dbrx.03.ham.de.net.telefonica.de [62.53.10.16]
  4    37 ms    37 ms    64 ms  ae8-0.0001.corx.02.ham.de.net.telefonica.de [62.53.10.13]
  5    37 ms    37 ms    37 ms  ae6-0.0001.corx.02.fra.de.net.telefonica.de [62.53.0.49]
  6    38 ms    37 ms    37 ms  ae21-0.02.xd.0001-01.fra.de.net.telefonica.de [62.53.0.81]
  7    37 ms    37 ms    63 ms  et-7-1-0-0.0002.prrx.01.fra.de.net.telefonica.de [62.53.11.231]
  8    37 ms    37 ms    37 ms  decix-gw.hetzner.de [80.81.192.164]
  9    38 ms    37 ms    36 ms  core1.hetzner.de [213.239.245.6]
 10    41 ms    42 ms    41 ms  core22.hetzner.de [213.239.245.178]
 11    42 ms    88 ms    42 ms  juniper2.rz13.hetzner.de [213.239.245.122]
 12    45 ms    43 ms    46 ms  hos-tr3.ex3k7.rz13.hetzner.de [213.239.224.72]
 13    43 ms    42 ms    44 ms  ansgar.seatribe.se [213.239.201.139]

Ablaufverfolgung beendet.

This is from my system, one can clearly see that my ADSL uplink is guilty for ~ 3/4 of the time spend on the roundtrip.
Maybe something interesting comes up in your case too.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Why is the game a laggy shitheap

Postby IntotheWild » Fri Oct 09, 2015 2:01 pm

try this ... http://www.vpngate.net/en/ and use a gate from france. you can use the build in windows L2TP/IPsec way.
User avatar
IntotheWild
 
Posts: 15
Joined: Fri Aug 21, 2015 12:16 pm

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot] and 47 guests