Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu: ZKL lags massively when opening new chat tabs; randomly closes #568

Closed
Histidine91 opened this issue Mar 30, 2015 · 17 comments
Closed
Assignees
Labels

Comments

@Histidine91
Copy link
Member

It drops my desktop UI to what feels like 5 FPS. When starting up ZKL this can last for several minutes.
Also it randomly closes itself (I can't even tell if it crashed or not).

This didn't happen a couple of months back.

Running on Ubuntu 14.04 LTS

@Licho1
Copy link
Member

Licho1 commented Mar 30, 2015

probably related to really stupid player list updates...

@xponen
Copy link
Contributor

xponen commented Mar 31, 2015

when ZKL close itself in Ubuntu, it meant it crashed. (There's no "ops, send crash report?" pop-up IMO. )

First step is to get ZeroKLobbyErrors.txt and see if its an easy bug to fix.

@xponen xponen self-assigned this Mar 31, 2015
@Histidine91
Copy link
Member Author

http://pastebin.com/k7t85zac

(pay attention to the dates, the only ones involved in this issue are the ones from the 30th)

@xponen
Copy link
Contributor

xponen commented Mar 31, 2015

FATAL: System.NullReferenceException: Object reference not set to an instance of an object
at System.Threading.Timer+Scheduler.SchedulerThread () [0x00000] in :0
at System.Threading.Thread.StartInternal () [0x00000] in :0

@Licho1
Copy link
Member

Licho1 commented Mar 31, 2015

Find where System.Threading.Timer is used instead of System.Timers.Timer it should be just 2-3 places one of them is it.

@xponen
Copy link
Contributor

xponen commented Mar 31, 2015

I found 1 here: https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/master/Shared/PlasmaShared/SelfUpdater.cs#L15

Do we need to replace it with Timer.Timer?
But it wrote: System.Threading.Timer+Scheduler <--- what is the "+" mean?

@xponen
Copy link
Contributor

xponen commented Mar 31, 2015

@Kingraptor says the "Steam DLL not found" exception still happen to him regularly, I remember @Licho1 said ( http://zero-k.info/Forum/Thread/11631#119478 ) it was fixed.

oh, if was fixed in "welcome_screen" https://github.com/ZeroK-RTS/Zero-K-Infrastructure/blob/welcome_screen/ZeroKLobby/Steam/SteamClientHelper.cs#L46

@xponen
Copy link
Contributor

xponen commented Mar 31, 2015

I didn't get Timer error in my Ubuntu 14.04.1 LTS
Mono 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)

Can't confirm low fps because I don't have good driver in Linux, I always low fps

@xponen
Copy link
Contributor

xponen commented Apr 1, 2015

@Licho1
Copy link
Member

Licho1 commented Apr 1, 2015

I think it should be merged somehow im not sure what happens if you do that to auto merge ... no idea..

@xponen
Copy link
Contributor

xponen commented Apr 5, 2015

If I copy paste, I will fix conflict manually by updating welcome_screen with master. Like I did before with local_replay!

after manual merge, no more problem.

@xponen
Copy link
Contributor

xponen commented Apr 6, 2015

okay merged!

@xponen
Copy link
Contributor

xponen commented Apr 6, 2015

I add 2 new commit, hopefully it fix it when deployed later:

fix for steam.dll not found spam
c7618d9

fix for Engine & ZK check spam
48f9702

@Histidine91
Copy link
Member Author

Tried running from terminal:
"TASC channel joined: " messages come several seconds apart, even if the channel is completely deserted (and the client is lagging the whole time while the channels are being joined)

@db81
Copy link
Contributor

db81 commented Jan 3, 2016

Is this still a problem?

@Histidine91
Copy link
Member Author

I don't recall any random app shutdowns lately, but the lag was still a thing when I last used it on Ubuntu (within the past month)

@Licho1
Copy link
Member

Licho1 commented Feb 2, 2016

This should be fixed by special catches for steam library uncatchable exceptions

@Licho1 Licho1 closed this as completed Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants