Announcement

Collapse
No announcement yet.

Updated and Optimized Ubuntu Free Graphics Drivers

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

  • 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. Seti@home, 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; 19 January 2018, 01:37 AM.

              Comment


              • Oibaf must have fixed the held back packages but when I did install the drivers I get this error. I've also tried sudo apt clean and this still happens.

                Code:
                Errors were encountered while processing:
                 /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_amd64.deb
                 /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_i386.deb
                E: Sub-process /usr/bin/dpkg returned an error code (1)

                Comment


                • Dukenukemx I didn't do any changes to packages recently (other than updating code from git), I would suppose this is likely an issue related to Mint having slightly different packages from Ubuntu.

                  Also to zesty / 17.04 users: the distro is EOL, you should upgrade to artful. Before upgrade make sure to remove the PPA packages, then upgrade the distro, then add again the PPA.

                  Comment


                  • oibaf so what fixed it? Also still having this problem.

                    Code:
                    sudo apt-get -f install
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    Correcting dependencies... Done
                    The following additional packages will be installed:
                      libdrm-amdgpu1 libdrm-amdgpu1:i386
                    The following packages will be upgraded:
                      libdrm-amdgpu1 libdrm-amdgpu1:i386
                    2 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
                    2 not fully installed or removed.
                    Need to get 60.3 kB of archives.
                    After this operation, 34.8 kB of additional disk space will be used.
                    Do you want to continue? [Y/n] y
                    Get:1 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu xenial/main i386 libdrm-amdgpu1 i386 2.4.89+git1801190630.3509e7~oibaf~x [31.9 kB]
                    Get:2 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu xenial/main amd64 libdrm-amdgpu1 amd64 2.4.89+git1801190630.3509e7~oibaf~x [28.4 kB]
                    Fetched 60.3 kB in 0s (105 kB/s)          
                    (Reading database ... 446536 files and directories currently installed.)
                    Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_amd64.deb ...
                    De-configuring libdrm-amdgpu1:i386 (2.4.67-1) ...
                    Unpacking libdrm-amdgpu1:amd64 (2.4.89+git1801190630.3509e7~oibaf~x) over (2.4.67-1) ...
                    dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~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
                    Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_i386.deb ...
                    De-configuring libdrm-amdgpu1:amd64 (2.4.67-1) ...
                    Unpacking libdrm-amdgpu1:i386 (2.4.89+git1801190630.3509e7~oibaf~x) over (2.4.67-1) ...
                    dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~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
                    Processing triggers for libc-bin (2.23-0ubuntu10) ...
                    Errors were encountered while processing:
                     /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_amd64.deb
                     /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801190630.3509e7~oibaf~x_i386.deb
                    E: Sub-process /usr/bin/dpkg returned an error code (1)

                    Comment


                    • Likely some incompatibility between packages. Try to manually remove the two installed packages without touching their dependencies, then reinstall from the PPA.

                      Comment

                      Working...
                      X