[Kernel-packages] [Bug 2057484] Re: kernel worker event freezes during traffic on iwlwifi

2024-03-18 Thread Marcelo Vanzin
I'm not sure the problem I'm having is exactly the same, but I also
can't get any kernel after 6.5.0-21 to properly boot up on my laptop
with an Intel wifi card.

I'm attaching the portion of kern.log where a bunch of kernel worker
tasks are reported as timed out; that happened, IIRC, after I tried to
shut down the system by hitting the power button. The system wasn't
really usable since most processes weren't able to start, so I couldn't
really do a lot of investigation. Even trying to do "sudo blah" or just
"ifconfig" would hang indefinitely.

If it's any help, I have a bunch of options set for the Intel wifi driver:
options iwlwifi power_save=0
options iwlmvm power_scheme=1
options iwldvm power_scheme=1
options lwlwifi bt_coex_active=enable


** Attachment added: "Kernel worker timeout reports from kern.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2057484/+attachment/5756935/+files/kern.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed-hwe-6.5 in Ubuntu.
https://bugs.launchpad.net/bugs/2057484

Title:
  kernel worker event freezes during traffic  on iwlwifi

Status in linux-signed-hwe-6.5 package in Ubuntu:
  Confirmed

Bug description:
  With traffic on Intel Wifi 7 BE200 card, For a while kernel enter 100%
  cpu usage on a worker event thread and kworker/0:0-events_freezable is
  in D state.  System highly unresponsive during this time.

  Happens in 6.5.0-25, does not happen in 6.5.0-17

  
  Description:Ubuntu 22.04.4 LTS
  Release:22.04

Installed: 6.5.0-25.25~22.04.1
Candidate: 6.5.0-25.25~22.04.1
Version table:
   *** 6.5.0-25.25~22.04.1 500
  500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 
Packages
  100 /var/lib/dpkg/status

  linux-modules-6.5.0-25-generic:
Installed: 6.5.0-25.25~22.04.1
Candidate: 6.5.0-25.25~22.04.1
Version table:
   *** 6.5.0-25.25~22.04.1 500
  500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 
Packages
  100 /var/lib/dpkg/status

  filename:   
/lib/modules/6.5.0-25-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
  license:GPL
  description:Intel(R) Wireless WiFi driver for Linux
  firmware:   iwlwifi-100-5.ucode
  firmware:   iwlwifi-1000-5.ucode
  firmware:   iwlwifi-135-6.ucode
  firmware:   iwlwifi-105-6.ucode
  firmware:   iwlwifi-2030-6.ucode
  firmware:   iwlwifi-2000-6.ucode
  firmware:   iwlwifi-5150-2.ucode
  firmware:   iwlwifi-5000-5.ucode
  firmware:   iwlwifi-6000g2b-6.ucode
  firmware:   iwlwifi-6000g2a-6.ucode
  firmware:   iwlwifi-6050-5.ucode
  firmware:   iwlwifi-6000-6.ucode
  firmware:   iwlwifi-7265D-29.ucode
  firmware:   iwlwifi-7265-17.ucode
  firmware:   iwlwifi-3168-29.ucode
  firmware:   iwlwifi-3160-17.ucode
  firmware:   iwlwifi-7260-17.ucode
  firmware:   iwlwifi-8265-36.ucode
  firmware:   iwlwifi-8000C-36.ucode
  firmware:   iwlwifi-9260-th-b0-jf-b0-46.ucode
  firmware:   iwlwifi-9000-pu-b0-jf-b0-46.ucode
  firmware:   iwlwifi-cc-a0-77.ucode
  firmware:   iwlwifi-QuZ-a0-jf-b0-77.ucode
  firmware:   iwlwifi-QuZ-a0-hr-b0-77.ucode
  firmware:   iwlwifi-Qu-b0-jf-b0-77.ucode
  firmware:   iwlwifi-Qu-c0-hr-b0-77.ucode
  firmware:   iwlwifi-Qu-b0-hr-b0-77.ucode
  firmware:   iwlwifi-ma-b0-mr-a0-83.ucode
  firmware:   iwlwifi-ma-b0-gf4-a0-83.ucode
  firmware:   iwlwifi-ma-b0-gf-a0-83.ucode
  firmware:   iwlwifi-ma-b0-hr-b0-83.ucode
  firmware:   iwlwifi-ma-a0-mr-a0-83.ucode
  firmware:   iwlwifi-ma-a0-gf4-a0-83.ucode
  firmware:   iwlwifi-ma-a0-gf-a0-83.ucode
  firmware:   iwlwifi-ma-a0-hr-b0-83.ucode
  firmware:   iwlwifi-ty-a0-gf-a0-83.ucode
  firmware:   iwlwifi-so-a0-gf-a0-83.ucode
  firmware:   iwlwifi-so-a0-hr-b0-83.ucode
  firmware:   iwlwifi-so-a0-jf-b0-83.ucode
  firmware:   iwlwifi-gl-c0-fm-c0-83.ucode
  firmware:   iwlwifi-gl-b0-fm-b0-83.ucode
  firmware:   iwlwifi-bz-a0-fm4-b0-83.ucode
  firmware:   iwlwifi-bz-a0-fm-c0-83.ucode
  firmware:   iwlwifi-bz-a0-fm-b0-83.ucode
  firmware:   iwlwifi-bz-a0-gf4-a0-83.ucode
  firmware:   iwlwifi-bz-a0-gf-a0-83.ucode
  firmware:   iwlwifi-bz-a0-hr-b0-83.ucode
  firmware:   iwlwifi-sc-a0-wh-a0-83.ucode
  firmware:   iwlwifi-sc-a0-gf4-a0-83.ucode
  firmware:   iwlwifi-sc-a0-gf-a0-83.ucode
  firmware:   iwlwifi-sc-a0-hr-b0-83.ucode
  firmware:   iwlwifi-sc-a0-hr-b0-83.ucode
  firmware:   iwlwifi-sc-a0-fm-c0-83.ucode
  firmware:   iwlwifi-sc-a0-fm-b0-83.ucode
  srcversion: CE34BB7E0E287E10FEC1E13
  alias:  pci:v8086dE440sv*sd*bc*sc*i*
  alias:  pci:v8086d77

[Kernel-packages] [Bug 1872001] Re: 5.3.0-46-generic - i915 - frequent GPU hangs / resets rcs0

2020-05-07 Thread Marcelo Vanzin
I was also running into pretty horrendous graphics perf (with bionic),
and fixed it after I did the following (did all at once so not sure
which one did it):

- updated to the 5.3.0-51 kernel
- set the java2d option to opengl (from #82) - although I had issues in other 
apps too
- updated the Xorg server to xserver-xorg-hwe-18.04 (+ other hwe drivers)

My guess is that the last one is what did the trick. Much better for the
last couple of days.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1872001

Title:
  5.3.0-46-generic - i915 - frequent GPU hangs  / resets rcs0

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Eoan:
  Confirmed

Bug description:
  Hi,

  Since update to HWE kernel 5.3.0-46-generic I am experiencing frequent
  (every couple of minutes) GPU hangs and reset manifesting as 2-3
  seconds freezes of the GUI (other than the mouse pointer).

  No particular triggers identified although have Chrome / Chromium
  running with Hardware Acceleration enabled does appear to increase the
  frequency.

  I have seen incidences of these hangs in jounralctl output using
  previous kernels in the 5.3.0-xx series but they were very infrequent
  (one or twice in a week of daily usage)

  System Info
  steve@steve-Inspiron-5580:~$ inxi -SCGxxxz
  System:Host: steve-Inspiron-5580 Kernel: 5.3.0-46-generic x86_64 bits: 64 
compiler: gcc v: 7.5.0
     Desktop: Cinnamon 4.4.8 wm: muffin 4.4.2 dm: LightDM 1.26.0 
Distro: Linux Mint 19.3 Tricia
     base: Ubuntu 18.04 bionic
  CPU:   Topology: Quad Core model: Intel Core i5-8265U bits: 64 type: MT 
MCP arch: Kaby Lake rev: B
     L2 cache: 6144 KiB
     flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
bogomips: 28800
     Speed: 1173 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 800 2: 
800 3: 800 4: 800 5: 800 6: 800 7: 800
     8: 800
  Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 
00:02.0 chip ID: 8086:3ea0
     Display: x11 server: X.Org 1.20.5 driver: modesetting unloaded: 
fbdev,vesa resolution: 1920x1080~60Hz
     OpenGL: renderer: Mesa DRI Intel UHD Graphics (Whiskey Lake 3x8 
GT2) v: 4.5 Mesa 19.2.8 compat-v: 3.0
     direct render: Yes

  steve@steve-Inspiron-5580:~$ journalctl -b | grep i915
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: i915 :00:02.0: vgaarb: 
deactivate vga console
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: i915 :00:02.0: vgaarb: 
changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: [drm] Finished loading DMC 
firmware i915/kbl_dmc_ver1_04.bin (v1.4)
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: [drm] Initialized i915 1.6.0 
20190619 for :00:02.0 on minor 0
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: fbcon: i915drmfb (fb0) is primary 
device
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: i915 :00:02.0: fb0: i915drmfb 
frame buffer device
  Apr 10 06:15:17 steve-Inspiron-5580 kernel: snd_hda_intel :00:1f.3: bound 
:00:02.0 (ops i915_audio_component_bind_ops [i915])
  Apr 10 06:16:28 steve-Inspiron-5580 kernel: i915 :00:02.0: GPU HANG: 
ecode 9:0:0x, hang on rcs0
  Apr 10 06:16:28 steve-Inspiron-5580 kernel: i915 :00:02.0: Resetting rcs0 
for hang on rcs0
  Apr 10 06:31:46 steve-Inspiron-5580 kernel: i915 :00:02.0: Resetting rcs0 
for hang on rcs0
  Apr 10 06:37:48 steve-Inspiron-5580 kernel: i915 :00:02.0: Resetting rcs0 
for hang on rcs0
  Apr 10 06:40:46 steve-Inspiron-5580 kernel: i915 :00:02.0: Resetting rcs0 
for hang on rcs0

  I note another user has reported similar issues on the same kernel at 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1861395/comments/52
  ---
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  steve  3920 F pulseaudio
   /dev/snd/pcmC0D0p:   steve  3920 F...m pulseaudio
  CurrentDesktop: X-Cinnamon
  DistroRelease: Linux Mint 19.3
  HibernationDevice: RESUME=none
  InstallationDate: Installed on 2019-12-27 (104 days ago)
  InstallationMedia: Linux Mint 19.3 "Tricia" - Release amd64 20191213
  MachineType: Dell Inc. Inspiron 5580
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-46-generic 
root=UUID=b0eaa5bb-0276-42d4-938f-ee6ce1627906 ro usb_storage.quirks=0bc2:2320: 
quiet splash vt.handoff=1
  ProcVersionSignature: Ubuntu 5.3.0-46.38~18.04.1-generic 5.3.18
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-46-generic N/A
   linux-backports-modules-5.3.0-46-generic  N/A
   linux-firmware1.173.17
  Tags:  tricia
  Uname: Linux 5.3.0-46-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)