[Bug 14980] commit dd8ee1b444f4b973a1e0fadca5f943f2162b5e94 beaks OpenGL after hibernation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 17 12:02:03 PDT 2008


--- Comment #7 from Sebastien Valette <sebastien.valette at creatis.insa-lyon.fr>  2008-03-17 12:02:02 PST ---
(In reply to comment #6)
> Created an attachment (id=15230)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15230) [details]
> possible fix
> (In reply to comment #2)
> > Created an attachment (id=15212)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15212) [details] [details]
> > this fix the vt switching crash that happens with compiz activated
> > 
> > I believe this is the same issue as I have except in my case using compiz it
> > makes X crash. This patch fixed it for me. Basically it add
> > RADEONRestoreMemMapRegisters(pScrn, info->ModeReg); even for dri on PCIE  like
> > I believe was the case when the restore code was in atombios_crtc and
> > legacycrtc .
> RADEONRestoreMemMapRegisters() gets called via RADEONAdjustMemMapRegisters() if
> the DRI is enabled regardless of whether the card is PCIE or not.  The ordering
> is  apparently causing the problem.  Does this patch work?

Unfortunately, no. It is actually worse, since Xorg is broken after resume (the
mouse cursor displays fine, but the windows are corrupted ( something like the
lines are interleaved)

my relevant xorg bits, just in case:
Section "Device"
        Identifier      "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
        Driver          "ati"
        BusID           "PCI:1:0:0"
        Option          "GARTSize" "64"
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "AGPMode" "4"
        Option          "EnablePageFlip" "true"
        Option          "DynamicClocks" "true"

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the xorg-driver-ati mailing list