[Bug 111541] Cursor sprite sometimes not showed since linux 5.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 3 07:24:02 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111541

--- Comment #3 from Jonas Ã…dahl <jadahl at gmail.com> ---
(In reply to Ville Syrjala from comment #2)
> 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.

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190903/e7cbe19e/attachment.html>


More information about the intel-gfx-bugs mailing list