You are not logged in.

#26 2024-03-12 09:50:39

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Hello Seth! Good morning again!
I inputted

cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st

And the output of that is: http://0x0.st/Hhg_.txt

Offline

#27 2024-03-12 14:36:52

seth
Member
Registered: 2012-09-03
Posts: 52,570

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

[     8.687] (==) Using config file: "/etc/X11/xorg.conf"
[     8.687] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     8.687] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.688] (==) ServerLayout "Layout0"
[     8.688] (**) |-->Screen "Screen0" (0)
[     8.688] (**) |   |-->Monitor "Monitor0"
[     8.688] (**) |   |-->Device "Device0"
[     8.688] (**) |   |-->GPUDevice "dummy_card"
[     8.688] (**) |-->Input Device "Keyboard0"
[     8.688] (**) |-->Input Device "Mouse0"

Please post your /etc/X11/xorg.conf
"i915.enable_psr=0 i915.enable_fbc=0" won't do anything, there's only an nvidia card in the system.

AllowGSYNCCompatible

Let's see whether that're reasonable at all:

for OUT in /sys/class/drm/card0*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://aur.archlinux.org/packages/edid-decode-git

disabled/enabled compositor but didn't helped

To make absolutely sure that this isn't the compositor, start an openbox session and see whether it flickers there as well, however

and tried Factorio again, just to see the graphical tearing/flicker again

Is the problem actually limited to the specific client?

pacman -Qs factorio

Does glxgears "flicker"?

Offline

#28 2024-03-12 20:50:50

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Hello Seth! I'm back !
So far my /etc/X11/xorg.conf looks like this:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 550.54.14

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 550.54.14

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "AOC 27G1G4"
    HorizSync       160.0 - 160.0
    VertRefresh     48.0 - 144.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3060"
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-0: 1920x1080_144 +1920+0, HDMI-0: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DP-0: 1920x1080_144 +1920+0 {AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen" 

Next is this line you told me to input:
And output is:

 [submuffin@PapaPuff ~]$ for OUT in /sys/class/drm/card0*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done
/sys/class/drm/card0
/sys/class/drm/card0/edid: No such file or directory
=================
/sys/class/drm/card0-DP-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 05 e3 01 27 86 3f 02 00
28 1e 01 04 a5 3c 22 78 3b 0c c1 af 4f 40 ab 25
14 50 54 bf ef 00 d1 c0 81 80 31 68 31 7c 45 68
45 7c 61 68 61 7c 02 3a 80 18 71 38 2d 40 58 2c
45 00 56 50 21 00 00 1e fc 7e 80 88 70 38 12 40
18 20 35 00 56 50 21 00 00 1e 00 00 00 fc 00 32
37 47 31 47 34 0a 20 20 20 20 20 20 00 00 00 fd
00 30 90 a0 a0 21 01 0a 20 20 20 20 20 20 01 8f

02 03 28 f1 4c 01 03 05 14 04 13 1f 12 02 11 90
3f 23 09 07 07 83 01 00 00 65 03 0c 00 10 00 68
1a 00 00 01 01 30 90 00 86 6f 80 a0 70 38 40 40
30 20 35 00 56 50 21 00 00 1e fe 5b 80 a0 70 38
35 40 30 20 35 00 56 50 21 00 00 1e 01 1d 00 72
51 d0 1e 20 6e 28 55 00 56 50 21 00 00 1e 7c 2e
90 a0 60 1a 1e 40 30 20 36 00 56 50 21 00 00 1a
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4a

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: AOC
    Model: 9985
    Serial Number: 147334 (0x00023f86)
    Made in: week 40 of 2020
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 8
    DisplayPort interface
    Maximum image size: 60 cm x 34 cm
    Gamma: 2.20
    DPMS levels: Off
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
    First detailed timing includes the native pixel format and preferred refresh rate
    Display supports continuous frequencies
  Color Characteristics:
    Red  : 0.6835, 0.3085
    Green: 0.2529, 0.6679
    Blue : 0.1474, 0.0781
    White: 0.3125, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x08:   800x600    56.250000 Hz   4:3     35.156 kHz     36.000000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
  Standard Timings:
    DMT 0x52:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    GTF     :   640x480    99.999537 Hz   4:3     50.900 kHz     43.163000 MHz
    GTF     :   640x480   119.999084 Hz   4:3     61.800 kHz     52.406000 MHz
    GTF     :   800x600    99.999707 Hz   4:3     63.600 kHz     68.179000 MHz
    GTF     :   800x600   119.999886 Hz   4:3     77.160 kHz     83.950000 MHz
    GTF     :  1024x768   100.000177 Hz   4:3     81.400 kHz    113.309000 MHz
    GTF     :  1024x768   119.999931 Hz   4:3     98.760 kHz    139.054000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (598 mm x 336 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    DTD 2:  1920x1080  144.000765 Hz  16:9    158.113 kHz    325.080000 MHz (598 mm x 336 mm)
                 Hfront   24 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   10 Vpol P
    Display Product Name: '27G1G4'
    Display Range Limits:
      Monitor ranges (Range Limits Only): 48-144 Hz V, 160-160 kHz H, max dotclock 330 MHz
  Extension blocks: 1
Checksum: 0x8f

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Basic audio support
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC   1:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
    VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
    VIC   2:   720x480    59.940060 Hz   4:3     31.469 kHz     27.000000 MHz
    VIC  17:   720x576    50.000000 Hz   4:3     31.250 kHz     27.000000 MHz
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC  63:  1920x1080  120.000000 Hz  16:9    135.000 kHz    297.000000 MHz
  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block:
    FL/FR - Front Left/Right
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
    Version: 1.1
    Minimum Refresh Rate: 48 Hz
    Maximum Refresh Rate: 144 Hz
    Flags 1.x: 0x00
  Detailed Timing Descriptors:
    DTD 3:  1920x1080  119.982181 Hz  16:9    137.260 kHz    285.500000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   56 Vpol P
    DTD 4:  1920x1080   99.930409 Hz  16:9    113.221 kHz    235.500000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   5 Vback   45 Vpol P
    DTD 5:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz (598 mm x 336 mm)
                 Hfront  110 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 6:  1680x1050   59.883253 Hz  16:10    64.674 kHz    119.000000 MHz (598 mm x 336 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol P
                 Vfront    3 Vsync   6 Vback   21 Vpol N
Checksum: 0x4a  Unused space in Extension Block: 15 bytes
=================
/sys/class/drm/card0-DP-2
EDID of '/sys/class/drm/card0-DP-2/edid' was empty.
=================
/sys/class/drm/card0-DP-3
EDID of '/sys/class/drm/card0-DP-3/edid' was empty.
=================
/sys/class/drm/card0-HDMI-A-1
edid-decode (hex):

00 ff ff ff ff ff ff 00 4c 2d 43 0b 58 41 5a 5a
25 19 01 03 80 35 1e 78 2a 9f f5 a5 55 50 9e 26
10 50 54 bf ef 80 71 4f 81 c0 81 00 81 80 95 00
a9 c0 b3 00 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 13 2b 21 00 00 1e 01 1d 00 72 51 d0 1e 20
6e 28 55 00 13 2b 21 00 00 1e 00 00 00 fd 00 32
4b 1e 51 11 00 0a 20 20 20 20 20 20 00 00 00 fc
00 53 32 34 44 33 30 30 0a 20 20 20 20 20 01 ff

02 03 11 b1 46 90 04 1f 13 03 12 65 03 0c 00 10
00 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 13 2b 21
00 00 1e 8c 0a d0 90 20 40 31 20 0c 40 55 00 13
2b 21 00 00 18 8c 0a d0 8a 20 e0 2d 10 10 3e 96
00 13 2b 21 00 00 18 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 21

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.3
  Vendor & Product Identification:
    Manufacturer: SAM
    Model: 2883
    Serial Number: 1515864408 (0x5a5a4158)
    Made in: week 37 of 2015
  Basic Display Parameters & Features:
    Digital display
    Maximum image size: 53 cm x 30 cm
    Gamma: 2.20
    DPMS levels: Off
    RGB color display
    First detailed timing is the preferred timing
  Color Characteristics:
    Red  : 0.6464, 0.3330
    Green: 0.3154, 0.6201
    Blue : 0.1513, 0.0654
    White: 0.3134, 0.3291
  Established Timings I & II:
    IBM     :   720x400    70.081663 Hz   9:5     31.467 kHz     28.320000 MHz
    DMT 0x04:   640x480    59.940476 Hz   4:3     31.469 kHz     25.175000 MHz
    Apple   :   640x480    66.666667 Hz   4:3     35.000 kHz     30.240000 MHz
    DMT 0x05:   640x480    72.808802 Hz   4:3     37.861 kHz     31.500000 MHz
    DMT 0x06:   640x480    75.000000 Hz   4:3     37.500 kHz     31.500000 MHz
    DMT 0x08:   800x600    56.250000 Hz   4:3     35.156 kHz     36.000000 MHz
    DMT 0x09:   800x600    60.316541 Hz   4:3     37.879 kHz     40.000000 MHz
    DMT 0x0a:   800x600    72.187572 Hz   4:3     48.077 kHz     50.000000 MHz
    DMT 0x0b:   800x600    75.000000 Hz   4:3     46.875 kHz     49.500000 MHz
    Apple   :   832x624    74.551266 Hz   4:3     49.726 kHz     57.284000 MHz
    DMT 0x10:  1024x768    60.003840 Hz   4:3     48.363 kHz     65.000000 MHz
    DMT 0x11:  1024x768    70.069359 Hz   4:3     56.476 kHz     75.000000 MHz
    DMT 0x12:  1024x768    75.028582 Hz   4:3     60.023 kHz     78.750000 MHz
    DMT 0x24:  1280x1024   75.024675 Hz   5:4     79.976 kHz    135.000000 MHz
    Apple   :  1152x870    75.061550 Hz 192:145   68.681 kHz    100.000000 MHz
  Standard Timings:
    DMT 0x15:  1152x864    75.000000 Hz   4:3     67.500 kHz    108.000000 MHz
    DMT 0x55:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    DMT 0x1c:  1280x800    59.810326 Hz  16:10    49.702 kHz     83.500000 MHz
    DMT 0x23:  1280x1024   60.019740 Hz   5:4     63.981 kHz    108.000000 MHz
    DMT 0x2f:  1440x900    59.887445 Hz  16:10    55.935 kHz    106.500000 MHz
    DMT 0x53:  1600x900    60.000000 Hz  16:9     60.000 kHz    108.000000 MHz (RB)
    DMT 0x3a:  1680x1050   59.954250 Hz  16:10    65.290 kHz    146.250000 MHz
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (531 mm x 299 mm)
                 Hfront   88 Hsync  44 Hback  148 Hpol P
                 Vfront    4 Vsync   5 Vback   36 Vpol P
    DTD 2:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz (531 mm x 299 mm)
                 Hfront  110 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    Display Range Limits:
      Monitor ranges (GTF): 50-75 Hz V, 30-81 kHz H, max dotclock 170 MHz
    Display Product Name: 'S24D300'
  Extension blocks: 1
Checksum: 0xff

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Underscans IT Video Formats by default
  Supports YCbCr 4:4:4
  Supports YCbCr 4:2:2
  Native detailed modes: 1
  Video Data Block:
    VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (native)
    VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
    VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz
    VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
    VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz
    VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz
  Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
    Source physical address: 1.0.0.0
  Detailed Timing Descriptors:
    DTD 3:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz (531 mm x 299 mm)
                 Hfront  440 Hsync  40 Hback  220 Hpol P
                 Vfront    5 Vsync   5 Vback   20 Vpol P
    DTD 4:   720x576    50.000000 Hz   5:4     31.250 kHz     27.000000 MHz (531 mm x 299 mm)
                 Hfront   12 Hsync  64 Hback   68 Hpol N
                 Vfront    5 Vsync   5 Vback   39 Vpol N
    DTD 5:   720x480    59.940060 Hz   3:2     31.469 kHz     27.000000 MHz (531 mm x 299 mm)
                 Hfront   16 Hsync  62 Hback   60 Hpol N
                 Vfront    9 Vsync   6 Vback   30 Vpol N
Checksum: 0x21  Unused space in Extension Block: 56 bytes
=================

Bwt Seth pacman -Qs factorio has no output in Konsole for me. I don't understand why.
I will test further your suggestions, I'm sorry for the late response, had to work and house chores. I do think it's time to appreciate the time and patience you invested so far into helping me so I'm grateful for it!

Offline

#29 2024-03-12 22:36:41

seth
Member
Registered: 2012-09-03
Posts: 52,570

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

"Display supports continuous frequencies" - the AOC on DP-1 is indeed VRR capable and should™ be able to align to whatever fps you're painting at.
Is factorio a steam game?

I'm sorry for the late response

Don't be - this runs at your pace anyway, since you're facing the problems, nobody else.

Offline

#30 2024-03-12 22:44:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,963

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Factorio is a steam game, and FWIW if Kwin's supportInformation show Operation Mode: Xwayland it's actually running in Wayland mode. Can you make sure you actually select the X11 session, and maybe repost

loginctl session-status

Offline

#31 2024-03-12 23:07:43

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Hello! Indeed, my fault, I forgot to mention that Factorio is a steam game. I also tried Half-Life (quick small size games with some fast paced graphics).
Here's my log of login session-status:

[submuffin@PapaPuff ~]$ loginctl session-status
2 - submuffin (1000)
  Since: Tue 2024-03-12 22:21:46 EET; 2h 42min ago
  State: active
 Leader: 641 (sddm-helper)
   Seat: seat0; vc2
    TTY: tty2
 Remote: no
Service: sddm
   Type: x11
  Class: user
Desktop: KDE
   Idle: no
   Unit: session-2.scope
         ├─641 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-c8d14932-291b-4c3c-8716-db81a6a2b18a --id 1 >
         ├─662 /usr/bin/kwalletd6 --pam-login 12 14
         └─663 /usr/bin/startplasma-x11

Mar 12 22:21:46 PapaPuff systemd[1]: Started Session 2 of User submuffin.
lines 1-18/18 (END)
 

Last edited by Papapuff (2024-03-14 09:10:26)

Offline

#32 2024-03-14 22:25:41

seth
Member
Registered: 2012-09-03
Posts: 52,570

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Sorry for the delay, let's see whether this is only steam.
1. does it happen w/ other steam games?
2. does it happen w/ eg. https://archlinux.org/packages/extra/x86_64/warsow/
3.  pacman -Qs nvidia # do you have the nvidia multilib package?
4. does https://wiki.archlinux.org/title/Steam/ … _emulation help?
5. or https://wiki.archlinux.org/title/Steam/ … ith_Vulkan (right above th previous)

Offline

#33 2024-03-15 12:15:43

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Welcom back Seth! I observed that Steam is glitching when just navigating to different pages ( for example when I navigate from Steam Settings "Account" to "Compatibility" the elements from the page are mixed and then it sorts itself out as glitch stops. So it's not just games launched from Steam it's Steam itself. Desktop environment seems stable and doesn't glitch so it seems that it can be pinned down to Steam. It doesn't matter on what display I open Steam or steam games, it doesn't matter if it's only one display active.
2. I checked Warsow: Runs perfectly smooth, no visual glitch/tearing/
3. I run Proton 8.0-5 on Steam
4. Trying to run Factorio from Steam today with same Proton 8.0-5 resulted in this error after crashing instantly: https://imgur.com/gallery/laioyBo It opens, blackscreens one second the error and crashes, even if I input the launcher commands as you suggested in point 4 and 5.  I checked File Integrity and same error resulted/Re-installed Factorio, same crash and error. Now my favorite game is literally unplayable.
5. Trying to run DyingLight from Steam today with same Proton 8.0-5 resulted in gameplay going smoothly, no tearing or visual glitch
6. I tried playing other games from other game launcher like Payday2 using the Heroic Game Launcher: the launcher behaves properly, no glitches or tearing and the game Payday2 runs smoothly just like Warsow you suggested or the other Steam game Dying Light
7. Seems that Steam doesn't like something but not for all of the games. It can glitch/tear visually random without me inputting something as mouse movement or key strokes.
My pacman -Qs nvidia:

 [submuffin@PapaPuff ~]$ pacman -Qs nvidia
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 550.54.14-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 550.54.14-1
    NVIDIA NV-CONTROL X extension
local/nvidia-dkms 550.54.14-4
    NVIDIA drivers - module sources
local/nvidia-settings 550.54.14-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 550.54.14-4
    NVIDIA drivers utilities
local/opencl-nvidia 550.54.14-4
    OpenCL implemention for NVIDIA
[submuffin@PapaPuff ~]$ 

Last edited by Papapuff (2024-03-15 12:26:20)

Offline

#34 2024-03-15 15:25:25

seth
Member
Registered: 2012-09-03
Posts: 52,570

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

So to sum up, right now the (only?) issue is

Trying to run Factorio from Steam today with same Proton 8.0-5 resulted in this error after crashing instantly: https://imgur.com/gallery/laioyBo It opens, blackscreens one second the error and crashes


That's not a you-problem:
https://www.codeweavers.com/support/for … msg=268747
https://forums.factorio.com/viewtopic.php?t=103481

Is the native client an option?
https://aur.archlinux.org/packages?O=0&K=factorio

Offline

#35 2024-03-15 18:13:49

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

So I installed Factorio from AUR and the same graphical/tearing happens. At least the error is gone now
I installed Thorium browser just to change to another browser from Firefox and soon as I launched it observed the same behavior as on Steam and Factorio...I'm baffled at this point.
Look at this video as I'm browsing Arch Linux forum on Thorium:
https://youtu.be/HrpJaWle-78
At this point it drains me mentally. It's Factorio but it's not Factorio, It's steam but wait even a browser does the same behavior (currently I'm writing from Firefox which runs smooth, no glitch/tearing whatsoever)

Last edited by Papapuff (2024-03-15 18:14:03)

Offline

#36 2024-03-15 18:26:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,963

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

All of that sounds like you're still running on Wayland somehow for some reason. Firefox defaults to Wayland, chromium based browsers, steam and games will use xwayland if on Wayland by default and xwayland has known issues that look like what you're seeing on nvidia....

Does the about:support page suggest on which rendering backend Firefox runs?

Offline

#37 2024-03-15 18:36:30

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

To clarify. I need to fix this on Wayland so I won't be stuck with choosing the X11 session everytime I want to browse thorium or play games. But as far as Mozilla backed, I have no clue V1del

Offline

#38 2024-03-15 18:38:35

seth
Member
Registered: 2012-09-03
Posts: 52,570

Offline

#39 2024-03-15 19:43:50

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

So I

yay -S xorg-xwayland-explicit-sync-git

And I rebooted and the issue is still present with Factorio from Aur. Tried Factorio from Steam again and the crash with error is still present.
Here is my log of "yay -S xorg-xwayland-explicit-sync-git" maybe I do something wrong during a simple yay -S:
I insert [A]ll for "Packages to cleanBuild?" then [N]one for "Diffs to show?" . Then I'm asked for password . Then Y for "Proceed with installation"

[submuffin@PapaPuff ~]$ yay -S xorg-xwayland-explicit-sync-git
AUR Explicit (1): xorg-xwayland-explicit-sync-git-23.2.4.r159.g2ef0f1116-1
:: PKGBUILD up to date, skipping download: xorg-xwayland-explicit-sync-git
  1 xorg-xwayland-explicit-sync-git          (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/submuffin/.cache/yay/xorg-xwayland-explicit-sync-git
HEAD is now at 804e3c0 Bump to 23.2
Removing 967.patch
Removing xorg-xwayland-explicit-sync-git-23.2.4.r311.g005912d82-1-x86_64.pkg.tar.zst
Removing xorg-xwayland-explicit-sync-git-debug-23.2.4.r311.g005912d82-1-x86_64.pkg.tar.zst
Removing xserver/
  1 xorg-xwayland-explicit-sync-git          (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: xorg-xwayland-explicit-sync-git 23.2.4.r159.g2ef0f1116-1 (Fri 15 Mar 2024 09:40:56 PM EET)
==> Retrieving sources...
  -> Cloning xserver git repo...
Cloning into bare repository '/home/submuffin/.cache/yay/xorg-xwayland-explicit-sync-git/xserver'...
remote: Enumerating objects: 189865, done.
remote: Counting objects: 100% (8604/8604), done.
remote: Compressing objects: 100% (3625/3625), done.
remote: Total 189865 (delta 6545), reused 6285 (delta 4968), pack-reused 181261
Receiving objects: 100% (189865/189865), 47.88 MiB | 1.85 MiB/s, done.
Resolving deltas: 100% (154871/154871), done.
  -> Downloading 967.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  109k    0  109k    0     0  82548      0 --:--:--  0:00:01 --:--:-- 82599
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    xserver ... Skipped
    967.patch ... Skipped
:: (1/1) Parsing SRCINFO: xorg-xwayland-explicit-sync-git
==> Making package: xorg-xwayland-explicit-sync-git 23.2.4.r159.g2ef0f1116-1 (Fri 15 Mar 2024 09:41:28 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating xserver git repo...
  -> Found 967.patch
==> Validating source files with b2sums...
    xserver ... Skipped
    967.patch ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of xserver git repo...
Cloning into 'xserver'...
done.
==> Starting prepare()...
patching file hw/xwayland/xwayland-glamor-gbm.c
Hunk #1 succeeded at 1182 (offset -4 lines).
Hunk #2 succeeded at 1247 (offset -4 lines).
Hunk #3 succeeded at 1338 (offset -4 lines).
patching file hw/xwayland/xwayland-glamor.c
patching file hw/xwayland/xwayland-glamor.h
patching file hw/xwayland/xwayland-present.c
patching file hw/xwayland/xwayland-window-buffers.c
patching file dri3/dri3_request.c
patching file include/protocol-versions.h
patching file dri3/dri3.c
patching file dri3/dri3.h
patching file dri3/dri3_priv.h
patching file dri3/dri3_request.c
patching file dri3/dri3_screen.c
patching file include/protocol-versions.h
patching file hw/xwayland/xwayland-glamor-gbm.c
Hunk #3 succeeded at 1456 (offset -4 lines).
patching file hw/xfree86/common/xf86Module.h
patching file hw/xwayland/xwayland-glamor.c
patching file hw/xwayland/xwayland-glamor.h
patching file hw/xwayland/xwayland-present.c
patching file hw/xwayland/xwayland-present.h
patching file hw/xwayland/xwayland-screen.h
patching file include/protocol-versions.h
patching file present/present.c
patching file present/present_execute.c
patching file present/present_priv.h
patching file present/present_request.c
patching file present/present_scmd.c
patching file present/present_screen.c
patching file present/present_vblank.c
patching file hw/xwayland/meson.build
patching file hw/xwayland/xwayland-glamor-gbm.c
Hunk #8 succeeded at 1308 (offset -4 lines).
Hunk #9 succeeded at 1554 (offset -4 lines).
Hunk #10 succeeded at 1584 (offset -4 lines).
Hunk #11 succeeded at 1661 (offset -4 lines).
patching file hw/xwayland/xwayland-glamor.c
patching file hw/xwayland/xwayland-glamor.h
patching file hw/xwayland/xwayland-present.c
patching file hw/xwayland/xwayland-screen.c
patching file hw/xwayland/xwayland-screen.h
patching file hw/xwayland/xwayland-window-buffers.c
patching file hw/xwayland/xwayland-window.c
patching file hw/xwayland/xwayland-window.h
patching file present/present_execute.c
patching file hw/xwayland/xwayland-present.c
patching file hw/xwayland/xwayland-present.h
==> Starting pkgver()...
==> Updated version: xorg-xwayland-explicit-sync-git 23.2.4.r311.g005912d82-1
==> Sources are ready.
==> Making package: xorg-xwayland-explicit-sync-git 23.2.4.r311.g005912d82-1 (Fri 15 Mar 2024 09:41:35 PM EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 xserver build -D ipv6=true -D xvfb=false -D xnest=false -D xcsecurity=true -D xorg=false -D xephyr=false -D xwayland=true -D xwayland_eglstream=true -D xwin=false -D xquartz=false -D glamor=true -D udev=true -D systemd_logind=true -D suid_wrapper=true -D xkb_dir=/usr/share/X11/xkb -D xkb_output_dir=/var/lib/xkb
The Meson build system
Version: 1.4.0
Source dir: /home/submuffin/.cache/yay/xorg-xwayland-explicit-sync-git/src/xserver
Build dir: /home/submuffin/.cache/yay/xorg-xwayland-explicit-sync-git/src/build
Build type: native build
Project name: xserver
Project version: 21.1.99.1
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wall: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wbad-function-cast: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wunused: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wmissing-format-attribute: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Werror=implicit: YES 
Compiler for C supports arguments -Werror=nonnull: YES 
Compiler for C supports arguments -Werror=init-self: YES 
Compiler for C supports arguments -Werror=main: YES 
Compiler for C supports arguments -Werror=missing-braces: YES 
Compiler for C supports arguments -Werror=sequence-point: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=trigraphs: YES 
Compiler for C supports arguments -Werror=array-bounds: YES 
Compiler for C supports arguments -Werror=write-strings: YES 
Compiler for C supports arguments -Werror=address: YES 
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES 
xserver/meson.build:61: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency xproto found: YES 7.0.33
Run-time dependency randrproto found: YES 1.6.0
Run-time dependency renderproto found: YES 0.11.1
Run-time dependency xextproto found: YES 7.3.0
Run-time dependency inputproto found: YES 2.3.99.2
Run-time dependency kbproto found: YES 1.0.7
Run-time dependency fontsproto found: YES 2.1.3
Run-time dependency fixesproto found: YES 6.1
Run-time dependency damageproto found: YES 1.2.1
Run-time dependency xcmiscproto found: YES 1.2.2
Run-time dependency bigreqsproto found: YES 1.1.2
Run-time dependency presentproto found: YES 1.3
Run-time dependency xtrans found: YES 1.5.0
Run-time dependency videoproto found: YES 2.3.3
Run-time dependency compositeproto found: YES 0.4.2
Run-time dependency recordproto found: YES 1.14.2
Run-time dependency scrnsaverproto found: YES 1.2.3
Run-time dependency resourceproto found: YES 1.2.0
Run-time dependency xf86driproto found: YES 2.1.1
Run-time dependency dri2proto found: YES 2.8
Run-time dependency dri3proto found: YES 1.4
Run-time dependency xineramaproto found: YES 1.2.1
Run-time dependency xf86bigfontproto found: YES 1.2.0
Run-time dependency xf86vidmodeproto found: YES 2.3.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency applewmproto found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency applewmproto
Neither a subproject directory nor a xorgproto.wrap file was found.
Subproject  xorgproto is buildable: NO (disabling)
Dependency applewmproto from subproject xorgproto found: NO (subproject failed to configure)
Run-time dependency xshmfence found: YES 1.3.2
Run-time dependency xwaylandproto found: YES 1.0
Run-time dependency dpmsproto found: YES 1.2
Run-time dependency pixman-1 found: YES 0.43.4
Run-time dependency libbsd-overlay found: YES 0.12.1
Run-time dependency xkbcomp found: YES 1.4.7
Run-time dependency xkbfile found: YES 1.1.3
Run-time dependency xfont2 found: YES 2.0.6
Run-time dependency dbus-1 found: YES 1.14.10
Run-time dependency libsystemd found: YES 255
Run-time dependency fontutil found: YES 1.4.1
Run-time dependency libxcvt found: YES 0.1.2
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.33
Dependency libxcvt found: YES 0.1.2 (cached)
Dependency xshmfence found: YES 1.3.2 (cached)
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency epoxy found: YES 1.5.10
Run-time dependency libudev found: YES 255
Run-time dependency gbm found: YES 24.0.2-arch1.2
Dependency epoxy found: YES 1.5.10 (cached)
Run-time dependency libdecor-0 found: YES 0.2.2
Run-time dependency wayland-eglstream-protocols found: YES 1.1.13
Run-time dependency libei-1.0 found: NO (tried pkgconfig and cmake)
Run-time dependency liboeffis-1.0 found: NO (tried pkgconfig and cmake)
Checking for function "SHA1Init" : NO 
Checking for function "CC_SHA1_Init" : NO 
Has header "wincrypt.h" : NO 
Library md found: YES
Message: Using libmd SHA1 functions
Run-time dependency xdmcp found: YES 1.1.5
Dependency libdrm found: YES 2.4.120 (cached)
Run-time dependency xf86dgaproto found: YES 2.1
Has header "linux/apm_bios.h" : YES 
Has header "sys/shm.h" : YES 
Library m found: YES
Library dl found: YES
Run-time dependency libselinux found: NO (tried pkgconfig and cmake)
Run-time dependency audit found: YES 4.0
Run-time dependency xorg-sgml-doctools found: NO (tried pkgconfig and cmake)
Program xmlto found: NO
Program xsltproc found: YES (/usr/bin/xsltproc)
Program fop found: NO
Run-time dependency dri found: YES 24.0.2-arch1.2
Checking if "typeof()" compiles: YES 
Checking for function "clock_gettime" : YES 
Checking if "CLOCK_MONOTONIC" compiles: YES 
Checking for size of "unsigned long" : 8 
Header "pthread.h" has symbol "PTHREAD_MUTEX_RECURSIVE" : YES 
Checking if "pthread_setname_np(tid, name)" compiles: YES 
Has header "dlfcn.h" : YES 
Has header "execinfo.h" : YES 
Has header "fnmatch.h" : YES 
Has header "linux/agpgart.h" : YES 
Has header "strings.h" : YES 
Has header "sys/agpgart.h" : NO 
Has header "sys/ucred.h" : NO 
Has header "sys/un.h" : YES 
Has header "sys/utsname.h" : YES 
Has header "sys/sysmacros.h" : YES 
Checking for function "arc4random_buf" with dependency libbsd-overlay: YES 
Checking for function "backtrace" : YES 
Checking for function "cbrt" : YES 
Checking for function "epoll_create1" : YES 
Checking for function "getuid" : YES 
Checking for function "geteuid" : YES 
Checking for function "isastream" : NO 
Checking for function "issetugid" : NO 
Checking for function "getifaddrs" : YES 
Checking for function "getpeereid" : NO 
Checking for function "getpeerucred" : NO 
Checking for function "getprogname" : NO 
Checking for function "getzoneid" : NO 
Checking for function "memfd_create" : YES 
Checking for function "mkostemp" : YES 
Checking for function "mmap" : YES 
Checking for function "open_device" : NO 
Checking for function "poll" : YES 
Checking for function "pollset_create" : NO 
Checking for function "posix_fallocate" : YES 
Checking for function "port_create" : NO 
Checking for function "reallocarray" with dependency libbsd-overlay: YES 
Checking for function "seteuid" : YES 
Checking for function "setitimer" : YES 
Checking for function "shmctl64" : NO 
Checking for function "sigaction" : YES 
Checking for function "sigprocmask" : YES 
Checking for function "strcasecmp" : YES 
Checking for function "strcasestr" : YES 
Checking for function "strlcat" with dependency libbsd-overlay: YES 
Checking for function "strlcpy" with dependency libbsd-overlay: YES 
Checking for function "strncasecmp" : YES 
Checking for function "strndup" : YES 
Header "string.h" has symbol "strndup" : YES 
Checking for function "timingsafe_memcmp" : NO 
Checking for function "vasprintf" : YES 
Checking for function "vsnprintf" : YES 
Checking for function "walkcontext" : NO 
Checking whether type "struct xucred" has member "cr_pid" : NO 
Header "sys/socket.h" has symbol "SCM_RIGHTS" : YES 
Header "sys/socket.h" has symbol "SO_PEERCRED" : YES 
Configuring dix-config.h using configuration
Configuring xorg-server.h using configuration
Configuring version-config.h using configuration
Configuring xkb-config.h using configuration
Has header "stropts.h" : NO 
Has header "sys/kd.h" : YES 
Has header "sys/vt.h" : YES 
Configuring xorg-config.h using configuration
Configuring xwin-config.h using configuration
Configuring xwayland-config.h using configuration
Run-time dependency glproto found: YES 1.4.17
Run-time dependency gl found: YES 1.2
Dependency glproto found: YES 1.4.17 (cached)
Dependency gl found: YES 1.2 (cached)
Run-time dependency libtirpc found: YES 1.3.4
Library pthread found: YES
Run-time dependency xau found: YES 1.0.11
Dependency presentproto found: YES 1.3 (cached)
Dependency epoxy found: YES 1.5.10 (cached)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Dependency wayland-protocols found: YES 1.33 (cached)
Configuring Xwayland.1 using configuration
Program rendercheck found: NO
Program scripts/xwayland-piglit.sh found: YES (/home/submuffin/.cache/yay/xorg-xwayland-explicit-sync-git/src/xserver/test/scripts/xwayland-piglit.sh)
Run-time dependency xcb found: YES 1.16.1
Run-time dependency xcb-xinput found: YES 1.16.1
Dependency xcb found: YES 1.16.1 (cached)
Run-time dependency xcb-damage found: YES 1.16.1
Dependency xcb found: YES 1.16.1 (cached)
Run-time dependency xcb-sync found: YES 1.16.1
Dependency xcb found: YES 1.16.1 (cached)
Run-time dependency xcb-image found: YES 0.4.1
Run-time dependency xcb-util found: YES 0.4.1
Configuring Xserver.1 using configuration
Build targets in project: 31

xserver 21.1.99.1

  Subprojects
    xorgproto         : NO Neither a subproject directory nor a xorgproto.wrap file was found.

  User defined options
    auto_features     : enabled
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    wrap_mode         : nodownload
    python.bytecompile: 1
    b_pie             : true
    glamor            : true
    ipv6              : true
    suid_wrapper      : true
    systemd_logind    : true
    udev              : true
    xcsecurity        : true
    xephyr            : false
    xkb_dir           : /usr/share/X11/xkb
    xkb_output_dir    : /var/lib/xkb
    xnest             : false
    xorg              : false
    xquartz           : false
    xvfb              : false
    xwayland          : true
    xwayland_eglstream: true
    xwin              : false

Found ninja-1.11.1 at /usr/bin/ninja
ninja: Entering directory `build'                                                                   
[426/469] Compiling C object test/simple-xinit.p/simple-xinit.c.o
../xserver/test/simple-xinit.c: In function ‘handle_sigchld’:
../xserver/test/simple-xinit.c:69:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   69 |     write(server_displayfd, server_dead, strlen(server_dead));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[469/469] Linking target hw/xwayland/Xwayland
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "xorg-xwayland-explicit-sync-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "xorg-xwayland-explicit-sync-git-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: xorg-xwayland-explicit-sync-git 23.2.4.r311.g005912d82-1 (Fri 15 Mar 2024 09:42:04 PM EET)
==> Cleaning up...
[sudo] password for submuffin: 
Sorry, try again.
[sudo] password for submuffin: 
loading packages...
warning: xorg-xwayland-explicit-sync-git-23.2.4.r311.g005912d82-1 is up to date -- reinstalling
warning: xorg-xwayland-explicit-sync-git-debug-23.2.4.r311.g005912d82-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) xorg-xwayland-explicit-sync-git-23.2.4.r311.g005912d82-1
             xorg-xwayland-explicit-sync-git-debug-23.2.4.r311.g005912d82-1

Total Installed Size:  23.19 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                               [################################] 100%
(2/2) checking package integrity                             [################################] 100%
(2/2) loading package files                                  [################################] 100%
(2/2) checking for file conflicts                            [################################] 100%
(2/2) checking available disk space                          [################################] 100%
:: Processing package changes...
(1/2) reinstalling xorg-xwayland-explicit-sync-git           [################################] 100%
(2/2) reinstalling xorg-xwayland-explicit-sync-git-debug     [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[submuffin@PapaPuff ~]$  

Offline

#40 2024-03-15 21:39:45

seth
Member
Registered: 2012-09-03
Posts: 52,570

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

The AUR xwayland pacakge won't do anything about factorio/steam crashing, that's a proton bug, maybe buggy shader in factorio.
Because it's currently our only testcase(?), does the (native) factorio work properly in an X11 session at this point?
Does it work properly in a weston (wayland reference compositor/WM)?

Offline

#41 2024-03-15 22:20:24

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Everything works as normal as it should in an X11 session. But I'm afraid I'm too dumb to know the difference between Wayland and X11 so I can decide if I only use X11 will I lose something performance wise or not. Its weird because I expected just Steam and Steam games to have graphic issues but when I saw even Thorium had the same behavior my jaw dropped. What more information would you recommend me to output more to pin this down further?
Maybe the "nvidia-settings" errors (posted on 1st page of this thread) may lead to somewhere ?

Offline

#42 2024-03-16 01:41:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,963

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

xwayland (ergo primarily anything Proton/Steam) clients have known problems on nvidia you can somewhat mitigate with the linked explicit sync patchset.

As for thorium or anything chromium/electron configure them to use the native wayland backend: https://wiki.archlinux.org/title/Chromi … nd_support and/or https://wiki.archlinux.org/title/Wayland#Electron

That nvidia-settings doesn't work on wayland is normal and expected.

As for performance loss gains... To me the main benefit of Wayland is a properly smooth desktop especially in a multi-monitor setup. Raw gaming performance is going to be a few points better on an uncomposited xorg. If you just have a single screen this might not be as visibly problematic and you don't "notice" any benefit to wayland. It's fairly apparent if you want to do anything with multiple monitors like streaming a video while playing a game.  Additionally this current issue with xwayland on nvidia is a potentially big point to deter you from wayland right now. Luckily explicit sync is something everyone wants and patches are being developed on both FOSS/mesa and nvidia's side so it's likely going to get better and better in the relatively short future.

Offline

#43 2024-03-24 17:46:29

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Sorry for missing guys, just got back from vacation. I ended up having to go with X11 for gaming stuff and as my primary session as Wayland for not as you told me it fails to do the job.
I only have one question before tagging this post as "unsolved", for what should I be looking for in the future as updates in case something it's going to fix the wayland issue and I should keep and eye on it?
Also thank you for your generous help until now, learned quite a lot tryin to fix this issue.

Offline

#44 2024-03-26 10:31:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,963

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

This depends on multiple parts of the stack to be "properly" fixed and might be a few months away. Just going by "official releases" you'd wait for a release of xorg-xwayland after this patchset got merged: https://gitlab.freedesktop.org/xorg/xse … quests/967 -- you can shortcut that via the AUR package.

On the nvidia side a driver release of version 555 estimated for may: https://github.com/NVIDIA/egl-wayland/p … 2010292221

Offline

#45 2024-03-26 10:55:28

Papapuff
Member
Registered: 2024-03-07
Posts: 33

Re: [Unsolved] Screen tearing, slow text input, screen flashing in games

Got it V1del, thank you guys for the info provided so far. Until a solving comes, I'm going to mark this thread as unsolved.

Offline

Board footer

Powered by FluxBB