You are not logged in.

#1 2008-08-30 14:57:26

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Lag in compiz and games with Catalyst

Recently installed installed Arch on my laptop. Installed KDE4 with Catalyst drivers for a Radeon X1200.
I finally got 3d games och Compiz working today, but I have a problem. Sometimes, compiz or a game lag. With compiz, the screen freezes for about 1-10 seconds, and my games freeze for about 2 seconds.
The strange part is that it doesn't seem to be a problem with 3D accelerating or anything concerning that, but rather a problem with 2D.
Compiz often freezes when I scroll in a program by dragging the scrollbar up or down, or with firefox's soft scroll. Also, it happens sometimes when switching back from for example Win+Tab(don't know what the plugin is called in english, but you know. When the windows are placed in a pile in 3D, and each time you press Tab you chose the next window).
Also, the games that lag seem to lag when loading many 2D-sprites(for example yoshis story, running in mupen64).

Of course, it could just be a coincidence that for example Compiv haven't froze when using the 3D cube for example.

I know it could be related to that my graphic card isn't very good, but it worked fine in Kubuntu.

If there's anything you need to know, ask. And if you need it, here's my xorg.conf:

Section "ServerLayout"                       
        Identifier     "X.org Configured"    
        Screen      0  "Screen0" 0 0         
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection                                       

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled" 
        FontPath     "/usr/share/fonts/TTF"            
        FontPath     "/usr/share/fonts/Type1"          
EndSection                                             

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "xtrap" 
        Load  "dri"   
        Load  "dbe"   
        Load  "glx"   
        Load  "GLcore"
        Load  "freetype"
