[MPlayer-cygwin] MPlayer on Vista

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Mar 28 12:42:05 CEST 2007


Hello,
On Wed, Mar 28, 2007 at 11:51:18AM +0300, Balan Alexander wrote:
> >On Fri, Oct 27, 2006 at 04:57:18AM +0200, Frank Aurich wrote:
> >> This means all the transparency/translucency is gone, but even worse is the
> >> black-out of the display when starting and ending a movie.
> >>
> >> The problem lies within vo_directx, but I'm afraid I don't really know
> >> where to
> >> look specifically. I haven't found much information from MS yet on what
> >> causes
> >> the switch to Vista Basic.
> >
> >The overlay hardware can't possibly work in that environment unless your
> >graphics drivers emulate it via 3D hardware (Xgl on linux uses that
> >approach, though it has its own problems).
> >Tried just using -vo gl (or -vo gl:yuv=2 for better speed)?
> 
> I have the same problem as Frank Aurich, and I tried your method. With
> that parameter Vista does not switch, but all I get is a black screen
> and only sound. Better spped one doesn't work at all.

Give the full MPlayer output with -v when using -vo gl:yuv=2.

> I have latest nVidia drivers for Vista installed, GeForce 7600.
> Is there any solutions?

No idea, I don't know how much the NVidia drivers support, nor do I have
a PC capable of running Vista.
Did you try the patch I sent once (attached)?
You could also try the beta drivers to see if that makes a difference -
though I doubt it since they are barely newer, and NVidia developers are
reportedly stuck at wrangling with Vista's DRM so there isn't that much
real development...

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libvo/w32_common.c
===================================================================
--- libvo/w32_common.c	(revision 22374)
+++ libvo/w32_common.c	(working copy)
@@ -8,6 +8,9 @@
 #include "video_out.h"
 #include "aspect.h"
 #include "w32_common.h"
+#ifndef PFD_SUPPORT_COMPOSITION
+#define PFD_SUPPORT_COMPOSITION 0x00008000
+#endif
 
 extern void mplayer_put_key(int code);
 
@@ -279,7 +284,7 @@
     memset(&pfd, 0, sizeof pfd);
     pfd.nSize = sizeof pfd;
     pfd.nVersion = 1;
-    pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER;
+    pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER | PFD_SUPPORT_COMPOSITION;
     pfd.iPixelType = PFD_TYPE_RGBA;
     pfd.cColorBits = 24;
     pfd.iLayerType = PFD_MAIN_PLANE;


More information about the MPlayer-cygwin mailing list