[Bug 96380] New: Rreverse prime (--setprovideroutput modesetting Intel) produces a corrupted cursor and image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 4 23:33:41 UTC 2016


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

            Bug ID: 96380
           Summary: Rreverse prime (--setprovideroutput modesetting Intel)
                    produces a corrupted cursor and image
           Product: xorg
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/intel
          Assignee: chris at chris-wilson.co.uk
          Reporter: peter at lekensteyn.nl
        QA Contact: intel-gfx-bugs at lists.freedesktop.org

Created attachment 124319
  --> https://bugs.freedesktop.org/attachment.cgi?id=124319&action=edit
Picture showing cursor and other corruption

An external screen connected via reverse PRIME works (has a picture), except
that the cursor is corrupted in a way such that accurating pointing to text and
menus is often impossible. Text in Konsole (KDE) also corrupted. This happens
only on the external screen, hovering over the laptop screen is fine.

Attached is a picture showing cursor corruption and issues with a menu in KDE
Plasma (I moved from right to left and opened a nested menu by hovering). The
cursor trace and corrupted text while typing was also reproduced on a bare X
server, so it is not limited to composited desktops.

Commands:
$ xrandr --setprovideroutputsource modesetting Intel
$ xrandr --output DP-1 --mode 2560x1440 --left-of eDP1
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0xcd cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
3 outputs: 1 associated providers: 1 name:Intel
Provider 1: id: 0x46 cap: 0x3, Source Output, Sink Output crtcs: 4 outputs: 3
associated providers: 1 name:modesetting

# Xorg :0 -nolisten tcp -noreset -verbose 2
# DISPLAY=:0 xterm

Software:
- Distribution: Arch Linux
- Linux v4.7-rc1 (also reproduced with v4.6)
- plasma-workspace 5.6.4-1
- xorg-server 1.18.3-1
- xf86-video-intel 2.99.917-662-gb617f80 (tested 2.99.917-654-ga508b11 too)

Hardware:
- i7-6700HQ (eDP1, output source, intel, i915)
- Nvidia GTX 965M (DP-1, output sink, modesetting, nouveau)

Further information:
with modesetting for both the Nvidia and Intel devices, there is no corruption.
I do have to set vblank_mode=0, otherwise the external screen refreshes windows
with 1fps when glxgears is displayed on just the external screen. If the window
is just partially displayed on eDP-1, the frame rate is "normal" again.

Also tried using UXA instead of SNA but that is even worse. When switching tabs
/ opening a new page in Firefox for example, the left bottom triangle shows the
previous content that was supposed to be shown while the right top triangle
shows the currently expected picture (if you are lucky). Similar for Konsole
terminal output.

Here is another bug about corruption, maybe it is the same issue?
https://bugs.freedesktop.org/show_bug.cgi?id=91360

-- 
You are receiving this mail because:
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/20160604/bf6b09d5/attachment.html>


More information about the intel-gfx-bugs mailing list