You are not logged in.

#51 2019-03-16 15:37:44

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

SHELL=/bin/bash
WINDOWID=12582922
COLORTERM=rxvt
XTERM_VERSION=XTerm(344)
FREETYPE_PROPERTIES=truetype:interpreter-version=40
XTERM_SHELL=/bin/bash
GTK_MODULES=canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/four
LOGNAME=four
XDG_SESSION_TYPE=tty
XAUTHORITY=/home/four/.Xauthority
WINDOWPATH=1
HOME=/home/four
LANG=en_US.UTF-8
INVOCATION_ID=2432942cf1014c4b9ee7865463ae45e6
XTERM_LOCALE=en_US.UTF-8
XDG_SESSION_CLASS=user
TERM=rxvt-unicode-256color
USER=four
COLORFGBG=default;default
DISPLAY=:0
SHLVL=4
XDG_VTNR=1
XDG_SESSION_ID=1
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_RUNTIME_DIR=/run/user/1000
JOURNAL_STREAM=9:23956
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/four
_=/usr/bin/printenv

Last edited by jiv222 (2019-03-16 15:38:09)

Offline

#52 2019-03-16 15:43:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

The question is whether taking OMZ out changes anything about the performance issues smile

Offline

#53 2019-03-16 15:47:02

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

seth wrote:

The question is whether taking OMZ out changes anything about the performance issues smile

Ah, unfortunately.. no changes. I'm thinking its just some left over file which is causing my device to try to utilize my GPU.  My goal is to just go back to intel only graphics, and keep my GPU turned off entirely.

Offline

#54 2019-03-16 15:55:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

One last thing you could try is to strace the process to get an idea on what it's spending so much time on.
I don't see how merely starting some X11 client could attempt to activate your GPU. Let alone only starting the second client (since afaiu the first urxvt comes up fast?)

Offline

#55 2019-03-16 15:59:39

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

Yes, the first urxvt client gets started almost immediately with startx urxvt.  Then anything ran from there takes forever to start. Really weird.  Also, I'm not sure what is making neofetch say my gpu is the nVidia one.

Offline

#56 2019-03-16 16:29:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

neofetch is a dumb shell script that parses lspci depending on a setting to whether display the IGP, the GPU or both - you can happily ignore what these hwinfo tools print in general: it's meaningless BS for screenshots.

strace urxvt > urxvt.strace 2>&1

That's gonna be A LOOOOOT of text, though, so please use some pastebin service.

Offline

#57 2019-03-17 02:48:07

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

seth wrote:

neofetch is a dumb shell script that parses lspci depending on a setting to whether display the IGP, the GPU or both - you can happily ignore what these hwinfo tools print in general: it's meaningless BS for screenshots.

strace urxvt > urxvt.strace 2>&1

That's gonna be A LOOOOOT of text, though, so please use some pastebin service.

Can you recommend a pastebin client. I'm using pastebinit, and I think the files too big for pastebinit to handle.  It's huge.. I'm pretty sure its filled with a lot of extra font info.  I'm just struggling getting it into pastebin (if its even possible with a file 1+GB), and can't just copy and paste it since its too large.  Sorry for the ignorance, I've been trying to upload this file for the past hour lol.

Last edited by jiv222 (2019-03-17 02:51:19)

Offline

#58 2019-03-17 08:14:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

> 1GB is excessive!!

It's like 250kB here.

You could compress it and upload it to drive.google.com, but I assume if you look at it, there'll be some lines that make up for almost all of the file (polling a resource or so) and that will probably explain the high CPU load.

Offline

#59 2019-03-17 18:11:30

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

seth wrote:

> 1GB is excessive!!

It's like 250kB here.

You could compress it and upload it to drive.google.com, but I assume if you look at it, there'll be some lines that make up for almost all of the file (polling a resource or so) and that will probably explain the high CPU load.

There is an insane amount of slightly different variations of this font stuff.  There's also some similar stuff with perl.

openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/._bookmarks-organize.svg", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/%bookmarks-organize.svg", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/.AppleDouble/bookmarks-organize.svg", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/bookmarks-organize.svg/..namedfork/rsrc", O_RDONLY) = -1 ENOTDIR (Not a directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/bookmarks-organize.svg/rsrc", O_RDONLY) = -1 ENOTDIR (Not a directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/resource.frk/bookmarks-organize.svg", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/.resource/bookmarks-organize.svg", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f162648e000, 445)             = 0
stat("/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/bookmarks.svg", {st_mode=S_IFREG|0664, st_size=392, ...}) = 0
openat(AT_FDCWD, "/home/four/.fonts/fonts-master/papirus-icon-theme-master/Papirus/16x16/actions/bookmarks.svg", O_RDONLY) = 8
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
fstat(8, {st_mode=S_IFREG|0664, st_size=392, ...}) = 0
mmap(NULL, 392, PROT_READ, MAP_PRIVATE, 8, 0) = 0x7f162648e000
close(8)

Offline

#60 2019-03-17 18:14:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

wtf is there an icon theme in your fonts folder?
Remove or at least move away /home/four/.fonts/fonts-master/papirus-icon-theme-master

Offline

#61 2019-03-17 18:16:01

loqs
Member
Registered: 2014-03-06
Posts: 19,103

Re: [SOLVED] Extra fonts hogging system resources

Perhaps just move .fonts to another location or if you create a new user is the issue still present using that new user?

Offline

#62 2019-03-17 18:34:53

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

Deleted the entire ~/.fonts/fonts-master directory.  Launching everything is super fast again now! Thanks a lot lol.  Only issue now is that polybar doesn't recognize monitor 'eDP1', but that shouldn't be too hard to fix hopefully.

Offline

#63 2019-03-17 18:36:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,589

Re: [SOLVED] Extra fonts hogging system resources

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#64 2019-03-17 18:38:03

jiv222
Member
Registered: 2019-01-14
Posts: 54

Re: [SOLVED] Extra fonts hogging system resources

jiv222 wrote:

Deleted the entire ~/.fonts/fonts-master directory.  Launching everything is super fast again now! Thanks a lot lol.  Only issue now is that polybar doesn't recognize monitor 'eDP1', but that shouldn't be too hard to fix hopefully.

Simple as changing 'eDP1' to 'eDP-1' smile

Offline

Board footer

Powered by FluxBB