FS#52620 - [xf86-video-ati] Video tearing with 1:7.8.99.r16.gea30d856-1

Attached to Project: Arch Linux
Opened by Hald (Smallville) - Wednesday, 18 January 2017, 17:58 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 11 August 2017, 14:20 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

After last update xf86-video- 1:7.8.99.r16.gea30d856-1 , the tear apears on top of the image with all video players.
Have downgrade do xf86-video-ati-1:7.8.0-2-x86_64 and all working good.


Thx


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 11 August 2017, 14:20 GMT
Reason for closing:  Upstream
Additional comments about closing:  I'm CC'ed to the upstrem report.
Comment by Daniel M. Capella (polyzen) - Wednesday, 18 January 2017, 18:38 GMT
Installed it about a week ago, do not have the same issue.
Comment by AK (Andreaskem) - Wednesday, 18 January 2017, 19:47 GMT
I also observe tearing in videos and games. Disabling DRI3 seems to fix it but with DRI2, I had other issues. I have [testing] enabled and my packages are up to date. I have not yet tried downgrading xf86-video-ati but it might be the culprit because Wayland seems unaffected.

In any case, this is probably an upstream issue. On the mailing lists, I read some messages indicating issues with DRI3. However, until a few weeks ago, I was running DRI3 just fine before it was enabled by default and the issue appeared about a month ago. As of yet, I have not spent the time to file a proper bug report.

Vendor: X.Org (0x1002)
Device: AMD PALM (DRM 2.48.0 / 4.9.4-1-ARCH, LLVM 3.9.1) (0x9808)
Version: 13.0.3
Accelerated: yes
Video memory: 384MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
Comment by patrick (potomac) - Thursday, 19 January 2017, 19:55 GMT
I notice the same bug, tearing on video images,

I notice also random corrupt display on some small part of the screen ( for example in menus in firefox, cascade menus like bookmark menus, randomly a corrupt diplay on this menu can occur )
Comment by patrick (potomac) - Thursday, 19 January 2017, 21:33 GMT
downgrading to xf86-video-ati-1:7.8.0-2-x86_64 is not possible, because of an incompatibility with the last version of xorg-server :

# pacman -U xf86-video-ati-1\:7.8.0-1-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package xf86-video-ati (1:7.8.99.r16.gea30d856-1 => 1:7.8.0-1)
resolving dependencies...
looking for conflicting packages...
:: xf86-video-ati and xorg-server are in conflict (X-ABI-VIDEODRV_VERSION). Remove xorg-server? [y/N]

so I hope that upstream will find a solution
Comment by patrick (potomac) - Friday, 20 January 2017, 17:59 GMT
downgrading is not possible ( conflict ABI version with xorg ), so my solution was to recompile xf86-video-ati 1:7.8.0-2, in order to have a compatible version with the last version of xorg-server,

I made slight modifications on the PKGBUILD file ( see the attachment )
Comment by AK (Andreaskem) - Friday, 20 January 2017, 18:42 GMT
Did you try disabling DRI3? Setting LIBGL_DRI3_DISABLE=1 also seems to "fix" the tearing for me. Might be enough to survive until a proper fix gets released.
Comment by patrick (potomac) - Friday, 20 January 2017, 22:57 GMT
I didn't try to disable DRI3,

you put the setting "export LIBGL_DRI3_DISABLE=1" in your ~/.bashrc file ?

no other possibilities like a conf file in order to set this setting for all users ?
Comment by Laurent Carlier (lordheavy) - Friday, 20 January 2017, 23:14 GMT
Can you file a bug upstream at https://bugs.freedesktop.org and paste the link here?

There is this bug report https://bugs.freedesktop.org/show_bug.cgi?id=97873 , but it should fix the tearing
and the version we provide have already the fix.
Comment by patrick (potomac) - Saturday, 21 January 2017, 00:17 GMT
maybe this patch is broken since the release of xorg-server 1.19.1 ( or the last version of mesa )
Comment by Eric (eric2) - Saturday, 21 January 2017, 01:56 GMT
Some corrupt display on pull-down menus also happens on my 32bit system using an old R600 videocard (HD2400).
I think it is the same "random corrupt display on some small part of the screen" patrick (potomac) was talking about.

Setting in xorg.conf:
Option "DRI" "2"
and in /etc/profile.d/test.sh:
export LIBGL_DRI3_DISABLE=1
and rebooting did not help.

Compiling an older version (1:7.8.0-2) did help.
Comment by AK (Andreaskem) - Sunday, 22 January 2017, 11:01 GMT
I just submitted a bug report upstream:

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

potomac: For me, it was enough to just set it before I started my video player or game. This should be enough to check if it works. If it works and you want to set it globally, you might as well just disable DRI3 in you xorg.conf.

Comment by Andreas Radke (AndyRTR) - Friday, 27 January 2017, 09:00 GMT
Please check the new snapshot in testing repo.
Comment by patrick (potomac) - Friday, 27 January 2017, 22:11 GMT
the bug ( tearing ) is still here with this testing version,

it would be interesting if someone can make a git bisect, in order to find the commit which has introduced this bug
Comment by Andreas Radke (AndyRTR) - Saturday, 28 January 2017, 11:01 GMT
Please report this back to the upstream tracker. I guess you don't have a PALM chip? Maybe you are triggered by a different bug.

The upstream commit for PALM chips should be included in this package in testing repo.
Comment by patrick (potomac) - Saturday, 28 January 2017, 14:41 GMT
@Andreas : what is a palm chip ?

I have a radeon HD4650 Pcie graphic card ( chip : RV730 pro )

https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units#Radeon_R700_.28HD_4xxx.29_Series


Comment by Andreas Radke (AndyRTR) - Saturday, 28 January 2017, 16:37 GMT Comment by patrick (potomac) - Saturday, 28 January 2017, 17:03 GMT
I have just posted a comment in the upstream tracker,

tearing problem is still here for the users like me ( old amd card : radeon HD4650 )

other user in this archlinux bug report has also an old card ( radeon HD2400 ) and the same bug ( tearing ) and he has also noticed like me a corrupt display sometimes on pull-down menus
Comment by Sven Karsten Greiner (SammysHP) - Monday, 06 February 2017, 11:18 GMT
Same problem with Radeon R7 260X. Not only videos, but everything (scrolling, moving clients etc.).

To all people with rendering issues: Do you use a compositor? If I use compton with GLX backend sometimes areas are not properly rendered (I assume that there are wrong assumptions about the content of some buffer, but I tried various configs for compton and it was always broken): https://github.com/chjj/compton/issues/399
Also disabling DRI3 did not help (there are some programs that assume different buffers like blender, see https://www.youtube.com/watch?v=tnVNrp80LDI).
Comment by patrick (potomac) - Friday, 17 March 2017, 09:48 GMT
any news about the resolution of this bug ?
Comment by Eric (eric2) - Saturday, 25 March 2017, 00:12 GMT
I've just installed 1:7.9.0-1 and having the same problems (corrupted pull-down menus and tooltips) on KDE/Qt applications and also on Firefox.
Comment by Andreas Radke (AndyRTR) - Thursday, 10 August 2017, 20:35 GMT
Is this still an issue?
Comment by patrick (potomac) - Friday, 11 August 2017, 00:41 GMT
the bug is still present,

nothing has changed since march 2017, the version of the package is still 1:7.9.0-1
Comment by Eric (eric2) - Friday, 11 August 2017, 00:56 GMT
I'm using a different GPU now, but I remember that nothing has changed until the last week of May.
Comment by patrick (potomac) - Friday, 11 August 2017, 01:43 GMT
I still have my old radeon graphic card : amd radeon HD4650 pcie,

and the bug is still here : big tearing in videos, corrupted pull-down menus and tooltips


Comment by patrick (potomac) - Friday, 11 August 2017, 01:59 GMT
I created a bug report in upstream :

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

Loading...