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

Notices


Reply
  Search this Thread
Old 07-21-2022, 02:59 AM   #1
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Random KWin crashes on current


I'm running slackware current and since a couple of month kwin randomly crashes and restarts. Before filing a bug report to KDE, can you help me doing a bit of troubleshooting to check if is something wrong with my installation?

For context i'm running kernel 5.18.5 and the crashes are very random, with no apparent logic and reproducibility. They might happen several time in the same day or not at all. I'll attach a backtrace of the crash as soon as I get to save one. Current branch is updated with nothing from /extra and multilib installed
 
Old 07-21-2022, 03:09 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Quote:
Originally Posted by Francexi View Post
I'm running slackware current and since a couple of month kwin randomly crashes and restarts. Before filing a bug report to KDE, can you help me doing a bit of troubleshooting to check if is something wrong with my installation?

For context i'm running kernel 5.18.5 and the crashes are very random, with no apparent logic and reproducibility. They might happen several time in the same day or not at all. I'll attach a backtrace of the crash as soon as I get to save one. Current branch is updated with nothing from /extra and multilib installed
Usually the KWin crashes because the graphics driver.

You can try to disable the desktop effects to see if you continue to see crashes.
 
Old 07-21-2022, 03:13 AM   #3
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Usually the KWin crashes because the graphics driver.
I'm running the nvidia drivers (proprietary) version 515.48.07. The crashes did not started happening coinciding a change in graphic driver or graphic driver configuration. I tried upgrading the drivers after a month of the crashes to check if it would solve the problem, but that was not the case

Last edited by Francexi; 07-21-2022 at 03:19 AM.
 
Old 07-21-2022, 03:23 AM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Quote:
Originally Posted by Francexi View Post
I'm running the nvidia drivers (proprietary) version 515.48.07. The crashes did not started happening coinciding a change graphic driver. I tried upgrading the drivers after a month of the crashes to check if it would solve the problem, but that was not the case
Well, the Plasma5 issues with the NVidia proprietary drivers are, well... famous.

Try to disable the "desktop effects" for seeing if something changes:

System Settings -> Display and Monitor -> Compositor -> uncheck "Enable compositor on startup" -> Apply

Then reboot or logout/login.

Last edited by LuckyCyborg; 07-21-2022 at 05:56 AM.
 
Old 07-21-2022, 06:56 PM   #5
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 903

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I'm experiencing the same on intel UHD, and the crash brings the whole desktop down:

From /var/log/messages

Code:
Jul 18 19:12:43 **** kernel: kwin_wayland[1494]: segfault at 1c1000000 ip 00000001c1000000 sp 00007ffe36539b08 error 14 in anon_inode:i915.gem[7fe062cff000+800000]
 
Old 07-21-2022, 07:01 PM   #6
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 903

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Reported a bug upstream, in case you might want to chime in:

https://bugs.kde.org/show_bug.cgi?id=456894
 
Old 07-22-2022, 03:40 AM   #7
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sombragris View Post
Reported a bug upstream, in case you might want to chime in:

https://bugs.kde.org/show_bug.cgi?id=456894
Here my backtrace. I don't find the same segfault in dmesg you found. In my case what crashes is kwin_x11

https://pastebin.com/Um9Widj9
 
Old 07-22-2022, 04:03 AM   #8
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Man, did you disabled the desktop effects for testing, as I told you?

AND, you said that you use the NVIDIA proprietary graphics driver, BUT in backtrace seems like is used the Mesa's Intel Iris driver?

In the end, about what we talk? A laptop with Intel graphics and a discrete NVIDIA graphics card?

Last edited by LuckyCyborg; 07-22-2022 at 04:05 AM.
 
Old 07-22-2022, 04:06 AM   #9
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Man, did you disabled the desktop effects for testing, as I told you?

AND, you said that you use the NVIDIA graphics, BUT in backtrace seems like is used the Mesa's Intel Iris driver?

In the end, about what we talk? A laptop with Intel graphics and a discrete NVIDIA graphics card?
I still did not, I had this crash this morning and I found it worth sharing. I'm going to disable it this afternoon.

Anyway yes, is a laptop with intel graphics and NVIDIA discrete. To be exact is a Acer Nitro 5 N20C1
 
