KDE plasma freezes when choosing "Restart" or "Shutdown"

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 21st, '24, 18:14

Hello everyone.

I have the following issue with my newly installed Mageia 9 (I'm using KDE Plasma with X11).

Every time I choose the "shutdown" or "restart" option from the menu, KDE freezes.

The only way I have to reset the system is by pressing Ctrl-F2, and then login and then typing sudo reboot or sudo poweroff.

I've already checked the error log (with journalctl) but there are no errors from KDE or X11.

Could you please help me?
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby doktor5000 » Mar 21st, '24, 23:37

It might help if you could get like the last 1000-2000 lines of journal logs after trying shutdown or restart.
Code: Select all
journalctl -ab -n2000 > /tmp/journal.log
and then later attach /tmp/journal.log here.
Also you mentioned that KDE freezes, how do you determine that and how long do you wait for something to happen ?

Also some more details about your hardware would be helpful
Code: Select all
lspcidrake -v

and if you run an X11 or wayland sesstion
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby morgano » Mar 22nd, '24, 19:01

isc28240 wrote:my newly installed Mageia 9


Have you made a full system update?
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1489
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 22nd, '24, 19:50

Yes


Edited, removed quote. No need to quote previous post. ~Germ
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 22nd, '24, 20:14

Apparently, the gods of Mageia don't seem to favor me.

Today, after turning on my computer and entering my username and password, this window appeared:

https://imgur.com/VNU1Imm

But after closing it, the only thing my screen shows is this:

https://imgur.com/sbds6vu

I have SSH access.

I am attaching the last lines of my journal.

Also, here's the output of 'sudo lspcidrake':"

Code: Select all
[admin@gigaserver ~]$ sudo lspcidrake
[sudo] password for admin:
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #3 (rev: 11)
unknown         : Intel Corporation|Device 7aba [BRIDGE_PCI] (rev: 11)
i2c_i801        : Intel Corporation|Alder Lake-S PCH SMBus Controller [SERIAL_SMBUS] (rev: 11)
xhci_pci        : Intel Corporation|Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller [SERIAL_USB] (rev: 11)
Card:Intel Kernel Mode setting (Xorg modesetting): Intel Corporation|Raptor Lake-S GT1 [UHD Graphics 770] [DISPLAY_VGA] (rev: 04)
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #5 (rev: 11)
unknown         : Intel Corporation|Alder Lake-S PCH Shared SRAM [MEMORY_RAM] (rev: 11)
snd_hda_intel   : NVIDIA Corporation|GF108 High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (rev: a1)
unknown         : Intel Corporation|Alder Lake-S PCH PCI Express Root Port #9 [BRIDGE_PCI] (rev: 11)
unknown         : Kingston Technology Company, Inc.|KC3000/Renegade NVMe SSD (rev: 01)
unknown         : Intel Corporation|Device a74d [BRIDGE_PCI] (rev: 01)
unknown         : Intel Corporation|Alder Lake-S PCH PCI Express Root Port #25 [BRIDGE_PCI] (rev: 11)
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #0 (rev: 11)
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #2 (rev: 11)
unknown         : Intel Corporation|Device a703 [BRIDGE_HOST] (rev: 01)
snd_hda_intel   : Intel Corporation|Alder Lake-S HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (rev: 11)
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #4 (rev: 11)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8125 2.5GbE Controller [NETWORK_ETHERNET] (rev: 05)
spi_intel_pci   : Intel Corporation|Alder Lake-S PCH SPI Controller (rev: 11)
unknown         : Intel Corporation|Device 7ac0 [BRIDGE_PCI] (rev: 11)
Card:NVIDIA GeForce 420 to GeForce 630: NVIDIA Corporation|GF108GL [Quadro 600] [DISPLAY_VGA] (rev: a1)
mei_me          : Intel Corporation|Alder Lake-S PCH HECI Controller #1 [COMMUNICATION_OTHER] (rev: 11)
unknown         : ADATA Technology Co., Ltd.|ADATA XPG GAMMIXS1 1L Media (rev: 01)
unknown         : Intel Corporation|Device a70d [BRIDGE_PCI] (rev: 01)
unknown         : Kingston Technology Company, Inc.|KC3000/Renegade NVMe SSD (rev: 01)
unknown         : Intel Corporation|Device 7ac4 [BRIDGE_PCI] (rev: 11)
unknown         : Intel Corporation|Z690 Chipset LPC/eSPI Controller [BRIDGE_ISA] (rev: 11)
intel_lpss_pci  : Intel Corporation|Alder Lake-S PCH Serial IO I2C Controller #1 (rev: 11)
unknown         : Intel Corporation|Alder Lake-S PCH PCI Express Root Port #1 [BRIDGE_PCI] (rev: 11)
unknown         : Intel Corporation|Alder Lake-S PCH SATA Controller [AHCI Mode] [STORAGE_SATA] (rev: 11)
unknown         : Kingston Technology Company, Inc.|KC3000/Renegade NVMe SSD (rev: 01)
hub             : Linux 6.6.18-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Genesys Logic, Inc.|USB2.0 Hub [Hub|Unused|Full speed (or root) hub]
hub             : Genesys Logic, Inc.|USB2.0 Hub [Hub|Unused|Full speed (or root) hub]
usbhid          : YICHIP|Wireless Device [Human Interface Device|Boot Interface Subclass|Keyboard]
usbhid          : ITE Tech. Inc.|ITE Device [Human Interface Device|No Subclass|None]
hub             : Linux 6.6.18-desktop-1.mga9 xhci-hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub]
usb_storage     : Western Digital|Elements 25A2 [Mass Storage|SCSI|Bulk-Only]
[admin@gigaserver ~]$




