Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What causes the "Xorg" process?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mi_unixbird
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2015
Posts: 102

PostPosted: Mon Sep 14, 2015 6:31 pm    Post subject: What causes the "Xorg" process? Reply with quote

I have two Gentoo systems, I installed both quite a while ago and one has the "Xorg" process when running a window manager (Fluxbox) and the other does not when running the same window manager. This is particularly interesting for me because the Xorg process seems to consume more and more memory on one over the course of several days until I kill and restart compton, after which the memory goes back to minimal amounts.

Both systems have xorg-server and not xorg-x11 and both have the /usr/bin/Xorg executable. However the system that has the Xorg executable has an /etc/X11/xorg.conf which was needed to get bumblebee working (optimus laptop):

Code:
Section "ServerLayout"
    Identifier      "layout"
    Screen       0  "screen-intel"
EndSection


Section "Device"
    Identifier      "nvidia"
    Driver          "nvidia"
    BusID           "PCI:1:0:0"
EndSection


Section "Screen"
    Identifier      "screen-nvidia"
    Device          "nvidia"
    DefaultDepth    24
    Option          "UseDisplayDevice"  "none"
    SubSection "Display"
        Depth           24
        Modes           "nvidia-auto-select"
    EndSubSection
EndSection


Section "Device"
    Identifier      "intel"
    Driver          "intel"
EndSection


Section "Screen"
    Identifier      "screen-intel"
    Device          "intel"
EndSection


The existence of the Xorg.conf file as well as the whole bumblebee/virtualgl framework is about the only difference I can find between both systems.ffi
_________________
execctl --path exec filectl --current-directory list
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1359

PostPosted: Mon Sep 14, 2015 7:14 pm    Post subject: Reply with quote

Does the system does not have a xorg.conf has a process called X?
Code:
ps -ef | grep X
Back to top
View user's profile Send private message
mi_unixbird
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2015
Posts: 102

PostPosted: Mon Sep 14, 2015 7:16 pm    Post subject: Reply with quote

quilosaq wrote:
Does the system does not have a xorg.conf has a process called X?
Code:
ps -ef | grep X


Yes, both systems have a process called "X". Including the one with a secondary process called "Xorg".
_________________
execctl --path exec filectl --current-directory list
Back to top
View user's profile Send private message
mi_unixbird
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2015
Posts: 102

PostPosted: Tue Sep 15, 2015 1:04 am    Post subject: Reply with quote

Right, so after some digging I'm fairly convinced it has to do with the "optirun" command which explains why one has it and the other doesn't:

1. Normal operation: Xorg process is running
2. pkill compton: Xorg process is not running
3. optirun glxgears: Xorg is running again even though compton isn't.
4. compton without optirun, running it on the CPU instead of GPU: Xorg is not running

It also seems the leak is the fault of optirun.
_________________
execctl --path exec filectl --current-directory list
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum