Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.28k stars 3.36k forks source link

Text is "ghosting"(?) whenever I scroll. Once I click somewhere, it goes away. (Pop_OS 20.10) #3499

Open MostHated opened 3 years ago

MostHated commented 3 years ago

Hey there, This is a bit strange, but, whenever I scroll the text in the terminal is "ghosting", for lack of a better term. It seems the prior text stays in the last position it was in, just a bit lighter and doesn't clear out fully. Once I click somewhere, it goes away.

The behavior can be seen in the gif below. I will scroll a bit, then click and it clears up. Scroll a bit more, click, etc.

Demonstration ![](https://i.imgur.com/lSXocwj.gif)
System Details Terminus Version: 1.0.134 Platform: linux 5.8.0-7642-generic Plugins: none OS: Pop!_OS 20.10 x86_64 Host: X570 AORUS ELITE -CF Kernel: 5.8.0-7642-generic Shell: zsh 5.8 Resolution: 1920x1080, 2560x1080, 1920x1080 DE: Unity WM: Mutter WM Theme: Adwaita Theme: Pop-dark [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: Terminus CPU: AMD Ryzen 9 3950X (32) @ 3.500GHz GPU: NVIDIA GeForce RTX 2070 Memory: 10367MiB / 64321MiB

Thanks, -MH

Eugeny commented 3 years ago

Does switching between xterm and xterm-webgl frontends make any difference? (frontend change will only affect new tabs)

MostHated commented 3 years ago

It does look like switching from xterm to xterm-webgl has alleviated the symptoms. I am not too familiar with xterm-webgl, are there going to be any known limitations or major differences in terms of functionality or usability of terminal-based applications, such as micro (text editor), or other similar things?

Edit - I do see one right off the bat. When using cointop, items that are highlighted in some way, you can't see the text anymore. That is rather unfortunate. I suppose I would rather deal with the ghosting text than no text, lol.

xterm ![](https://i.imgur.com/SMabEv0.png)
xterm-webgl ![](https://i.imgur.com/YZT5xMs.png)

I also just tested hterm, it is similar to when using xterm, but the ghosting seems to automatically disappear after a few hundred milliseconds when scrolling, but only if the window is focused. If I mouse over the window while another window is focused, the ghosting does not disappear. Seen below, though, I am only scrolling, not clicking at all anywhere.

hterm ![](https://i.imgur.com/pA332q0.gif)
MostHated commented 3 years ago

I just came across this other seemingly related thing. While using xterm-webgl makes the scrolling 'ghosting' go away, it seems to do it when changing tabs, as seen below. As soon as I move the mouse a bit over the window it goes away.

Ghost when changing tabs ![](https://i.imgur.com/2QRpmX3.gif)
stu177 commented 3 years ago

I'm getting the same in Ubuntu 21.04 with version 1.0.139. Changing to xterm-webgl does resolve the ghosting, however causes a lot of broken character issues.

Update:

I've just seen this https://github.com/Eugeny/terminus/issues/3176#issuecomment-740170887 which resolves the issue for me. The background blur effect wasn't working for me in Ubuntu anyways so no big deal. This setting also seemed to cause a bit of slowdown for me in Ubuntu.

fuomag9 commented 3 years ago

I can confirm that the fix proposed from @stu177 works as well, but I'd love to keep the acrylic background enabled! (xterm-webgl has issues for me too unfortunately)

MostHated commented 3 years ago

I just saw this and gave it a go, it looks like it does work, but is rather unfortunate that you have to lose the acrylic background. It was a really nice touch that I quite liked, but at the same time, I could not stand that ghosting text so much that I had to stop using Terminus altogether (on Linux, but still use it on my Windows work pc's). I will definitely accept the loss of the acrylic in order to be able to use Terminus again. :+1:

Eugeny commented 3 years ago

Can you also try setting the opacity value in the config to below ~zero~ one? While transparency itself may or may not work depending on the WM, it will force software rendering on Linux which might alleviate ghosting.

MostHated commented 3 years ago

Do you mean test negative opacity with the acrylic on?

Eugeny commented 3 years ago

My bad - should be "below one". Yes - set it to 0.99, enable acrylic and fully restart the app.

MostHated commented 3 years ago

That does seem to be ok as far as the ghosting goes. I am not seeing it. Though, while it changed the overall appearance of the window to look a bit more "normal" compared to disabling acrylic altogether, it looks like the opacity setting overtakes the overall "acrylicness".

JokerQyou commented 2 years ago

It's very strange. I have the same issue, but with xterm-webgl. Changing opacity or disabling acrylic does not help, but switching back to xterm fixed it for me.

Eugeny commented 2 years ago

There's a new option to disable GPU acceleration altogether in Settings -> Window - give it a try!

MostHated commented 2 years ago

I don't seem to have the ghosting issue anymore, with or without GPU accel, but if say, I do a ls command in a folder with a decent amount of items, some of the text characters will seemingly randomly overlap. If I slightly resize the window it will then straighten out. Well, that and the opacity adjustment, unfortunately, has no effect regardless of what I set it to, and its too low with the setting that it is using, so I just had to turn acrylic off, which is a shame as it makes the top bar blue instead of black. That might just be a theme adjustment, though, have not really looked into it, as the character overlapping is overpowering enough that I just frustrated and just close it. : (

JokerQyou commented 2 years ago

...but if say, I do a ls command in a folder with a decent amount of items, some of the text characters will seemingly randomly overlap.

That's exactly the issue I was having. Disabling GPU acceleration indeed fixed it for me (at least for now). The most strange part is that I have two machines running both the same version of Manjaro, and their DE settings and tabby settings are almost identical, but only one of them had this issue. So it's one of the the integrated GPUs to blame, I guess.

MostHated commented 2 years ago

Unfortunately, that didn't seem to help any on my end. You can see here, I have GPU disabled (I made sure to close it completely and reopen), then when I ran my update command, you can see where I point with the mouse the characters are still goofed until I resize.

porkcraft commented 7 months ago

For me, enabling Disable GPU Acceleration fixed it completely.