intel / linux-intel-lts

Intel LTS kernel
Other
206 stars 113 forks source link

Raptor Lake-P Iris XE / 13th Gen Intel Core i7-13700H - unable to wake up after sleep with SR-IOV i915 #44

Open pg2web opened 1 year ago

pg2web commented 1 year ago

Having Raptor Lake-P laptop (Dell Precision 3581, 13th Gen Intel Core i7-13700H), i915 driver with SR-IOV brings the issue with sleep mode. Even without /sys/devices/pci0000:00/0000:00:02.0/sriov_numvfs initialization the system (Fedora 38) unable to get back from sleep - only power-off via button longpress can reset it.

I tried i915 as DKMS module with various kernel versions up to 6.3.8 and just plain Intel LTS kernel from this repo (including today's 6.1/linux branch) - the behavior is the same: everything works, I even have Windows QEMU VM with vGPU passed through with great FPS in 3D tests, but... the host just hungs forever right after sleep. I tried to disable rc6, most of "workarounds" in boot string, nothing helps. I would appreciate any idea that will help to remove this roadblock on the way to have a great SR-IOV Iris XE feature.

pg2web commented 1 year ago

Upd: changed Alder lake to Raptor since it's about GPU.

stackrainbow commented 1 year ago

Can replicate on i7 12700h DELL XPS 9520.

Blind55 commented 1 year ago

Can replicate on i9 Dell XPS 15 9530 (2023), see linked ticket...

ThatFruedDued commented 1 year ago

Can replicate on i5-1240p Framework.

krispan-intel commented 1 year ago

Can you try latest 6.1/linux and see any helps with below fix?

fecdf03f88d08 i915: drm/i915/iov: Fix suspend/hibernate when VFs are enabled

pg2web commented 1 year ago

I tried everything including this patch, the issue is still there. The sleep issue with SRIOV driver freezes the host even with inactive VFs. Boot with SRiov i915, sleep even before echo > ../sriov_numvfs and that's it.. only power off can bring the host back.

Can you try latest 6.1/linux and see any helps with below fix?

fecdf03 i915: drm/i915/iov: Fix suspend/hibernate when VFs are enabled

realizelol commented 10 months ago

Same here on 14900T. Just a black screen and a reset has to be done to get back a picture.