LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-24-2008, 09:50 AM   #1
KOTAPAKA
LQ Newbie
 
Registered: Feb 2008
Location: UK
Distribution: Debian
Posts: 21

Rep: Reputation: 15
Xorg Problem


Hello
I installed the ATI Diver from the official ati package. Then edited the /etc/X11/xorg.conf renaming my videocard with the right name and making it use the fglrx driver. Now I added fglrx to /etc/modules. Everything is fine now - I get 3D rendering and my videocard is working very well. There is a new problem though - when I open my System Monitor and make it show all processes I get 2 Xorg's - each using up to 70 MB. Now first I don't know why Xorg uses that much as at the beggining it used as little as 5 MB and I'v never seen it use more than 30-35MB. What bothers me more is that I get DD - ie Double Damage - not only are they using a lot of memory but they've clonned themselves. Any suggestions why this is so and how to fix it. Focus on the latter .
 
Old 03-24-2008, 10:54 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
I've seen that as well using an ATI x1550 card, but I didn't investigate any further as I was already happy to have everything working. Did you check if one of the X is a child of the other one?
 
Old 03-25-2008, 04:42 AM   #3
KOTAPAKA
LQ Newbie
 
Registered: Feb 2008
Location: UK
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
how can I do that? I mean check this out:
http://img225.imageshack.us/my.php?i...eenshotxd6.png
It's a screenshot of the processes. They are completely the same with different IDs. I you look donw you can see 2 gdm's as well.
 
Old 03-26-2008, 12:17 PM   #4
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
To see the parent/child relationship you could install "htop", which displays in the console all processes in a tree-like structure, or run the command...
Code:
ps -Al | head -n 1 && ps -Al | grep X
...which will display the information for all processes called "X" (in your case you might have to replace the "X" with "Xorg" - don't know how your process is called). You could get an output similar to this (this is not my real output - just to show you):
Code:
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0  3775  3774  0  74  -1 - 20286 -      tty7     00:02:25 X
4 S     0  3776  3775  0  74  -1 - 20286 -      tty7     00:02:25 X
Here you see that the X-process with the PID 3776 has as PPID (Parent PID) the one with the ID 3775, which is as well an "X"-process.
And about the memory you see that is allocated: in Linux many processes share the same memory, which could mean in your case that it's not that you get those 64MB allocated twice, but that both X-processes are sharing a single 64MB amount of RAM. I didn't understand yet how to find out if a certain amount of RAM is shared or if it isn't...
 
Old 03-27-2008, 01:46 AM   #5
KOTAPAKA
LQ Newbie
 
Registered: Feb 2008
Location: UK
Distribution: Debian
Posts: 21

Original Poster
Rep: Reputation: 15
Code:
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0  2703  2702  0  75   0 - 17860 -      tty7     00:01:24 Xorg
1 S     0  2830  2703  0  84   0 - 17860 KAS_Ev tty7     00:00:00 Xorg
Here is my output. Take a look at this:
http://img247.imageshack.us/img247/4...hot1ca8.th.png
I think they one of the Xorgs is a parent of the other.
 
Old 03-28-2008, 01:54 AM   #6
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Yes, you're right. And the parent used 1:24 minutes of CPU time, while the child 0. So, what you have might be normal.
Greetings.
 
  


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
Medion MIM 2310 powersoff without Xorg...when Xorg installed does not power off. gluesniffmonkey Linux - Laptop and Netbook 6 12-04-2007 07:28 PM
Sid Users - Beware of Xorg 7.3 (xserver-xorg-input-evdev) bug rickh Debian 4 10-24-2007 03:30 AM
Removing custom built Xorg to install Etch's Xorg kushalkoolwal Debian 4 05-30-2007 01:50 AM
recent dist-upgrade of xorg has killed my mouse (and thusly, xorg). Lokathor Debian 4 06-10-2006 04:52 AM
xorg problem airportugal Mandriva 1 07-09-2005 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:06 PM.

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
Open Source Consulting | Domain Registration