Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.21k stars 846 forks source link

Repeatedly Freezing #774

Open AtomicJay opened 1 year ago

AtomicJay commented 1 year ago

As of late, cool-retro-term has been freezing repeatedly on my computer. It will stay frozen until any user input, such as moving the cursor or pressing a key, is provided. It will freeze regardless of whether or not there are text/line updates occurring, but it will freeze a lot more quickly/frequently if there are continuous text/line updates such as when updating packages or using a terminal-based system monitoring application. All of this is demonstrated in the attached video.

This began happening after I had accidentally removed a bunch of packages that were marked as "unnecessary dependencies" by unintentionally pressing enter when looking at all the packages that were listed as being "unnecessary". A bit over a week later I found the identities of all the uninstalled packages in the logs and reinstalled them all, which didn't solve the issue. A list of all the packages that were removed and later reinstalled can be found in the attached file removed.txt.

I had also updated the kernels that I use to 6.0.11 the previous day. I mainly use the linux-xanmod kernel, but have the linux-g14 kernel (a kernel made to run on ASUS ROG laptops) in case the linux-xanmod kernel decides to stop working. I have found that cool-retro-term experiences this issue on both of them.

I have also tried completely uninstalling and reinstalling cool-retro-term, which hasn't helped either.

Lastly, I am unsure of whether or not this is supposed to happen, but running lsof /dev/nvidia0 while cool-retro-term is running shows that cool-retro-term is using the dGPU. I use hybrid graphics and most things use the CPU's integrated graphics, so this came as a surprise to me. I suppose it could be for the benefit of rendering the effects, though.

Additional information:

OS: Arch Linux Display Server Protocol: Wayland CPU: AMD Ryzen 9 5900HS with Radeon Graphics Dedicated GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q Laptop: ASUS ROG Zephyrus G15 GA503QR

removed.txt

https://user-images.githubusercontent.com/84993864/210124791-5c1f67b2-08e9-4c6d-8584-24a7bb4122b2.mp4

31JSON commented 1 year ago

I am having the exact same problem.

OS: Arch Linux x86_64 Kernel: 6.0.12-arch1-1 WM: sway CPU: Intel i9-9900K (16) @ 5.000GHz GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]

AtomicJay commented 1 year ago

@31PNMR

AtomicJay commented 1 year ago

I apologize for my mistake. I am still fairly new to Github.

AtomicJay commented 1 year ago

I am having the exact same problem.

OS: Arch Linux x86_64 Kernel: 6.0.12-arch1-1 WM: sway CPU: Intel i9-9900K (16) @ 5.000GHz GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]

@31PNMR Do you recall around when you noticed it starting and if it was recently after a kernel update?

fishBone000 commented 1 year ago

I found the bug cause, for more info, see: https://bugs.launchpad.net/ubuntu/+source/cool-retro-term/+bug/2013430 To avoid this bug, simply avoid setting FPS to MAX.