jsmpeg-vnc icon indicating copy to clipboard operation
jsmpeg-vnc copied to clipboard

Grey screen/first frame

Open erikhric opened this issue 8 years ago • 8 comments

Whole desktop works as a stream, even Windows file browser windows are working. When I try something 3D like Wolfenstein - grey screen appears On Minecraft only first frame is shown.

Is this a bug, or am I doing something wrong?

I tried different settings of Bitrate and fps but nothing works.

erikhric avatar Apr 18 '16 18:04 erikhric

The server sometimes has problems capturing hardware accelerated windows. Try disabling Aero, i.e. chose a Windows "Classic Theme".

phoboslab avatar Apr 18 '16 21:04 phoboslab

I tried it, but also overlapping command prompt is shown on that screen. I'm trying to use this in my school assignment. jsmpegvnc

erikhric avatar Apr 19 '16 08:04 erikhric

Does it still do that if you minimise the command prompt?

On Tue, 19 Apr 2016 09:52 Erik Hric, [email protected] wrote:

I tried it, but also overlapping command prompt is shown on that screen. I'm trying to use this in my school assignment. [image: jsmpegvnc] https://cloud.githubusercontent.com/assets/5880119/14633091/4ed48e26-061c-11e6-98e8-12aab967c1be.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/phoboslab/jsmpeg-vnc/issues/28#issuecomment-211806968

ir-g avatar Apr 19 '16 10:04 ir-g

Sadly, yes. Overlapping isn't problem, but windows under is frozen in stream. I have tried this on windows 7&8.1 with no luck.

erikhric avatar Apr 19 '16 11:04 erikhric

Are there any requirements for window itself, or it shouldn't depend on that? What makes the difference between capturing whole desktop and single window? In code it look almost the same to me. Why whole desktop works perfectly, but single windows does not?

erikhric avatar Apr 19 '16 11:04 erikhric

I got the same issue, =/. i´m using win 10.

lafegob avatar May 18 '16 14:05 lafegob

lafegob I had this issue on Windows 8. Theme of windows doesn't look like aero on Win7 but it is. Try switching to one of the high contrast Windows themes and restart your computer. It should work immediately.

erikhric avatar May 23 '16 11:05 erikhric

Anyone having this problem even with aero turned off?

For some reason the program works fine on my laptop, but on my desktop computer I only get a gray screen when trying to stream any OpenGL applications. However, if I run the same program with software rendering the stream works just fine..

Both computers run Windows 10 and are set to use a high-contrast theme.

One difference between the systems is that the laptop has two graphics cards: an integrated Intel 4600 and a discrete NVIDIA Quadro K1100M, while the desktop computer is running an Nvidia GTX 580. OpenGL Extensions Viewer lists version OpenGL version 4.3 for the laptop and OpenGL version 4.4 for the desktop. The laptop is set to use the discrete graphics card for the OpenGL application.

Also tried recompiling the program with the dwRop flag set to SRCCOPY | CAPTUREBLT (from SRCCOPY) in grabber.c: BitBlt(self->memoryDC, 0, 0, self->width, self->height, self->windowDC, 0, 0, SRCCOPY | CAPTUREBLT); (inspired by these two posts), but to no avail.

thesauri avatar Aug 17 '16 14:08 thesauri