Comments (10)
Gnome 46 means running on newer gtk (4.14) and libadwaita (1.5) versions.
gtk 4.14 made ngl
the default renderer and that seems like the most likely suspect (see https://gitlab.gnome.org/GNOME/gtk/-/issues/?sort=created_date&state=opened&search=ngl&first_page_size=20)
Maybe follow https://gitlab.gnome.org/GNOME/gtk/-/issues/6574#note_2063669 and set GSK_RENDERER=gl
or to another renderer to test if ngl is the issue (and report issues upstream to the gtk gitlab).
It will be a while before we can seriously look at gtk 4.14 though (probably need to wait until the new versions are available on all platforms
- mac : brew, up to date
- windows : msys, not up to date but seems close
- linux : I'm not sure flatpak runtimes are up to date, debian packages are not on gtk 4.14, and for fedora/ubuntu-based things the latest versions will probably come not sooner than the next release (fedora 40 and next ubuntu lts)
Once this is available we'll be able to look at gtk 4.14 and related issues (and look back on any previous gtk issues and workarounds)
from rnote.
Alright, I did a bit more testing, and it seems to be related to fractional scaling. I usually have fractional scaling set to 1.25x, I still get crashes on 1.5x, but not on 1x, 1.75x, or 2x. but Not sure if it's an upstream bug or not but it seems like it might be.
from rnote.
gtk 4.14 made
ngl
the default renderer and that seems like the most likely suspect (see https://gitlab.gnome.org/GNOME/gtk/-/issues/?sort=created_date&state=opened&search=ngl&first_page_size=20)
Yes, it seems like this is the source of the issue. I'll report this upstream when I have the time to do so.
from rnote.
Maybe follow [..] and set
GSK_RENDERER=gl
I also experienced crashes with the arch community package (fwiw Im using Plasma6/Wayland), and this seems to fix it
from rnote.
Experiencing crashes too when drawing. Probably related to fractional scaling as mentioned above.
Crashing version:
Commit: 25f606dcb4150523065a0167c44f074b31288ae0f40d2cc538c5ecd6c3b7f6c8
Parent: eeb5736a683913857b95ea5fd2dcd8f4cae1acd65aa375cc879623958c9ce9e4
Subject: update to v0.10.2 (#54) (5f9c3581)
Date: 2024-04-06 13:24:35 +0000
Passing version (didn't test versions in-between): This version does not exhibit the crashing issue.
Commit: dc829353acef99cde736910ca4bafcf6ed4ecdb9623056b0d48e043ef7c4254e
Subject: update to `v0.9.4` (#48) (ea975b81)
Date: 2023-12-13 08:51:52 +0000
For anyone looking for a quick fix, install the version that works:
flatpak remote-info --log flathub com.github.flxzt.rnote
flatpak update --commit=dc829353acef99cde736910ca4bafcf6ed4ecdb9623056b0d48e043ef7c4254e com.github.flxzt.rnote
from rnote.
A little extra info, in case it helps.
I'm not using fractional scaling, but am running Ubuntu 24.04 with Gnome 46, and experience the same crashes. Drawing then attempting to zoom or pan often crashes. Drawing and switching to eraser crashes. Takes the entire desktop with it and I have to log back in, having lost any unsaved work in all my apps.
Having the same issue with GIMP crashing when I switch from mouse input to pen input, didn't happen before moving to 24.04 with Gnome 46, so probably the new renderer for sure.
I have not had any crashes with Xournal++ using the pen. rnote and GIMP crash regularly when using the pen. I know, these apps aren't rnote, but I thought it might help in hammering down exactly where the issue is.
from rnote.
Adding a bit more info.
This issue will eventually cause the entire gnome-shell to crash as well.
https://retrace.fedoraproject.org/faf/reports/939439/
from rnote.
Hello,
I also have the same issue. Sometimes the entire app crashes but in more sever cases, the entire Gnome Shell crashes. I am currently on Gnome 46 on Fedora 40 using Wayland. The stylus is some sort of Wacom solution used by Dell.
flatpak run com.github.flxzt.rnote
rnote: ../src/cairo-pattern.c:3831: _cairo_pattern_get_extents: Assertion `status == CAIRO_STATUS_SUCCESS' failed.
from rnote.
A bit more probing found that this issue does not occur for the Brush tool when path modelling is set to simple. Dragging images can still cause crashes.
from rnote.
Hello, I also have the same issue. Sometimes the entire app crashes but in more sever cases, the entire Gnome Shell crashes. I am currently on Gnome 46 on Fedora 40 using Wayland. The stylus is some sort of Wacom solution used by Dell.
flatpak run com.github.flxzt.rnote rnote: ../src/cairo-pattern.c:3831: _cairo_pattern_get_extents: Assertion `status == CAIRO_STATUS_SUCCESS' failed.
Since you're running the flatpak version, your shell crashes are likely caused by this separate bug in Mutter, which has already been patched upstream but has not yet shipped to distributions.
from rnote.
Related Issues (20)
- An icon isn't loading correctly from themes HOT 1
- Lag HOT 5
- Crash when adding new workspace HOT 1
- Missing translations HOT 4
- Moving Capability for Toolbars HOT 1
- Web Frontend HOT 1
- PDF blurry inside rnote HOT 2
- Drawing cursor invisible. HOT 1
- Modified file on disk popup appears under bottom toolbar HOT 3
- Improve PDF `adjust-document` import option to import at view position HOT 3
- change doc-save-symbolic to floppy-disk like icon HOT 2
- Add preset page format setting HOT 1
- Page layout doesnt get fully persisted HOT 1
- Some errors with touch input
- Wacom pen tablet with windows Ink enabled cause pan + zoom to stop working HOT 4
- Can't open the file, shows error message "Opening file failed". Terminal output "Caused by: decompressing bytes failed" HOT 1
- Color Palette Not Showing Colors HOT 1
- Reduce User input Effort for "Reset Zoom to 100%" (e. g. via Keyboard shortcut or Graphics Tablet / Pen Buttons) HOT 1
- tablet's pen buttons not working properly
- Random crash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnote.