LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2005, 08:56 PM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
poor graphics performance after kernel upgrade (2.6.11.6)


Hi Slackers!

Just outfitted my slack 10.0 laptop with a new kernel. acpi had issues on kernel 2.6.10 that I'd heard were fixed in the 2.6.11 series and yes they were (no more clock speedup in sleep mode). Now the bad news - my graphics are terrible - all jittery and jumpy and the cpu is churning away at 30 -40% capacity for no apparent reason. I have one of those problematic ATI Radeon cards (mobility 7500), but it was working fine, and I swear I didn't touch any graphics settings when I compiled the new kernel. I compiled beginning with my old 2.6.10 kernel so naturally some things have changed... Since then I have been fiddling with the xorg settings and playing around with the kernel configuration but it has not helped.

Any ideas on how to speed things up again?




here's (part of) the xorg.conf:
Code:
Section "Module"

    Load        "dbe"  	# Double buffer extension
    Load "synaptics"

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "speedo"


    Load       "glx"
    Load       "dri"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
#    Identifier  "VESA Framebuffer"
#    Driver      "vesa"

Identifier "ATIcard"
Driver "radeon"
VendorName "IBM Thinkpad"
BoardName "ATI Radeon Mobility 7500"

EndSection

and here are relevant sections from .config (I modifed these after the problems appeared and it didn't help).

Code:
#
# Hardware configuration
#
CONFIG_FT_STD_FDC=y
# CONFIG_FT_MACH2 is not set
# CONFIG_FT_PROBE_FC10 is not set
# CONFIG_FT_ALT_FDC is not set
CONFIG_FT_FDC_THR=8
CONFIG_FT_FDC_MAX_RATE=2000
CONFIG_FT_ALPHA_CLOCK=0
CONFIG_AGP=y
CONFIG_AGP_ALI=m
CONFIG_AGP_ATI=m
CONFIG_AGP_AMD=m
CONFIG_AGP_AMD64=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_INTEL_MCH=m
CONFIG_AGP_NVIDIA=m
CONFIG_AGP_SIS=m
CONFIG_AGP_SWORKS=m
CONFIG_AGP_VIA=m
CONFIG_AGP_EFFICEON=m
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set


.....



#
# Graphics support
#
# CONFIG_FB is not set
CONFIG_VIDEO_SELECT=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y




Thanks!

geomatt
 
Old 04-05-2005, 09:05 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
1. Are you sure you have the correct driver?

2. Is the new kernel compiled with support for it?

I'd take a look at the configuration using make menuconfig to see just what graphics support has been compiled into the new kernel. If it isn't right, well you're already there so go ahead and configure and recompile it.
 
Old 04-05-2005, 09:14 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe start " top " and look what is using the proc. time .

egag
 
Old 04-05-2005, 09:27 PM   #4
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Thanks for the response. I think I got rid of a few things in the configuration that I may have needed, so I've gone back in and am recompiling from the beginning without those changes. So the 2.6.11.6 kernel will have identical graphics support to the 2.6.10 (maybe). Hopefully it will work. I don't know why, but whenever I recompiile a kernel I am always tempted to get rid of things that look unnecessary and don't just stick to the task at hand.

I'll let you know if it works on rebooting....


Cheers,
geomatt



edit:

egag - thanks for the suggestion. It reveals something bizzare - wmpower ( a dockapp that checks the acpi system) is the culprit - it's using about 25% of cpu.

Last edited by geomatt; 04-05-2005 at 09:30 PM.
 
Old 04-05-2005, 10:22 PM   #5
davatar
Member
 
Registered: Dec 2004
Location: Washington State
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
You might get better performance if you download ATI driver source for your card and compile your own module?
 
Old 04-06-2005, 07:09 AM   #6
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Thanks again all,
Next day's report:
Tweaking has helped a little, but there are still issues. I have basically reproduced the configuration that was working in 2.6.10, but still there is no comparison between the old kernel and then new. Maybe I have missed some details that are important, so I'll keep looking at the .config files I'm collecting and see what I can figure out. Part of the problem is that I am not sure what all of those options mean :P

I'll also see if I can find drivers, but this graphics card stuff is pretty over my head....

-geomatt
 
Old 04-06-2005, 11:14 AM   #7
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Original Poster
Rep: Reputation: 30
Found a solution - I recompiled the kernel with agp as a module, not built in to the kernel. Now that pesky dockapp wmpower is still wasting cpu time (20%) but the display is smooth as butter - (I even got 500 fps on glxgears....). I'll have to look for a lighter weight battery monitor.

If anyone is having similar issues I can post my kernel .config and xorg.conf.

-Cheers,
geomatt
 
  


Reply



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
Poor graphics performance Ross Clement Linux - Laptop and Netbook 1 09-13-2005 01:20 PM
Poor graphics performance himyuza Slackware 13 02-25-2005 01:30 AM
poor performance javabb Red Hat 8 01-20-2005 05:48 AM
poor softRAID 0 performance with kernel 2.6.x hcb Linux - General 1 02-03-2004 02:09 AM
2.4.20-27.9 kernel upgrade killed my 3D performance niverson Linux - Hardware 2 01-05-2004 10:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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