<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Cursor sprite sometimes not showed since linux 5.2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111541#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Cursor sprite sometimes not showed since linux 5.2"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111541">bug 111541</a>
from <span class="vcard"><a class="email" href="mailto:jadahl@gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>(In reply to Ville Syrjala from <a href="show_bug.cgi?id=111541#c2">comment #2</a>)
<span class="quote">> cat /sys/kernel/debug/dri/0/i915_display_info
> intel_reg read --count 12 0x70080 0x71080 0x72080
>
> when the cursor has vanished should at least tell us whether the kernel
> thinks the cursor should be enabled, and whether it's actually enabled in
> hardware.</span >
I just hit the issue again, and in i915_display_info, the cursor is reported as
visible, but it's not showing on screen:
CRTC 47: pipe: A, active=yes, (size=1920x1080), dither=no, bpp=24
fb: 118, pos: 0x0, size: 1920x1080
encoder 106: type: DP-MST A, connectors:
connector 117: type: DP-3, status: connected, mode:
"1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125
0x48 0x5
cursor visible? yes, position (334, 6), size 256x256, addr 0x00880000
num_scalers=2, scaler_users=0 scaler_id=-1, scalers[0]: use=no,
mode=10000000, scalers[1]: use=no, mode=0
--Plane id 30: type=PRI, crtc_pos= 0x 0, crtc_size=1920x1080,
src_pos=0.0000x0.0000, src_size=1920.0000x1080.0000, format=XR24 little-endian
(0x34325258), rotation=0 (0x00000001)
--Plane id 37: type=OVL, crtc_pos= 0x 0, crtc_size= 0x 0,
src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0
(0x00000001)
--Plane id 44: type=CUR, crtc_pos= 334x 6, crtc_size= 256x 256,
src_pos=0.0000x0.0000, src_size=256.0000x256.0000, format=AR24 little-endian
(0x34325241), rotation=0 (0x00000001)
underrun reporting: cpu=yes pch=yes
When it's showing, the cursor part of the above text is identical, apart form
the 'addr' (including the plane with id 44).
The intel_reg command just printed an error:
Error: /usr/share/igt-gpu-tools/registers/gen8_interrupt.txt:1:
('GEN8_MASTER_IRQ', '0x00044200', '')
Error: /usr/share/igt-gpu-tools/registers/skylake:1: gen8_interrupt.txt
Error: /usr/share/igt-gpu-tools/registers/kabylake:2: skylake
Warning: reading '/usr/share/igt-gpu-tools/registers/kabylake' failed. Using
builtin register spec.
but then printed some registers. Attaching for when it's visible, and
invisible. Attaching dump --all too for good measure.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>