LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-19-2005, 09:06 AM   #1
mattdev121
LQ Newbie
 
Registered: Nov 2004
Location: Niagara Falls, Canada
Distribution: Slackware, Gentoo
Posts: 14

Rep: Reputation: 0
General suggestions to improve X rendering speed?


I've been using linux for almost two years now so i'm quite comfortable with bash, compiling source, new kernels, patching source, etc.

I am in slackware 10.1 with kde 3.4 and linux 2.6.11.7.

This is quite a vague question but I was wondering what steps I could take to get 3d games and OpenGL programs to improve thier speed, as I have a p4 @ 2.4ghz and a radeon 7500 and games like zsnes run with crippled frame rates that run 100 times as fast on a windows machine.

I (think) I have the proper kernel modules for my video card and dmesg|grep radeon shows the modules correctly loaded, as well as having enabled dri, dbe, glx and radeon_dri in my xorg.conf

Are there any other steps I can take to improve both 3d games like armagetron and 2d opengl games like zsnes to be playable?

Thanks for the help - If anybody wants a gmail invite just tell me and i'll be glad to give you one (or 50 :P )

Last edited by mattdev121; 04-19-2005 at 10:25 AM.
 
Old 04-19-2005, 09:23 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
you have direct rendering on?

(look at "glxinfo")
 
Old 04-19-2005, 09:28 AM   #3
mattdev121
LQ Newbie
 
Registered: Nov 2004
Location: Niagara Falls, Canada
Distribution: Slackware, Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
name of display: :0.0
display: :0 screen: 0
direct rendering: No

hmmmm

I thought the DRI module would load that.

How do I turn it on?
 
Old 04-19-2005, 10:17 AM   #4
mattdev121
LQ Newbie
 
Registered: Nov 2004
Location: Niagara Falls, Canada
Distribution: Slackware, Gentoo
Posts: 14

Original Poster
Rep: Reputation: 0
I checked into the DRM problem and I have the proper radeon DRM drivers compiled into the kernel and dmesg|grep gave:

[drm] Initialized drm 1.0.0 20040925
[drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

I have loaded the "DRI" module in xorg.conf and still glxinfo gived direct rendering: No

Is there anything else I need to do?
 
Old 04-19-2005, 01:22 PM   #5
mcosta
Member
 
Registered: Jan 2005
Location: Spain
Distribution: Debian
Posts: 44

Rep: Reputation: 16
Check /var/log/Xorg.0.log

Usually this hapens in 2.6 series because to get agp working you need to load agpgart modules *after* the specific agp module for your motherboard (ie: via-agp).
 
Old 04-19-2005, 07:57 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i just prefer to compile it all in, after all, in a monolithic kernel, the only advantage of modules, is people can release binary drivers for your kernel.

when you have agpgart and the DRM in your kernel, (assuming you did a xorgconf to configure X for your card), edit the xorg.conf file, and uncomment the DRI and GLX lines.
 
Old 04-20-2005, 05:25 AM   #7
BNI
LQ Newbie
 
Registered: Sep 2004
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21

Rep: Reputation: 15
Key step for me was make sure this is in your xorg.conf somewhere:
Code:
Section "DRI"
   Mode 0666
EndSection
If that doesn't work, troubleshooting can be found here:
http://dri.sourceforge.net/doc/DRIuserguide.html
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XaraXtreme vs Cairo: Improve Linux Speed Garoth General 2 10-28-2005 08:48 PM
Suggestions to improve linux titanium_geek Linux - News 7 03-15-2005 08:40 PM
How to improve startup speed of SuSE (or maybe any other distro) _japsje Linux - Distributions 1 07-12-2004 06:35 PM
NFS general speed? sausagejohnson Linux - Networking 2 04-05-2004 05:59 PM
Internet fonts... and general rendering shriek Linux - Software 1 09-11-2003 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:30 AM.

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