[MPlayer-users] Problem with gmplayer and r31381

Giorgio mywing81 at gmail.com
Tue Jun 15 16:43:46 CEST 2010


>> Yes, r31394 (without any modification) is definitely broken and the
>> patch above doesn't work anymore.
>> From a user's point of view, maybe r31380 makes things worse. The code
>> was set to exit on X error, but now just goes on and doesn't display
>> the video properly, like in my case.
>
> You are assuming that most of these errors have any relevance at all.
> Hint: usually they don't.

Ok, but this must be an exception, usually errors have relevance :)

>> Also, I'm sure the error is meaningful for someone who knows the code
>> and all the X stuff, but I assume the gui has no maintainer nowadays.
>
> It means switching the colormap failed. Should not have any relevance
> at all for OpenGL though.

Understood.

>> Allright, I'll use gmplayer+xv then. If I get a chance, I'll test it
>> on another machine with nvidia drivers to see if it works or if it's
>> just my system, and report here.
>
> Well, it works on ATI HD 5770 with proprietary drivers, and ancient ATI 7200
> (I think) with DRI/Mesa and on an Intel GPU (GMA950 or so?).
> And as I said, it should just be a matter of commenting out the right line(s)
> of the vo_x11_create_vo_window function (well, at least with -vo gl:yuv=2).
> You can try this as a starting point:
> Index: libvo/vo_gl.c
> ===================================================================
> --- libvo/vo_gl.c       (revision 31389)
> +++ libvo/vo_gl.c       (working copy)
> @@ -635,8 +635,8 @@
>   int_pause = 0;
>   vo_flipped = !!(flags & VOFLAG_FLIPPING);
>
> -  if (create_window(d_width, d_height, flags, title) < 0)
> -    return -1;
> +//  if (create_window(d_width, d_height, flags, title) < 0)
> +//    return -1;
>
>   if (vo_config_count)
>     uninitGl();

With this patch I don't get the error on the terminal, and everything
on the output seems ok, but all I can see in the mplayer's window is
white, no frames are displayed. I can seek with the arrows, I can quit
with 'q', but I cannot go fullscreen with 'f'.

> Also works as-is with 195.something drivers on an NVidia 8800.

Quick test: I installed Ubuntu 10.04 on a different hard disk on this
machine, and with nvidia proprietary drivers v. 173.14.22 I get the
same problem.
Since it works with other video cards/drivers, it must be something
related to my video card/setup.

Thanks,

Giorgio Vazzana


More information about the MPlayer-users mailing list