LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-22-2007, 02:25 AM   #1
wangrui2885
LQ Newbie
 
Registered: Feb 2007
Distribution: FC6 32bit...(but CPU's 64 bit)
Posts: 8

Rep: Reputation: 0
glxgears FPS too slow......


Code:
# glxgears
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
4311 frames in 5.0 seconds = 859.012 FPS
4256 frames in 5.0 seconds = 843.571 FPS
4442 frames in 5.1 seconds = 868.489 FPS
4440 frames in 5.1 seconds = 868.429 FPS
4440 frames in 5.1 seconds = 865.188 FPS
4440 frames in 5.1 seconds = 866.926 FPS
4440 frames in 5.1 seconds = 869.493 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
[root@wangrui ~]# fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

[root@wangrui ~]# fgl_glxgears
Using GLX_SGIX_pbuffer
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  128 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  29
  Current serial number in output stream:  29
# glxinfo|grep direct
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
# rpm -qa|grep ATI
ATI-fglrx-devel-8.34.8-1.fc6
ATI-fglrx-8.34.8-1.fc6
kernel-module-ATI-fglrx-2.6.19-1.2911.fc6-8.34.8-1.fc6
ATI-fglrx-control-panel-8.34.8-1.fc6
These are my graphic card driver infomation,so what's wrong,why does my X1400 get only 860FPS ??? one man who use the same card can get 2300 fps...
 
Old 02-22-2007, 02:42 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Xlib: extension "XFree86-DRI" missing on display ":0.0".
There's your problem, DRI (Direct Rendering Infrastructure) is not enabled. When you run
Code:
glxinfo
or the fglrx-equivalent, you should get a message telling you DRI is enabled and the name of the driver; the driver name should Not be Mesa-something if you're using (for example ATI's) fglrx drivers, or nvidia's official drivers; Mesa is an open source driver and probably doesn't get the best out of your card. Without DRI enabled with the correct drivers for your card you obviously can't get good fps, because no 3d accelaration is used that your card should. There are quite a lot of posts and threads here explaining how to install ATI or nVidia (or other?) drivers, how to get DRI working etc. so please use the search tool at the top of the page to discover them.
 
Old 02-22-2007, 03:06 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Just so you know the difference it makes in 3d acceleration
Code:
[shrikant@shricore64 ~]$ glxgears
43528 frames in 5.0 seconds = 8705.303 FPS
43809 frames in 5.0 seconds = 8761.651 FPS
43809 frames in 5.0 seconds = 8761.619 FPS
43829 frames in 5.0 seconds = 8765.746 FPS
43895 frames in 5.0 seconds = 8778.933 FPS
43835 frames in 5.0 seconds = 8766.816 FPS
43967 frames in 5.0 seconds = 8793.363 FPS
43129 frames in 5.0 seconds = 8625.718 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
 
Old 02-22-2007, 03:39 AM   #4
wangrui2885
LQ Newbie
 
Registered: Feb 2007
Distribution: FC6 32bit...(but CPU's 64 bit)
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by shrikant.odugoudar
Just so you know the difference it makes in 3d acceleration
Code:
[shrikant@shricore64 ~]$ glxgears
43528 frames in 5.0 seconds = 8705.303 FPS
43809 frames in 5.0 seconds = 8761.651 FPS
43809 frames in 5.0 seconds = 8761.619 FPS
43829 frames in 5.0 seconds = 8765.746 FPS
43895 frames in 5.0 seconds = 8778.933 FPS
43835 frames in 5.0 seconds = 8766.816 FPS
43967 frames in 5.0 seconds = 8793.363 FPS
43129 frames in 5.0 seconds = 8625.718 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

could you show your "Xorg.conf"??

i tried to add "Section"DRI"
Mode 0666
EndSection"

but there is no effect on 3d acceleration...
 
Old 02-22-2007, 07:40 AM   #5
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Here's my xorg.conf
Code:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
	Option	    "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
 
Old 02-22-2007, 09:01 AM   #6
wangrui2885
LQ Newbie
 
Registered: Feb 2007
Distribution: FC6 32bit...(but CPU's 64 bit)
Posts: 8

Original Poster
Rep: Reputation: 0
helpless for me...


i fogot your video card is nvidia,mine is ATI...
 
  


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
glxgears really slow fps - games run slow.... ghostlkp Linux - Newbie 2 07-24-2006 11:33 AM
glxgears slow fps cedega 3d accel fails!! ghostlkp Linux - Hardware 0 07-21-2006 02:56 PM
slow FPS in glxgears with nVidia drivers installed jojotx0 Linux - Software 1 11-29-2005 04:58 PM
low fps in glxgears? kleptophobiac Linux - Hardware 17 02-08-2004 09:51 PM
Slow FPS in glxgears, GeForce FX 5200 GT_Onizuka Linux - Hardware 6 02-01-2004 08:28 PM

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

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