[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985769: xwayland: 100% of CPU, The system gets stuck.



I'm using Google Translate, which may not be very good. If additional information is required, I will do my best to provide it.

> Is this using GNOME, or a different Wayland environment?  
GNOME, default environment.

> Which terminal emulator application? 
I'm using the system's default terminal emulator. gnome-terminal? I'm not sure what it's called.
The other terminal simulator, Terminator, doesn't seem to have this problem, I haven't tested it too much.
In order to ensure the validity of the test results, I restart the system before each test.

> So the terminal window's contents are still updating at this point? Is the window still at the original size?
Yes,It's still being updated. The window size will change, but it's a bit delayed.
The original description may not be accurate, the mouse can be moved, you can open a new TAB of this window, 
but you can not operate other places, such as the system toolbar, otherwise the GUI will be completely unresponsive.


 > I'd be interested in more examples, I've been unable to reproduce this so far.
Sometimes this happens when you drag the right scrollbar of QtCreator. Using the mouse wheel to scroll the QtCreator window does not cause this problem
These problems are obvious when the system starts up and seem less likely to occur after a while of use or after a while of waiting.
 
A similar problem has occurred in Thunderbird, which happened unintentionally. I don’t use too many programs.  
I use VMware virtual machine on Win10, which may also be related to the hardware environment.

I recorded the whole process in a GIF animation, the file is about 1.8MB, if necessary, I can provide.

Michel Dänzer <michel@daenzer.net> 于2021年3月23日周二 下午6:57写道:
On 2021-03-23 8:57 a.m., john wrote:
> Package: xwayland
> Version: 2:1.20.10-3
> Severity: important
> X-Debbugs-Cc: guoke.zhao@gmail.com
>
> Dear Maintainer,
>
> The xwayland cpu utilization rate reaches 100%, which often happens.One of the
> reproduction process is as follows:

Is this using GNOME, or a different Wayland environment?


> 1. System boot, open terminal window.

Which terminal emulator application?


> 2. Drag the window so that the mouse pointer touches the right edge of the
> screen,
>    The xwayland cpu usage rate will reach 100% (Especially when the system is
> just started):
>
> 进程号 USER      PR  NI    VIRT    RES    SHR    %CPU  %MEM     TIME+ COMMAND
>    1413 john      20   0 1071740  59244  39136 R 100.0   1.5   0:06.20 Xwayland
>
>   At this point, the mouse is still available, and the terminal is also
> available.

So the terminal window's contents are still updating at this point? Is the window still at the original size?


> 3. Ctrl+D exit the terminal program and the GUI will be completely stuck and
> unusable, but ssh still works.
>
> In addition, many other operations may also cause this problem.

I'd be interested in more examples, I've been unable to reproduce this so far.


--
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer

Reply to: