You are not logged in.
You can see it here:
https://upload.disroot.org/r/sebSnA6b#m … +VuzWkbXU=
I was using wine-staging and after like 3+ game of a game called SC2, suddenly everything slows to a crawl.
I logged off and lone behold, I check my ram 5.6GB is being used!
When I started the game originally of SC2 I checked and it used less then 2GB of ram.
But after the three games even after closing it, I still was having 5.6GB being used.
It was friggin weird.
I checked with htop and found that some xorg program was using like 30+% of it. That attachment shows the main command of issue. I dunno what the hell this bug is.
Someone enlighten me.
PS, this is the computer I play starcraft 2 on and yes AMD GPU non-free blob was enabled.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
I do not game, yet for decades 1 TB of RAM gets filled to capacity by normal day-to-day use (I tend to leave the machine switched on 24/7 & typical timings are 7 days to hit swap usage).
I had a dedicated server for approx 15 years & it would take months & months before it needed reboot. Just one month for a desktop machine. Not good.
Offline
Probably, most of your ram is just being used as a cache.....
Offline
some xorg program was using like 30+%
If it is indeed X using that much memory, xrestop may be of interest.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Offline
@camtaf someone on the framework community website forums suggested it was a memory leak. But it still is very weird regardless.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
It does sound like a memory leak. If it happens again try running free and vmstat to get stats on memory usage. The si and so fields in vmstat outout show how much memory is being swapped in and swapped out from/to disk. If that's high you will usually notice the system is slow.
Offline
@chris2be8 what do I do with the info I receive after I do that?
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
The first step is to read the man (or info) pages for free and vmstat. They describe what the output fields mean.
Memory leaks can be a pain to track down. To find out which program is leaking memory you may need to:
ps -efly >ps.out1
Run suspect program (in your case the game under wine) for a while.
ps -efly >ps.out2
Run the program for a bit more.
ps -efly >ps.out3
...
When the system starts paging take a last snapshot:
ps -efly >ps.outn
Then stop the program and compare memory snapshots to see which program(s) RSS and SIZE fields were growing.
Then *all* you have to do is to find who supports the leaky program and persuade them to fix it.
Caveat. I've not had to do that myself, so I can't be sure it will work.
Offline
@chris2be8
https://upload.disroot.org/r/pBagFvgG#A … Dtz2tkVr0=
This is the logs I have had.
Can you make any sense of this?
I am pretty sure its an xorg issue but beyond that, no idea.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
Sorry, that link just hangs saying:
Please wait while we are getting your file. We first need to download and decrypt all parts before you can get it.
Offline
@chris2be8
What web browser are you using? I can make it work.
Did you disable javascript or something?
I am using palemoon and I can get link easily. Very strange...
You should be able to as long as you wait ten seconds or so
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
Yes, I normally disable javascript, for safety. I've managed to get it now.
Running sort <ps.out1 -g -k 8 | tail against each file in turn to find the programs with biggest RSS I spotted two large users:
R userus+ 3114 1 99 80 0 2193540 2241107 - 08:48 ? 00:28:46 C:\Program Files (x86)\StarCraft II\Versions\Base92440\SC2_x64.exe
R userus+ 2936 2935 62 80 0 2250356 901302 - 08:48 tty1 00:14:23 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.LPffKQyAqd
(those are in ps4)
/usr/lib/xorg/Xorg is probably innocent.
C:\Program Files (x86)\StarCraft II\Versions\Base92440\SC2_x64.exe is the most likely culprit.
HTH.
Offline
@chris2be8 do you think wayland would be affected by this then? Don't get me wrong, I hate wayland, but this is my gaming computer so ill put up with it if i have to.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
I doubt wayland would do any better. It looks as if the game has a memory leak, which will probably still happen under wayland.
The only quick fix I can think of is to only run the game for a limited time, then quit it and restart wine before running it again. If it's the sort of game where you can do that.
Offline
@chris2be8 I decided anyhow that I might need more ram. So thats what I will do.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
Wayland would probably need more memory that X windows so would make matters worse if your ram is limited.
The game might just need a lot of memory to run. So adding ram should get you fixed. Just for interest how much do you have now and how much are you adding?
Offline
@chris2be8
I got more ram and that fixed the problem thankfully.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline