You are not logged in.

#1 2023-02-18 14:40:52

sira
Member
Registered: 2023-02-14
Posts: 12

ArchLinux freezed in Android Studio!

Hello everyone,

I've been experiencing some issues with my Arch Linux installation, and I'm hoping to get some help diagnosing the problem. Specifically, my system has been freezing randomly, and I'm not sure what's causing it.

To try to narrow down the problem, I've disabled Bluetooth, wireless, and USB ports in my BIOS settings, but the issue persists. It seems to be completely random, and not related to any specific projects or software that I'm running. However, I have noticed that it tends to happen more frequently when I'm using Android Studio, And "REISUB" keys don't work.(They work before hang)

I've run "sudo journalctl -b -1 -p err..alert" after each freeze, and the log contains errors and warnings related to various processes and services, but I'm not sure which one is causing the kernel freeze.

sudo journalctl -b -1 -p err..alert
ACPI errors and next...
Feb 18 08:09:10 ARCHINO kernel: ucsi_acpi USBC000:00: PPM init failed (-110)
Feb 18 08:09:15 ARCHINO gdm-password][837]: gkr-pam: unable to locate daemon control file
Feb 18 08:09:16 ARCHINO systemd[865]: Failed to start Application launched by gnome-session-binary.
Feb 18 08:09:16 ARCHINO systemd[865]: Failed to start Application launched by gnome-session-binary.
Feb 18 08:09:16 ARCHINO systemd[865]: Failed to start Application launched by gnome-session-binary.
Feb 18 08:09:17 ARCHINO pulseaudio[1066]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Feb 18 08:09:18 ARCHINO gdm-launch-environment][472]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Feb 18 08:19:10 ARCHINO pulseaudio[1066]: Lost I/O connection in module "module-gsettings"
Feb 18 08:19:15 ARCHINO gdm-password][3271]: gkr-pam: unable to locate daemon control file
Feb 18 08:19:15 ARCHINO systemd[865]: Failed to start Application launched by gnome-session-binary.
Feb 18 08:19:16 ARCHINO pulseaudio[3468]: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
Feb 18 08:19:18 ARCHINO gdm-launch-environment][2962]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

If anyone has any ideas about what might be causing this issue, or how I can go about diagnosing it further, I would really appreciate the help. Thanks in advance for any insights you can provide!

Last edited by sira (2023-02-18 17:18:02)

Offline

#2 2023-02-18 16:08:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

I have noticed that it tends to happen more frequently when I'm using Android Studio, And "REISUB" keys don't work.

How is this any different from https://bbs.archlinux.org/viewtopic.php?id=283547 ?

V1del wrote:

Are you running OOM, do you have swap?

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also the output of "LC_ALL=C free -h"

And please use "code" tags, https://bbs.archlinux.org/help.php#bbcode
Edit your post in this regard.

Offline

#3 2023-02-18 17:07:42

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

How is this any different from https://bbs.archlinux.org/viewtopic.php?id=283547 ?

Sorry, I thought that post would not be answered and I have requested to delete it.

seth wrote:

Please post your complete system journal for the boot

This is for that boot when the system froze."sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st"
http://0x0.st/Hs-x.txt


seth wrote:

Also the output of "LC_ALL=C free -h"

               total        used        free      shared  buff/cache   available
Mem:            15Gi       1.5Gi        12Gi       691Mi       1.7Gi        12Gi
Swap:           23Gi          0B        23Gi

I have been having this problem for a long time, thank you for your help

Offline

#4 2023-02-18 17:28:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

The journal has no indication of the crash (what's not surprising, given you have to reboot hard) so let's round up the usual suspects:

This is by far the strongest contender:

Feb 18 08:09:08 ARCHINO kernel: EXT4-fs (nvme0n1p4): mounted filesystem with ordered data mode. Quota mode: none.
Feb 18 08:09:08 ARCHINO kernel: EXT4-fs (nvme0n1p4): re-mounted. Quota mode: none.
Feb 18 08:09:08 ARCHINO kernel: Adding 25165820k swap on /dev/nvme0n1p3.  Priority:-2 extents:1 across:25165820k SSFS

https://wiki.archlinux.org/title/Solid_ … leshooting
"nvme_core.default_ps_max_latency_us=0 iommu=soft"

There're quite some ACPI errors, that's common, but see whether there's a BIOS/UEFI update for the system.

You're using pulseaudio which is being phased out and replaced by the new convoluted audio daemon to break your sound output, https://wiki.archlinux.org/title/PipeWire

--------------

I don't think this is the problem, but you've a hybrid graphics system and

Feb 18 08:10:09 ARCHINO firefox.desktop[1842]: [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
Feb 18 08:21:11 ARCHINO firefox.desktop[4689]: [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
Feb 18 09:01:00 ARCHINO vlc.desktop[6700]: [00007ff210009410] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
Feb 18 09:01:00 ARCHINO vlc.desktop[6700]: [00007ff210009410] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
Feb 18 09:01:00 ARCHINO vlc.desktop[6700]: [00007ff210009410] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
Feb 18 09:01:01 ARCHINO vlc.desktop[6700]: [00007ff210009410] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
Feb 18 09:01:01 ARCHINO vlc.desktop[6700]: [00007ff210009410] glconv_vaapi_drm gl error: vaInitialize: unknown libva error

https://archlinux.org/packages/communit … ia-driver/

You're also running gnome on wayland, see whether the same happens w/ gnome on X11 (random test, because of the hybrid system and wayland would be rejected if you had an nvidia chip instead of amdgpu)

----

Ftr:

Sorry, I thought that post would not be answered

V1del did reply w/ some questions about your system and delete/repost is effectively bumping, just that it's also annoying the mods.
Please don't do that.

Offline

#5 2023-02-21 21:40:07

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

The journal has no indication of the crash (what's not surprising, given you have to reboot hard) so let's round up the usual suspects:

Sorry it took me some days, I followed all your instructions.

First, I installed Windows and installed the latest bios version.

Then I installed a fresh Arch Linux and ran it using Xorg(X11) instead of Wayland.

Then I added nvme parameters "nvme_core.default_ps_max_latency_us=0 iommu=soft" to Grub and update that.

Then I installed the intel-media-driver package and also installed pipwerre Instead pulseaudio.

But still my system completely freezes and I really don't know what it is.

This is for that boot when the system froze."sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st"

http://0x0.st/Hse2.txt

I would really appreciate the help. Thanks in advance for any insights you can provide!

Offline

#6 2023-02-21 22:17:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

But still my system completely freezes and I really don't know what it is.

Journal still ends abruptly.

1. keep an eye on the temperature (though it should™ result in an emergency reboot)
2. check the memory w/ memtest86+ (at least over night, one successful cycle is meaningless)

Offline

#7 2023-02-22 21:57:14

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

Journal still ends abruptly.

1. keep an eye on the temperature (though it should™ result in an emergency reboot)
2. check the memory w/ memtest86+ (at least over night, one successful cycle is meaningless)

Hello
I checked what you said
To test my ROM, I downloaded w/ memtest86+ and booted it, it passed 4 consecutive tests without error.
To check the temperature of the device parts, I installed the vitals extension and what I saw really made me wonder.
The temperature of CPU cores when they are not processing is close to 40C to 50C.
But during processing, for example, running programs, they even go up to 99C!
I have set the system performance mode option to performance in BIOS settings, can it be the problem??
Two other system performance mode options: Intelligent and Quiet

Offline

#8 2023-02-22 22:47:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

I have set the system performance mode option to performance in BIOS settings, can it be the problem??

Perhaps. 99°C is excessive for most CPUs and you want to either improve the cooling system or lower the performance mode.

=> lscpu & sensors output?

Offline

#9 2023-02-22 23:31:22

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

lscpu

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
    CPU family:          6
    Model:               126
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            5
    CPU(s) scaling MHz:  28%
    CPU max MHz:         3600.0000
    CPU min MHz:         400.0000
    BogoMIPS:            2381.00
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology n
                         onstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm 
                         abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx
                          smap avx512ifma clflushopt intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku
                          ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid sgx_lc fsrm md_clear flush_l1d arch_capabilities
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   192 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    2 MiB (4 instances)
  L3:                    6 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:         
  Itlb multihit:         KVM: Mitigation: Split huge pages
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Mitigation; Clear CPU buffers; SMT vulnerable
  Retbleed:              Mitigation; Enhanced IBRS
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Mitigation; Microcode
  Tsx async abort:       Not affected
seth wrote:

sensors

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +52.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +51.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +48.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +49.0°C  (high = +100.0°C, crit = +100.0°C)

nvme-pci-0400
Adapter: PCI adapter
Composite:    +33.9°C  (low  =  -0.1°C, high = +74.8°C)
                       (crit = +79.8°C)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +48.0°C  

amdgpu-pci-0200
Adapter: PCI adapter
vddgfx:      687.00 mV 
edge:         +46.0°C  (crit = +94.0°C, hyst = -273.1°C)
PPT:           3.22 W  (cap =  25.00 W)

BAT1-acpi-0
Adapter: ACPI interface
in0:          11.47 V  

Last edited by sira (2023-02-22 23:32:13)

Offline

#10 2023-02-23 07:45:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

As you can see, 100° is the critical temperature, so you'll have to keep that in check w/ a different frequency scaling or more fans or less dust.
Otherwise the CPU will power down to protect itself and then things get slow.

Offline

#11 2023-02-25 11:42:07

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

As you can see, 100° is the critical temperature, so you'll have to keep that in check w/ a different frequency scaling or more fans or less dust.
Otherwise the CPU will power down to protect itself and then things get slow.

I went to the BIOS settings and set the performance mode to intelligent and even quiet, but the problem still persists!
I think it will happen a little later, maybe I think like this now.
It's really driving me crazy! Help!

Offline

#12 2023-02-25 11:56:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

It's really driving me crazy! Help!

Skip that.

You need

seth wrote:

more fans or less dust

Maybe you've been fooling around w/ https://wiki.archlinux.org/title/Fan_speed_control ?
Otherwise this is a hardware problem - but whatever the cause, as long as the cores heat up too much, you'll experience these problems.

Offline

#13 2023-03-08 23:48:10

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

Maybe you've been fooling around w/ https://wiki.archlinux.org/title/Fan_speed_control ?
Otherwise this is a hardware problem - but whatever the cause, as long as the cores heat up too much, you'll experience these problems.

Hi brother, I thank you for saving me.
I have set the bios performance mode setting to Quiet option and installed TLP (with additional package for Lenovo laptops) service and enabled it.
It's still there, but it's reduced a lot and it's 1 or 2 times a week, which I don't have a problem with.
Only sometimes the CPU temperature reaches 90 to 98 degrees for a few milliseconds, so I don't think it's anything serious.
thank you

How I can set post SLOVED?? smile

Last edited by sira (2023-03-08 23:52:22)

Offline

#14 2023-03-09 07:43:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Re: ArchLinux freezed in Android Studio!

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#15 2023-09-28 10:10:09

sira
Member
Registered: 2023-02-14
Posts: 12

Re: ArchLinux freezed in Android Studio!

seth wrote:

Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Hi Seth,
My problem is still there but I still couldn't give up on Linux.
I found a problem, I think my system hangs because of it.

this is vainfo output:

Trying display: wayland
vaInitialize failed with error code -1 (unknown libva error),exit

and in lscpu output says "CPU family:6" but my CPU is "i5 1035G1" :

Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
    CPU family:          6
    Model:               126
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            5
    CPU(s) scaling MHz:  24%
    CPU max MHz:         3600.0000
    CPU min MHz:         400.0000
    BogoMIPS:            2381.00
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art
                          arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr p
                         dcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp
                          ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushop
                         t intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_r
                         eq vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid sgx_lc fsrm md_clear flush_l1d arch_capabilities
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   192 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    2 MiB (4 instances)
  L3:                    6 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:         
  Gather data sampling:  Mitigation; Microcode
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Mitigation; Clear CPU buffers; SMT vulnerable
  Retbleed:              Mitigation; Enhanced IBRS
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Mitigation; Microcode
  Tsx async abort:       Not affected

Offline

#16 2023-09-28 12:56:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,538

Offline

Board footer

Powered by FluxBB