Michel D�nzer wrote: > > On Wed, 2002-02-20 at 00:17, Gustavo Homem wrote: > > > > I am having serious trouble with XFree. I have a rage 128 video card. I was > > using XFree 4.1 from mdk 8.1 and the Xv extension was malfunctioning for DVDs > > (was ok for other movies). It would eat too much CPU so a lot of frames were > > dropped (tested with xine, vlc and mplayer), for example xine would take > > around 45 % and the X server about 45% using Xv output. > > > > I upgraded to XFree 4.2 rpms from mandrake in hope to have this problem > > solved since it was working perfectly on XFree 4.03 from mdk 8.0. > > I can only guess why 4.0.3 worked better than 4.1.0; I guess it's > because the r128 driver in 4.0.3 didn't properly support 420 video (or > was it 422? I forget :) yet. > > > X complained then about drm modules beiing old, so I downloaded the latest > > one from dri.sf.net , compiled and instaled the module at /lib/modules/ .... > > > > The result was as follows with dri enabled: > > > > 1 - Now bttv no longer freezes the system if used with dri enabled (hooray) > > 2 - The KDM login screen is completely messed (widgets are garbaged, not > > drawn properly) > > I have fixed this in DRI CVS and submitted the fix to XFree86. > > Both 1) and 2) are due to the fact that the r128 driver does 2D > acceleration differently with DRI enabled now. I'm sure you've also > noticed the better 2D performance. :) > > > 3 - This is the weird part: Xv is messed, the colors don't match the real > > ones, they are completely changed and there is an horizontal strip with a > > diferent color variation with xine and a lot of garbage with mplayer, X > > freezes a short time after switching to and from fullscreen (except for the > > mouse). Strangely during the time before X freezes there are no framedrops > > but they come back with dri disabled. > > > > What is exactly the relation of Xvideo and dri ? > > They are conceptually independent, however as of 4.2.0, the r128 driver > tries to take advantage of the DRM to accelerate Xv image transfer. > Unfortunately, this doesn't work well with some chips, and there are > also problems coordinating this with the new 2D acceleration yet. > > Until these issues are sorted out, use of the DRM for Xv should be an > option which defaults to off. I'll submit a patch to that effect soon. > Attached is a hack which disables it completely in source for now. I > hope this is useful for people who are bitten by this. > > -- > 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
Michel, I don't see an attachment. Did you only send it to Gustavo? I would like to try the patch/hack to disable DRM for Xv. Updating to the latest CVS fixed some of my problems. I just tried xine, and got a system lockup. Mplayer worked, but colors were wrong. It looks like a lot of R128 users will have to avoid using a vanilla XFree86-4.2. That's unfortunate because xawtv with DRI in XF4.1 locks up the system. Joe Krahn _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
