我找到了这个解决方案animated linear gradient devouring CPU usage 这个技巧将cpu使用率降低到3-5%,这是很棒的。但是当你调整窗口大小时,它会在后台产生一个bug。 我尝试创建resize函数,因为我猜当你调整窗口大小时,width属性会改变,这会导致bug。但这并没有起作用。
to set address.[ 5575.781728] usb 3-5:3-5: Device not responding to set address.
[ 5576.301606] usb 3-5: device not accepting address 104,5577.137411] usb 3-5: Device not responding to set add