LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-19-2023, 12:50 AM   #1
Torpus
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 5

Rep: Reputation: 0
Login loop after sleepless lid closing


Hey LQ,

I have an amd64 Linux Mint 21.2 Victoria with a 5.15.0-88-generic kernel running on an ASUS VivoBook X510QA. (and an XFCE DE)

Something happened with my system for a very "normal" thing I did.

I just wanted to download a bunch of files (not software updates but big files), they took a while so I closed the lid while keeping the machine working. Eventually when I opened it again I found the login screen which apparently was there because the laptop was idle. I unlocked the screen normally but then I found out the screen being black with some pixelated white horizontal stripes appearing and disappearing in split seconds. I had no choice but to forcely shut down the laptop by long pressing the power button AND holding it (pressing normally does nothing by default in my DE). When I turned it on again I'm shown this error being displayed for the first time before the LM starting logo is shown:
amd_gpio AMD0030:00: Invalid config param 0013
Since then this error appears every single time.
The login screen appears normally, but when I unlock the screen my wallpaper is shown in a split second and the same glitch appears again, but this time the laptop restarts by itself (without the LM shutdown logo). (in the latter times the wallpaper isn't shown anymore)
Surprisingly, by accessing the tty and using the command "startx" from there, I'm shown an XFCE desktop environment which it different from the LM-themed one, yet everything works perfectly well there. When I try rebooting the laptop and startx once again, I can only see the cursor for a second which I can move and the same error happens and the laptop reboots itself (again, I logged in as root and startx worked from there, but only at the first time and yet the glitch appears again).

People said that usually the issue is either the root directory is almost full to create temporary files or .IDEauthority and .Xauthority are corrupt. I checked these and I found that the root directory is in fact only using 7% of the storage, and when I removed .IDEauthority and .Xauthority, went back to the lockscreen again and entered my password, the glitchy screen ONCE again is shown and stays like that for a bit longer time, and then reboots again. (Note that after this dmesg shows "hardware errors" along with the config param 0013. It doesn't do this if I safely turn off the system by the poweroff command.)

Thanks in advance
 
Old 11-27-2023, 07:26 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
I'd suggest boot on a live usb, unmount the swap, dd zeroes to it, remake the swap file & remount it. See if that helps.
 
Old 12-04-2023, 08:12 AM   #3
Zappit
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Rep: Reputation: 0
The error message "amd_gpio AMD0030:00: Invalid config param 0013" suggests there might be a problem with your hardware, possibly the GPU. You might want to run a hardware diagnostic tool or take your laptop to a professional for a hardware check.
 
Old 12-04-2023, 08:45 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Quote:
Originally Posted by Zappit View Post
The error message "amd_gpio AMD0030:00: Invalid config param 0013" suggests there might be a problem with your hardware, possibly the GPU. You might want to run a hardware diagnostic tool or take your laptop to a professional for a hardware check.
May I respectfully disagree?

gpio = General Purpose Input / Output. It's a very awkward protocol for switching legs high or low to amuse external components usually. It's what microcontrollers and PLCs do natively, and is very low speed. The GPU is the fast, and has nothing to do with GPIO, which should be tacked onto some low speed device. I'd ignore that error or delete the config. At worst, your rtc might stop working until you set it up again. The error will probably be fixed by a disk check.

Did you try the stuff in post #2? Any success?
 
Old 12-04-2023, 10:56 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Quote:
I had no choice but to forcely shut down the laptop by long pressing the power button AND holding it
Actually, the link below gives a very basic explanation of a better way to do this and you can find a number of sites explaining in detail what the pressing each key in the command does with an online search. Been using it for years and never had it fail. I'd at least give it a try the next time you are in that situaiotn.

https://blog.kember.net/posts/2008-0...linux-restart/
 
Old 12-06-2023, 10:35 AM   #6
Torpus
LQ Newbie
 
Registered: Nov 2023
Distribution: Mint
Posts: 5

Original Poster
Rep: Reputation: 0
Never mind. I had installed another distro a while ago. I wished I could delete the post while no one answered but since I couldn't I just ignored it.
 
Old 12-06-2023, 10:39 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,455

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Mark it solved then if further posts are not required.
 
  


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] No image on screen after closing and opening my laptop's lid on Debian Squeeze rebelplankton Linux - Laptop and Netbook 2 11-01-2012 12:11 AM
screen hanging after closing laptop lid makaukelvin Linux - Laptop and Netbook 1 04-27-2012 08:50 PM
Mapping ubuntu drive via rdesktop to win2k8 is giving me sleepless nights bryngeo Linux - Networking 1 05-10-2010 01:57 PM
Wireless after closing the lid watcher69b Fedora 2 01-14-2009 10:24 PM
SendMail Headache ! (& sleepless nights as well ;-)) MartijnBeekhuis Linux - Newbie 1 03-22-2004 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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