Can't suspend system when Noapic parameter is active

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RokiP

Can't suspend system when Noapic parameter is active

Post by RokiP »

I have a new laptop (Acer Aspire A315-41).
I had a lot of trouble installing Linux Mint (and other distributions) but when I finally managed to, the system was very slow and one CPU thread was constantly under heavy load.
I added "noapic" to the kernel options and that seemed to solve that problem completely, but now I cannot suspend the system. If I do so from the OS or by closing the computer, the screen goes black, but the fans keep spinning and after that, I can't "wake it up". I must completely turn it off and on again.

Is there a way to be able to suspend the system with "noapic" enabled?
Or is there another possible solution for my slow system?

I scrolled through the list of possible boot parameters and tried some of them that I thought could be related, but I don't really know what I'm doing and had no success.

Thank you for your help.

EDIT:
Here is the result from the "inxi -Fxz" command:

Code: Select all

roki@RokiLaptop:~$ inxi -Fxz
System:    Host: RokiLaptop Kernel: 4.15.0-20-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Acer product: Aspire A315-41 v: V1.06 serial: N/A
           Mobo: RR model: Metapod_RR v: V1.06 serial: N/A
           UEFI: Insyde v: V1.06 date: 04/23/2018
Battery    BAT1: charge: 35.1 Wh 100.0% condition: 35.1/37.0 Wh (95%)
           model: PANASONIC 415031364D354A status: N/A
CPU:       Quad core AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (-MT-MCP-) 
           arch: Zen rev.0 cache: 2048 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 15969
           clock speeds: max: 2000 MHz 1: 1412 MHz 2: 1430 MHz 3: 1425 MHz
           4: 1422 MHz 5: 3395 MHz 6: 3570 MHz 7: 1404 MHz 8: 1405 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile]
           bus-ID: 03:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,radeon,vesa)
           Resolution: 1920x1080@60.01hz
           OpenGL: renderer: AMD RAVEN (DRM 3.23.0 / 4.15.0-20-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3
           driver: snd_hda_intel bus-ID: 03:00.6
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel bus-ID: 03:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 01:00.1
           IF: enp1s0f1 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (11.3% used)
           ID-1: /dev/sda model: HFS256G39TND size: 256.1GB
Partition: ID-1: / size: 234G used: 28G (13%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A gpu: 0.0
Info:      Processes: 245 Uptime: 0 min Memory: 648.0/6931.3MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Can't suspend system when Noapic parameter is active

Post by thx-1138 »

...i assume that your laptop is one of those ones?
Post an inxi -Fxz report for people around to have a more exact idea.

...also, have you've already seen this bug report here?
If not, can you try out the parameters / 'workarounds' suggested there?
(ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 instead of noapic)?
RokiP

Re: Can't suspend system when Noapic parameter is active

Post by RokiP »

I already added those two parameters, as I couldn't even boot without them (I used 00:00.1 instead of 00:00.2, but after I tried both and I didn't see a difference). OS works without "noapic", but it's slow and laggy.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Can't suspend system when Noapic parameter is active

Post by thx-1138 »

Rokip, i'm afraid with it being that new...you'll have to wait...as you see, it's still being worked upstream...
RokiP

Re: Can't suspend system when Noapic parameter is active

Post by RokiP »

I did some more testing.

I installed Ubuntu and the results were the same as on Mint.

I tried Debian, which managed to boot with default parameters, but still printed out the familiar "AMD-Vi: IOAPIC[] not in IVRS table". Adding "noapic" or remapping addresses with "ivrs_iommu[]=" solved that problem, but in any of those cases, I couldn't wake the system.

Lastly I tried Fedora. Again, it booted with default parameters and again printed the same error. But this time, after I added "ivrs_ioapic[4]=00:14.0" and "ivrs_ioapic[5]=00:00.1", i could suspend the system and wake it up no problem. Both from the UI or just by closing the lid.

Linux fedora had kernel version 4.16.3. Linux Mint kernel version was 4.14.0. I forgot to check with Ubuntu and Debian.
I'll try to update the kernel, but if it works with Fedora, I assume it could work with other distros too.
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Can't suspend system when Noapic parameter is active

Post by thx-1138 »

...RokiP, you'd need a cutting edge distro to get all stuff working properly on that laptop, and even then,
as seen above, not even with current 4.18.x things have been ironed out...expect glitches here or there.
It will take some time for things to be sorted out.
I'd prefer the ivrs_iommu remapping than the noapic parameter myself (assuming it does the trick by itself),
as the latter will have quite a bit of a performance hit.

...if you insist / prefer Mint 19 (personally, i wouldn't with that laptop until 19.1 came out...
i'd use Fedora as you already did above, or maybe say Manjaro), a good way to try out Canonical's 4.18 is provided here:
viewtopic.php?p=1521382#p1521382
Or you could try out the mainline series...
RokiP

Re: Can't suspend system when Noapic parameter is active

Post by RokiP »

Fedora looks nice, but I'm really bothered by the lack of minimize button. Anyway, this will be my first Linux computer and I need something beginner friendly. I did have a bunch of problems with this laptop. Perhaps updating BIOS would also be worth looking into.

Anyway... we'll see if updating kernel fixes anything.
RokiP

Re: Can't suspend system when Noapic parameter is active

Post by RokiP »

Nope.
I tried kernel versions 4.16.3 (same a Fedora) and 4.18.10 (currently latest version).
In both cases, I didn't notice any differences and I still either have no sleep functionality with 'noapic' or terrible performance without it.
Locked

Return to “Installation & Boot”