-
Notifications
You must be signed in to change notification settings - Fork 102
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
rnbdsh@negateWindow : fills .xsession-errors with 100+ MB of warnings per day #445
Comments
Just tested. Doesn't happen in Mint 19.2 (Cinnamon 4.2.4). Could be a bug or an intentional change in later Cinnamon. |
Interesting, thanks for testing. |
Hi. Thanks for reporting! The update from 0.01 to 0.02 was done, because clutter (the underlying window composer framework, the cinnamon-version of gnomes mutter) added a parameter to a paint function - this sounds very related to your problem. I guess this wasn't fully LTS-backwards-compatible and I also don't think cinnamon-spices are designed to provide different extensions for different versions (no expert here, I just ported over the gnome extension). A possible solution could be:
I'd just wrap it in a @Drugwash2 @stephan-dev what's your clutter versions? |
Not sure which clutter library exactly might be at stake here so here's what I found in Synaptic that relates to that name:
There are also a couple of GStreamer-related clutter libraries but I suspect those are not important to the issue at hand. As far as I can see the versions in 19.2 (Cinnamon 4.2.4) are identical to a 19.3 Mint (Cinnamon 4.4.8) that I am now running in Virtual Box and which exhibits the same behavior reported by the OP. By the way, I'm running the same v0.02 of this extension on both Mint 19.2 and 19.3. Spices can use different code for different Cinnamon versions, just put each However, what I suspect happening here is that Cinnamon lower than 4.4 is silently discarding the function parameter while 4.4 and later - until the version that actually requires it - throw a warning, so the best approach is to use the old v0.01 code for Cinnamon 2.8 to 4.4 (or whatever is the latest that doesn't require a function parameter) and the v0.02 code for all later Cinnamon versions. |
Not sure if I have more to add. How do I get my |
Just a heads up, Cinnamon/muffin has it's own inbuilt version of Clutter/Cogl nowadays. It's no longer even maintained upstream as a separate thing. I think that change happened around Cinnamon 4.0 and probably more changes came when the rebase on upstream Mutter happened. |
@JosephMcc : Any pointers on where exactly to find proper documentation pertaining to such implementations in each specific Cinnamon version? Other than manually combing through the Cinnamon code, of course. |
For Cinnamon you can install the |
Thank you. |
Hi @rnbwdsh, I love this extension which I'm using daily. I'm on old Mint 19.3 LTS (still supported until April 2023). After a long enquiry, I found that Negate Windows was probably the reason why I have hundreds of MB of .xsession-errors logs. 33 times per second, I get this,
Steps to reproduce
tail -f ~/.xsession-errors
=> on my machine, the Warning quoted above appears immediately, 33 times per second.
Apart from these warnings, I didn't notice any other problem, extension works as expected.
I don't know when the problem started, but I've had this crowded logs problem for months.
Before finding the reason why I had these warnings, I found this : https://developer-old.gnome.org/clutter/stable/ClutterOffscreenEffect.html#clutter-offscreen-effect-paint-target. (might be useful for someone who understands this, which I don't)
I don't know why the warning says "expected 0 arguments", but this documentation says
clutter_offscreen_effect_paint_target ()
takes 1 argument :effect
.The text was updated successfully, but these errors were encountered: