Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-28-2023, 10:56 AM
|
#1
|
Member
Registered: Jan 2022
Posts: 86
Rep:
|
ACPI boot error, applications freezes
Hi, I get this ACPI error message at boot.
boot-error
When a high-resolution video or Firefox runs for the first time after the system starts, the program freezes shortly after and must be killed, only after that all programs run normally.
I do not know if it has anything to do with it but when the screensaver is activated the second time, the system hangs up so I leave it inactive.
Code:
$ sudo dmidecode -s bios-version
F9a
Code:
$ sysctl vm.swappiness
vm.swappiness = 60
Code:
$ free | awk '/^Mem:/{print $2}'
8125104
Code:
$ lspci -nn | grep "VGA\|Display"
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cypress XT [Radeon HD 5870] [1002:6898]
Code:
$ sudo cat /var/log/boot.log | tail -n 3
Starting ospd-openvas.service - OSPd Wrapper for the OpenVAS Scanner (ospd-openvas)...
[FAILED] Failed to start logrotate.service - Rotate log files.
See 'systemctl status logrotate.service' for details.
Code:
$ cat /etc/default/grub | awk '/GRUB_CMDLINE_LINUX_DEFAULT/'
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
thanks for help
Last edited by blumenwesen; 05-28-2023 at 11:00 AM.
|
|
|
05-29-2023, 04:26 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,777
|
Have you done a basic search to see if the web has much to offer? Exactly what's your hardware?
|
|
|
05-29-2023, 05:30 AM
|
#3
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,422
|
Quote:
Originally Posted by blumenwesen
Hi, I get this ACPI error message at boot.
boot-error
|
I recognise those. I get them on my laptop every time I boot but they don't cause any problem. The other problems that you are having aren't likely to be connected.
You need to know that most hardware acpi implementations are faulty according to the proper acpi standard that the Linux kernel follows, so it complains about them.
|
|
|
05-30-2023, 09:02 AM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,777
|
Can you set that BIOS 'suspend type' setting to S3 and try it? S1 seems like some sort of 'standby' setting according to their cryptic description.
Last edited by business_kid; 05-30-2023 at 09:03 AM.
|
|
|
05-30-2023, 12:46 PM
|
#6
|
Member
Registered: Jan 2022
Posts: 86
Original Poster
Rep:
|
The system also runs with S1, when I optimize the BIOS settings, it is always on S3.
I can't see any difference.
Should I take S3 better?
|
|
|
05-31-2023, 04:32 AM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,777
|
I explained it. Standby is the windows answer to monitors in businesses getting the accounts program burned onto the screen. Basically, everything stays going but the mionitor is turned off. ACPI drops the cpu into S3 power saving state. So the cpu can be woken quickly, but power saving is significant. It's what happens when you close the lid on a lot of laptops.
|
|
1 members found this post helpful.
|
05-31-2023, 09:58 AM
|
#8
|
Member
Registered: Jan 2022
Posts: 86
Original Poster
Rep:
|
Ok thank you, I have a desktop pc that is connected to an lcd TV via hdmi.
Is there any other way than to crash a video every time after the system starts, before everything runs normally?
I ran this process and harware monitoring code to get an output for the analysis.
Code:
mpv --window-maximized --volume=90 "VIDEO.mp4" & disown
sleep 1; unset y; y=-1;
until [[ $[y++] -gt 50 ]]; do x=$(ps -C "mpv" -o vsz=)" "$(ps -C "mpv" -o time=);
sleep 1.5
echo -e "\n\nRADEONTOP:\n"$(radeontop -l 1 -d -) >> "output_a"
sleep 1.5
echo -e "UPTIME:\n$(uptime)\n\nFREQ:\n"$(find "/sys" ! -perm -g+r,u+r,o+r -prune -o -name "power1_input" -exec bash -c 'z="{}"; y=$(cat "${z%/*}/name"); z=$(cat "{}"); echo "$y $z"' \;)"\n\nTEMP:\n"$(find "/sys" ! -perm -g+r,u+r,o+r -prune -o -name "temp1_input" -exec bash -c 'z="{}"; y=$(cat "${z%/*}/name"); z=$(cat "{}"); echo "$y $z"' \;)"\n\nCPU:\n$(cat /proc/pressure/cpu)\n\nMEM:\n$(cat /proc/pressure/memory)\n\nIO:\n$(cat /proc/pressure/io)\n\nPS:\n$(ps -C "mpv" -o pcpu= -o uid= -o pmem= -o pid= -o vsz= -o ppid= -o trs= -o c= -o drs= -o sz= -o rss= -o psr= -o wchan= -o stime= -o stat= -o tty= -o time=)\n\nSTAT:\n$(cat /proc/stat)\n\n" >> "output_b"
[[ $(echo "${x%%[ ]*}") == $(ps -C "mpv" -o vsz=) && $(echo "${x##*[ ]}") == $(ps -C "mpv" -o time=) ]] && import -window root "$HOME/Images/SCR00.png" && kill $(pgrep "mpv") && break;
done; killall "mpv"; sleep 1
echo -e "\n\n\nAFTER\n\n" #same output code as above
sleep 1.5
echo -e "" #same output code as above
Here are the complete output_a + output_b files.:
Shortened to two issues before and after, this came out.:
FILE output_a:
Quote:
# BEFORE
RADEONTOP:
Dumping to -, line limit 1. 1685544425.524986: bus 01, gpu 0.00%, ee 0.00%, vgt 0.00%, ta 0.00%, sx 0.00%, sh 0.00%, spi 0.00%, sc 0.00%, pa 0.00%, db 0.00%, cb 0.00%, vram 12.05% 123.35mb, gtt 0.72% 7.39mb, mclk inf% 0.300ghz, sclk 18.47% 0.157ghz
# AFTER
RADEONTOP:
Dumping to -, line limit 1. 1685544433.706877: bus 01, gpu 0.00%, ee 0.00%, vgt 0.00%, ta 0.00%, sx 0.00%, sh 0.00%, spi 0.00%, sc 0.00%, pa 0.00%, db 0.00%, cb 0.00%, vram 9.42% 96.48mb, gtt 0.43% 4.41mb, mclk inf% 0.300ghz, sclk 18.47% 0.157ghz
|
FILE output_b:
Quote:
# BEFORE
UPTIME:
16:47:02 up 4 min, 1 user, load average: 2,04, 2,28, 1,11
FREQ:
fam15h_power 59953147
TEMP:
k10temp 28875 radeon 37000
CPU:
some avg10=0.00 avg60=0.01 avg300=0.03 total=902629
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
MEM:
some avg10=0.00 avg60=0.00 avg300=0.00 total=0
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
IO:
some avg10=1.94 avg60=22.88 avg300=24.56 total=132677914
full avg10=1.86 avg60=22.03 avg300=23.79 total=128871415
PS:
25.6 1000 2.0 2412 1995816 2411 1022 25 1994793 498954 162540 2 futex_ 16:46 SLl+ pts/0 00:00:13
STAT:
cpu 7987 1 4126 159862 62021 0 604 0 0 0
cpu0 1933 0 598 17730 8988 0 348 0 0 0
cpu1 900 0 467 19460 8416 0 178 0 0 0
cpu2 1909 0 435 20692 6220 0 25 0 0 0
cpu3 776 0 675 18469 9347 0 22 0 0 0
cpu4 679 0 534 20656 7368 0 5 0 0 0
cpu5 467 0 450 23821 4462 0 18 0 0 0
cpu6 634 0 455 20722 7460 0 2 0 0 0
cpu7 684 0 506 18308 9756 0 0 0 0 0
intr 652347 40 4 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1309 13 13212 18838 0 0 0 0 0 0 0 0 0 0 3277 0 144 9674 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 735846
btime 1685544129
processes 2902
procs_running 1
procs_blocked 0
softirq 270020 74 30433 57 3118 18687 0 436 119947 0 97268
#AFTER
UPTIME:
16:47:10 up 5 min, 1 user, load average: 2,05, 2,27, 1,12
FREQ:
fam15h_power 55911586
TEMP:
k10temp 35625 radeon 36500
CPU:
some avg10=0.00 avg60=0.01 avg300=0.02 total=918565
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
MEM:
some avg10=0.00 avg60=0.00 avg300=0.00 total=0
full avg10=0.00 avg60=0.00 avg300=0.00 total=0
IO:
some avg10=5.60 avg60=20.96 avg300=24.09 total=133279597
full avg10=4.10 avg60=19.93 avg300=23.28 total=129298577
PS:
STAT:
cpu 8364 1 4226 165772 62132 0 627 0 0 0
cpu0 1952 0 611 18510 8989 0 362 0 0 0
cpu1 1008 0 476 20085 8487 0 180 0 0 0
cpu2 1929 0 445 21474 6220 0 30 0 0 0
cpu3 806 0 688 19244 9347 0 22 0 0 0
cpu4 706 0 544 21429 7368 0 7 0 0 0
cpu5 500 0 463 24577 4474 0 19 0 0 0
cpu6 658 0 464 21501 7460 0 2 0 0 0
cpu7 801 0 532 18947 9783 0 0 0 0 0
intr 669657 40 4 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1309 13 15769 19027 0 0 0 0 0 0 0 0 0 0 3315 0 144 10290 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 755105
btime 1685544129
processes 2954
procs_running 1
procs_blocked 0
softirq 277231 74 31164 58 3153 18874 0 436 123276 0 100196
|
Last edited by blumenwesen; 05-31-2023 at 10:00 AM.
|
|
|
05-31-2023, 10:46 AM
|
#9
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,777
|
This is a thread about ACPI. If you have a problem with video, post it on a separate thread. I for one will be unlikely to respond.
You need to give a lot more information so that someone can replicate your problem. Read this How_To_Ask_a_Question
We would also need a full explanation of distro, drivers and versions. What you gave us was an unusual set of commands with mpv with no clue as to why. If the ACPI issue is sorted, mark this thread solved and explain what sorted it.
|
|
1 members found this post helpful.
|
06-03-2023, 06:07 AM
|
#10
|
Member
Registered: Jan 2022
Posts: 86
Original Poster
Rep:
|
Ok thanks I now know how to set the BIOS.
|
|
|
All times are GMT -5. The time now is 03:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|