EndSection              

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"      
EndSection                     

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse" 
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"  
EndSection                                    

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model" 
EndSection                           

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"             
        ### [arg]: arg optional                                      
        #Option     "NoAccel"                   # [<bool>]           
        #Option     "NoDRI"                     # [<bool>]           
        #Option     "SWcursor"                  # [<bool>]           
        #Option     "Dac6Bit"                   # [<bool>]           
        #Option     "BusType"                   # [<str>]            
        #Option     "DRM_nbufs"                 # <i>                
        #Option     "DRM_bufsize"               # <i>                
        #Option     "Capabilities"              # <i>                
        #Option     "CapabilitiesEx"            # <i>                
        #Option     "ClientDriverName"          # [<str>]            
        #Option     "KernelModuleParm"          # [<str>]            
        #Option     "AGPMask"                   # <i>                
        #Option     "AGPv3Mask"                 # <i>                
        #Option     "BufferTiling"              # [<bool>]           
        #Option     "Profile"                   # <str>              
        #Option     "RingSize"                  # <i>                
        #Option     "EnableDepthMoves"          # [<bool>]           
        #Option     "GammaCorrectionI"          # <i>                
        #Option     "GammaCorrectionII"         # <i>                
        #Option     "OpenGLOverlay"             # [<bool>]           
        #Option     "DefaultVisualTrueColor"    # [<bool>]           
        #Option     "VideoOverlay"              # [<bool>]           
        #Option     "DesktopSetup"              # [<str>]            
        #Option     "MonitorLayout"             # [<str>]            
        #Option     "ForceMonitors"             # [<str>]            
        #Option     "EnableMonitor"             # <str>              
        #Option     "OverlayOnCRTC2"            # [<bool>]           
        #Option     "Mode2"                     # [<str>]            
        #Option     "PairModes"                 # [<str>]            
        #Option     "HSync2"                    # [<str>]            
        #Option     "VRefresh2"                 # [<str>]            
        #Option     "ScreenOverlap"             # <i>                
        #Option     "MemClock"                  # <i>                
        #Option     "ASICClock"                 # <i>                
        #Option     "UseInternalAGPGART"        # [<bool>]           
        #Option     "FastSwap"                  # [<bool>]           
        #Option     "Stereo"                    # [<bool>]           
        #Option     "StereoSyncEnable"          # <i>                
        #Option     "DisableOvScaler"           # [<bool>]           
        #Option     "UseFastTLS"                # <i>                
        #Option     "BlockSignalsOnLock"        # [<bool>]           
        #Option     "ForceGenericCPU"           # [<bool>]           
        #Option     "CenterMode"                # [<bool>]           
        #Option     "OffScreenPixmaps"          # [<bool>]           
        #Option     "EnableOpaqueOverlayVisual"         # [<bool>]   
        #Option     "TMDSCoherentMode"          # [<bool>]           
        #Option     "EnablePrivateBackZ"        # [<bool>]           
        #Option     "TVFormat"                  # [<str>]            
        #Option     "TVStandard"                # [<str>]            
        #Option     "TVOverscan"                # [<bool>]           
        #Option     "TVHSizeAdj"                # <i>                
        #Option     "TVVSizeAdj"                # <i>                
        #Option     "TVHPosAdj"                 # <i>                
        #Option     "TVVPosAdj"                 # <i>                
        #Option     "TVHStartAdj"               # <i>                
        #Option     "TVColorAdj"                # <i>                
        #Option     "PseudoColorVisuals"        # [<bool>]           
        #Option     "PreferredVRefresh"         # <i>                
        #Option     "FastStart"                 # [<bool>]           
        #Option     "ProfileDriver"             # [<bool>]           
        #Option     "PPPTforGART"               # [<bool>]           
        #Option     "TexturedVideo"             # [<bool>]           
        #Option     "TexturedVideoSync"         # [<bool>]           
        #Option     "Textured2D"                # [<bool>]           
        #Option     "TexturedXrender"           # [<bool>]           
        #Option     "DPMS"                      # [<bool>]           
        #Option     "MaxGARTSize"               # <i>                
        #Option     "LogoPosX"                  # <i>                
        #Option     "LogoPosY"                  # <i>                
        #Option     "LogoColFG"                 # <i>                
        #Option     "LogoColBG"                 # <i>                
        #Option     "SwapScreens"               # [<bool>]           
        #Option     "FBC"                       # [<bool>]           
        #Option     "FrontBufferMode"           # <i>                
        #Option     "BackBufferMode"            # <i>                
        #Option     "DepthBufferMode"           # <i>                
        #Option     "OverlayBufferMode"         # <i>                
        #Option     "VideoOverlayBufferMode"    # <i>                
        #Option     "EnableIrqMgr"              # [<bool>]           
        #Option     "EnableMulticard"           # [<bool>]           
        #Option     "EnablePPLIB"               # [<bool>]           
        #Option     "DefaultOnDC"               # [<bool>]           
        #Option     "EnableRandR12"             # [<bool>]           
        #Option     "DisableRotation"           # [<bool>]           
        #Option     "EnableCrossFire"           # [<bool>]           
        #Option     "DisableDlm"                # [<bool>]           
        #Option      "AGPMode" "2"                                   
        #Option      "ColorTiling" "on"                              
        #Option      "EnablePageFlip" "on"                           
        #Option      "AGPFastWrite" "yes"                            
        Identifier  "Card0"                                          
        Driver      "fglrx"                                          
        Option      "XAANoOffscreenPixmaps" "true"                   
        VendorName  "ATI Technologies Inc"                           
        BoardName   "Radeon X1200 Series"                            
        BusID       "PCI:1:5:0"                                      
EndSection                                                           

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"  
        Monitor    "Monitor0"
        DefaultDepth 24      
        SubSection "Display" 
                Viewport   0 0
                Depth     1   
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Offline

#2 2008-08-31 12:26:36

BeholdMyGlory
Member
Registered: 2008-08-30
Posts: 93

Re: Lag in compiz and games with Catalyst

Okay, not just 2D related, pretty much all my games tend to freeze for a second or two with maybe 30 seconds between every freeze. Doesn't anyone know what's wrong?

Offline

#3 2008-08-31 16:05:49

luciferin
Member
Registered: 2007-05-10
Posts: 144

Re: Lag in compiz and games with Catalyst

Try adding "nopat" to your kernel line in Grub.  Mine looks like this now:

ktitle  Arch Linux
root   (hd0,0)
initrd /boot/kernel26.img
kernel /boot/vmlinuz26 root=/dev/disk vga=791 ro nopat
initrd /boot/kernel26.img

This fixes a pause I get every few seconds with the new driver.

Offline

Board footer

Powered by FluxBB