Announcement

Collapse
No announcement yet.

Updated and Optimized Ubuntu Free Graphics Drivers

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hello,
    I have a problem with playing video. I updated some days ago (18 Nov) and after that my Kodi start crashes when I try to use vdpau (Xorg crash). I think that problem with mesa packet.
    I uses this repo: https://launchpad.net/~oibaf

    Ubuntu 16.04.3 LTS
    Linux pc 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    Kodi 17.6
    Xorg.0.log: https://pastebin.com/XmNu7B8C
    Kodi CRASH LOG: https://pastebin.com/cu4AFf3G
    syslog: https://pastebin.com/Pa2SrewQ
    dmesg: https://pastebin.com/y2k9298Z

    If you need more information or other debug info I can provide it.

    Comment


    • Add fresh
      /var/log/syslog:

      Dec 2 20:46:37 mediaBOX xinit[1221]: radeon: failed to get initial domain: 0x46468c0 0x0000000C
      Dec 2 20:46:37 mediaBOX xinit[1221]: radeon: The kernel rejected CS, see dmesg for more information (-22).
      Dec 2 20:46:37 mediaBOX kernel: [ 689.482331] radeon 0000:00:01.0: evergreen_cs_track_validate_texture:854 texture bo too small (layer size 8355840, offset 0, max layer 1, depth 1, bo size 4096) (1920 1088)
      Dec 2 20:46:37 mediaBOX kernel: [ 689.482486] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
      Dec 2 20:46:37 mediaBOX kernel: [ 689.499115] radeon 0000:00:01.0: evergreen_cs_track_validate_texture:854 texture bo too small (layer size 8355840, offset 0, max layer 1, depth 1, bo size 4096) (1920 1088)
      Dec 2 20:46:37 mediaBOX kernel: [ 689.499233] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
      Dec 2 20:46:37 mediaBOX kernel: [ 689.515260] kodi.bin[1890]: segfault at b0 ip 00007fe6326fd8f8 sp 00007fff3b03c0d0 error 4 in r600_dri.so[7fe631ef1000+ab5000]
      Dec 2 20:46:37 mediaBOX xinit[1221]: radeon: The kernel rejected CS, see dmesg for more information (-22).
      Dec 2 20:46:37 mediaBOX lircd-0.9.0[917]: removed client
      Dec 2 20:46:37 mediaBOX xinit[1221]: Segmentation fault
      Dec 2 20:46:37 mediaBOX xinit[1221]: Crash report available at /home/xbmc/kodi_crashlog-20171202_204637.log
      Dec 2 20:46:38 mediaBOX lircd-0.9.0[917]: accepted new client on /run/lirc/lircd

      Comment


      • Firstly thanks oibaf for your excellent work over the years

        Now onto the buglett:
        Running Messa 17.4 Podaka PPA under Ubuntu 17.10 using AMD/ATI video card (RX 480) and an AMD Ryzen 1700. (Though I'm sure its a graphics driver/system related issue, not a CPU issue) This is an OpenCL error. [email protected], via BOINC, using proprietary AMDGPU-Pro drivers for OpenCL, works as expected so it is likely that there is either a bug, or something unfinished, in the Open Source OpenCL driver that is failing. As a side note, in 2015 this issue hit the nVidia side of things generating this issue: http://setiathome.berkeley.edu/forum...=77133#1665089 This might give you an idea of what may be occurring in the AMD / OpenCL driver side of things. I have also reported the issue over at bugs.freedesktop.org I am reporting the bug here as well as I know key stakeholders are here. I hope it is an easy fix Cheers

        Comment


        • I added to mesa a patch Intel sent me to enable i965 shader cache by default. If you find any issues post it here.

          Comment


          • Looks like the issue with libdrm-common might be back:

            Code:
            Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_i386.deb ...
            De-configuring libdrm-amdgpu1:amd64 (2.4.83-1~16.04.1) ...
            Unpacking libdrm-amdgpu1:i386 (2.4.89+git1712180630.831036~oibaf~x) over (2.4.83-1~16.04.1) ...
            dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_i386.deb (--unpack):
             trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common 2.4.83-1~16.04.1
            Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_amd64.deb ...
            De-configuring libdrm-amdgpu1:i386 (2.4.83-1~16.04.1) ...
            Unpacking libdrm-amdgpu1:amd64 (2.4.89+git1712180630.831036~oibaf~x) over (2.4.83-1~16.04.1) ...
            dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_amd64.deb (--unpack):
             trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common 2.4.83-1~16.04.1
            Processing triggers for libc-bin (2.23-0ubuntu9) ...
            Errors were encountered while processing:
             /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_i386.deb
             /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1712180630.831036~oibaf~x_amd64.deb
            E: Sub-process /usr/bin/dpkg returned an error code (1)

            Comment


            • Having problems with the PPA and I did a ppa-purge to fix held back packages and now getting this when I try to reinstall Oibaf PPA.

              Code:
              The following NEW packages will be installed:
                libllvm5.0 libllvm5.0:i386 libsensors4:i386
              The following packages have been kept back:
                libegl1-mesa libegl1-mesa:i386 libgbm1 libgbm1:i386 libgl1-mesa-dri:i386
                libgl1-mesa-dri libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386
                libglapi-mesa libgles1-mesa libgles2-mesa libosmesa6 libosmesa6:i386
                libwayland-egl1-mesa
              The following packages will be upgraded:
                libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-dev libdrm-intel1
                libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1
                libdrm-radeon1:i386 libdrm2 libdrm2:i386 libegl1-mesa-drivers
                libwayland-cursor0 libwayland-cursor0:i386 libwayland-server0
                libwayland-server0:i386 libxatracker2 libxfont1 mesa-common-dev
                mesa-va-drivers:i386 mesa-vdpau-drivers xserver-xorg-video-amdgpu
                xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-nouveau
                xserver-xorg-video-radeon
              I'm using Linux Mint 18.3 and I fear that if I continue I would not be able to boot into the Cinnamon UI. I know Mint is a bit different in how it handles these things. What's going on?

              Comment


              • Originally posted by Dukenukemx View Post
                Having problems with the PPA and I did a ppa-purge to fix held back packages and now getting this when I try to reinstall Oibaf PPA.

                Code:
                The following NEW packages will be installed:
                libllvm5.0 libllvm5.0:i386 libsensors4:i386
                The following packages have been kept back:
                libegl1-mesa libegl1-mesa:i386 libgbm1 libgbm1:i386 libgl1-mesa-dri:i386
                libgl1-mesa-dri libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa:i386
                libglapi-mesa libgles1-mesa libgles2-mesa libosmesa6 libosmesa6:i386
                libwayland-egl1-mesa
                The following packages will be upgraded:
                libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-dev libdrm-intel1
                libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1
                libdrm-radeon1:i386 libdrm2 libdrm2:i386 libegl1-mesa-drivers
                libwayland-cursor0 libwayland-cursor0:i386 libwayland-server0
                libwayland-server0:i386 libxatracker2 libxfont1 mesa-common-dev
                mesa-va-drivers:i386 mesa-vdpau-drivers xserver-xorg-video-amdgpu
                xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-nouveau
                xserver-xorg-video-radeon
                I'm using Linux Mint 18.3 and I fear that if I continue I would not be able to boot into the Cinnamon UI. I know Mint is a bit different in how it handles these things. What's going on?
                from padoka ppa:

                === Revert to original drivers (ALWAYS REVERT TO THE ORIGINAL DRIVERS WHEN CHANGING BETWEEN PADOKA PPAs OR REMOVING PADOKA ENTIRELY===
                To revert to standard Ubuntu drivers type the following in a prompt shell:
                $ sudo apt-get install ppa-purge
                $ sudo ppa-purge ppaaulo-miguel-dias/mesa

                to Mint users (info provided by Tomasz Molin)

                If you're on Linux Mint and you want to ppa-purge, you need to specify the corresponding Ubuntu version of your version of Mint.

                For example, Linux Mint 18 is xenial xerus.

                So, the command would be:

                sudo ppa-purge -d xenial ppaaulo-miguel-dias/mesa

                enjoy

                Comment


                • Originally posted by groo_pcd View Post

                  from padoka ppa:

                  === Revert to original drivers (ALWAYS REVERT TO THE ORIGINAL DRIVERS WHEN CHANGING BETWEEN PADOKA PPAs OR REMOVING PADOKA ENTIRELY===
                  To revert to standard Ubuntu drivers type the following in a prompt shell:
                  $ sudo apt-get install ppa-purge
                  $ sudo ppa-purge ppaaulo-miguel-dias/mesa

                  to Mint users (info provided by Tomasz Molin)

                  If you're on Linux Mint and you want to ppa-purge, you need to specify the corresponding Ubuntu version of your version of Mint.

                  For example, Linux Mint 18 is xenial xerus.

                  So, the command would be:

                  sudo ppa-purge -d xenial ppaaulo-miguel-dias/mesa

                  enjoy
                  Already did that. I'm running neither Padoka or Oibaf PPA's. I'm trying to install Oibaf and that's what I get. What's keeping those packages held back?
                  Last edited by Dukenukemx; 01-19-2018, 01:37 AM.

                  Comment

                  Working...
                  X