Results 1 to 9 of 9

Thread: KDE My entire PC crashes whenever I run a GTK app for long enough

  1. #1

    Exclamation KDE My entire PC crashes whenever I run a GTK app for long enough

    I had this problem on 42.3 but hoped it would be gone after I fresh-installed Leap 15. The issue is simple: I open up a GTK app (such as LibreOffice 5 in the GTK UI or Inkscape), use it for even up to several hours, then my mouse cursor freezes, my screen freezes, my entire computer freezes, and I have to hold down the power button for five seconds to reboot it. Seriously--not even Magic SysRq + REISUB works. This bug kind of ruins my workflow since Inkscape is my go-to vector illustrator, and I'm sure I'm not alone. Thank you so much for your help!

    PC specs if they help:

    HP 15t laptop (2014)
    Intel Pentium N3540 w/ Intel HD Graphics
    4GB DDR3-1333 RAM

    I'm using BtrFS for the root partition and XFS for the home partition.
    Thanks,
    DWW256

    "I should really think of a better quote to put here. ¯\_(ツ)_/¯" -DWW256

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    4GB RAM is not a lot of RAM to start with if you're running kDE or Gnome.

    So, for starters, I'd recommend you install one of the following Desktop environments before you open LibreOffice and/or Inkscape.
    XFCE
    LXDE
    LXQt

    Running one of the above Desktops will lessen the amount of RAM allocated to Desktop "features" but will still not give you much room for running applications... I recommend running only one major application at a time, close all others. A few more running apps might be possible if they're "light weight."

    You can also determine what ultimately causes your system to freeze by running the following command and reading the last few lines, but unless you install more RAM or set up a swap at least 8GB (which would still result in poor performance but hopefully no freezing),
    Code:
    journalctl -b -1
    IMO,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,056
    Blog Entries
    14

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    Quote Originally Posted by tsu2 View Post
    4GB RAM is not a lot of RAM to start with if you're running kDE or Gnome.
    According to specs ( and experience ) this is nonsense. Of course more RAM is always better, but 4 GB is by far enough for a good KDE or GNOME experience. When will this FUD about heavy-weight desktops stop?

    @OP: My guess is it's your messing with the themes. Installing GNOME themes won't work for GTK apps in KDE, you need the gtk engines.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    Quote Originally Posted by Knurpht View Post
    According to specs ( and experience ) this is nonsense. Of course more RAM is always better, but 4 GB is by far enough for a good KDE or GNOME experience. When will this FUD about heavy-weight desktops stop?
    Agreed. In fact, I have consistently found openSUSE runs just fine in LESS THAN 2 GB, up to and including the latest versions.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    <shrug>

    It's not just running KDE.
    It's what the @OP says he was doing as well.
    The Libreoffice suite open.
    Using Inkscape to edit graphics which depending on the image and what's done to it can be <very> demanding.
    Not closing unused apps.
    And, there may be other typical apps open... like web browser tabs and windows, email, etc.

    When I hear "long running app" I also suspect apps which aren't often used being pushed to memory buffers (out of active memory) and then being retrieved when suddenly activated again.

    All of which I'd consider not atypical.
    So, I consider 4GB possibly adequate if the User is very careful with resources, but the more apps that are opened the OS can be pushed to juggling more than the system can respond reliably.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    Quote Originally Posted by tsu2 View Post
    <shrug>

    It's not just running KDE.
    It's what the @OP says he was doing as well.
    The Libreoffice suite open.
    Using Inkscape to edit graphics which depending on the image and what's done to it can be <very> demanding.
    Not closing unused apps.
    And, there may be other typical apps open... like web browser tabs and windows, email, etc.
    Teehee. Okay, but I have done all of the above at once on those machines without running into a crash, all on really old machines, early 64-bit.

    Yep, I have moved the slowest machines to Xfce to gain speed, snappier operation. But this is after they were running in KDE just fine (only, a bit more sluggish).

    Of course, since the move to Plasma 5, I have now switched all machines to Xfce. But, the original motivation for that was not to get a lighter desktop. It was, instead, giving a rude hand gesture to the upstream KDE people for removing my most useful options and for stubbornly ignoring me and all the other users who complained.
    Last edited by Fraser_Bell; 03-Aug-2018 at 19:05.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  7. #7

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    So the problem actually happened again today, with only Falkon and a few other apps that I don't think are GTK open. The other day, it also happened while I was trying out Voxelands, which I don't think uses any toolkit at all.

    Regarding potential RAM issues, is it even possible to install openSUSE without creating a swap partition? Would it be possible to check if I have one and add one without booting from a live CD?
    Thanks,
    DWW256

    "I should really think of a better quote to put here. ¯\_(ツ)_/¯" -DWW256

  8. #8

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    Oh yes, and
    Code:
    journalctl -b -l
    output the following:

    Aug 04 11:02:33 linux-8c2k kernel: Linux version 4.12.14-lp150.12.7-default (geeko@buildhost) (gcc>
    Aug 04 11:02:33 linux-8c2k kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.7-defau>
    Aug 04 11:02:33 linux-8c2k kernel: x86/fpu: x87 FPU will use FXSAVE
    Aug 04 11:02:33 linux-8c2k kernel: e820: BIOS-provided physical RAM map:
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000006efff] usable
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x000000000006f000-0x000000000006ffff] ACPI NVS
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000000070000-0x0000000000085fff] usable
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000000086000-0x000000000009ffff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000020000000-0x00000000200fffff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000020100000-0x0000000078325fff] usable
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000078326000-0x0000000079025fff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000079026000-0x0000000079325fff] ACPI NVS
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000079326000-0x0000000079365fff] ACPI data
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000079366000-0x0000000079ffffff] usable
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x00000000ffb80000-0x00000000ffffffff] reserved
    Aug 04 11:02:33 linux-8c2k kernel: BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
    Aug 04 11:02:33 linux-8c2k kernel: NX (Execute Disable) protection: active
    Aug 04 11:02:33 linux-8c2k kernel: efi: EFI v2.31 by INSYDE Corp.
    Aug 04 11:02:33 linux-8c2k kernel: efi: ACPI 2.0=0x79365014 ESRT=0x78638d18 SMBIOS=0x79025000
    Thanks,
    DWW256

    "I should really think of a better quote to put here. ¯\_(ツ)_/¯" -DWW256

  9. #9
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,840

    Default Re: KDE My entire PC crashes whenever I run a GTK app for long enough

    Quote Originally Posted by DWW256 View Post
    is it even possible to install openSUSE without creating a swap partition?
    Yes.

    Would it be possible to check if I have one and add one without booting from a live CD?
    'free' reports total, used and free RAM and swap. Look in /etc/fstab to see if you have one configured. Almost certainly you do have one, unless you knew how to prevent it at installation time. Another simple way to test for swap is to try to turn it off: 'swapoff -a' ('swapon -a' to turn it back on).
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •