Performance Loss wine-walyand / SDL-wayland

Here you can see, same seting game running using proton-cachyos wayland and xwayland. the performance loss is around 20fps, I have noticed performance loss in SDL wayland title too.

Like dota 2 running on wayland native also lose around 20fps.
xwayland

wayland

nvidia-bug-report.log.gz (565.5 KB)

╰─❯ fastfetch
           .-------------------------:                    syntist@syntist-laptop
          .+=========================.                    ----------------------
         :++===++==================-       :++-           OS: CachyOS x86_64
        :*++====+++++=============-        .==:           Host: 82SB (IdeaPad Gaming 3 15ARH7)
       -*+++=====+***++==========:                        Kernel: Linux 6.17.9-2-cachyos
      =*++++========------------:                         Uptime: 32 mins
     =*+++++=====-                     ...                Packages: 1466 (pacman), 37 (flatpak)
   .+*+++++=-===:                    .=+++=:              Shell: fish 4.2.1
  :++++=====-==:                     -*****+              Display (EI322QUR): 2560x1440 @ 1.25x in 29", 165 Hz [External] *
 :++========-=.                      .=+**+.              Display (LEN9059): 1920x1080 @ 1.25x in 16", 120 Hz [Built-in]
.+==========-.                          .                 DE: KDE Plasma 6.5.3
 :+++++++====-                                .--==-.     WM: KWin (Wayland)
  :++==========.                             :+++++++:    WM Theme: Breeze
   .-===========.                            =*****+*+    Theme: Breeze (Dark) [Qt], Adwaita-dark [GTK2/3/4]
    .-===========:                           .+*****+:    Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
      -=======++++:::::::::::::::::::::::::-:  .---:      Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
       :======++++====+++******************=.             Cursor: Breeze_Light (24px)
        :=====+++==========++++++++++++++*-               Terminal: konsole 25.8.3
         .====++==============++++++++++*-                CPU: AMD Ryzen 5 6600H (12) @ 4.57 GHz
          .===+==================+++++++:                 GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]
           .-=======================+++:                  GPU 2: AMD Radeon 660M [Integrated]
             ..........................                   Memory: 11.78 GiB / 61.99 GiB (19%)
                                                          Swap: 0 B / 61.99 GiB (0%)
                                                          Disk (/): 220.40 GiB / 301.63 GiB (73%) - btrfs
                                                          Disk (/mnt/Game): 392.06 GiB / 627.87 GiB (62%) - btrfs
                                                          Local IP (wlan0): 10.0.0.206/24
                                                          Battery (PABAS0241231): 98% [Charging, AC Connected]
                                                          Locale: en_US.UTF-8


I notice you actually gained 4fps on average, but lost 20 on your peak.

I’ll have to calculate the average separately because overwatch 2 takes sometime to get the shaders ready and also, the mangohud was on since the start of game that can effect the average

I Think it’s only affecting the laptop which has dgpu and IGPU, where dgpu is offloading the rendering and then the frame are copy to igpu to display. You see performance loss in that Scenario

I’m glad to see someone else testing Overwatch 2. I have to play in DX12 because of memory leaks, but the performance penalty is pretty severe there compared to Windows. I am hoping the upcoming driver changes improve this.

are you nvidia card? that’s separate issue. DirectX12 performance is terrible on Linux - #627 by BlueGoliath
You can find more detail there.

This issue is related to xwayland vs native wayland (winewayland)