You are not logged in.

#1 2010-05-03 19:51:37

mkscrg
Member
Registered: 2010-05-03
Posts: 3

X Flickering After Suspend to RAM

Howdy folks,

I've got a new Arch installation on a Macbook Pro 2,2 (santa rosa). Everything's running great, except after suspending to RAM I notice some minor flickering in X. I'm running Xfce4. The flickering remains mild indefinitely, no plunging into blackness or anything, but it sure is annoying.

Kernel is 2.6.33-ARCH, video card and driver are ATI Mobility X1600 and radeon, xorg.conf is as follows:

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

Section "Files"
    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  "dri"
    Load  "dri2"
    Load  "record"
    Load  "glx"
    Load  "dbe"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbOptions"    "lv3:rwin_switch"
EndSection

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

Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver     "synaptics"
    Option     "CorePointer"
    Option     "Device"                   "/dev/input/mouse1"
    Option     "Protocol"                 "auto-dev"
    Option     "LeftEdge"                 "60"
        Option     "RightEdge"                "900"
    Option     "BottomEdge"               "511"
    Option     "HorizScrollDelta"         "0"
    Option     "MinSpeed"                 "0.4"
    Option     "MaxSpeed"                 "1"
    Option     "AccelFactor"              "0.08"
    Option     "MaxTapTime"               "0"
    Option     "TapButton1"               "0"
        Option     "VertTwoFingerScroll"      "1"
    Option     "HorizTwoFingerScroll"     "1"
EndSection

Section "Monitor"
    DisplaySize      1440  900    # mm
    Identifier   "Monitor0"
    VendorName   "APP"
    ModelName    "Color LCD"
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     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "CustomEDID"             # [<str>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "ClockGating"            # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "ATOMTVOut"              # [<bool>]
        #Option     "R4xxATOM"               # [<bool>]
        #Option     "ForceLowPowerMode"      # [<bool>]
        #Option     "DynamicPM"              # [<bool>]
        #Option     "NewPLL"                 # [<bool>]
        #Option     "ZaphodHeads"            # <str>
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "M56P [Radeon Mobility X1600]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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

Any ideas? I've seen similar issues posted about around the web, mostly with 2.6.32. Has a fix been found?

Thanks,
Mike

Offline

#2 2010-05-03 22:59:29

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: X Flickering After Suspend to RAM

My Xorg freezes after suspend to ram. I had not time to check why. hmm
I guess it is about Xserver, becouse I use nvidia.

Offline

#3 2010-05-04 16:18:53

mkscrg
Member
Registered: 2010-05-03
Posts: 3

Re: X Flickering After Suspend to RAM

I managed to fix it by turning off KMS. Suspend is a little unpleasant to watch now, but it works nonetheless.

Offline

#4 2010-05-05 15:41:59

lynucs
Member
Registered: 2008-05-05
Posts: 67
Website

Re: X Flickering After Suspend to RAM

have that problem too. in some cases the screen becomes just black, blue or any other color until i again suspend and wake it up.

two times i have got X crashed just after flickering. here is the syslog output:

May  5 17:20:54 thinky kernel: [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
May  5 17:20:54 thinky kernel: render error detected, EIR: 0x00000000
May  5 17:20:54 thinky kernel: [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 375154 at 375151)

lspci:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

is it an intel module bug?
linux became really annoying on intel graphics sad

edit: by the way, if i tried to start X again after intel crash i have got only black/white output without a working X (no windows, no background, just a statusbar) and no errors in xlog. after reboot x started well again.

Last edited by lynucs (2010-05-05 15:49:05)


Pinky, are you pondering what I'm pondering?

Offline

Board footer

Powered by FluxBB