[prev in list] [next in list] [prev in thread] [next in thread]
List: xfree-xpert
Subject: Re: [Xpert]Laptop freezes up when I switch vty's
From: Michel =?ISO-8859-1?Q?D=E4nzer?= <michdaen () iiic ! ethz ! ch>
Date: 2001-11-30 23:38:10
[Download RAW message or body]
On Thu, 2001-11-29 at 06:59, Yom, Francis wrote:
> I finally got DRI running with my laptop which has the ATI Mobility M6
> Radeon chipset. But now when I ctrl-alt-f<number> to a different
> terminal like ctrl-alt-f1 for the first term to look at a message and
> then switch back to vty7 to see my X screen, the display is all garbled
> and stays that way. I cannot type or move my mouse. The computer
> appears to be frozen.
Does this patch help? If not, can you try moving the
RADEONEngineRestore() call after the DRI specific code again?
Index: radeon_driver.c
===================================================================
RCS file:
/cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v
retrieving revision 1.44
diff -u -r1.44 radeon_driver.c
--- radeon_driver.c 2001/11/24 14:38:19 1.44
+++ radeon_driver.c 2001/11/30 23:36:03
@@ -4383,16 +4383,18 @@
RADEONInfoPtr info = RADEONPTR(pScrn);
RADEONTRACE(("RADEONEnterVT\n"));
+
+ if (!RADEONModeInit(pScrn, pScrn->currentMode)) return FALSE;
+
+ if (info->accelOn)
+ RADEONEngineRestore(pScrn);
+
#ifdef XF86DRI
if (RADEONPTR(pScrn)->directRenderingEnabled) {
RADEONCP_START(pScrn, info);
DRIUnlock(pScrn->pScreen);
}
#endif
- if (!RADEONModeInit(pScrn, pScrn->currentMode)) return FALSE;
-
- if (info->accelOn)
- RADEONEngineRestore(pScrn);
/*info->PaletteSavedOnVT = FALSE;*/
RADEONAdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
_______________________________________________
Xpert mailing list
Xpert@XFree86.Org
http://XFree86.Org/mailman/listinfo/xpert
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic