You are not logged in.

#1 2012-06-09 10:13:28

hal8000
Member
Registered: 2011-05-20
Posts: 46

No animation with Glxgears [solved]

I'm running ATI proprietary driver Catalyst 12.4 , driver packaging 8.961
OpenGl 4.211361
(taken from Amd control centre amdcccle).

If I try and run the demos:
glxgears
fgl_glxgears
glxgears_fbconfig

The window appears showing the gears but they do not move, no animation.
The terminal window updates every 5 seconds with fps but not sure why I have
no animation.


Here's my /etc/X11/xorg.conf  (originally started by aticonfig --initial)


Section "ServerLayout"
        Identifier     "Arch"
        Screen      0  "Screen0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        Option      "ModelName" "Samsung Syncmaster 932B"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "Card0"
#       Option      "OpenGLOverlay" "0"             ##
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection


Hardware:
ATI Radeon 5750HD series 1G DDR memory


I've probably done something stupid, most of my mistakes are,
anyone know what's wrong?

Last edited by hal8000 (2012-06-10 20:05:05)

Offline

#2 2012-06-09 10:41:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: No animation with Glxgears [solved]

pleas post the output of

glxinfo | grep OpenGL

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2012-06-09 14:46:16

hal8000
Member
Registered: 2011-05-20
Posts: 46

Re: No animation with Glxgears [solved]

[anc@orac ~]$ glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 4.2.11631 Compatibility Profile Context
OpenGL shading language version string: 4.20
OpenGL extensions:

Dank u wel Lone_Wolf,  not sure
if I am missing OpenGl extensions.

Offline

#4 2012-06-09 22:52:24

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: No animation with Glxgears [solved]

Does it help to run vblank_mode=0 glxgears or vblank_mode=1 glxgears?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2012-06-10 20:04:45

hal8000
Member
Registered: 2011-05-20
Posts: 46

Re: No animation with Glxgears [solved]

ConnorBehan wrote:

Does it help to run vblank_mode=0 glxgears or vblank_mode=1 glxgears?

Yes that's solves the problem.
If I type vblank_mode=0 or 1 at a terminal I can run glxgears or fgl_gears

Do you know what package vblank_mode belongs to?

[anc@orac ~]$ which vblank_mode
which: no vblank_mode in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/kde/bin:/usr/bin/core_perl:/opt/qt/bin)

Its not in any of the bin directories, and I cant find a man page entry.

Will mark as solved.
Thanks you.

Offline

#6 2012-06-10 22:50:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: No animation with Glxgears [solved]

hal8000 wrote:
ConnorBehan wrote:

Does it help to run vblank_mode=0 glxgears or vblank_mode=1 glxgears?

Yes that's solves the problem.
If I type vblank_mode=0 or 1 at a terminal I can run glxgears or fgl_gears

Do you know what package vblank_mode belongs to?

A bit of education here ...   in this case, vblank_mode is an environmental variable.  When one sets a variable on a command line before a command, that variable is valid for that command, then goes out of scope when the command terminates.

If you said,:
foo=bar bletch
The variable 'foo' would take the value 'bar'; then 'bletch' would run and would be able to see the value of foo.  Then bletch terminates, the variable foo reverts to what it had been before.  If it did not exist before, then foo vanishes.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB