Announcement

Collapse
No announcement yet.

Updated and Optimized Ubuntu Free Graphics Drivers

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

  • Originally posted by nir2142 View Post


    Just in case if their will be something wrong with mesa
    i have stupid question how do i downgrade to the original ubuntu 23.10 pacakges?
    because if i try to downgrade with this command:

    Code:
    $ sudo ppa-purge ppa:oibaf/graphics-drivers
    [sudo] password for habernir:
    Updating packages lists
    PPA to be removed: oibaf graphics-drivers
    Package revert list generated:
    libdrm-amdgpu1:amd64/mantic libdrm-amdgpu1:i386/mantic libdrm-common/mantic
    libdrm-intel1:amd64/mantic libdrm-intel1:i386/mantic
    libdrm-nouveau2:amd64/mantic libdrm-nouveau2:i386/mantic
    libdrm-radeon1:amd64/mantic libdrm-radeon1:i386/mantic libdrm2:amd64/mantic
    libdrm2:i386/mantic libegl-mesa0:amd64/mantic libegl-mesa0:i386/mantic
    libgbm1:amd64/mantic libgbm1:i386/mantic libgl1-mesa-dev:amd64/mantic
    libgl1-mesa-dri:amd64/mantic libgl1-mesa-dri:i386/mantic
    libglapi-mesa:amd64/mantic libglapi-mesa:i386/mantic libglx-mesa0:amd64/mantic
    libglx-mesa0:i386/mantic libxatracker2:amd64/mantic
    mesa-opencl-icd:amd64/mantic mesa-va-drivers:amd64/mantic
    mesa-va-drivers:i386/mantic mesa-vdpau-drivers:amd64/mantic
    mesa-vdpau-drivers:i386/mantic mesa-vulkan-drivers:amd64/mantic
    mesa-vulkan-drivers:i386/mantic
    
    Updating packages lists
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    libdrm-amdgpu1 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-amdgpu1:i386 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-common is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-intel1 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-intel1:i386 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-nouveau2 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-nouveau2:i386 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-radeon1 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm-radeon1:i386 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm2 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libdrm2:i386 is already the newest version (2.4.116+git2309200500.6abc16~oibaf~m).
    libegl-mesa0 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libegl-mesa0:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libgbm1 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libgbm1:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libgl1-mesa-dev is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libgl1-mesa-dri is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libgl1-mesa-dri:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libglapi-mesa is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libglapi-mesa:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libglx-mesa0 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libglx-mesa0:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    libxatracker2 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-opencl-icd is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-va-drivers is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-va-drivers:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-vdpau-drivers is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-vdpau-drivers:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-vulkan-drivers is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    mesa-vulkan-drivers:i386 is already the newest version (23.3~git2310090600.1e820a~oibaf~m).
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libdrm-amdgpu1'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libdrm-amdgpu1:i386'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [all]) for 'libdrm-common'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libdrm-intel1'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libdrm-intel1:i386'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libdrm-nouveau2'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libdrm-nouveau2:i386'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libdrm-radeon1'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libdrm-radeon1:i386'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libdrm2'
    Selected version '2.4.116+git2309200500.6abc16~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libdrm2:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libegl-mesa0'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libegl-mesa0:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libgbm1'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libgbm1:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libgl1-mesa-dev'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libgl1-mesa-dri'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libgl1-mesa-dri:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libglapi-mesa'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libglapi-mesa:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libglx-mesa0'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'libglx-mesa0:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'libxatracker2'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'mesa-opencl-icd'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'mesa-va-drivers'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'mesa-va-drivers:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'mesa-vdpau-drivers'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'mesa-vdpau-drivers:i386'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [amd64]) for 'mesa-vulkan-drivers'
    Selected version '23.3~git2310090600.1e820a~oibaf~m' (Updated Open Graphics Drivers - since 2011!:23.10/mantic [i386]) for 'mesa-vulkan-drivers:i386'
    The following packages were automatically installed and are no longer required:
    libllvm15 libllvm15:i386
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    PPA purged successfully
    ​
    you can see that it doesn't downgrade.
    i know thats its a bug soo do you know easy way to downgrade?
    thanks , nir
    Maybe try this before downgrading:
    Code:
    sudo apt update && sudo apt dist-upgrade && sudo apt clean && sudo apt autoremove --purge

    Comment


    • Now that Ubuntu 23.10/mantic is released, packages for 23.04/lunar won't be updated anymore, I'll delete them soon.

      Comment


      • Hi oibaf

        I'm also in the same situation of nir2142
        The ppa-purge doesn't revert the changes or remove the ppa from the sources list
        I tried with the command you said but without luck
        Is there other way to revert the packages to the original ones?

        Comment


        • Dunno, this is likely a issue with ubuntu/ppa-purge rather than the PPA itself.

          Comment


          • I found a way to downgrade the ppa without ppa-purge

            Putting a file with
            Code:
            Package: *
            Pin: release a=mantic
            Pin-Priority: 1001
            
            Package: *
            Pin: release a=mantic-updates
            Pin-Priority: 1001
            
            Package: *
            Pin: release a=mantic-security
            Pin-Priority: 1001
            
            Package: *
            Pin: release a=mantic-backports
            Pin-Priority: 1001
            
            Package: *
            Pin: release o=LP-PPA-oibaf-graphics-drivers
            Pin-Priority: -1​
            in /etc/apt/preferences.d

            disable the ppa in sources and make sudo apt dist-upgrade

            remove the file after downgrade
            Last edited by paregistrase; 17 October 2023, 03:21 AM.

            Comment


            • Oibaf,
              We've exchanged a few emails privately, but now that my Phoronix verification email FINALLY came through, may as well move this into a public forum since nothing needs to be private.

              Since my last email, I did a bit more digging into the issues with enabling Microsoft Dozen (dzn), and I'm guessing the issue was that putting spirv2dxil and its dependencies into mesa-vulkan-drivers.install would choke on platforms that did not actually build Dozen (anything but amd64 and arm64).

              Attached is a proof-of-concept patch (remove the .txt extension since Phoronix won't let you upload something with the extension .patch) that should allow building dzn on appropriate platforms without choking on other architectures. There's probably a cleaner way to do this though? Any thoughts as to other methods to conditionally install files based on architecture? build_dozen.patch.txt


              Comment


              • Originally posted by Entropy512 View Post
                Oibaf,
                We've exchanged a few emails privately, but now that my Phoronix verification email FINALLY came through, may as well move this into a public forum since nothing needs to be private.

                Since my last email, I did a bit more digging into the issues with enabling Microsoft Dozen (dzn), and I'm guessing the issue was that putting spirv2dxil and its dependencies into mesa-vulkan-drivers.install would choke on platforms that did not actually build Dozen (anything but amd64 and arm64).

                Attached is a proof-of-concept patch (remove the .txt extension since Phoronix won't let you upload something with the extension .patch) that should allow building dzn on appropriate platforms without choking on other architectures. There's probably a cleaner way to do this though? Any thoughts as to other methods to conditionally install files based on architecture? [ATTACH]n1417230[/ATTACH]


                Thanks, I had a look at it, I think a better approach (at least, something similar to what it is already done) would be something like the install of rusticl.icd, starting at line number 285 in original rules file. Can you have a look doing it this way?

                Comment


                • News:
                  • packages for 23.04/lunar are now removed;
                  • packages for 24.04/noble are added!
                  Enjoy!

                  Comment


                  • Originally posted by oibaf View Post

                    Thanks, I had a look at it, I think a better approach (at least, something similar to what it is already done) would be something like the install of rusticl.icd, starting at line number 285 in original rules file. Can you have a look doing it this way?
                    build_dozen_v2.patch.txt

                    Yup, that IS much cleaner, thanks for the pointer. I also tweaked it to have a WSL_ARCHS define similar to how RUSTICL_ARCHS is used when the arch list is referenced multiple times

                    Comment


                    • Originally posted by Entropy512 View Post

                      [ATTACH]n1417407[/ATTACH]

                      Yup, that IS much cleaner, thanks for the pointer. I also tweaked it to have a WSL_ARCHS define similar to how RUSTICL_ARCHS is used when the arch list is referenced multiple times
                      Thanks, it looks good (edit: maybe just add a space after the comment at
                      Code:
                      #Copy spirv2dxil...
                      ), I applied it to the PPA, building now. It would be nice if you could also submit it to Debian (my packages are based on the official Ubuntu ones, which are themselves based on the Debian ones), so that:
                      • standard Debian / Ubuntu users could also benefit from it;
                      • could eventually get some improvements from Debian / Ubuntu packagers;
                      • it would ease to manage my PPA (less differences, so easier to sync when I do it from time to time).
                      The Debian package source is available here:

                      The git repo is here:

                      Your patch should just need minor modification for the Debian package.
                      Last edited by oibaf; 25 October 2023, 04:45 AM.

                      Comment

                      Working...
                      X