LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-15-2025, 10:36 AM   #1
lm2
LQ Newbie
 
Registered: Apr 2025
Posts: 1

Rep: Reputation: 0
gtk or kernel problem, to identify why the GUI crash?


Hi,

here is my problem, specific to one of the variants of gprimeltexx. It runs postmarketos, alpine's shrinked version of linux, for mobile/embedded devices.

However, even if the mainline works "almost" well (as torch is [1]), the zinitix component, as i guess the touchscreen, have a real bug on it.
often, after few hours of uptime, the zinitix touchscreen get unavailable. So the touchscreen doesnt works. I have added a modprobe -r zinitix & modprobe zinitix in the crontab. Wonderful : it almost fix the problem.

Almost.
Since this, except that i dont have to do a salvage reboot/shutdown (when the touchscreen was "frozen", only a 15secs hold of powerbutton to salvage reboot it was possible), the zinitix process still kills the GUI. Phosh get crashed around every 15mins. It just takes 2mins to get interface working back, but it's still annoying.

so as i asked how to debug it, here is the reply :
Quote:
I'm trying to say that fixing your kernel first looks like a good move as it would fix your device freeze and (likely) avoid the GTK3 crash.
I'd start as usual:

enable ssh access (so you can recover the device)
enable maximum debugging in the driver
disable the cronjob
see if you can catch anything when the screen stops functioning
report that to the team maintaining your device kernel


This can also be a problem in device tree (e.g. regulators) but I'd just start somewhere.
You want the dev_dbg in the driver to trigger. See e.g. https://www.kernel.org/doc/html/v4.1...bug-howto.html but that is out of scope for this channel and belongs to where your devices kernel is being discussed.
i admit im totally lost on that issue..
 
Old 04-15-2025, 10:51 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,329

Rep: Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331Reputation: 1331
What I get from your post is that you have a Samsung Galaxy phone where you have replaced the stock Android with postmarketOS. That you are not using their default GUI, which I think is KDE, but using the less common Phosh, and that you are getting some kind of freeze which gets partially fixed by unloading and reloading the touchscreen controller module zinitix.ko. Is that right?

Does it work if you use a different GUI?

If you don't want to try that, do you have a stack trace or error message that you can share?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
Do you think I should use a Qt GUI, a GTK GUI, or no GUI at all? anon02 Programming 5 08-25-2011 06:59 AM
crash () { crash|crash& }; crash grob115 Linux - Security 6 05-07-2011 03:06 AM
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:55 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