This forum has been archived. All content is frozen. Please use KDE Discuss instead.

X11 Lock Screen Freeze | Display Manager Crashing

Tags: lock screen, display manager lock screen, display manager lock screen, display manager
(comma "," separated)
velocity
Registered Member
Posts
2
Karma
0
Hi All

i've been searching for a while now and haven't been able to find a proper solution to this issue, there have been similar reports but explaining the problem differently so they may on the surface appear to be a different issue but after reading the full threads this appears to be a common problem.

Summery

I have KDE lock screen enabled so that after a number of min (approx 15) the screen will turn off and the session will lock.
After using the computer for a number of days approx 2-3 on average without a reboot, i'll attempt to wake the monitor from power saving mode to access the active X11 session.
Moving the mouse wakes the monitor from power saving mode and i'm able to see the lock screen prompt.

- KB is unresponsive no key presses work
- mouse courser works
- can see the HDD LED flashing
- on occasion i may be able to press the "log in as another user" button on screen and try to log in as another user or change to a wayland session, this fails and returns me to the same lock screen which is unresponsive, the "log in as another user" button fails to work a second time.
- this was happening on Neon prior to latest upgrade and is still persistent on 22.04 after upgrade.

Notes:

- at times when using the desktop i can see apps starting to slow down and become unresponsive, i.e. FireFox, PlexAmp etc, if i kill the apps then responsivity returns and i can relaunch them again, but after a few hours or some times over night the unresponsiveness returns and system may crash or force me to restart the PC.

Further to this ive performed some additional troubleshooting on this issue and turned off the lock screen to see if we can spot an app or other service causing the crash.
this time of the crash we could see the audio had crashed and was no longer functioning.
killing 1 app at a time did not restore the desktop to a working state.
only after refreshing the desktop service with

Code: Select all
systemctl restart display-manager


did the system return to it's normal operation.

for the time being ive switched to Wayland to see if these crashes are related to x11 only or if Wayland is also affected.

Troubleshooting steps taken so far.

- all power saving is turned off apart from monitor sleep after 15 min.
- have tried to not run some apps thinking they are causing the issues i.e. plexamp, but the problem still persists.
- remove all USB devices apart from Logitec KB/ Mouse wireless receiver
- changed Logitec Wireless receiver

How the PC is used

- basic web surfing, most of my work is via web browser FF
- terminal / ssh sessions to other computers
- stream music from various websites soundcloud, qoboz etc
- play music via Plex
- occasionally play a steam or Lutris game (never really experience in game issues)
- Skype

System Specs

16 GB Ram 3200Mhz
500 GB SSD NvME Samsung
AMD 5600G
Asrock Desk Mini X300 https://www.asrock.com/nettop/AMD/DeskM ... /index.asp
Samsung LS34A650U

    Operating System: KDE neon 5.26
    KDE Plasma Version: 5.26.2
    KDE Frameworks Version: 5.99.0
    Qt Version: 5.15.6
    Kernel Version: 6.0.5-060005-generic (64-bit)
    Graphics Platform: Wayland
    Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 13.5 GiB of RAM
    Graphics Processor: RENOIR

Notes:

Please let me know what other information is needed to assist, happy to perform other troubleshooting steps to help track down this issue.

""Cheers
G
velocity
Registered Member
Posts
2
Karma
0
Thought i would report back on this thread with more information.

Not sure if there is a memory leak happening with KDE or one of the apps so decided to upgrade the memory on the desktop to monitor usage.

16 GB > 32GB

Notes:

When on 16 GB Ram we would see memory usage climb up to 12.5-13GB even with no apps open, because the is an iGPU on the AMD 5600G memory management is set to auto to allow video memory scaling up/down.

I believe what's happening with the freeze is that memory is being 100% consumed and this is causing paging to disk (SSD), when checking disk on a freeze its still showing available space.

Now on 32 GB Ram we still see memory growing to 17 Gb utilised and have been able to keep the desktop turned on for longer periods of time without a reboot.

its still unclear what is chewing through system memory.

any assistance on this would be greatly appreciated.

""Cheers
G


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Sogou [Bot]