Hi Michel,

I tried the patch.  It wouldn't patch properly with 'patch' but I
understood what you were trying to do, and so I simply hand cut and
pasted the section of code over just like your patch indicates.

It didn't work :-(

>  
>  Does this patch help? If not, can you try moving the
>  RADEONEngineRestore() call after the DRI specific code again?
>  

Can you elaborate?  I don't know what you'd like me to do.  Did you mean
return to the unpatched state and then what?

Thanks much!
Francis


>  -----Original Message-----
>  From: Michel D�nzer [mailto:[EMAIL PROTECTED]]
>  Sent: Friday, November 30, 2001 6:38 PM
>  To: Yom, Francis
>  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>  Subject: Re: [Xpert]Laptop freezes up when I switch vty's
>  
>  
>  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
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to