You are not logged in.

#1 2019-09-09 15:00:42

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Crashes when running Inkscape and Libreoffice

I have the same Arch configuration on different  desktops and they run great with one exception. My Dell Optiplex crashes (screen goes dark, I have to press power off button to restart) when  I run  Inkscape and sometimes with Libreoffice. The crash is not immediate but happens randomly while using the program. 

What I have tried so far:
- I  checked  RAM integrity and it was fine.  Given that the problem is so localized to these apps it is not likely a faulty hardware issue.
- I installed graphic drivers for the GPU. (output of lspci: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XT [Radeon HD 7470/8470 / R5 235/310 OEM] )
- I run Inkscape as a flatpack, it still crashes.

Inkscape is important for my work, so this is a critical issue. I would like some help trying to troubleshoot this further (e.g., what logs to look at or create to identify the specific cause of the crash)

Thanks.

Offline

#2 2019-09-09 15:59:25

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

Please elaborate on "crash" - how does that manifest?
Can you still change the VT? ssh into the machine? Zap the X11 server (assuming it's not wayland, the next important thing)

https://wiki.archlinux.org/index.php/Ge … leshooting
Try to export LIBGL_ALWAYS_SOFTWARE=1 and LIBGL_DRI3_DISABLE=1
Post your journal and Xorg log (unless wayland session)

Offline

#3 2019-09-09 16:50:13

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Crash:
- Screen goes dark but music continues to sound through headphones.
- Programs still seem responsive (e.g. if I type something into an open text file and save it)
- Cannot change to other TTYs (screen remains dark)
- sshd is not running so I cannot try to ssh in it. 
- I don't recall trying  to kill the WM and thus X11 (I will try next time it happens)

I added those two suggestions to my ~./profile. I also should note that the crash seems like it could happen without using the indicated programs, although those are the ones where it occurs more frequently (in particular Inkscape).

Here are logs right after a crash:
- Xorg log
- The journalctl -xb log is 5.2 Mb, any advise on how to share this file or reduce its size (too large for pastebin)?

Last edited by unixthusiast (2019-09-09 16:58:33)

Offline

#4 2019-09-09 16:54:25

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

Strip the "-x", it just adds cluttering nonsense.

Edit: you're running the modesetting driver on apparently an radeon chip, try https://www.archlinux.org/packages/extr … video-ati/
Also nb. that exporting those variables globally will disable dri3 and resort to software rendering for *ALL* applications.

Last edited by seth (2019-09-09 16:56:59)

Offline

#5 2019-09-09 17:05:42

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Thanks. I installed that graphics driver and hopefully that will work. I attempted this in the past but perhaps I installed the wrong driver or a I installed that driver and then uninstalled it after the issue remained. I did not find any other ati driviers installed in my  system.  Regarding the journalctl, running only with -b makes the file even larger.

Offline

#6 2019-09-09 17:19:58

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

"sudo journalctl -b" should™ be at best 1/3 of "sudo journalctl -b -x"
If the file keeps growing at an enormous pace, something is yelling errors fast. Look at the journal on whether something sticks out.

Offline

#7 2019-09-09 18:31:01

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Indeed 90% of the lines in `journalctl -b` belong to Dropbox. This program works as expected, but maybe the logging is in debug mode or there is some non-critical issue. The program does not seem to have any run time options  (I might try installing dropbox-cli).

Offline

#8 2019-09-09 18:41:23

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

a) what do they say (on average)?
b) just "| grep -iv dropbox" the stuff away

Offline

#9 2019-09-09 19:12:30

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Here is the journal log with the dropbox lines greped out.
This also seems to point at issues I have been having with mpd (after installing CUPS my clients cannot connect to mpd and nothing I tried fixed it, but I guess that is likely the topic of another post).

Here are the top 1000 dropbox lines. I am not sure how to interpret this one, it seems that dropbox might be constantly dying and restarting?

Offline

#10 2019-09-09 19:22:11

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

"systemctl status dropbox@sg", but that's for another thread.

There's also some hyperactive mpd client (probably some script recursing on mpc to poll mpd?) but no indication for GPU issues.
"sudo journalctl -b -1"? (If there was an incident on the last boot)

Offline

#11 2019-09-09 19:48:41

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Indeed the output of "sudo journalctl -b -1" seems to point at some issue with the radeon gpu. Here is the relevant part. I should say this crash occurred before I installed the drivers you mentioned above.

Offline

#12 2019-09-10 07:01:16

seth
Member
Registered: 2012-09-03
Posts: 12,290

Re: Crashes when running Inkscape and Libreoffice

https://bbs.archlinux.org/viewtopic.php?id=225371

Meh.
Try "radeon.dpm=0 radeon.aspm=0 radeon.bapm=0 radeon.runpm=0 radeon.audio=0" - obviously w/o disabling HW acceleration (esp. if the latter prevents the issue)

Offline

#13 2019-09-10 19:27:43

unixthusiast
Member
Registered: 2019-09-09
Posts: 7

Re: Crashes when running Inkscape and Libreoffice

Thanks. I will try re-enabling gpu acceleration and introducing those kernel parameters parameters.

Offline

Board footer

Powered by FluxBB