You are not logged in.

#1 2024-06-13 18:21:34

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

[SOLVED] PC randomly reboots when Linux is using iGPU

Greetings! I have Core i9-9900k with Intel UHD Graphics 630 and RTX 2060 Super with proprietary Nvidia drivers. Trying to set up VGA passthrough on a fresh install with 6.9.3-arch1-1 kernel and KDE Plasma Wayland. But when I enable iGPU, PC randomly reboots in a couple of minutes after DE has started. It happens, no matter if IOMMU and VFIO drivers are enabled or disabled. If dGPU is detached, it still reboots. The system works alright with dGPU only. Tried installing Windows for testing purposes, ran 1-hour OCCT PSU stress test twice with both iGPU and dGPU, and also left the PC turned on for a whole night, everything was fine, so I assume it is a software problem, and it is present only on Linux. journalctl does not display any errors.

Sorry for possible bad English (especially punctuation), not my native language.
Many thanks in advance!

Last edited by Tenshi18 (2024-10-14 18:33:50)

Offline

#2 2024-06-13 18:38:20

cryptearth
Member
Registered: 2024-02-03
Posts: 2,104

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

sounds oddly like this: https://bbs.archlinux.org/viewtopic.php?id=296659
the test I did was with a cpu without igpu but with two dgpus
have to dig out the apu machine

Online

#3 2024-06-13 18:48:48

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

cryptearth wrote:

sounds oddly like this: https://bbs.archlinux.org/viewtopic.php?id=296659
the test I did was with a cpu without igpu but with two dgpus
have to dig out the apu machine

Thank you for the reply! I've seen that topic, but in my case it is just the iGPU enabled causing host PC to reboot. I haven't even created a VM yet.

Offline

#4 2024-06-13 22:36:42

cryptearth
Member
Registered: 2024-02-03
Posts: 2,104

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

can you please share more information about your hardware?
motherboard
bios version
is CSM enabled?
does the platform support rbar? is it enabled?
do you dual-boot with windows?
have you tried a different kernel? another distro?
does the issue only happen when the igpu is enabled along with a dgpu present? have you tried igpu only w/o dgpu installed? is it stable when the igpu is disabled?

unfortunately your post so far misses a lot of crucial information
btw: I did some retests and update my latest reply in the other topic - TLDR: re-test with different hardware - still no issues over here

Online

#5 2024-06-14 10:30:20

Thor-x86
Member
From: Java Island, Indonesia
Registered: 2021-10-15
Posts: 21
Website

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

Usually, almost instant reboot caused by power management failure at hardware level. How many seconds between DE freezing and reboot? If it faster than around 1 secs, then you have to inspect the CPU pins first.

Last edited by Thor-x86 (2024-06-14 10:31:37)


Stay curious,
Eric
--------------------------------------------------------------------------------
Mail | PGP Key | GitHub

Offline

#6 2024-06-14 10:39:21

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

cryptearth wrote:

can you please share more information about your hardware?

Sorry, here is some info:
Motherboard: Asus Prime Z390M-Plus
BIOS version: 3006 (last, 2021/11/19)
CSM was disabled. Tried enabling it, the issue persists.
There is support of resizable BAR, but I have it disabled
No, I no longer dual-boot with Windows, the whole SSD is occupied with Arch.
I've tried linux-lts, no luck. I've had the same issue on Debian Stable.
The issue happens both when iGPU is enabled along with dGPU present and when there is iGPU only. It is stable when the iGPU is disabled. I have that in my original post.
Also, I have full disk LUKS encryption.

Offline

#7 2024-06-14 10:43:43

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

Thor-x86 wrote:

Usually, almost instant reboot caused by power management failure at hardware level.

But I've ran PSU stress test on Windows twice, there were no reboots.

Thor-x86 wrote:

How many seconds between DE freezing and reboot?

Zero seconds between DE freezing and reboot, it happens instantly.

Thanks for the reply!

Offline

#8 2024-06-14 11:07:47

cryptearth
Member
Registered: 2024-02-03
Posts: 2,104

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

Well, if the issue depends on wether the igpu is enabled but ran fine on windows it could be a driver issue.
As the other topic uses a ryzen 7000 and you an intel 9000 I don't see a connection - other then the host reboot when the igpu is enabled.
If it's hardware related it also should had occured on windows.
That's quite a strange behaviour.

As a sanity: Can you please prepare an install media and boot it with igpu enabled? If it's a driver issue archinstall should also result in the same issue. If install keeps stable with igpu enable: How far do you get before the restart? Can you boot the installed system? to which target (console or graphical)?
That's quite a hard issue to pin down.

Online

#9 2024-06-14 11:15:54

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

cryptearth wrote:

Can you please prepare an install media and boot it with igpu enabled? If it's a driver issue archinstall should also result in the same issue.

As I remember, Debian installer didn't result in the same issue with iGPU enabled. But I'll try it with Arch install media right now. Also, it appears that it's not the SSD, as I've tested it with CrystalDiskInfo, the health status was good.

Offline

#10 2024-06-14 12:12:56

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

Just quickly reinstalled Arch with iGPU enabled, no reboots during the installation, everything went fine. But after 8 minutes of configuring KDE, PC rebooted.

Offline

#11 2024-06-14 13:05:03

cryptearth
Member
Registered: 2024-02-03
Posts: 2,104

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

please post the journal of that reboot - maybe it could give some insights

Online

#12 2024-06-14 13:20:46

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

cryptearth wrote:

please post the journal of that reboot - maybe it could give some insights

Here it is: https://privatebin.at/?571ed821e3229e59 … 55qXm1Uc8Y

Offline

#13 2024-10-14 18:33:00

Tenshi18
Member
Registered: 2024-06-13
Posts: 8

Re: [SOLVED] PC randomly reboots when Linux is using iGPU

An update on my situation. I haven't been using the iGPU for months. But yesterday I decided to turn it on and try to set up a VM with dGPU passthrough one more time. Looks like everything is working fine. Maybe one of the updates has fixed it, I don't know. Anyway, thank you, cryptearth and Thor-x86. Marking as solved.

Last edited by Tenshi18 (2024-10-14 18:34:42)

Offline

Board footer

Powered by FluxBB