Old 07-22-2022, 05:44 AM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Quote:
Originally Posted by Francexi View Post
I still did not, I had this crash this morning and I found it worth sharing. I'm going to disable it this afternoon.
This is fraking important for debugging your issue, because the people will see if it's a KWin crash because of the graphics stack, OR you hit a particular other issue in Plasma5. BUT, most likely is a graphics driver issue.

Quote:
Originally Posted by Francexi View Post
Anyway yes, is a laptop with intel graphics and NVIDIA discrete. To be exact is a Acer Nitro 5 N20C1
Then, I have to decline my competence, as I have zero experience with NVIDIA Optimus hardware. Sorry!

BTW, did you use Bumblebee, right?

https://docs.slackware.com/howtos:ha...nvidia_optimus
https://wiki.archlinux.org/title/bumblebee

Last edited by LuckyCyborg; 07-22-2022 at 12:32 PM.
 
Old 07-23-2022, 04:41 AM   #11
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
This is fraking important for debugging your issue, because the people will see if it's a KWin crash because of the graphics stack, OR you hit a particular other issue in Plasma5. BUT, most likely is a graphics driver issue.
Until now, no crashes

Quote:


Then, I have to decline my competence, as I have zero experience with NVIDIA Optimus hardware. Sorry!

BTW, did you use Bumblebee, right?

https://docs.slackware.com/howtos:ha...nvidia_optimus
https://wiki.archlinux.org/title/bumblebee
Bumblebee is not mantained anymore since long time, I use direct offloading via Vulkan for application I need to use the GPU for
 
Old 07-23-2022, 05:40 AM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Quote:
Originally Posted by Francexi View Post
Until now, no crashes
Then, seems like it's the Mesa's Intel Iris driver which creates you problems, assuming that's your main driver and used by KWin.

You can try to build yourself an upgraded package of Mesa - it's already long in tooth and our BDFL seems not that willing to upgrade it, for unknown reasons. The current release of Mesa is 22.1.4 .

There's where I posted a SlackBuild capable to work with latest Mesa stable release:

https://www.linuxquestions.org/quest...ml#post6366783

Last edited by LuckyCyborg; 07-23-2022 at 05:57 AM.
 
Old 07-24-2022, 09:26 AM   #13
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Then, seems like it's the Mesa's Intel Iris driver which creates you problems, assuming that's your main driver and used by KWin.

You can try to build yourself an upgraded package of Mesa - it's already long in tooth and our BDFL seems not that willing to upgrade it, for unknown reasons. The current release of Mesa is 22.1.4 .

There's where I posted a SlackBuild capable to work with latest Mesa stable release:

https://www.linuxquestions.org/quest...ml#post6366783
Just a curiosity, has our BDFL gave any feedback on this or just plain ignored?
 
Old 07-24-2022, 10:05 AM   #14
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,576

Rep: Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448Reputation: 3448
Quote:
Originally Posted by Francexi View Post
Just a curiosity, has our BDFL gave any feedback on this or just plain ignored?
Silenzio stampa.

And there is no guessable reason, as the new Mesa released versions are, well... released as usual.

The only difference is that since Mesa 22.0.x the Mesa classic drivers was dropped, and there are only Gallium drivers.

BUT, if someone builds them from Mesa 21.3.x in Amber mode, those classic drivers still works quite well on top of a modern Mesa - see the second SlackBuild in that post which I noted to you. Overall, those "shocking changes" are rather boring, from my practical experience.

Anyway, staying forever in Mesa 21.3.x is not an advantage for those who uses a modern hardware, i.e. the Intel Iris driver - but not limited to them, because Crocus gives now OpenGL 4.2 (and it's visible faster) on Intel Ivy Bridge graphics, while the old Mesa 21.3.8 (now in -current) gives OpenGL 3.0 for the same hardware.

Last edited by LuckyCyborg; 07-24-2022 at 12:39 PM.
 
  


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
[SOLVED] Slackware Current - Random Dolphin crashes bitfuzzy Slackware 1 01-11-2021 04:37 AM
[SOLVED] Slackware-current x86_64: kwin crashes with radeon, no window decorations or panel pdags Slackware 3 02-26-2012 09:32 AM
random x crashes (with kwin + compositing) zvzi Slackware 17 12-21-2010 02:49 AM
KWin crashes way too often apachedude SUSE / openSUSE 6 04-20-2006 05:40 PM
Swing application crashes kwin Clemente Programming 0 02-21-2006 08:50 AM

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

All times are GMT -5. The time now is 01:49 AM.

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