You are not logged in.

#1 2004-12-15 22:34:21

_will
Member
Registered: 2004-07-08
Posts: 123

glxgears works, but xscreensaver doesn't

i pacman'ed  "ati-drivers-module-kernel26"
and updated my xorg
i can startx and do everything i could before, but
glxgrears will run, and xscreensaver will not
the card is: 64MB ATI Mobility Radeon 9600 video chipset

17:21:18 [~] $ uname -a
Linux MobileEvil 2.6.9-ARCH #1 SMP Tue Oct 26 11:33:54 PDT 2004 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux
 20:49:16 [~] $ lsmod
Module                  Size  Used by
lp                     11784  0 
parport                42312  1 lp
ohci_hcd               22660  0 
snd_intel8x0m          19400  1 
hci_usb                11904  0 
bluetooth              50820  1 hci_usb
ehci_hcd               31748  0 
usblp                  13696  0 
uhci_hcd               33680  0 
shpchp                101252  0 
pci_hotplug            13060  1 shpchp
tsdev                   8128  0 
joydev                 10432  0 
evdev                   9984  0 
snd_pcm_oss            56488  0 
snd_mixer_oss          21376  3 snd_pcm_oss
snd_intel8x0           36428  3 
snd_ac97_codec         73808  2 snd_intel8x0m,snd_intel8x0
snd_pcm               101508  4 snd_intel8x0m,snd_pcm_oss,snd_intel8x0
snd_timer              27140  1 snd_pcm
snd_page_alloc         10248  3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport                5120  1 snd_intel8x0
snd_mpu401_uart         8704  1 snd_intel8x0
snd_rawmidi            26276  1 snd_mpu401_uart
snd_seq_device          8456  1 snd_rawmidi
snd                    58980  13 snd_intel8x0m,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10848  3 snd
e1000                  88836  0 
rtc                    13128  0  
17:22:41 [~] $ cat /etc/X11/xorg.conf

Section "Extensions"
  Option "Composite" "Enable"
EndSection 

Section "dri"
    Mode 0666
EndSection

Section "Module"
    Load        "dbe"     # Double buffer extension
   
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection 


Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"
    Option "XkbVariant" "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "Auto"
    Option      "Device"        "/dev/psaux"
    Option      "ZAxisMapping"  "4 5"
    Option      "Buttons"       "5" 
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 82.0
    VertRefresh 40-150
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4150
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection 

glxgears seems to be running...much slower than others in the form
(i expanded the window after the first 5 seconds to the whole screen)

17:24:23 [~] $ glxgears 
766 frames in 6.0 seconds = 180.000 FPS
112 frames in 5.0 seconds = 22.400 FPS
1 frames in 5.0 seconds =  0.200 FPS
150 frames in 9.0 seconds = 16.667 FPS

when i try to test a screensaver:
"root windows visual  3x0d does not support the GLX extention"
however it runs in the preview windows (smaller than glxgears, at 14FPS)

yeah, i have no clue whats going on
anyone know?

thanks in advance
will

Offline

#2 2004-12-16 13:05:10

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: glxgears works, but xscreensaver doesn't

When you run glxgears, do you resize the window? If those are the framerates you get when you leave glxgears' window alone, you don't have hardware 3D support. I get around 700FPS with my GF2 MX-400. You should get at least that much.

Unfortunately, I don't have any experience with ATi in Linux so I don't really know what to do. Perhaps you could try X.org's built in "ati" module. I read it provides hardware acceleration.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2004-12-16 14:42:55

Hum
Member
Registered: 2004-06-13
Posts: 46

Re: glxgears works, but xscreensaver doesn't

it looks like you havent' run fglrxconfig

Offline

#4 2004-12-16 23:44:50

_will
Member
Registered: 2004-07-08
Posts: 123

Re: glxgears works, but xscreensaver doesn't

as always, thanks for the quick replys

i had not run fglrxconfig, i thought copying from the forum would work

i've now run fglrxconfig and xorg won't start with the config file created
something like FATAL: kernel can't load fglrx

but it worked with the config file i copied from the ati thread.. well didn't work, but didn't complain

i thought i "pacman -S ati-drivers-module-kernel26" to get the module (?)

Section "dri"
    Mode 0666
EndSection

Section "Module"
    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "freetype"
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection


Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier    "Keyboard1"
    Driver    "Keyboard"

    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xfree86"
    Option "XkbModel"    "pc101"
    Option "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/psaux"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 80.5
    VertRefresh 40-150
    Option "DPMS"
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"
EndSection


Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "DesktopSetup"               "0x00000000" 
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified" 
    Option "VRefresh2"                  "unspecified" 
    Option "ScreenOverlap"              "0" 
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1400x1050"
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Offline

#5 2004-12-19 02:28:49

_will
Member
Registered: 2004-07-08
Posts: 123

Re: glxgears works, but xscreensaver doesn't

in above xorg

Driver   "Keyboard"
....
Option "XkbRules"   "xfree86"

does't work well in xorg :oops:

fixed that and X runs but FPS are still really low

xscreensaver works!! but it flashes like a strobe light and im sure would cause anyone to become epileptic if they were unfortunate enough to look at it for over a min.

X doesn't seem to be bothered by:

$ sudo modprobe fglrx  
FATAL: Module fglrx not found.

... but i am

what does "pacman -S ati-drivers-module-kernel26" do? (doesn't get the module?)

21:13:13 [~] $ glxgears 
1469 frames in 5.0 seconds = 293.800 FPS
1469 frames in 5.0 seconds = 293.800 FPS
1469 frames in 5.0 seconds = 293.800 FPS
 21:16:30 [~] $ fgl_glxgears 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  142 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  31
  Current serial number in output stream:  31
21:16:50 [~] $ fglrxinfo    
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.1)

Offline

Board footer

Powered by FluxBB