You are not logged in.
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
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
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
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
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
"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
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
a) what do they say (on average)?
b) just "| grep -iv dropbox" the stuff away
Offline
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
"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
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
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
Thanks. I will try re-enabling gpu acceleration and introducing those kernel parameters.
Last edited by unixthusiast (2019-10-01 16:13:36)
Offline
Disabling HW acceleration did not solve the issue. I am currently testing the suggested kernel parameters.
Offline
Adding "radeon.dpm=0 radeon.aspm=0 radeon.bapm=0 radeon.runpm=0 radeon.audio=0" made it worse. The crash occurred shortly after booting with only a terminal emulator open. I tried only radeon.dpm=0 as suggested in the other post but that makes one of my monitors (I have a dual monitor setup) non-functional. I did not recall this issue when I had a fresh install.
Last edited by unixthusiast (2019-10-01 16:27:41)
Offline
I've seen occasional reports with cards using radeon and newer kernels, maybe give the LTS a shot ?
Offline
Do you by any chance have opencl-mesa installed? If so, uninstall it.
Then go into your LibreOffice options>>> advanced and disable opencl.
Not sure about inkscape, there may be a similar option you can disable.
Then re-install opencl-mesa. If this works, I suggest you NOT try
the opencl interface in LO and Inkscape for a while...
Offline