Thanks in advance for your help.
Attachments
journal.log
File created using this command: sudo journalctl -ab -n2000 > /tmp/journal.log, after blank screen was showed in my display.
(223.53 KiB) Downloaded 342 times
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby doktor5000 » Mar 22nd, '24, 21:19

You should probably start by setting a proper hostname using hostnamectl set-hostname, and change your network connections to NOT obtain a hostname via DHCP.
And best also fix your network connections, that doesn't look that good. Then remove teamviewer, reboot and try again.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 22nd, '24, 22:56

I set my hostname, this is the output of hostnamectl:
Code: Select all
[admin@gigaserver ~]$ hostnamectl
 Static hostname: gigaserver
       Icon name: computer-desktop
         Chassis: desktop 🖥️
      Machine ID: f1abdd89e2f34c009607d79dc17b2ddd
         Boot ID: 26d619942a04437c9ba3d7b1e78ad7bf
Operating System: Mageia 9
          Kernel: Linux 6.6.18-desktop-1.mga9
    Architecture: x86-64
 Hardware Vendor: Gigabyte Technology Co., Ltd.
  Hardware Model: Z690 UD DDR4
Firmware Version: F20
   Firmware Date: Thu 2022-11-03
[admin@gigaserver ~]$



In this particular case I need to have a static ip address.

I also need to have teamviewer because I plan to access this pc remotely. ¿is there a solution
similar in funtionality to teamviewer but for mageia?


thanks in advance for your help.
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby doktor5000 » Mar 22nd, '24, 23:33

It doesn't matter if you have a static IP adress or not but the hostname should not change, otherwise your X session might break.
doktor5000 wrote:and change your network connections to NOT obtain a hostname via DHCP.


Of what use is teamviewer to you if your box doesn't work properly in the first place? First make sure your box works normally, then add 3rd party tools.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 23rd, '24, 03:19

I have changed my hostname:

Code: Select all
[admin@gigaserver ~]$ hostname
gigaserver
[admin@gigaserver ~]$ hostnamectl
 Static hostname: gigaserver
       Icon name: computer-desktop
         Chassis: desktop 🖥️
      Machine ID: f1abdd89e2f34c009607d79dc17b2ddd
         Boot ID: e3b388f797694e1a887eaf7318d5bfc8
Operating System: Mageia 9
          Kernel: Linux 6.6.18-desktop-1.mga9
    Architecture: x86-64
 Hardware Vendor: Gigabyte Technology Co., Ltd.
  Hardware Model: Z690 UD DDR4
Firmware Version: F20
   Firmware Date: Thu 2022-11-03
[admin@gigaserver ~]$ cat /etc/hostname
gigaserver
[admin@gigaserver ~]$ cat /etc/hosts
127.0.0.1   gigaserver localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[admin@gigaserver ~]$



Related to the hostname, something strange happened to me:
when I installed the system, I did it with DHCP, and immediately after finishing the installation,
I changed the hostname using hostnamectl.
Somedays later (when I had already finished installing my system,
and even had installed TeamViewer and tested it), I changed the monitor
and then set a static address using MCC.
HOWEVER, after restarting the system, I realized that the hostname
had been changed to localhost, and from that moment on,
I am having this problem.
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby doktor5000 » Mar 23rd, '24, 20:28

gigaserver should not be in that place in /etc/hosts, please remove that.

Also, how do you configure your network connections, using Mageia tools or using networkmanager ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 23rd, '24, 21:46

I have changed my hosts file:

Code: Select all
[admin@gigaserver ~]$ cat /etc/hosts
# generated by drakhosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
[admin@gigaserver ~]$


I first attempted to change the ip using NetworkManager, but my modifications were never saved (at least I tried it 3 times), and I ended up doing it through MCC -> Network & Internet -> Network Center -> Click on the interface enp7s0 -> Click on the configure button.
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 23rd, '24, 22:57

I just realized that from the black screen that I had mentioned earlier, I can open applications in this way:
by pressing Alt-Tab and Mageia responds with a bar of open windows, one of which is the 'Konsole' application. Once on the command line,
I can execute: firefox, virtualbox, konqueror, etc:


https://youtu.be/ZHSH9HOTHjY
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby isc28240 » Mar 26th, '24, 17:18

I think this problem is a plasma bug.

https://bugs.kde.org/show_bug.cgi?id=466193

When I choose "ICEWM" in the login screen It shows the dektop with the taskbar and the main menu.
isc28240
 
Posts: 8
Joined: Mar 21st, '22, 17:27

Re: KDE plasma freezes when choosing "Restart" or "Shutdown"

Postby doktor5000 » Mar 26th, '24, 19:00

IceWM is a separate desktop and has nothing to do with KDE / plasma.

But you could easily find out if you're affected by that bug, as root:
Code: Select all
journalctl -ab | grep -iE "plasma-(plasmashell|kactivitymanagerd).service"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18049
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron