Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] AGS bar and widgets crashing on interaction #708

Closed
sametaor opened this issue Jul 26, 2024 · 26 comments
Closed

[Issue] AGS bar and widgets crashing on interaction #708

sametaor opened this issue Jul 26, 2024 · 26 comments

Comments

@sametaor
Copy link


The issue

AGS bar and widgets crash upon any sort of interaction, whether it is the sidebar, color picker or on-screen keyboard.

Expected behaviour:

AGS and its widgets remain intact on the screen, regardless of the amount of interactions.

Actual behaviour:

AGS and its widgets crash upon interacting with any module on the ags bar or its subcomponents.

Steps to Reproduce:

  1. Start ags as usual
  2. Click on the sidebar to open it once.
  3. Close the sidebar by clicking outside it.
  4. Repeat Steps 2 and 3 once again.
  5. Ags crashes and needs to be restarted again.
Logs
Gjs-Console-Message: 11:16:04.076: [LOG] Styles loaded
gjs: ../cairo/src/cairo-surface.c:962: cairo_surface_destroy: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
[1]    3455 IOT instruction (core dumped)  ags
@sametaor sametaor changed the title [Issue] [Issue] AGS bar and widgets crashing on interaction Jul 26, 2024
@FrancescoCaracciolo
Copy link

I also have the same problem

@Biaogo
Copy link

Biaogo commented Jul 26, 2024

+1

@Sakurapole
Copy link

I also met this problem. It seems to have appeared after I updated the system.

@Kalidude69
Copy link

same problem i thought only me .....
this happens randomly ....this is just an example of launching a qt application which leads to crash

Gjs-Console-Message: 18:49:48.623: [LOG] Styles loaded
Qt WARNING: QApplication: invalid style override 'kde' passed, ignoring it.
	Available styles: qt5ct-style, Windows, Fusion
gjs: ../cairo/src/cairo-surface.c:962: cairo_surface_destroy: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
fish: Job 1, 'ags' terminated by signal SIGABRT (Abort)

@DeadSurfer
Copy link

gjs: ../cairo/src/cairo-surface.c:962: cairo_surface_destroy: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
fish: Job 1, 'ags' terminated by signal SIGABRT (Abort)

@end-4
Copy link
Owner

end-4 commented Jul 26, 2024

does using an old version of hyprland fix it
(whatever tagged version, before wlroots rewrite)

@beilusm
Copy link

beilusm commented Jul 26, 2024

It happened the same after my arch Linux update

@Kalidude69
Copy link

does using an old version of hyprland fix it (whatever tagged version, before wlroots rewrite)

hyprland now uses aquamarine as backend ... let me check to see what happens

@sametaor
Copy link
Author

does using an old version of hyprland fix it (whatever tagged version, before wlroots rewrite)

I think it still worked until yesterday night, even with the aquamarine backend. It only occurred today morning, so it was most likely because of the latest update so far. For now, I am reinstalling the dots from the bash script again on a fresh install just to check if it works.

@Kalidude69
Copy link

does using an old version of hyprland fix it (whatever tagged version, before wlroots rewrite)

I think it still worked until yesterday night, even with the aquamarine backend. It only occurred today morning, so it was most likely because of the latest update so far. For now, I am reinstalling the dots from the bash script again on a fresh install just to check if it works.

yes it did work properly ... just today morning when I updated hyprland-git 0.41.2.r98.33a5c8ce-1 the issues are happening ... i even tried installing aylur-ags-git (ik both are the same building from source)....still the issue exists

@sametaor
Copy link
Author

does using an old version of hyprland fix it (whatever tagged version, before wlroots rewrite)

I think it still worked until yesterday night, even with the aquamarine backend. It only occurred today morning, so it was most likely because of the latest update so far. For now, I am reinstalling the dots from the bash script again on a fresh install just to check if it works.

yes it did work properly ... just today morning when I updated hyprland-git 0.41.2.r98.33a5c8ce-1 the issues are happening ... i even tried installing aylur-ags-git (ik both are the same building from source)....still the issue exists

Alright, please do lemme know the results you find otherwise, I can't really afford to reinstall it all again 😅

@Kalidude69
Copy link

Kalidude69 commented Jul 26, 2024

does using an old version of hyprland fix it (whatever tagged version, before wlroots rewrite)

I think it still worked until yesterday night, even with the aquamarine backend. It only occurred today morning, so it was most likely because of the latest update so far. For now, I am reinstalling the dots from the bash script again on a fresh install just to check if it works.

yes it did work properly ... just today morning when I updated hyprland-git 0.41.2.r98.33a5c8ce-1 the issues are happening ... i even tried installing aylur-ags-git (ik both are the same building from source)....still the issue exists

Alright, please do lemme know the results you find otherwise, I can't really afford to reinstall it all again 😅

ok so after testing for a bit of time .... it seems there are some problems with hyprland as per @end-4 referenced... I switched to non git branch of hyprland and hyprutlis ...seems to be stable no crashing yet .... but as soon i shift to the git branch frequent crashing comes up ....
the versions are referenced below
hyprland 0.41.2-3
hyprutils 0.2.0-1.1
aylurs-gtk-shell-git 1.8.2.r10.g344ea72-1 Note only ags is on the git branch

@Euroysx
Copy link

Euroysx commented Jul 26, 2024

same issue, any feedback ??

@DeadSurfer
Copy link

DeadSurfer commented Jul 26, 2024

Aylur/ags#522
hyprwm/Hyprland#7043

@beilusm
Copy link

beilusm commented Jul 27, 2024

So the issue is because of hyprland, not dots-hyprland or ags

@Kalidude69
Copy link

yes

@XMinty77
Copy link

Hello! I'm a completely new Arch Linux user. I found this and thought it's quite neat, so I'm trying it out. I have encountered the problems mentioned in this issue, so I came here to look for a fix. A post above mentions downgrading releases works, so I removed hyprland-git and hyprutils-git and reinstalled them with pacman. However, I had to remove a bunch of packages that depend on them, and reinstall them. One of these is illogical-impulse-widgets, but I encountered a problem with this one specifically: I couldn't reinstall it because it depends on hyprutils-git, hyprlock-git and hypridle-git, which in turn depend on hyprland-git and hyprutils-git. For the record, I'm totally green at this, I went to the cache directory where the Git repo was cloned, and tried to pacman -U the built package file. That of course didn't work, so I edited the PKGBUILD file myself, changed the dependencies, then rebuilt/reinstalled. Is this a sane thing to do? What other information should I be aware of? I'm very sorry if this isn't an appropriate place to ask, but I can't think of anywhere else. Insights would be greatly appreciated, thank you!

@Biaogo
Copy link

Biaogo commented Jul 27, 2024

Hello! I'm a completely new Arch Linux user. I found this and thought it's quite neat, so I'm trying it out. I have encountered the problems mentioned in this issue, so I came here to look for a fix. A post above mentions downgrading releases works, so I removed hyprland-git and hyprutils-git and reinstalled them with pacman. However, I had to remove a bunch of packages that depend on them, and reinstall them. One of these is illogical-impulse-widgets, but I encountered a problem with this one specifically: I couldn't reinstall it because it depends on hyprutils-git, hyprlock-git and hypridle-git, which in turn depend on hyprland-git and hyprutils-git. For the record, I'm totally green at this, I went to the cache directory where the Git repo was cloned, and tried to pacman -U the built package file. That of course didn't work, so I edited the PKGBUILD file myself, changed the dependencies, then rebuilt/reinstalled. Is this a sane thing to do? What other information should I be aware of? I'm very sorry if this isn't an appropriate place to ask, but I can't think of anywhere else. Insights would be greatly appreciated, thank you!

