upgraded today from
kernel-desktop-3.2.0-2.1.x86_64
to
kernel-desktop-3.2.1-1.1.x86_64
running glxgears at full screen 1920*1080 the graphics performance has dropped
from about 300fps to 60fps as shown below
no other effects noticed
any ideas why the drop in performance?
<2012Jan18><13:17><~> glxgears
*** NOTE: Don't use glxgears as a benchmark.
OpenGL implementations are not optimized for frame rates >> 60fps,
thus these numbers are meaningless when compared between vendors.
324 frames in 5.0 seconds = 64.662 FPS
301 frames in 5.0 seconds = 60.001 FPS
300 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 59.999 FPS
301 frames in 5.0 seconds = 59.997 FPS
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 2327 requests (2327 known processed) with 0 events remaining.
<2012Jan18><13:18><~>
If glxgears is the only issue, I wouldn’t worry. It’s a very simplistic 3D test, so simplistic IIRC that it’s effectively just timing a buffer update, and you read the disclaimer. Users with intel graphics have been seeing the same at around 60 FPS on glxgears for at least the last three openSUSE releases.
Indeed, it always seems to show big numbers and some users believe them and still quote as benchmark. Have a read down this page with some comments pertaining to your graphics and driver: Glxgears is not a Benchmark.
I just googled linux glxgears frame rates and it obviously gives many more hits which you can further limit for your hardware/driver. That is roughly what I did when the change in frame rates occurred for the “intel” driver, but that’s long ago and I can’t remember the exact reasons for the change.
stefan@linux-sw:~> glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
<2012Jan19><00:13><~> glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
<2012Jan19><00:22><~> fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 3200 Graphics
OpenGL version string: 3.3.11318 Compatibility Profile Context
so the install looks ok
the glxgears movement still looks jumpy though,
after the initial install, Nov-2011, the movement looked very smooth
Jumpy is not good! Don’t think you mentioned it before. Anyway I have seen that before when there was a problem with openSUSE (<11.3) implementation of accelerated 3D/Direct Rendering but different graphics card support to yours.
Sounds like a problem with the recent update. Have a look at /var/log/Xorg.0.log and tell us if there are any (EE) error messages or (WW) warnings related to the graphics driver.
In addition to the absence of 3D info in sysinfo:/, I can’t find any message in your Xorg.0.log to confirm that direct rendering is enabled! For example my intel driver gives this successful message:
(II) intel(0): direct rendering: DRI2 Enabled
I have experienced this problem in the past with openSUSE’s support of VIA graphics chipsets, when direct rendering (DRI2) wasn’t properly implemented.
I don’t have ATI/fglrx, so barring that knowledge, I have to say that direct rendering is not fully enabled on your system even though glxinfo says it’s enabled. Without DRI2 fully enabled from the driver’s perspective, I doubt you will get accelerated 3D operation.
I would prefer to see another ATI/fglrx user confirm that they have direct rendering enabled and also have the confirmation message in Xorg.0.log, then you are probably looking at raising a bug report.
BTW, you need to extend the expiry [indefinitely] of your SUSE Paste as the link to your Xorg.0.log will be useless in 6 days.
Since upgrading to openSUSE12.1 the log file has always had similar statements
to those shown below
the changes from upgrade to upgrade have not been tracked
the last install after latest kernel change is as shown
no alarm bells have rung up till now, as the only program that demands 3D
acceleration is googleearth and that is functional
any comments would be appreciated
thanks
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.2.1-1-desktop/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.2.1-1-obj/x86_64/desktop'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:192:0:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined -Wundef]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used -Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:33:0:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined -Wundef]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used -Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.c:47:0:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined -Wundef]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used -Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:39:0:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined -Wundef]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:45:1: warning: function declaration isn’t a prototype -Wstrict-prototypes]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:65:14: warning: function declaration isn’t a prototype -Wstrict-prototypes]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function ‘prvGetCpuId’:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:72:18: warning: unused variable ‘Mode’ -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used -Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_RegisterConversion32’:
/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:171:27: warning: extra tokens at end of #ifdef directive [enabled by default]
/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_UnregisterConversion32’:
/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:183:27: warning: extra tokens at end of #ifdef directive [enabled by default]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.c:45:0:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:202:5: warning: "_DEBUG" is not defined -Wundef]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:162:16: warning: ‘module_log_map’ defined but not used -Wunused-variable]
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.h:175:19: warning: ‘module_type_map’ defined but not used -Wunused-variable]
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-3.2.1-1-obj/x86_64/desktop'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
[Reboot] Kernel Module : mkinitrd
Solution @jschellhaass
you were right, thanks for the tip
the setup problem was corrected as follows (ati proprietry driver only)
in the
–Catalyst Control Center,
—3D
----More Settings
-----Wait for verical refresh,
------on the slider bar, extreme left => Performance (Always off), extreme right => Quality (Always on)
selecting Performance corrected it