Bug 1169679
| Summary: | Multiple keys added on keystroke in guest console VNC connection via remote-viewer | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukas Svaty <lsvaty> |
| Component: | gtk-vnc | Assignee: | Daniel Berrangé <berrange> |
| Status: | CLOSED WORKSFORME | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | cfergeau, danken, hannsj_uhl, ipinto, istein, kgoldbla, lpeer, lsurette, lsvaty, mavital, michal.skrivanek, Rhev-m-bugs, rmm, srevivo, tpelka |
| Target Milestone: | pre-dev-freeze | Keywords: | Reopened |
| Target Release: | 7.5 | ||
| Hardware: | ppc64 | ||
| OS: | Linux | ||
| Whiteboard: | virt | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-17 14:25:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1122979, 1444027 | ||
|
Description
Lukas Svaty
2014-12-02 07:57:38 UTC
Does vnc work properly when oVirt is not involved? Could you fire a ppc64 qemu process from the command line, and connect to it with your vnc client? Which qemu version is this? this does not sound related. Might be a general issue on VNC server or client side. I would guess you reproduce it without oVirt involvement as well (you can use kimchi to manage VMs on stock PowerKVM) I was unable to reproduce it in qemu, but nor in ovirt. With the same quest, or guest without OS. Any idea what might be the problem? Kevin is it still reproducible for you? Adding this info for again. Yes this happens all the time on the PPC FC system. Every keystroke is repeated at least 2 or more times vi the VNC. Even log in takes quite a while. In addition to the keystroke issue the VNC display is so dark that one can barely make out the text Yes this happens every time I access the guest via KVM. Every key stroke is displayed 2 or more time. Even logging in can take a while The other problem is the kvm screen which is so dark, one can hardly make out the text ouput... (In reply to Kevin Alon Goldblatt from comment #5) > Yes this happens every time I access the guest via KVM. Every key stroke is > displayed 2 or more time. Even logging in can take a while since it's not reproducible for others I'd suspect client's issue. did you try comment #1/#2 ? (In reply to Kevin Alon Goldblatt from comment #5) > The other problem is the kvm screen which is so dark, one can hardly make > out the text ouput... unrelated. bug 1142733 (In reply to Dan Kenigsberg from comment #1) > Does vnc work properly when oVirt is not involved? > > Could you fire a ppc64 qemu process from the command line, and connect to it > with your vnc client? > > Which qemu version is this? Dan can you provide a description of how I must "fire a ppc64 qemu process from the command line, and connect to it > with your vnc client". to your question:
qemu-kvm -vnc :0
should start listening on the local port 5900. But if the issue no longer reproduces via oVirt/RHEV, there's no much point attempting to reproduce it directly.
any luck (not) reproducing without ovirt involvement, using the same client? any news? not sure what you're doing... tried on the first host with vncviewer(tigervnc), works fine. tried qemu-kvm directly, works fine Issue re-appeared while testing 3.6. Can provide reproduction environment. *** Bug 1292784 has been marked as a duplicate of this bug. *** This issue occur also on the rhel 7.2 guest spice console, on various rhevm envs, with different ppc hosts. (managed to login via spice after several trials, as the letters typed are duplicated) Versions: - ppc host: OS Version: RHEL - 7.2 - 9.el7 Kernel Version: 3.10.0 - 327.2.1.el7.ppc64le KVM Version: 2.3.0 - 31.el7_2.4 LIBVIRT Version: libvirt-1.2.17-13.el7_2.2 VDSM Version: vdsm-4.17.13-1.el7ev - guest: Kernel Version: 3.10.0 - 327.2.1.el7.ppc64le Correction to comment 17: Display was VNC and not SPICE. Connection was of VNC via remote-viewer. If using tigervnc, instead of remote-viewer, the problem of duplicated letter do not exist, so problem seem to be with remote-viewer specifically. This problem happen only on PPC environment. All these guests were tested with remote-viewer, and show this problem: RHEL-7.2-Server-ppc64le kernel 3.10.0-327.2.1.el7.ppc64le RHEL-7.1-20150219.1-Server-ppc64 kernel 3.10.0-229.el7.ppc64 RHEL-6.7-20150429.0-Server-ppc64 kernel 2.6.32-554.el6.ppc64 RHEL-LE-7.1-20150219.1-Server-ppc64le kernel 3.10.0-229.ae17b.ppc64le Tentatively moving to gtk-vnc (could be virt-viewer too). Can you run 'remote-viewer' with the --gtk-vnc-debug flag set and reproduce the duplicate key strokes problem. Then attach the complete resulting log to this bug. Also please confirm what platform you're running remote-viewer on ? Is it also on the same ppc host as the VM, or is it on a separate remote x86 host moving needinfo to Ilanit, as I do not have resources to this anymore Moving to RHV/Virt QE team manager, as I no longer work in this team. Israel, please provide the needed info Hi all, (i don't know if it still relevant)
I check it with remote-viewer --gtk-vnc-debug, see output below.
The console is open with no error, also without --gtk-vnc-debug it opened.
Output:
ipinto@dhcp-4-168 ~/Downloads ❯❯❯ remote-viewer --gtk-vnc-debug console.vv (9:41)
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Init VncConnection=0x564a9ea0dba0
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplaykeymap.c Using Wayland evdev virtual keycode mapping
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Grab sequence is now Control_L+Alt_L
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Open host=10.16.69.168 port=5900
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Open coroutine starting
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Started background coroutine
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Resolving host 10.16.69.168 5900
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Trying one socket
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Socket pending
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Finally connected
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 13
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Grab sequence is now
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Connected to VNC server
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Protocol initialization
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): Gtk-WARNING **: Allocating size to VncDisplay 0x564a9ea08250 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): libgovirt-CRITICAL **: file ovirt-utils.c: line 152 (ovirt_utils_genum_get_value): should not be reached
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Server version: 3.8
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Sending full greeting
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Using version: 3.8
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Possible auth 2
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 11
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Thinking about auth type 2
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Decided on auth type 2
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Waiting for auth type
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Choose auth 2
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Do Challenge
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting missing credentials
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 10
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Set credential 0 qsgFDsM9ynnZ
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Waiting for missing credentials
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Got all credentials
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Checking auth result
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Success
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Initial desktop size 1024x768
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Pixel format BPP: 32, Depth: 24, Byte order: 1234, True color: 1
Mask red: 255, green: 255, blue: 255
Shift red: 16, green: 8, blue: 0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Display name 'QEMU (golden_env_mixed_virtio_2_2)'
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 14
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Using default colour depth 24 (32 bpp) (true color? 1)
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Set depth color to 24 (32 bpp)
(remote-viewer:7628): gtk-vnc-DEBUG: vnccairoframebuffer.c Surface 1024x768
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Set framebuffer 0x564a9f5cf8d0
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Removed encoding -27
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Sending 13 encodings
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Requesting first framebuffer update
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 0
(remote-viewer:7628): gtk-vnc-DEBUG: vncdisplay.c Initialized VNC server
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Running main loop
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=-259 area (1024x768) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Audio encoding support
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=-258 area (1024x768) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Keyboard mode extended
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Re-requesting framebuffer update at 0,0 size 1024x768, incremental 0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=-257 area (1024x768) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Pointer mode relative
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Re-requesting framebuffer update at 0,0 size 1024x768, incremental 0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (1024x18) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncbaseframebuffer.c Mask local: 255 255 255
remote: 255 255 255
merged: 255 255 255
(remote-viewer:7628): gtk-vnc-DEBUG: vncbaseframebuffer.c Pixel shifts
right: 16 8 0
left: 16 8 0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (1024x18) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (343x29) at location 0,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (343x29) at location 0,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (343x19) at location 0,47
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (343x19) at location 0,47
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (133x13) at location 0,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (133x13) at location 0,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (133x689) at location 0,79
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (133x689) at location 0,79
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (210x702) at location 133,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (210x702) at location 133,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (681x750) at location 343,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (681x750) at location 343,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (1024x18) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (1024x18) at location 0,0
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (343x29) at location 0,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (343x29) at location 0,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (343x19) at location 0,47
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (343x19) at location 0,47
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (133x13) at location 0,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (133x13) at location 0,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (133x689) at location 0,79
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (133x689) at location 0,79
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (210x702) at location 133,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (210x702) at location 133,66
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c FramebufferUpdate type=7 area (681x750) at location 343,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Notify update area (681x750) at location 343,18
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Emit main context 4
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Requesting framebuffer update at 0,0 size 1024x768, incremental 1
(remote-viewer:7628): gtk-vnc-DEBUG: vncconnection.c Read error Resource temporarily unavailable
Adding rhevm and host versions Engine: Red Hat Virtualization Manager Version: 4.1.3.5-0.1.el7 Host: OS Version:RHEL - 7.4 - 17.el7 Kernel Version: 3.10.0 - 514.26.1.el7.ppc64le KVM Version: 2.9.0 - 14.el7 LIBVIRT Version: libvirt-3.2.0-14.el7 VDSM Version: vdsm-4.19.20-1.el7ev Closing as there's no sign of any bug in the logs, I can't reproduce it anywhere, and its highly unlikely that there would be an architecture specific bug in this client side code regardless. |