LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-23-2009, 10:02 AM   #1
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Rep: Reputation: 1
X.Org X Server 1.7.3.901 + Radeon 9200 + driver radeon - low performance


Hallo,
recently I found, X.org is not idiot-proof. Today I have booted up and my PC was almost useless. X server took around 80% of CPU usage. Suitable solution was to remove xcompmgr - X server is in normal with CPU, but eats a lot of memory (understand - more than usual). And also performance in glxgears is much lower (8-9x).

I'm using X.org 1.7.3.901, graphic card ATI Radeon 9200 with "radeon" driver. My WM is Openbox (current version from Arch repository).

Some info from log:
[michal@arch-linux ~]$ cat /var/log/Xorg.0.log |grep EE
(EE) Failed to load module "record" (module does not exist, 0)
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.

[michal@arch-linux ~]$ cat /var/log/Xorg.0.log |grep WW
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module record
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(WW) RADEON(0): Direct rendering disabled
And my xorg.conf - section Device (I think the most useful)
Section "Device"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV280 [Radeon 9200]"
BusID "PCI:1:0:0"
EndSection
And maybe I should say - I have almost original version of xorg.conf from "# X -configure". Yesterday I had a bit tweaked, but it stoped working. And of course - I have no backup .

Really I don't know, what I have done or not, maybe new version of X.org? Yesterday evening was everything ok. Than the electricity fell and I went sleep.


I really appreciate any help, link to google or just "kick" into the right way.

--
P.S. Sorry for my English

Last edited by MichalKvacek; 12-23-2009 at 04:32 PM.
 
Old 12-23-2009, 10:31 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Can you attach your full /var/log/Xorg.0.log to a post here?

EDIT: Just to explain... You have no direct rendering, which drastically slows down composite and 3D rendering. The full log file should reveal more.

Adam

Last edited by adamk75; 12-23-2009 at 10:32 AM.
 
Old 12-23-2009, 10:33 AM   #3
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
Sure, here you are: http://kvaky.net/nahrano/Xorg.log

And, again, thank you for your response.
 
Old 12-23-2009, 10:35 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Well apparently Xorg isn't even working at all. You don't appear to have the radeon driver installed. It's probably in a package called something like xf86-video-ati. Can you try (re)installing it and starting X again?

Adam
 
Old 12-23-2009, 10:41 AM   #5
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
The performance is the same - still around 110 FPS. Here you are log from X.org - http://kvaky.net/nahrano/Xorg.0.lo
 
Old 12-23-2009, 10:45 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Looks to me like you have KMS enabled in the kernel? If that's the case, you need to build libdrm with support for KMS (via the --enable-radeon-experimental-api option) and then rebuild xf86-video-ati and, possibly, Mesa.

Alternatively, you could reboot with the radeon.modeset=0 option to the kernel (disabling KMS) and see if direct rendering then works.

Adam
 
Old 12-23-2009, 10:49 AM   #7
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
I think it's not a solution. Yesterday and days before was everything ok. My FPS was around 900 (after I installed xf86-video-ati - as you had advised me). Do you think the xorg.conf will told us something more? (In this case - here it is: http://kvaky.net/nahrano/xorg.conf)

And direct rendering - X.org probably tells something else, than glxinfo, see.
[michal@arch-linux ~]$ glxinfo |grep render
direct rendering: Yes

EDIT: And where can I find, what I have enabled in kernel?

Last edited by MichalKvacek; 12-23-2009 at 10:53 AM.
 
Old 12-23-2009, 10:53 AM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
No, I am quite certain that your xorg.conf has nothing to do with this. The fundamental problem is this:

Code:
[dri] radeon kernel module version is 2.0.0 but version 1.8.0 or newer is needed
I've really only seen that recently when KMS is involved. What is the output of 'cat /proc/fb'? Please show the output of 'dmesg'.

Adam
 
Old 12-23-2009, 10:59 AM   #9
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
Ok, I don't know, here you are the outputs

[michal@arch-linux ~]$ cat /proc/fb
0 radeondrmfb

And dmesg: http://kvaky.net/nahrano/dmesg

Thank you for your patience
 
Old 12-23-2009, 11:28 AM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
So you are using KMS, then. Please try that test I suggested earlier and reboot with radeon.modeset=0 or nomodeset as a kernel option.

Adam
 
1 members found this post helpful.
Old 12-23-2009, 04:31 PM   #11
MichalKvacek
LQ Newbie
 
Registered: Dec 2009
Location: Czech republic
Distribution: Arch Linux
Posts: 24

Original Poster
Rep: Reputation: 1
Adam, you are really such a great wizard! Again, you have solved my problem. Thank you a lot.

Btw. radeon.modeset=0 changed only the size of letters in console (during boot and after pressing ctrl + alt + fx). The second option (nomodeset) was correct - my actual FPS is around 1500. I can't belive... ) Thank you.
 
Old 12-23-2009, 04:35 PM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
No problem. You can keep kernel modesetting if you update various components (such as libdrm, xf86-video-ati, and Mesa) but that can be a PITA :-)

Adam
 
  


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
LXer: AMD Catalyst vs. X.Org Radeon Driver 2D Performance LXer Syndicated Linux News 0 01-18-2009 10:30 AM
Possible Radeon 9800 driver issues, really low performance (other causes possible) SeanWcisel Linux - General 7 06-18-2007 03:43 PM
Enabling DRI on Radeon Linux Driver. ati radeon 9200 Nem Slackware 13 06-05-2007 04:33 PM
Radeon 9200 proprietary driver w/ RH 9.0 jk21 Linux - Newbie 7 09-03-2004 09:16 PM
Radeon 9200 driver?? TMMO Linux - Hardware 0 08-10-2003 04:51 PM


All times are GMT -5. The time now is 05:22 PM.

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