You are not logged in.
Hello
I have a strange problem when I try to use glxgears to see how much fps I have... Because I only have around 60 fps, with the free ati drivers and a radeon mobility x600 with 64 MB of vram.
Here is the glxgears output:
300 frames in 5.0 seconds = 59.839 FPS
300 frames in 5.0 seconds = 59.816 FPS
300 frames in 5.0 seconds = 59.816 FPS
300 frames in 5.0 seconds = 59.816 FPS
300 frames in 5.0 seconds = 59.816 FPSAnd here, mi xorg.conf:
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
Section "DRI"
Group 0
Mode 0666
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Touchpad" "SendCoreEvents"
Option "AIGLX" "on"
EndSection
Section "Files"
# FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/share/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/local/"
# FontPath "/usr/lib/X11/fonts/misc/"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Speedo/"
# FontPath "/usr/lib/X11/fonts/Type1/"
# FontPath "/usr/lib/X11/fonts/TrueType/"
# FontPath "/usr/lib/X11/fonts/freefont/"
# FontPath "/usr/lib/X11/fonts/75dpi/"
# FontPath "/usr/lib/X11/fonts/100dpi/"
# The module search path. The default path is shown here.
# ModulePath "/usr/lib/modules"
# FontPath "/usr/share/fonts/misc"
# FontPath "/usr/share/fonts/100dpi:unscaled"
# FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/local/share/fonts"
EndSection
Section "ServerFlags"
Option "IgnoreABI" "on"
Option "AIGLX" "true"
EndSection
Section "Module"
Load "type1"
Load "dri"
Load "glx"
Load "drm"
Load "dbe"
Load "freetype"
Load "synaptics"
Load "GLcore"
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
# When using XQUEUE, comment out the above two lines, and uncomment
Option "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "Screen0"
# Option "PreferredMode" "1440x900"
HorizSync 31.5 - 90
VertRefresh 60 - 180
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "Screen0"
Driver "radeon"
#Extra options
# Option "UseInternalAGPGART" "no"
# Option "KernelModuleParm" "agplock=0"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
# disable/enable XAA/DRI
# Option "no_accel" "on"
Option "no_dri" "off"
# misc DRI settings
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "on"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
Option "FSAAEnable" "off"
Option "FSAAScale" "0"
Option "DRI" "true"
Option "AddARGBGLXVisuals" "true"
# AIGLX
Option "AGPMode" "4"
Option "ColorTiling" "on"
Option "AccelMethod" "EXA" # Off if X down
Option "EnablePageFlip" "on"
Option "AGPFastWrite" "yes" # Off if X down
EndSection
Section "Screen"
Identifier "Screen0"
Device "Screen0"
Monitor "Screen0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900"
EndSubSection
EndSectionAnyone can help me, please? Thanks!
Requiescat In Pain.
Offline
What is the output of
glxinfo|grep directOffline
Thanks for posting, and help.
There is the most strange thing:
[phyrok@Odin ~]$ glxinfo|grep direct
direct rendering: YesI never had problems of indirect rending since I at least get direct... I wonder that could be...
Requiescat In Pain.
Offline
Ok, I know very little about ATi, however, I am confused. AFAIK AIGLX is indirect rendering, and you are getting direct.
Maybe try disabling GLCore?
Section "Module"
# Load "GLcore"
EndSection
Try: http://wiki.archlinux.org/index.php/Aiglx
http://wiki.archlinux.org/index.php/ATI
Offline
I made these right now, and still I have exactly the same fps always (59.816) I thinking that maybe any option is limiting the max fps (sorry for my very very poor english)
Also I followed the two wiki pages, as you can see on the xorg.xonf, and review the file right now, and there is nothing strange to me... As I said before, maybe any fps limiting option? Thanks for the help.
Requiescat In Pain.
Offline
I am thinking the culprit might be something here:
# disable/enable XAA/DRI
# Option "no_accel" "on"
Option "no_dri" "off"
# misc DRI settings
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "on"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
Option "FSAAEnable" "off"
Option "FSAAScale" "0"
Option "DRI" "true"
Option "AddARGBGLXVisuals" "true"
# AIGLX
Option "AGPMode" "4"
Option "ColorTiling" "on"
Option "AccelMethod" "EXA" # Off if X down
Option "EnablePageFlip" "on"
Option "AGPFastWrite" "yes" # Off if X downI have any ATI card with basically the same video options as you. I duplicated yours, and it did slow down my fps by about 200, but I was still getting around 1000 and something which is a lot more than what you are getting. This is my video card section:
Section "Device"
Identifier "Card0"
Driver "fglrx"
VendorName "All"
BoardName "All"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
EndSectionOther than that, our configs are exactly the same. And I get about 1300 FPS. Maybe try clipping off some of those settings, and see if things improve any.
Last edited by ph0tios (2008-04-02 16:39:05)
Offline
ph0tios, thank for helping.
I commented all the extra options of my xorg.conf, resulting a file that was the same as yours, at least on the device section part, and I still have the same problem, even I edited my whole xorg.conf, and nothing... But I suppose that we have a xorg.conf very similar. This is my actual xorg:
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
Section "DRI"
Group 0
Mode 0666
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Touchpad" "SendCoreEvents"
Option "AIGLX" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
# The module search path. The default path is shown here.
# ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/local/share/fonts"
EndSection
Section "Module"
Load "dri"
Load "glx"
Load "drm"
Load "dbe"
Load "freetype"
Load "synaptics"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
# When using XQUEUE, comment out the above two lines, and uncomment
Option "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "Screen0"
HorizSync 31.5 - 90
VertRefresh 60 - 180
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "Screen0"
Driver "radeon"
#Extra options
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
# APG Performance
Option "AGPMode" "4"
Option "ColorTiling" "on"
Option "AccelMethod" "EXA" # Off if X down
Option "EnablePageFlip" "on"
Option "AGPFastWrite" "yes" # Off if X down
EndSection
Section "Screen"
Identifier "Screen0"
Device "Screen0"
Monitor "Screen0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900"
EndSubSection
EndSectionAs I said, I still have exactly 59.816 fps... There are any option of the xorg.conf that mean something like "I don't wanna an fps limit"? This is too strange. I think to that maybe it's a simple bug...
Requiescat In Pain.
Offline
It looks to me like you've got vsync on or something - it's synchronizing your FPS to the sync rate of your monitor - ie. 60Hz. Not sure how to disable that though.
Why's it such a big deal? Are you noticing games or other 3d apps having trouble rendering, or is it just the numbers that bother you?
Offline
Thanks for posting Cerebral.
I think too that it's something like that... Even actually my sync rate is 60Hz.
The only problem are the numbers... really I don't worry very much about it... I not play games on linux, and the only thing that I see, is that the GL screensavers, like kcometen3, or planet GL, don't move very well... About 1 or 2 fps ![]()
Compiz-fusions works greats for me, but I remember that when I used the proprietary drivers, I have at least 1200 fps. A lot of thanks for helping, I'll keep reading the man page of the xorg.xonf to disable vsync.
Requiescat In Pain.
Offline
Do the open source drivers run better with compiz fusion? I am using the proprietary ATI driver, and sometimes I get this ugly diagonal cut through images/video.
Offline
@ph0tios, I don't use very much compiz, but all the times that I've started it, It worked very fine to me, his benckmarck gives me around 60 fps, even when the cube is displayed, and the videos works well too.
Requiescat In Pain.
Offline
$ sudo pacman -S driconf
or
# pacman -S driconf$ driconfand in driconf find the setting for Vertical Sync, though disabling it shouldn't really give you any performance boost. just make your screen a bit more flickery but higher FPS at no real gain XD
Hurricane Electric Certified IPv6 Sage
CPU: Core i7-2600 @ 4.0Ghz | RAM: 16GB (4x4GB) | GFX: AMD Radeon R9 290 4096MB VRAM | HDD: 1x 120GB SATA3 Corsair SSD (~500MB/s RW), 1x SATA2 250GB, 1x SATA2 320GB, 1x 180GB SATA3 Intel SSD
*EDIT* Replaced Nvidia GTX 570 for a AMD Radeon R9 290, and added an extra SSD 180GB
Offline
I know this is old, but for the record, with my machine I noticed that once I disabled KMS, glxgears went from 60fps to 770fps. It was having issues with KMS other than 60fps maximum.
Offline
This is expected behaviour: it get's to the monitor's refresh rate
Regards
My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org
Offline
Please don't post unrelated information in 3 year old threads....
Evil #archlinux@freenode channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
export vblank_mode=0
Offline