LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2019, 12:48 AM   #1
jmf
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Rep: Reputation: Disabled
High RAM memory usage in xfce with nvidia driver


My xfce install is using after boot more than 100mb more RAM than in other distributions, I noticed that this does not happen with nouveau or other drivers, or if I install only the nvidia module but not opengl libraries, so is gpu accel related. How can I fix this? I have to recompile some package/s? Thanks.
 
Old 10-03-2019, 04:37 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,588

Rep: Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177
Welcome to LQ, jmf.

The answer is in your question. If you install Nvidia drivers and not opengl drivers, and things work, leave it that way. Nvidia install scripts move opengl libs out of the way anyhow.

If you're trying to set up dual graphics, better p[ost again with details of that.
 
Old 10-03-2019, 04:42 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,146

Rep: Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935Reputation: 2935
Why do you care ?. What else are you going to use the supposed "wasted" RAM for ?.
How much do you know of Linux memory management ?.
 
1 members found this post helpful.
Old 10-03-2019, 09:05 AM   #4
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 417

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by syg00 View Post
Why do you care ?. What else are you going to use the supposed "wasted" RAM for ?.
How much do you know of Linux memory management ?.
If there's a memory leak somewhere, that would be a useful thing for us to know about, so it might be able to be fixed. (It could be a bug in the version of XFCE that's being used or the nvidia driver.)

Jmf: Which version of the nvidia driver are you using? Are you on 14.2 or slackware-current? I haven't noticed anything out of the ordinary on current and with 430.50.
 
Old 10-03-2019, 01:21 PM   #5
jmf
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Welcome to LQ, jmf.

The answer is in your question. If you install Nvidia drivers and not opengl drivers, and things work, leave it that way. Nvidia install scripts move opengl libs out of the way anyhow.

If you're trying to set up dual graphics, better p[ost again with details of that.
Thanks, usually I can find the solution here but no luck with this one, I tried an old post solution about recompiling cairo with gl disabled but nothing happened. If I install without opengl then I do not have gpu accelerated apps, chromium/firefox video player, and I have tearing.
I installed the same installer and driver version on other distros and this do not happen. So I think this is some library and/or opengl compile flags related issue, some patch needed/missing.

Last edited by jmf; 10-03-2019 at 01:41 PM.
 
Old 10-03-2019, 01:28 PM   #6
jmf
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Why do you care ?. What else are you going to use the supposed "wasted" RAM for ?.
How much do you know of Linux memory management ?.
All this questions are offtopic. Xfce is using more RAM with nvidia and opengl that it should.

Last edited by jmf; 10-03-2019 at 01:40 PM.
 
Old 10-03-2019, 01:36 PM   #7
jmf
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by garpu View Post
If there's a memory leak somewhere, that would be a useful thing for us to know about, so it might be able to be fixed. (It could be a bug in the version of XFCE that's being used or the nvidia driver.)

Jmf: Which version of the nvidia driver are you using? Are you on 14.2 or slackware-current? I haven't noticed anything out of the ordinary on current and with 430.50.
Is not the driver because I tested the same version and installer file in other distros (Debian,ubuntu, gentoo), version is 304-137 in slackware 14.2. Maybe you can compare RAM with some of this distros? I have at least 100mb more without xfce compositing enabled.
 
Old 10-03-2019, 02:09 PM   #8
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 417

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by jmf View Post
Is not the driver because I tested the same version and installer file in other distros (Debian,ubuntu, gentoo), version is 304-137 in slackware 14.2. Maybe you can compare RAM with some of this distros? I have at least 100mb more without xfce compositing enabled.
Asking people to distro-hop is rather gauche, yes? Are you noticing a memory leak where everything comes crashing to a halt when you run out of RAM? Are you swapping because you're running out of RAM? Then it's likely not an issue.
 
Old 10-03-2019, 02:30 PM   #9
jmf
LQ Newbie
 
Registered: Oct 2019
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by garpu View Post
Asking people to distro-hop is rather gauche, yes? Are you noticing a memory leak where everything comes crashing to a halt when you run out of RAM? Are you swapping because you're running out of RAM? Then it's likely not an issue.
I am not asking anyone anything but solving this issue man. I cannot optimize my memory usage for my desktop and yes I am swapping pretty fast every day so each amount of memory I can get I will get it. You have a suggestion,an answer or just accusations?
 
Old 10-03-2019, 09:05 PM   #10
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 990

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
The only suggestion I have is check out the build scripts and see what the difference is. https://mirrors.xmission.com/slackwa...2/source/xfce/
 
Old 10-04-2019, 04:32 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,588

Rep: Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177Reputation: 1177
Quote:
Originally Posted by jmf View Post
All this questions are offtopic. Xfce is using more RAM with nvidia and opengl that it should.
Let's get this straight. You're using nvidia drivers, which are working, so in my book, you don't have a problem. You also are using Mesa or some other drivers you don't need which load and don't work, and you're worried about a memory leak or software fault?

I've used a kernel with a memory leak. The leak keeps consuming memory until your ram is full and everything grinds to a halt as your box tries to deal with it, where windows just crashes.

You're making a rod for your own back. I for one am going to unsubscribe from this thread.
 
Old 10-04-2019, 05:42 AM   #12
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 193
Blog Entries: 1

Rep: Reputation: 102Reputation: 102
To play devil's advocate - it seems that for 100MB extra, you are getting a much better experience - perhaps that is the overhead for such an experience? I don't see why improved graphical performance should have no cost. Just my 2 cents worth.
 
Old 10-04-2019, 09:56 AM   #13
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 990

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by business_kid View Post
Let's get this straight. You're using nvidia drivers, which are working, so in my book, you don't have a problem. You also are using Mesa or some other drivers you don't need which load and don't work, and you're worried about a memory leak or software fault?

I've used a kernel with a memory leak. The leak keeps consuming memory until your ram is full and everything grinds to a halt as your box tries to deal with it, where windows just crashes.

You're making a rod for your own back. I for one am going to unsubscribe from this thread.
I suspect the OP has very little RAM (check the NVIDIA driver version) and wants XFCE in Slackware to take as much RAM as it has in other operating systems he has tried. He/she wants to know how to make this possible. I would use another desktop environment if RAM was such an issue if it were me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get total cpu usage, total memory usage and available memory Chiba Linux - Software 1 11-15-2014 04:36 PM
[SOLVED] [Network Manager] High RAM usage in Xfce Nh3xus Slackware 19 02-17-2014 03:19 PM
Squid 3 near 100% cpu usage and high RAM usage piman Linux - Software 1 11-16-2013 02:20 AM
High load, high RAM usage and unresponsive VPS saeed22 Linux - Server 1 08-20-2009 11:58 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration