Bug 203471
Summary: | Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled | ||
---|---|---|---|
Product: | Drivers | Reporter: | Haxk20 (haxk612) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | REOPENED --- | ||
Severity: | high | CC: | alexdeucher, nicholas.kazlauskas, vmuppalla |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | git master | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg
journalctl Xorg log DRI_PRIME=1 glxinfo glxinfo |
Description
Haxk20
2019-05-01 16:30:33 UTC
Created attachment 282573 [details]
dmesg
Created attachment 282575 [details]
journalctl
If you need anything more please tell me.
Please attach the corresponding Xorg log file and the output of glxinfo (both with and without DRI_PRIME=1). Created attachment 282585 [details]
Xorg log
Created attachment 282587 [details]
DRI_PRIME=1 glxinfo
Created attachment 282589 [details]
glxinfo
Here is Xorg log, glxinfo with DRI_PRIME=1 and glxinfo without PRIME.
(In reply to Michel Dänzer from comment #3) > Please attach the corresponding Xorg log file and the output of glxinfo > (both with and without DRI_PRIME=1). Is there anything more you need to figure out whats casuing this bug ? I will try to play some game on HDMI output and see if its purely eDP issue or it applies to other connectors too. Will post tomorrow. The tearing occurs because amdgpu doesn't support scatter/gather scanout with Raven yet, so page flipping cannot be used. For the time being, you can get rid of the tearing by enabling TearFree: xrandr --output eDP --set TearFree on See the amdgpu (4) manpage for more information about TearFree. Thank you. (In reply to Michel Dänzer from comment #8) > The tearing occurs because amdgpu doesn't support scatter/gather scanout > with Raven yet, so page flipping cannot be used. > > For the time being, you can get rid of the tearing by enabling TearFree: > > xrandr --output eDP --set TearFree on > > See the amdgpu (4) manpage for more information about TearFree. Also i forgot to ask. Isnt there an time estimate when can we expect scatter scanout support for Raven ? ICYMI, I was able to solve the tearing problem with raven ridge using iommu=soft boot param. (In reply to vr00m from comment #11) > ICYMI, I was able to solve the tearing problem with raven ridge using > iommu=soft boot param. Tearing isn't related to the IOMMU. Scatter/gather scanout support for Raven Ridge is landing now, maybe you're running a development snapshot kernel which has it already? (In reply to Michel Dänzer from comment #12) > (In reply to vr00m from comment #11) > > ICYMI, I was able to solve the tearing problem with raven ridge using > > iommu=soft boot param. > > Tearing isn't related to the IOMMU. Scatter/gather scanout support for Raven > Ridge is landing now, maybe you're running a development snapshot kernel > which has it already? Could you please point us to the patch series that implements scatter/gather scanout support for Raven Ridge ? I havent found it in rc4 nor in drm-next-5.4 Thank you. https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.4&id=e4c4073b0139d055d43a9568690fc560aab4fa5c https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.4&id=3d1b8ec76b8f4f91641fd87cc19cd980426a2060 https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.4&id=ddcb7fc62f4be99faedfa1764c971a2f31468962 https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.4&id=1c4259159132ae4ceaf7c6db37a6cf76417f73d9 https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.4&id=f2bd8a0ed7e79579d61cea01bab2dfb09099d379 I have tried manually patching 5.3rc4 and even compiling drm-next-5.4 branch but sadly i still get tearing on the screen. Is there a config option to enable it or its enabled by default ? And as before TearFree fixes the tearing but causes stuttering sometimes so not perfect solution by any means. I just tried linux kernel from master and no improvement. Games still produce tearing even with Vsync on or off. Only way to get rid of it is TearFree set to on. Is there something im missing or what ? My bad. I just replaced the panel inside the laptop with 120Hz one and tearing is gone. Well i was blind it seems. The tearing is small but still is surely there sadly. Tearing is gone if using just iGPU. When using dGPU with PRIME then tearing is there. And yes im running linux kernel from master so the DRM patches for scatther/gather are there. Still tearing even tho they are there. Help ? Can we get help on this ? This is a kind of bad bug because it seems to happen in some games and in some it does not. Not only that but it started happening in video too on firefox and that is really horrible. (In reply to Haxk20 from comment #20) > Not only that but it started happening in video too on firefox and that is > really horrible. Sounds like you're referring to https://gitlab.freedesktop.org/xorg/xserver/issues/924 ? I thought we'd just established that's not using PRIME, in which case it's probably not directly related to this. (In reply to Michel Dänzer from comment #21) > (In reply to Haxk20 from comment #20) > > Not only that but it started happening in video too on firefox and that is > > really horrible. > > Sounds like you're referring to > https://gitlab.freedesktop.org/xorg/xserver/issues/924 ? I thought we'd just > established that's not using PRIME, in which case it's probably not directly > related to this. Yes. I will reopen that bug again as you closed it but well its not solved yet. For people wondering yes this is still an issue. The bug is 1 year old now. scatter/gather support has been enabled in the kernel for a long time now yet its still broken. |