Skip to content
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

Qubes-OS 4.1.2 freeze/stutter/stops at random times when a specific usb-mouse is used #8214

Closed
loneicewolf opened this issue May 15, 2023 · 12 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: usb proxy eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@loneicewolf
Copy link

How to file a helpful issue

Qubes OS release

  • Qubes-OS 4.1.2

Brief summary


  • ⚠️ First Words ⚠️
    This will maybe not be the most "perfect" bug/report issue, I write this mainly because of 2 reasons:
  1. I had this problem for quite a while, and even stopped using Qubes temporarily.
  2. I stumbled upon a workaround/solution, and that was for me simply speaking just to use another kind of usb mouse. (Details is typed later, below)

to write this to be short, easy to read and "clean" I will first type what I did before I stumbled upon a "workaround" or "solution" to this:

I did find these

Where one suggested that one should try to install kernel-latest (I assume, this is in UEFI-Installations? as I do not really know any way to "install kernel-latest" (at least not via gui which, I think he in the link(s) above suggested)).

I thought of trying this, but I stumbled upon the (workaround, or solution) by accident, specifically - I unplugged my razer mouse(which is, a trinity-moba, it has buttons(re programmable) on the (swappable)sides of it.) so it basically can act as a keyboard. This brought me to the theory/thought that - maybe this Qubes release specifically (because it worked before) is probably getting confused on the Razer Mouse. Maybe about "Is it a keyboard OR a mouse?", it kind of is both.

⚠️ Note, this is just a thought. Why did I write it if I am not sure ? I want to make it easier to nail down what causes this.

Steps to reproduce

when making this issue I assumed I was not alone, so:
insert a Razer Mouse ( trinity-moba ) in the latest Qubes, and it will begin after a few seconds, to cause lag. What kind of lag? well, freezes, stutters, delays, in.. Everything? keyboard types, mouse movements, even audio.

Unplugging the razer mouse immediately removes the stuttering, the audio works flawless, everything is as smooth as other qubes releases.

Expected behavior

No freeze/lag when using a razer mouse (trinity moba)
Just like the other, previous Qubes Releases where both of the usb hardware(mouse,...) worked.

Actual behavior

freezing seconds after a razer mouse (trinity moba) is inserted in any usb port.

⚠️ Last Words

As this is my first issue here, I have tried to follow all the guidelines, I am sleep deprived when writing this (so please point out any confusing words or phrases) I just wanted to write this; the best I could, for others who might have this as well. It can be a good thing to try, to swap USB equipment(maybe, keyboard? for me it was a usb mouse anyway)

Thanks, and have a Great continuing day!

Will.

@loneicewolf loneicewolf added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels May 15, 2023
@loneicewolf
Copy link
Author

loneicewolf commented May 15, 2023

⚠️ Please note:

  • I am not sure if this is a "bug" or not (it really do seem like a bug, since it worked before, and now doesn't work) - so, this is why I chose the "bug" type of issue.
  • I am not entirely sure if this is a duplicate or not, since, I do find results, which in a very broad way, mimics the issue I have, but I have never found anything, directly like this issue.

❗ In case it was too long/fuzzy, I will try (for those who find it hard to read) to summarize it very shortly below:

Qubes 4.1.2 starts to randomly-delay/stutter/freeze(..) most things, including (but is not lim. to) the following:

  • mouse movement
  • keyboard-typing
    • for example, continuously holding the 'a' key in any TTY should just spam 'a's, but in this case it
      in-continuously spams 'a's, like, it maybe sends 3 a's, and then 2 a's, after some second, and it repeats like this)
  • window dragging, even Audio)**

when I use a specific usb-mouse (namely a razer-trinity-moba) - checking/unchecking the "Auto Accept USB [ ] (..)" doesn't make any different when installing. It worked flawlessly before.

Switching the mouse makes it work flawlessly. In my case, switching to a Logitech mouse "solved" it.


Second, if I can improve it in any way, Point it out directly!
Thanks. and sorry for any fuzzy writing.

@andrewdavidwong andrewdavidwong added hardware support C: usb proxy needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels May 15, 2023
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone May 15, 2023
@loneicewolf
Copy link
Author

some notes & further contribution related questions


If I can help:

If I can be helpful/useful in any way, tell me that directly, what I mean by that is, for example including but not lim. to the below:

  • run any script/tool/command (and I suppose paste the output of it)
  • provide any logs, or more details
  • re-write/summarize the whole previous post(s)
  • provide more docs/things I tried/and searched for; and/or any site I might did find useful at the time

and No rush by the way, I myself know bug "hunting" and narrowing down takes time, not to mention you guys work on other more vital areas, and so on. (this is also the very reason I post this reply)

❤️ take care! Wishes from Sweden!

@RichardStr
Copy link

I have the same problem with 4.2 (fresh installation)

Interesting here is, that restart sys-usb fixes the issue for some time.

@loneicewolf
Copy link
Author

I have the same problem with 4.2 (fresh installation)

Interesting here is, that restart sys-usb fixes the issue for some time.

Hey! Thanks for the reply, nice to know that..

  • I am not alone(simply of not being alone)
  • I am not alone(as in this issue was worth making after all, as in it wasn't just on my end)

I'll watch this closely, ping/contact me if any questions or update appears.

@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
@RichardStr
Copy link

RichardStr commented Aug 15, 2023

I solve this issue completely with raising inital memory from default 400mb to 600mb and vpcu to 3
on sys-usb qube.

Seems it is a performance / ressource issue in my case. I hope it helps. ;)

@loneicewolf
Copy link
Author

I solve this issue completely with raising inital memory from default 400mb to 600mb and vpcu to 3 on sys-usb qube.

Seems it is a performance / ressource issue in my case. I hope it helps. ;)

Thanks for replying! will try it on my end and see if it works.

@loneicewolf
Copy link
Author

tested it and it didn't work at my end but I maybe did something wrong, will reinstall yes. I will try to re install and re try that trick :)

@loneicewolf
Copy link
Author

Update:

It didn't work for me;

@loneicewolf
Copy link
Author

Still relevant, +2023 September.

@marmarek
Copy link
Member

can you check kernel messages in sys-usb? Open terminal there and call sudo dmesg. Especially see if you see a ton of control queue full messages. If so, it's the same issue as #7953

@loneicewolf
Copy link
Author

can you check kernel messages in sys-usb? Open terminal there and call sudo dmesg. Especially see if you see a ton of control queue full messages. If so, it's the same issue as #7953

Hi! will do when I come home! :)

@andrewdavidwong andrewdavidwong added eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Dec 7, 2024
Copy link

github-actions bot commented Dec 7, 2024

This issue is being closed because:

If anyone believes that this issue should be reopened, please leave a comment saying so.
(For example, if a bug still affects Qubes OS 4.2, then the comment "Affects 4.2" will suffice.)

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: usb proxy eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

4 participants