LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-05-2005, 12:12 PM   #1
JGJones
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 10

Rep: Reputation: 0
Ubuntu Hoary - Xorg - take up lot of CPU resources


PC - P3 800MHz with 256Mb and Nvidia GeForce FX5200 (128Mbb)
Distro in use - Ubuntu

I posted this on Ubuntu forums but it seem it's a common problem with no answers so hopefully one you guys might know better

I had Warty with XFree86 - nvidia driver was installed from apt-get successful, OpenGL applications worked fine.

Move a window in xGnome however take up to 80% CPU resources according to top. (xorg)

As a result Gnome isn't fun to use, you can see windows being redrawn etc (I have 2nd PC with Windows XP) and I wanted to use Ubuntu as my work machine, but I keep going back to Windows since it does have a much more snappy feel to the GUI!

Later on I have updated my Ubuntu system to the Hoary (change Warty to Hoary in res in Synaptic Package Manager) and updated everything using Smart update. and rebooted.

Then I installed xorg and uninstalled XFree86 and rebooted - I am now running Ubuntu Hoary with xorg and the Nvidia driver is running fine without needing to configy the xorg.conf file.

OpenGL applications still fine.

Move a window in Gnome still suck up 70% CPU and so it slows down the whole system to the point that it's just silly.

In Windows you can have the card render the windows and so on - which gives it a very snappy fieel.

Can you do the same thing in Xorg so that the card is doing the work NOT the CPU?? If so, how do I do that? And don't someone dare tell me to read the readme file from nvidia - this I have done and it does not help an iota.

This problem of xorg/xfree taking up large amount of CPU is ruining what is a otherwise fantastic Linux distro and from reading in here it seem I'm not isolated If someone have a solution, please post and it should be made sticky

Cheers
 
Old 03-05-2005, 06:41 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Could you post your /etc/X11/xorg.conf file? Specifically the Device section.
 
Old 03-06-2005, 02:42 AM   #3
JGJones
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Code:
# XF86Config-4 (XFree86 X Window System server configuration file)
Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
#	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
	Load	"xtt"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"gb"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV34 [GeForce FX 5200]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
#	VideoRam	131072

EndSection

Section "Monitor"
	Identifier	"HM903DB/DTB"
	HorizSync	30-132
	VertRefresh	50-200
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV34 [GeForce FX 5200]"
	Monitor		"HM903DB/DTB"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1920x1440" "1600x1200" "1280x1024" "1280x960" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
Sorry should have done this earlier.

I've tried it with and without VideoRAM (in Kb's) HWCurosr, few dozen other options and none of them make any difference to the GUI

The Theme I use is Clearlook however even the Simple theme does not make any difference it's still taking huge amount of CPU just to do anything to do with X (move window, minimize etc) at idle, CPU is at idle so it's not conitinously using CPU, just when you do work with the GUI

Any solutions would be posted to the Ubuntu forums as well with credits as it seem to be an increasing problem for NVidia owners, I've not seen anyone with the same problem with ATI....yet
 
Old 03-06-2005, 04:53 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Perhaps you could try downloading and installing the nvidia drivers from www.nvidia.com. Maybe something bugged out when the Ubuntu team repackaged the drivers or something who knows I have the same card and I can use X with compositing enabled at a normal if not very fast speed. Maybe try adding
[code]
Option "RenderAccel" "true"
]/code]
to your device section.

Okay, honestly I have no idea but that could be worth a try
 
Old 03-06-2005, 05:04 PM   #5
JGJones
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 10

Original Poster
Rep: Reputation: 0
Tried that option, doesn't work sadly

I once tried the drivers from nvidia's website but I screwed up somewhere and I've not got the knowhow to be confidient of installing the drivers from nvidia directly.

Perhaps if Ubuntu team doesn't do anything for a long while then I'll take the plunge again In the meantime, I've submitted it as a bug to Ubuntu so hopefully the dev'll have better ideas.

Someone with same problem mentioned they installed KDE and it was smooth in there so it might just be to do with Gnome somewhere?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XORG using a lot of CPU resources GreatBrak Ubuntu 1 12-02-2005 02:56 PM
Xorg running at 20-30% CPU (or higher) constantly - ubuntu 5.10 aldar Ubuntu 1 10-13-2005 01:18 AM
software RAID 1: does it use a lot of resources? hamish Linux - General 6 07-06-2005 06:46 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM
Firefox using a lot of system resources Mr. New Linux - Newbie 1 01-15-2005 09:45 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration