On 6/29/03, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Hamish Marson wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hamish Marson wrote:
> >
> >
> >>Just as a status report...
> >>
> >>On my thinkpad r50p which has an rv350 (FireGL-T2) when using the
> >>current CVS xorg, CVS Mesa and the tagged r300 driver
> >>'the_perfect_frag') it all works, 1600fps on glxgears, but the
> >>flickering is awful on OpenGL apps...
> >>
> >>(Current CVS is yesterday for xorg, today for Mesa).
> >>
> >>glxgears - works OK. But flickers. tuxracer - works OK. Reasonable
> >>frame rates. But flickers at about 10Hz. gl-117 - Same. Reasonable
> >>frame rates. But flickers.
> >>
> >>glxgears was in a window. tuxracer and gl-117 were full-screen. I
> >>had to stop before I threw up...
> >>
> >>Suspend & Resume worked OK so far (Only suspended to RAM once
> >>though).
> >>
> >>Hamish.
> >
> >
> > FWIW the same things also happens on the current CVS copy.
> >
> > This is with a 1600x1200 resolution LCD as well, just in case it
> > matters. gl-117 seems to geta round 60fps in the init screens... But I
> > can't see the screen well enough to navigate through (Or access even)
> > any setup screens to try & change anything in it.
> >
> > H
> >
> 
> Flickering should be resolved by adding this to radeon_driver.c in the Xorg:
> @@ -5631,6 +5627,11 @@
>       if (!info->IsSecondary)
>         RADEONChangeSurfaces(pScrn);
> 
> +    if (info->ChipFamily >= CHIP_FAMILY_R300) {
> +       unsigned char *RADEONMMIO = info->MMIO;
> +       OUTREG(0x180, INREG(0x180) | 0x1100);
> +    }
> +
>       if(info->MergedFB) {
>         /* need this here to fix up sarea values */
>         RADEONAdjustFrameMerged(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);
> 
> 
> Rune Petersen
> 

According to the databooks, this is the correct behavior for high res
modes.  What it does is bump the display0/1 priorities in the memory
controller.  I'll be committing a slighly updated version of this
patch to cvs in the next few days.

Alex


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to