dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Flickering apps since last update

Open silveiralsv opened this issue 7 months ago • 5 comments

Describe the bug

Since the last update, a few apps like insomnia and Slack are flickering. The same was happening with vscode but for this one, I could fix it by adding the --disable-gpu flag inside the bin file.

I'm running Arch Hyprland with Nvidia, and I saw on their docs that the problem could happen on a few Electron apps that run on Xwayland, but I haven't figured out how to fix it yet.

Do any of you guys run into the same problem and get it fixed?

Steps to reproduce

  1. with a fresh install of hyprland and ml4w dot files open slack or insomnia

Expected behavior

The app sometimes glitches and start flickering

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

silveiralsv avatar May 14 '25 23:05 silveiralsv

Same issue maybe, (just mine is crashing instead), just after the update to (2.9.8.5?). Here are examples of error:

Image Image

Tried to --verbose on vscode, but no good error showed up.

[0515/092220.095663:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.097248:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.097511:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.126733:ERROR:directory_reader_posix.cc(43)] opendir /home/thaun/.config/Code/Crashpad/attachments/b5b0eff1-3b91-42c6-83d9-65df25cc4ac2: No such file or directory (2)

(I don't have NVIDIA, i use: Intel Corporation CometLake-U GT2 [UHD Graphics])

ThomasAunvik avatar May 15 '25 07:05 ThomasAunvik

I have the same problem with vencord but since hyperland don't support nvidia I just kinda live with it.

ArekKubinski avatar May 15 '25 08:05 ArekKubinski

Same issue maybe, (just mine is crashing instead), just after the update to (2.9.8.5?). Here are examples of error:

Image Image

Tried to --verbose on vscode, but no good error showed up.

[0515/092220.095663:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.097248:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.097511:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0515/092220.126733:ERROR:directory_reader_posix.cc(43)] opendir /home/thaun/.config/Code/Crashpad/attachments/b5b0eff1-3b91-42c6-83d9-65df25cc4ac2: No such file or directory (2)

(I don't have NVIDIA, i use: Intel Corporation CometLake-U GT2 [UHD Graphics])

for vscode I just edited the /usr/bin/code file to be

#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/code-flags.conf ]]; then
   CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf | tr '\n' ' ')"
fi

# Launch
exec /opt/visual-studio-code/bin/code "$@" $CODE_USER_FLAGS --disable-gpu

It stoped flickering after that. No success with insomnia/slack tho

silveiralsv avatar May 15 '25 14:05 silveiralsv

Not sure what I can do here. Pretty sure it's not a dotfiles issue.

mylinuxforwork avatar May 15 '25 20:05 mylinuxforwork

Probably it's something with Wayland + Nvidia (even tho I'm using a proprietary driver). I opened this issue because it wasn't happening frequently until the latest ml4w update, and I was hoping someone could help me figure out how to fix it.

Unfortunately I'll need to go to a diff distro, I'm using hyprland for work and it's almost impossible to keep using it with electron apps such as Insomnia because of this issue. I'm not happy with this choice, I had a really good experience and would probably keep using it if this matter hadn't come up 🙃

silveiralsv avatar May 19 '25 01:05 silveiralsv