kernel 6.7.1 freezes the system by moving the mouse in graphical desktop (found problem)
Hi, on a Debian/sid 12 + kde/wayland + nouveau installation (Dell T1600), after updating the kernel from version 6.7.0-rc8 to version 6.7.0, I notice the system freezes when moving the mouse for a few seconds; same problem with kernel 6.7.1.
However, the server is accessible via ssh and seems to work normally, I don't see any warning or error messages in the journal and in dmesg.
After various tests, I found and verified that reverting this commit solves the problem:
git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.7.1&id=eacabb5462717a52fccbbbba458365a4f5e61f35
"nouveau: push event block/allowing out of the fence context"
If you can review the changes introduced by this commit.
Thanks, Antonio
--- DETAILS SERVER:
System: Kernel: 6.7.1-custom arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 Console: pty pts/2 wm: kwin_wayland DM: SDDM Distro: Debian GNU/Linux trixie/sid Machine: Type: Desktop System: Dell product: Precision T1600 v: 01 serial: <filter> Chassis: type: 6 serial: <filter> Mobo: Dell model: 06NWYK v: A01 serial: <filter> BIOS: Dell v: A10 date: 02/21/2012 CPU: Info: quad core Intel Xeon E31245 [MT MCP] arch: Sandy Bridge speed (MHz): avg: 3301 min/max: 1600/3301 Graphics: Device-1: NVIDIA GF119 [NVS 310] driver: nouveau v: kernel arch: Fermi pcie: speed: 2.5 GT/s lanes: 16 ports: active: DP-2 empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:107d temp: 47.0 C Device-2: Realtek Dell_Monitor_IR_Webcam driver: uvcvideo type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 2-1.6.3.3:9 chip-ID: 0bda:58fc Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa dri: swrast gpu: nouveau display-ID: T:10.0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 Monitor-1: DP-2 mapped: DP-1 model: Dell P2418HZm res: 1920x1080 dpi: 102 diag: 604mm (23.8") API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau wayland: drv: nouveau x11: drv: swrast API: OpenGL v: 4.5 vendor: mesa v: 23.3.3-3 glx-v: 1.4 es-v: 3.2 direct-render: yes renderer: llvmpipe (LLVM 17.0.6 256 bits) device-ID: ffffffff:ffffffff API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0 type: cpu driver: mesa llvmpipe device-ID: 10005:0000