AMD video corruption caused by DRI3 [Solution on post #4 by lrusak]

  • Hi:

    First, I want to thanks the developers for countless hours of fun :P

    I've problems with the last 3 4 beta versions 7.09.007 7.09.008 7.09.009 7.09.010

    In all of them, a video corruption issue in the upper section, like out of sync, maybe 1/12 or 1/13 of the screen. Not visible in 21:9 video, but in 16:9 and 4:3. It's look that the upper sections is a couple of frames behind, really anoying.

    The other problem is that the UI looks like it have a little corruption like deblocking.. really strange, barely notorious.

    And finally, in the 7.09.009, I can detect wireless networks, but not get a corrrect link. Fixed on 7.09.010

    I've rolled back to 7.09.006 where're no issues.

    My specs are:

    AMD E-350 APU (Radeon HD 6310)
    Atheros AR5B22 Wifi + BT Adapter ID: 168c:0034 PCI Devices

    The box is a Zotac AD02, but I've changed the original Wireless adapter for that one.

    The logs are really long, I've used the interface and play a long piece of a video, they are here
    LibreELEC Logs – Google Drive

    Regards.
    Álvaro.

    Edited once, last by OzzRock (December 26, 2016 at 6:38 PM).

  • Thanks, but.. how to?
    This isn't a bug fix that could be available in a future release?

    Regards.
    [hr]
    After some testing in 7.09.010 I've to add this

    - Bug isn't affected by FrameBuffer size, tested on 512MB, 1GB and 2GB and no changes.
    - 7.09.010 fix the Wi-Fi problem, so, I'll update the title.

    Regards.
    Álvaro.

    Edited once, last by OzzRock (December 25, 2016 at 3:44 AM).

  • Please do the following via SSH.

    Code
    wget -O /storage/.config/xorg-radeon.conf  https://raw.githubusercontent.com/lrusak/LibreELEC.tv/f1d35b7df6a9d576c3f7003210fbbb4e8406c36a/packages/x11/driver/xf86-video-ati/config/xorg-radeon.conf


    That command is all one line, just copy and paste the entire thing.

    Then reboot.

  • Thanks for alll the help.
    Tested on 7.09.010 and all works like a charm.

    If the fix is just as simple like a change on xorg-radeon.conf, is there a possibility that LibreELEC auto-detect the GPU and assign correctly DRI2 or DRI3?

    I know that the problem is only for older AMD hardware, but totally capable to give a good experience as a HTPC, but it would be awesome to have that feature.

    Regards.
    Álvaro.