[MPlayer-matrox] upgrade to xorg 7.2 => xmga driver broken

Gilles Hamel hamelg at laposte.net
Tue Aug 21 23:12:01 CEST 2007


Hello,

Bug found :-)

Here is the patch for MPlayer-1.0rc1 :

*** libvo/mga_common.c  2007-08-21 23:09:41.000000000 +0200
--- libvo/mga_common.c.ori      2007-08-19 22:38:09.000000000 +0200
***************
*** 511,522 ****
                                i = xinerama_screen;
                        }

!                       if (i>=0) {
!                         /* set drwcX and drwcY to the right values */
!                         drwcX = drwcX - screens[i].x_org;
!                         drwcY = drwcY - screens[i].y_org;
!                       }
!
                        XFree(screens);
                 }

--- 511,519 ----
                                i = xinerama_screen;
                        }

!                       /* set drwcX and drwcY to the right values */
!                       drwcX = drwcX - screens[i].x_org;
!                       drwcY = drwcY - screens[i].y_org;
                        XFree(screens);
                 }


It seems that the behavior of some Xinerama funcs have changed with xorg 
7.2 ...



Attila Kinali wrote:
> On Thu, 19 Jul 2007 20:40:30 +0200
> Gilles Hamel <hamelg at laposte.net> wrote:
>
>   
>> The arrangement :
>>
>> Xorg 7.2 + kernel 2.6.21.5 + mga_vid-2.6.21-2007-06-24 + mplayer svn r23821
>>
>>
>> is worse :-(  !
>>
>>
>> I just get a grey box without window, and then mplayer hangs.  Here is 
>> the "mplayer -v " output :
>>     
>
> Yes, that's the bug i talked about. It was introduced in mplayer r23675.
> Unfortunately i didn't had the time to figure out what causes it.
> I hope that i find some time this weekend.
>
> For the other bug you are experiencing, please try mplayer r23674.
>
> Of course, you are free to figure out what's wrong and send me
> a patch ;-)
>
> 			Attila Kinali
>
>   




More information about the MPlayer-matrox mailing list