sanshuei / android-vnc-server

Automatically exported from code.google.com/p/android-vnc-server
0 stars 0 forks source link

vnc server not work: Width (1366) is not a multiple of 4 #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just enable vncserver_x86
2. ...
3.  WARNING: Width (1366) is not a multiple of 4. VncViewer has problems with 
that

What is the expected output? What do you see instead?
Then vnc viewer is black and seems width 1366 causes problem.

What version of the product are you using? On what operating system?
Android 4.2.2, in intel x86 platform. 

Please provide any additional information below.
Initializing VNC server:
        width:  1366
        height: 768
        bpp:    32
        port:   5901

Can VNC server configure to width 1368 or 1364..?

Thanks

Original issue reported on code.google.com by balr...@gmail.com on 6 Nov 2013 at 2:58

GoogleCodeExporter commented 9 years ago
$adb shell
root@flo:/# cd data/                                                          
root@flo:/data# ./androidvncserver -k "/dev/input/event0" -t "/dev/input/event0"
Initializing framebuffer device /dev/graphics/fb0...
xres=1200, yres=1920, xresv=1200, yresv=5760, xoffs=0, yoffs=0, bpp=32
Initializing keyboard device /dev/input/event0 ...
Initializing touch device /dev/input/event0 ...
Initializing VNC server:
    width:  1200
    height: 1920
    bpp:    32
    port:   5901
Initializing server...
03/02/2014 18:14:58 Listening for VNC connections on TCP port 5901

$vncviewer 192.168.1.7::5901
then,the vncviewer is black screen.

My PC system is Ubuntu12.0.4.  My Phone is Nexus7,flash myself build 
system,google source code 4.3.

How can I solve this problem? Thanks

Original comment by liu31...@gmail.com on 3 Feb 2014 at 10:20

GoogleCodeExporter commented 9 years ago

thank you for your feedback.
 Still NG. My device is notebook with 13.3" LCD and how to configure xres..?

Initializing framebuffer device /dev/graphics/fb0...
xres=1366, yres=768, xresv=1366, yresv=768, xoffs=0, yoffs=0, bpp=32
Initializing keyboard device /dev/input/event0 ...
Initializing touch device /dev/input/event0 ...
cannot get ABS_X info, Invalid argument
cannot get ABS_Y, Invalid argument
Initializing VNC server:
        width:  1366
        height: 768
        bpp:    32
        port:   5901
Initializing server...
05/02/2014 06:34:06 WARNING: Width (1366) is not a multiple of 4. VncViewer has
problems with that.
05/02/2014 06:34:06 Listening for VNC connections on TCP port 5901

Original comment by balr...@gmail.com on 5 Feb 2014 at 6:37

GoogleCodeExporter commented 9 years ago
I have the same problem with Android 4.4.2 x86, on a Dell Inspirion 3647 
running with a 1680x1050 (16 bpp) display (only I don't get the warning about 
the width not being a multiple of 4, of course).  But the VNC Viewer still has 
a black screen.

I also note that I don't seem to immediately receive any events on the server 
side even though I moved the mouse pointer into the black screen and clicked.  
However, after a few seconds *one* down and one up event happened.  Then, after 
closing the VNC viewer, a bunch of injectTouchEvent messages showed up.  No 
apparent detection of the fact that I had disconnected, for several minutes 
after doing so.

Original comment by vwdo...@gmail.com on 9 Aug 2014 at 12:37