[Bug 95475] DRI3 screen corruption

2017-08-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #21 from Michel Dänzer  ---
To elaborate on comment 21:

The problem is that DRI3 can be used as a general buffer sharing mechanism. The
shared buffers can be used like any other pixmap in X, and the client can also
do whatever it wants with them on the client side.

EXA doesn't know that these pixmaps are shared with the client, so its tracking
of valid pixmap contents gets confused, and it ends up using stale contents. I
believe this is unfixable with the current EXA design because in contrast to
DRI2, there is no clearly defined flow of data between client and server side.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2017-08-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

Michel Dänzer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-07-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #20 from Michel Dänzer  ---
I looked into this issue, and I'm afraid it's probably unfixable due to the way
EXA works. So I changed the driver to no longer enable DRI3 by default with EXA
as of the commit referenced below.

commit 94fe42f29e0b00a26e810581d6c438ac6d8ecd8a
Author: Michel Dänzer 
Date:   Tue Jul 12 17:36:27 2016 +0900

Don't enable DRI3 by default with EXA

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-07-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

Michel Dänzer  changed:

   What|Removed |Added

 CC||leh...@gmail.com

--- Comment #19 from Michel Dänzer  ---
*** Bug 96960 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #18 from Ivan Majhen  ---
Created attachment 124209
  --> https://bugs.freedesktop.org/attachment.cgi?id=124209&action=edit
tooltips and widgets not updating

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #17 from Ivan Majhen  ---
It doesn't fix anything.

Window previews are now almost always empty with transparent background.

If desktop has windows, tooltips on desktop switcher are fine.

Clock widget tooltips and Application launcher tooltips are always fine,
systray is completely broken, except tooltips on clipboard.

Chromium and Firefox right click menu is still broken. 

Screenshots attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #16 from Michel Dänzer  ---
Created attachment 124202
  --> https://bugs.freedesktop.org/attachment.cgi?id=124202&action=edit
Always call exaMoveInPixmap in radeon_dri3_fd_from_pixmap

Does this patch fix the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #15 from Ivan Majhen  ---
Created attachment 124082
  --> https://bugs.freedesktop.org/attachment.cgi?id=124082&action=edit
old xorg log driver with dri3 enabled

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #14 from Ivan Majhen  ---
Created attachment 124081
  --> https://bugs.freedesktop.org/attachment.cgi?id=124081&action=edit
Old dri3

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #13 from Ivan Majhen  ---
I always had glitches with dri3. I tested it about 30 times in the past year.

Commit 64e1e4db didn't compile. First commit that compiles with current setup
is
https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=b16609b453bb1a181198cf27778f205dc23fb642

It doesn't compile cleanly.

/usr/src/portagetmp/portage/x11-drivers/xf86-video-ati-/work/xf86-video-ati-/src/radeon_kms.c:
In function ‘redisplay_dirty’:
/usr/src/portagetmp/portage/x11-drivers/xf86-video-ati-/work/xf86-video-ati-/src/radeon_kms.c:284:2:
error: too many arguments to function ‘PixmapSyncDirtyHelper’
  PixmapSyncDirtyHelper(dirty, &pixregion);

  removed &pixregion

 error: too few arguments to function ‘PixmapStartDirtyTracking’
  PixmapStartDirtyTracking(ppix, screenpix, 0, 0);

  changed to PixmapStartDirtyTracking2 in drmmode_display.c

After that enabled DRI3 and got completely corrupted screen. 

Screenshot and xorg.log attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #12 from Michel Dänzer  ---
Was this problem already present with xf86-video-ati Git commit 64e1e4db ("Add
DRI3 support v2"), which was when DRI3 support was initially added? Note that
this commit will only recognize Option "DRI3", not the current variant Option
"DRI" "3".

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

Michel Dänzer  changed:

   What|Removed |Added

 Attachment #123932|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #11 from Ivan Majhen  ---
Problem happens with/without patch. My bug is different than #bug 94901.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #10 from Michel Dänzer  ---
(In reply to Ivan Majhen from comment #6)
> Without patch everything looks fine once sddm login is available.

Are you saying the problem described in this report doesn't happen without the
patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #9 from Ivan Majhen  ---
And I'm using EGL in KWIN.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #8 from Ivan Majhen  ---
Created attachment 123932
  --> https://bugs.freedesktop.org/attachment.cgi?id=123932&action=edit
Xorg.log

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #7 from Ivan Majhen  ---
Created attachment 123931
  --> https://bugs.freedesktop.org/attachment.cgi?id=123931&action=edit
dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #6 from Ivan Majhen  ---
I already have that patch applied and it fixed pre sddm screen corruption.
Without patch everything looks fine once sddm login is available.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #5 from Michel Dänzer  ---
Does the patch attached to bug 94901 help by any chance? If not, please attach
the Xorg log file and output of dmesg.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #4 from Ivan Majhen  ---
Created attachment 123890
  --> https://bugs.freedesktop.org/attachment.cgi?id=123890&action=edit
taskbar with empty desktop

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #3 from Ivan Majhen  ---
Created attachment 123889
  --> https://bugs.freedesktop.org/attachment.cgi?id=123889&action=edit
taskbar with chromium as main window

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #2 from Ivan Majhen  ---
Created attachment 123888
  --> https://bugs.freedesktop.org/attachment.cgi?id=123888&action=edit
system tray popup widgets

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 95475] DRI3 screen corruption

2016-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95475

--- Comment #1 from Ivan Majhen  ---
Created attachment 123887
  --> https://bugs.freedesktop.org/attachment.cgi?id=123887&action=edit
firefox right click

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati