New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 25 Gnome HVM mouse doesn't work, HVM window moves by itself around screen #2559

Closed
dmoerner opened this Issue Jan 6, 2017 · 12 comments

Comments

Projects
None yet
4 participants
@dmoerner

dmoerner commented Jan 6, 2017

This is definitely some sort of bug in the version of GNOME shipped in F25, but it might also have something to do with Xen or Qubes.

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

HVM started with Fedora-Workstation-Live-x86_64-25-1.3.iso

Expected behavior:

I start an HVM with the Fedora-Workstation-Live-x86_64-25-1.3.iso. The mouse should seemlessly move around inside the window of the HVM as it's running. This is what happens on Fedora-KDE-Live, on Fedora-Workstation-Live-x86_64-24-1.2.iso, and on any other LiveCD with X. (Other than Korora 25 Gnome, which for obvious reasons seems to be afflicted by the same bug.)

Actual behavior:

It's a bit hard to explain, but the HVM window jumps around as I move my cursor. It doesn't follow my cursor, as if I were using alt+drag. Instead it jumps diagonally as I move my cursor, and then if I move my cursor back the HVM window jumps back. This makes it impossible to shutdown the HVM from within, since I can't reliably click inside the HVM. I have to kill the HVM from Qubes VM Manager.

General notes:

This seems like some sort of a bug in the version of GNOME shipped with Fedora 25. Can anyone else reproduce it? (I don't have a non-Qubes Xen to test on right now.)

It's a little bit weird that a bug here can cause the window to move around the screen and interfere with my ability to click on other appVMs. Why should anything but my actions in dom0 move a window around like this? I'm being a bit paranoid here, but I can imagine a kind of Denial of Service attack that tries to take advantage of this behavior. If you could make an entire window progressively move very fast over the entire screen, it would be hard if not impossible to click on or use any other appVMs.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 8, 2017

Member

The bug is in Qubes gui-agent running in stubdomain (the thing transfering emulated VGA into dom0 for displaying). It confuses mouse position with window position and when sending new screen size to dom0 (like on resolution change requested by the OS inside) it sends mouse position instead of window position...

Independently interesting is why it sees "resolution change" even though it's still the same (1024x768). But that's another story.

Member

marmarek commented Jan 8, 2017

The bug is in Qubes gui-agent running in stubdomain (the thing transfering emulated VGA into dom0 for displaying). It confuses mouse position with window position and when sending new screen size to dom0 (like on resolution change requested by the OS inside) it sends mouse position instead of window position...

Independently interesting is why it sees "resolution change" even though it's still the same (1024x768). But that's another story.

@dmoerner

This comment has been minimized.

Show comment
Hide comment
@dmoerner

dmoerner Jan 8, 2017

Great, thanks for the quick diagnosis and patch.

dmoerner commented Jan 8, 2017

Great, thanks for the quick diagnosis and patch.

marmarek added a commit to marmarek/old-qubes-vmm-xen that referenced this issue Jan 8, 2017

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 8, 2017

Automated announcement from builder-github

The package xen-4.6.3-25.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.3-25.fc25 has been pushed to the r3.2 testing repository for the Fedora fc25 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 8, 2017

Automated announcement from builder-github

The package xen-4.6.3-25.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.3-25.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 8, 2017

Automated announcement from builder-github

The package xen-4.6.3-25.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.3-25.fc23 has been pushed to the r3.2 testing repository for the Fedora fc23 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 8, 2017

Automated announcement from builder-github

The package xen-4.6.3-25.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.3-25.fc24 has been pushed to the r3.2 testing repository for the Fedora fc24 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r3.2-current-testing

Changes included in this update

@dmoerner

This comment has been minimized.

Show comment
Hide comment
@dmoerner

dmoerner Jan 8, 2017

Thanks, the updated packages in testing fixed the problem for me! (And thanks for auto-building for fc25 as well.)

dmoerner commented Jan 8, 2017

Thanks, the updated packages in testing fixed the problem for me! (And thanks for auto-building for fc25 as well.)

marmarek added a commit to marmarek/old-qubes-vmm-xen that referenced this issue Jan 9, 2017

@dmoerner

This comment has been minimized.

Show comment
Hide comment
@dmoerner

dmoerner Feb 18, 2017

Someone in IRC ("grillon") was able to reproduce this with sway on an Arch Linux hvm, so it seems part of the underlying trigger for this bug was wayland.

Someone in IRC ("grillon") was able to reproduce this with sway on an Arch Linux hvm, so it seems part of the underlying trigger for this bug was wayland.

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Feb 20, 2017

Automated announcement from builder-github

The package xen-4.6.4-25.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.4-25.fc23 has been pushed to the r3.2 stable repository for the Fedora fc23 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Feb 20, 2017

Automated announcement from builder-github

The package xen-4.6.4-25.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.4-25.fc24 has been pushed to the r3.2 stable repository for the Fedora fc24 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Feb 20, 2017

Automated announcement from builder-github

The package xen-4.6.4-25.fc25 has been pushed to the r3.2 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.4-25.fc25 has been pushed to the r3.2 stable repository for the Fedora fc25 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Feb 20, 2017

Automated announcement from builder-github

The package xen-4.6.4-25.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Automated announcement from builder-github

The package xen-4.6.4-25.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Apr 2, 2017

Closed

vmm-xen v4.8.0-2 (r4.0) #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment