LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-20-2018, 01:50 PM   #31
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Ok. Those repositories look good.

Is it such a hard lock that Ctrl-Alt-F1 doesn't take you to a terminal?

Does Gimp crash on opening, after a random period, on a specific function, or something else?

Have you tried running Gimp from the command line and seeing if it generates any errors or warnings there, perhaps redirecting the output (inc. stderr) to a file so that you can retrieve it after the hard lock?
 
Old 12-20-2018, 03:22 PM   #32
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Original Poster
Rep: Reputation: 66
Hi,
Creating some error logs is my next step..

Gimp was crashing the laptop solid, only a hard power-off (press & hold the power button) would do anything.
Screen pointer locked, unable to kill X with Ctrl-Alt-Backspace and no virtual terminals via Ctrl-Alt-Fx.
This happened on trying to load a known good png file.

I'm suspicious of some of the later kernel code for c and p state control for Intel Kaby lake (laptop is an Intel Core i7-8550U with UHD620 GPU.). [Looking at Intel for this ;>) ]

Briefly, I can't use the highest resolution that my screen can handle (1920x1080) unless I use the kernel boot parameter
Code:
intel_idle.max_cstate=4
The screen at 1920x1080 (no cstate parameter used) is virtually unusable, severe flickering, blanking out and "ghosting" from previous screens.

Dmesg (in Slackware) gives this (with no cstate boot parameter used):
Code:
[ 16.462295] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Weirdly, Devuan ASCII runs perfectly fine at 1920x1080. Even when running the latest stable kernel.

Anyway, A disk check after the crash showed some file corruption (I'm using Ext4) within Gimp.
I therefore purged and reinstalled Gimp.
It still crashes the system when loading a png or a jpg, but I can now kill the X server and restart it.

I'll look again with the cstate boot parameter and a few other things that I want to try.

Earlier kernels (4.18.16 and earlier) are fine. I'm running the laptop at a lower resolution for now as I want to see how long it is before this is sorted.
I get better performance from the latest stable kernel as well as the release candidates so I'll stick with these for now.

Bodge99

Last edited by bodge99; 12-20-2018 at 03:29 PM.
 
Old 12-23-2018, 09:31 AM   #33
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Original Poster
Rep: Reputation: 66
I've sorted the Gimp problem..

Just for completeness.. I don't like hijacking threads, especially my own.

I spent a bit of time creating and examining error logs.. Nothing really jumped out as problematic.
I then tested Gimp in my other 19.1 installation. Guess what, it ran perfectly fine, loading in images that would crash the other Gimp previously.

Next, I returned to my main 19.1 installation and added a new user. Yes, Gimp ran perfectly.

I then examined the config files in my home directory, most seemed perfectly fine but I did notice that some files predated the Mint creation/installation date.

Lightbulb moment! I think that I've worked out what happened (and yes, it was my fault.)

When I upgrade or change my "working" distro, I create the users as per normal and then manually copy over a few things to the new home directories. These include all of the browser and mail configs etc. as well as any project files that I'm working with at the time.

On this occasion, It looked like I'd copied over more than I thought I had. Some stale configuration files had over written some of the newer ones.

Now that I know what the problem is the fix is easy. Backup important stuff (browser, mail and project files).
Delete and re-create the user (me). Finally, copy back the important stuff.

BTW. If anyone wants the latest version of Gimp, (uninstall the current version first!) it can be downloaded from https://www.gimp.org/downloads/
The current stable release is 2.10.8 (2018-11-08) and is available as a flatpak build suitable for Mint 19.1 .

Bodge99

Last edited by bodge99; 12-23-2018 at 09:36 AM.
 
Old 12-23-2018, 10:05 AM   #34
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Nice one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudo/gksudo failure bodach Ubuntu 5 12-13-2009 07:58 AM
gksudo with stdin redirection gd2shoe Linux - Software 3 12-25-2008 11:43 AM
gksudo vs. sudo strangeness CJS Programming 5 05-15-2008 06:47 PM
gksudo problems FBorges22 Linux - Software 1 09-07-2007 04:59 PM
gksudo nautilus ronbrooks Linux - Software 8 02-02-2007 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration