Extreme screen tearing due to fake primary display
Affected version
OS: Fresh Fedora 38 installation
Graphics card: Nvidia RTX 3080 Ti
Graphics driver: Nvidia 530.41.03
DE: Xorg
(Wayland
has fake display as well, though w/o tearing. But Wayland
has a bunch of other issues with Nvidia
so I stick with Xorg
)
Mutter: 44.1-1.fc38.x86_64
xorg-x11-server-Xorg: 1.20.14-23.fc38.x86_64
xorg-x11-server-Xwayland: 22.1.9-2.fc38.x86_64
Bug summary
A non-existing fake display 1024x768 which is set as primary appears. Just like in #2266 (closed)
This messes up output picture: extreme screen tearing, artifacts. This was reported multiple times buy people who installed Fedora 38
and have Nvidia
.
Proper workaround
Set nvidia-drm.modeset=1
in Grub
Ugly workaround
Setting initcall_blacklist=simpledrm_platform_driver_init
in Grub
helps BUT it makes the screen black for the whole boot process and forces me to type in LUKS password blindly.
Logs
$ find /dev/dri
/dev/dri
/dev/dri/card1
/dev/dri/renderD128
/dev/dri/by-path
/dev/dri/by-path/pci-0000:01:00.0-card
/dev/dri/by-path/pci-0000:01:00.0-render
/dev/dri/by-path/platform-simple-framebuffer.0-card
/dev/dri/card0
$ sudo modetest
trying to open device 'i915'...failed
trying to open device 'amdgpu'...failed
trying to open device 'radeon'...failed
trying to open device 'nouveau'...failed
trying to open device 'vmwgfx'...failed
trying to open device 'omapdrm'...failed
trying to open device 'exynos'...failed
trying to open device 'tilcdc'...failed
trying to open device 'msm'...failed
trying to open device 'sti'...failed
trying to open device 'tegra'...failed
trying to open device 'imx-drm'...failed
trying to open device 'rockchip'...failed
trying to open device 'atmel-hlcdc'...failed
trying to open device 'fsl-dcu-drm'...failed
trying to open device 'vc4'...failed
trying to open device 'virtio_gpu'...failed
trying to open device 'mediatek'...failed
trying to open device 'meson'...failed
trying to open device 'pl111'...failed
trying to open device 'stm'...failed
trying to open device 'sun4i-drm'...failed
trying to open device 'armada-drm'...failed
trying to open device 'komeda'...failed
trying to open device 'imx-dcss'...failed
trying to open device 'mxsfb-drm'...failed
trying to open device 'simpledrm'...done
Encoders:
id crtc type possible crtcs possible clones
34 0 none 0x00000001 0x00000001
Connectors:
id encoder status name size (mm) modes encoders
35 0 connected Unknown-1 270x203 1 34
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
#0 1024x768 60.00 1024 1024 1024 1024 768 768 768 768 47185 flags: ; type: preferred, driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 3
5 link-status:
flags: enum
enums: Good=0 Bad=1
value: 0
6 non-desktop:
flags: immutable range
values: 0 1
value: 0
4 TILE:
flags: immutable blob
blobs:
value:
CRTCs:
id fb pos size
33 0 (0,0) (0x0)
#0 -nan 0 0 0 0 0 0 0 0 0 flags: ; type:
props:
24 VRR_ENABLED:
flags: range
values: 0 1
value: 0
Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
31 0 0 0,0 0,0 0 0x00000001
formats: AR24 XR24 RG16 RG24
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
30 IN_FORMATS:
flags: immutable blob
blobs:
value:
01000000000000000400000018000000
01000000280000004152323458523234
52473136524732340f00000000000000
00000000000000000000000000000000
in_formats blob decoded:
AR24: LINEAR
XR24: LINEAR
RG16: LINEAR
RG24: LINEAR
Frame buffers:
id size pitch
$ xrandr --verbose
Screen 0: minimum 8 x 8, current 3584 x 1440, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1bd
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: HDMI
ConnectorNumber: 3
_ConnectorLocation: 3
non-desktop: 0
supported: 0, 1
DP-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1be
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1bf
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
DP-2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c0
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
DP-3 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c1
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
DP-4 connected primary 2560x1440+0+0 (0x1c3) normal (normal left inverted right x axis y axis) 596mm x 335mm
Identifier: 0x1c2
Timestamp: 610697
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
EDID:
00ffffffffffff0006b32f27ad500200
241f0104b53c22783b4071af4f31ba25
0f505421080001010101010101010101
010101010101055f00a0a0a033503020
b508544f2100001a000000ff00234754
49594d7867774142314e000000fd0001
f0ffff6a010a202020202020000000fc
00524f47205047323739514d0a200261
020320f12309070183010000654b0400
0101e305c000e2006ae6060501655a26
6fc200a0a0a055503020f50c544f2100
001a5aa000a0a0a046503020e50c544f
2100001a79e90082a0a067500820f50c
544f2100001a00000000000000000000
00000000000000000000000000000000
0000000000000000000000000000005b
70137903000f000aa4140e0e07012045
000002010d31f4fa4e0fe3b953c20f01
455403012802510104ff099f002f801f
009f05910089000400ca9c0104ff099f
002f801f009f05b200aa000400000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000009290
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 0
_ConnectorLocation: 0
non-desktop: 0
supported: 0, 1
2560x1440 (0x1c3) 243.250MHz +HSync -VSync *current +preferred
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 89.43KHz
v: height 1440 start 1483 end 1488 total 1491 clock 59.98Hz
2560x1440 (0x1c4) 1056.750MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 388.51KHz
v: height 1440 start 1611 end 1616 total 1619 clock 239.97Hz
2560x1440 (0x1c5) 862.750MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 317.19KHz
v: height 1440 start 1578 end 1583 total 1586 clock 199.99Hz
2560x1440 (0x1c6) 597.690MHz +HSync -VSync
h: width 2560 start 2568 end 2600 total 2690 skew 0 clock 222.19KHz
v: height 1440 start 1503 end 1508 total 1543 clock 144.00Hz
2560x1440 (0x1c7) 497.750MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 183.00KHz
v: height 1440 start 1503 end 1508 total 1525 clock 120.00Hz
2560x1440 (0x1c8) 410.500MHz +HSync -VSync
h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 150.92KHz
v: height 1440 start 1502 end 1507 total 1510 clock 99.95Hz
1024x768 (0x1c9) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x1ca) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
640x480 (0x1cb) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
DP-5 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1cc
Timestamp: 610697
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 0
_ConnectorLocation: 0
non-desktop: 0
supported: 0, 1
None-1-1 connected (normal left inverted right x axis y axis)
Identifier: 0x1ed
Timestamp: 108146
Subpixel: unknown
Clones:
CRTCs: 4
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
PRIME Synchronization: 1
supported: 0, 1
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 35
supported: 35
non-desktop: 0
range: (0, 1)
1024x768 (0x1ef) 47.185MHz +preferred
h: width 1024 start 1024 end 1024 total 1024 skew 0 clock 46.08KHz
v: height 768 start 768 end 768 total 768 clock 60.00Hz