Old versions of non-AUR packages can be found in the archive. For old versions of AUR packages, you should go to the package's git repository, select an older commit, and manually compile and install it. If you want to install an old version from the AUR, you'll need to manually modify the source code URL and checksums in the PKGBUILD file. I have a repository where I previously compiled an old version of hyprland-git, which you can temporarily use until the issue is fixed.

For local or remote installation packages, you only need to download hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst and install it using either pacman -U hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst for a local file, or pacman -U https://github.com/Biaogo/neko-repository/blob/main/x86_64/hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst for the remote file.

@omarbhl
Copy link

omarbhl commented Jul 27, 2024

Had the same issue just fixed it, the issue lies with the hyprland-git package, just make a backup for the config files before removing it sudo pacman -Rns hyprland-git after removing it i installed the hyprland package sudo pacman -S hyprland then ran pacman -Qs hyprland to check.
So far its working fine no crashes are happening with the bar and its seems that everything is stable.

@XMinty77
Copy link

Hello! I'm a completely new Arch Linux user. I found this and thought it's quite neat, so I'm trying it out. I have encountered the problems mentioned in this issue, so I came here to look for a fix. A post above mentions downgrading releases works, so I removed hyprland-git and hyprutils-git and reinstalled them with pacman. However, I had to remove a bunch of packages that depend on them, and reinstall them. One of these is illogical-impulse-widgets, but I encountered a problem with this one specifically: I couldn't reinstall it because it depends on hyprutils-git, hyprlock-git and hypridle-git, which in turn depend on hyprland-git and hyprutils-git. For the record, I'm totally green at this, I went to the cache directory where the Git repo was cloned, and tried to pacman -U the built package file. That of course didn't work, so I edited the PKGBUILD file myself, changed the dependencies, then rebuilt/reinstalled. Is this a sane thing to do? What other information should I be aware of? I'm very sorry if this isn't an appropriate place to ask, but I can't think of anywhere else. Insights would be greatly appreciated, thank you!

Old versions of non-AUR packages can be found in the archive. For old versions of AUR packages, you should go to the package's git repository, select an older commit, and manually compile and install it. If you want to install an old version from the AUR, you'll need to manually modify the source code URL and checksums in the PKGBUILD file. I have a repository where I previously compiled an old version of hyprland-git, which you can temporarily use until the issue is fixed.

For local or remote installation packages, you only need to download hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst and install it using either pacman -U hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst for a local file, or pacman -U https://github.com/Biaogo/neko-repository/blob/main/x86_64/hyprland-git-0.41.2.r13.4d6f96f7-1-x86_64.pkg.tar.zst for the remote file.

Ohhh I see. Makes sense. Thank you so muuuuch :D

@end-4
Copy link
Owner

end-4 commented Jul 27, 2024

Had the same issue just fixed it, the issue lies with the hyprland-git package, just make a backup for the config files before removing it sudo pacman -Rns hyprland-git after removing it i installed the hyprland package sudo pacman -S hyprland then ran pacman -Qs hyprland to check. So far its working fine no crashes are happening with the bar and its seems that everything is stable.

reinstalling hyprland doesn't mess with your config files, so no need to backup

@end-4
Copy link
Owner

end-4 commented Jul 27, 2024

I'm not going to upgrade Hyprland until it gets more stable and gets proper releases
Generally, I don't recommend updating Hyprland unless you specifically want a new feature/fix

@DeadSurfer
Copy link

hyprwm/Hyprland@daed752

@FrancescoCaracciolo
Copy link

FrancescoCaracciolo commented Jul 29, 2024

hyprwm/Hyprland@daed752

This totally fixed it, on latest hyprland-git everything seems to be fine

@Sakurapole
Copy link

hyprwm/Hyprland@daed752

This totally fixed it, on latest hyprland-git everything seems to be fine

yes, in latest hyprland-git, they fixed this problem, I have been using it all day.

@sametaor
Copy link
Author

sametaor commented Aug 2, 2024

The issue's solved for me too, closing it.
Thank you to end-4 and everyone involved! Cheers :)

@sametaor sametaor closed this as completed Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests