Running First Wine Application causes system to slow down

@medwatt Hi, I have a same issue on the Thinkpad P15 Gen2. Issue is a related to the modesetting Xorg driver and the Intel cards when nVidia card are present too, switching back to intel driver solves it. But… introduces artifacts in the Xorg: screen capture tools can capture old screens instead of actual one. WA: disable/enable system effects. I turned off DRI3 today, now collect information…

Regression was occurred after some previous system upgrade.

Note, xrandr --listproviders also slow down system for a short time in combination above (intel+nvidia and modesetting driver for the intel card). geeqie starts also slow downed.

UPD 2024-03-14: sounds like turning off DRI3 on the Intel driver (opposite to Modesetting one) solves issues with artifacts like “old image” on screen capture. My Xorg config now is (/etc/X11/xorg.conf.d/20-intel.conf):

Section "Device"
    Identifier "Intel Graphics"
    #Driver "modesetting"
    Driver "intel"
    Option "Backlight" "intel_backlight"

    # integrated intel
    BusId "PCI:0:2:0"

    Option "DRI" "2" # Turn Off DRI3 here
    Option "TearFree" "true"
EndSection

BusId must be adjusted for your system. It is fully conform to the lscpi output but without leading zeroes.

Relative thread: https://www.reddit.com/r/linuxquestions/comments/17iuzr9/lag_when_starting_any_wine_version_and_fork_with/