LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-16-2010, 12:46 PM   #1
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Rep: Reputation: 0
Radeon 7500 problems, Xorg bogging down cpu, KDE sluggish


I have installed Debian 5.0.4 (lenny, kernel version 2.6.26-2-686) on an old Dell desktop box and can't seem to make the graphics card happy. Xorg is using up to 70% cpu causing KDE to be extremely sluggish.

After much googling I initally tried adding these options to the device section in xorg.cong, to no avail.

Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"

I then discovered DRI was disabled because the Radeon driver was loading before agpgart. I found this suggestion:
Quote:
On Linux 2.6.x make sure both agpgart and the agp chipset specific driver for your motherboard (via_agp, intel_agp, et al.) are loaded before you start X. To make the agp modules load automatically add these lines to your modules.conf:

2.6.x kernels:
pre-install <drm module> /sbin/modprobe "-k" "agpgart"
pre-install agpgart /sbin/modprobe "-k" "<agp chipset driver>"
But there was no modules.conf so I had to create a file in modprobe.d instead and it doesn't allow the use of pre-install so I had to change the syntax but agpgart DOES appear to get loaded now as my initial errors about it not loading before the radeon driver are no longer showing up in the logs.

HOWEVER, Xorg is Still killing my cpu and there is no improvement at all.

Now I get these errors instead.

(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xf3fff000 is: 0xf3fff000
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xe87fe800
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xf3fff000 is: 0xf3fff000
(WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xe87fe800

(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32


Here is the output of lspci:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]
02:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)


I'm pretty new to linux and don't know where to go from here to troubleshoot this problem. Any advice would be appreciated! Let me know if you need more logs or details.
 
Old 02-16-2010, 01:09 PM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Hello. Can you post the contents of the file /etc/X11/xorg.conf and the whole log file at /var/log/Xorg.0.log

You are using the open source radeon driver, right?
 
Old 02-16-2010, 03:01 PM   #3
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Original Poster
Rep: Reputation: 0
Yes I believe that is correct.

xorg.conf:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "ATI Radeon"
Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection


Xorg.0.log attached, (too big to post)
Attached Files
File Type: txt Xorg0log.txt (49.3 KB, 10 views)
 
Old 02-16-2010, 03:24 PM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Have you installed libgl1-mesa-dri and mesa-utils? (And are you trying for 3D acceleration?)
Code:
su -c 'apt-get install libgl1-mesa-dri mesa-utils'
If so I would try adding this

Code:
Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "Device"
Identifier	"ATI Radeon"
Driver "radeon"
Option "AccelMethod" "EXA"
Option "MigrationHeuristic" "greedy"
Option "AccelDFS" "true"
Option "EnablePageFlip" "true"
Option "ColorTiling" "true"
EndSection

Section "DRI"
 Group        "video"
 Mode         0666
EndSection
The EnablePageFlip may not actually do much if you're using EXA and not XAA.
 
Old 02-16-2010, 03:35 PM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You have direct rendering working, which is good. You definitely want to be using XAA instead of EXA since you are using such an old (well, to be fair, ancient) X server. Using EXA will just make matters worse. None of the warnings in the Xorg log file are unusual.

While I don't know that it will solve your problem, the first thing I would seriously consider is upgrading to a much newer version of Xorg. You could also consider changing your default depth from 24 to 16 to see if that makes a difference, but I really think the biggest benefit would come from upgrading Xorg.
 
Old 02-16-2010, 04:33 PM   #6
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Original Poster
Rep: Reputation: 0
I don't have any real need for 3d acceleration on this machine, I'd just be happy if it were basically functional.

I will make sure those packages are installed and switch acceleration to XAA and see if that helps.

I must say i'm surprised to find that the current stable Debian distribution would include that old a version of Xorg. How exactly would I upgrade that and what version should i go to?
 
Old 02-16-2010, 05:43 PM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Debian's idea of stable is what most sane people would consider out-of-date. Just to give you some idea... The X server is about 20 months old. Again, I don't know that updating Xorg will fix the problem, but that's the first thing anyone familiar with the radeon driver would tell you to do.

I'm not sure if it's possible to upgrade to a newer Xorg, honestly, without upgrading your entire Debian installation.

Adam
 
Old 02-17-2010, 10:36 AM   #8
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Original Poster
Rep: Reputation: 0
So that would not be as simple as adding the testing url to my sources file?
 
Old 02-17-2010, 10:47 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Probably not, no. But I really don't have that kind of experience with Debian.

Adam
 
Old 02-17-2010, 10:53 AM   #10
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by frumpus View Post
So that would not be as simple as adding the testing url to my sources file?
Definitely not. You risk significant breakage mixing stable/testing repos, unless you really know what you're doing. It would require updating some core libraries, which in turn means updating a whole lot of stuff.

You could upgrade your whole installation to testing, which despite the name can be relatively stable. You can turn your installation into Sidux, which is a mostly successful attempt at a stable Debian Unstable. You can change your distribution to something that provides more current packages.

I also found this fellows blog on using Ubuntu Jaunty packages, which seems a little risky to me, but might be worth a try.

I assume you've tried fiddling with the various options given, and nothing is working?
 
Old 02-18-2010, 09:35 AM   #11
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Original Poster
Rep: Reputation: 0
I am in the process of upgrading to Squeeze (testing). Fingers crossed.
 
Old 03-07-2010, 01:23 AM   #12
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 219

Rep: Reputation: 33
Do you have better performance now? I am using the same graphics card with archlinux. Would you post your settings, setup?
 
Old 03-08-2010, 09:23 AM   #13
frumpus
Member
 
Registered: Feb 2010
Posts: 38

Original Poster
Rep: Reputation: 0
Oh no actually things are much much worse

I started new threads for the problems in Squeeze, not that they helped me any.

http://www.linuxquestions.org/questi...queeze-790812/

http://www.linuxquestions.org/questi...g.conf-790853/

The problems I am having now seems to have more to do with configuring gdm than with the video card since I am getting the same problems with 2 completely different cards. I have just given up on having a gui desktop for the time being.
 
  


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
Resolution Mismatch in Dell S2209W with Radeon 7500 and Xorg oxblood Slackware 6 12-10-2008 10:55 PM
xorg and old radeon 7500 Almucantarat Slackware 4 09-05-2006 01:54 PM
ATI Radeon 7500 Mobility + Linux = Problems DaCapn Linux - Laptop and Netbook 2 03-27-2005 09:25 PM
Mandrake 9.1 PPC On An iBook w/ Radeon 7500 !!PROBLEMS!! Sicks Linux - Laptop and Netbook 6 12-24-2003 10:59 AM
Radeon 7500 TV-out problems Eledhon Linux - Hardware 5 10-09-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:24 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