Announcement

Collapse
No announcement yet.

Updated and Optimized Ubuntu Free Graphics Drivers

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

  • Unfortunately it still doesn't work. I am now on Mesa 22.1.0-devel (git-a5fa7e0 2022-02-24 focal-oibaf-ppa).

    Code:
    test@test-iMac:~$ cd /home/test/Downloads/
    test@test-iMac:~/Downloads$ DRI_PRIME=1 mpv big_buck_bunny_1080p_h264_AAC.mov
    (+) Video --vid=1 (*) (h264 1920x1080 24.000fps)
    (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
    crocus: driver missing
    crocus: driver missing
    [vaapi] libva: /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so init failed
    AO: [pulse] 48000Hz 5.1 6ch float
    VO: [gpu] 1920x1080 yuv420p
    (Paused) AV: 00:00:11 / 00:09:56 (1%) A-V: 0.000
    
    
    Exiting... (Quit)
    test@test-iMac:~/Downloads$

    Comment


    • Originally posted by lorn10 View Post
      Unfortunately it still doesn't work. I am now on Mesa 22.1.0-devel (git-a5fa7e0 2022-02-24 focal-oibaf-ppa).

      Code:
      test@test-iMac:~$ cd /home/test/Downloads/
      test@test-iMac:~/Downloads$ DRI_PRIME=1 mpv big_buck_bunny_1080p_h264_AAC.mov
      (+) Video --vid=1 (*) (h264 1920x1080 24.000fps)
      (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
      crocus: driver missing
      crocus: driver missing
      [vaapi] libva: /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so init failed
      AO: [pulse] 48000Hz 5.1 6ch float
      VO: [gpu] 1920x1080 yuv420p
      (Paused) AV: 00:00:11 / 00:09:56 (1%) A-V: 0.000
      
      
      Exiting... (Quit)
      test@test-iMac:~/Downloads$
      Try updating again and reboot the system. Does it change? If not, please post output of:
      Code:
      lsb_release -a
      dpkg -l | grep libva
      dpkg -l | grep mesa

      Comment


      • I am now on Mesa 22.1.0-devel (git-f458c7f 2022-02-25 focal-oibaf-ppa) and the issue is still as described. Here are the requested information. Whatever, maybe this is because I am on an dual GPU system.

        Code:
        test@test-iMac:~/Downloads$ lsb_release -a
        No LSB modules are available.
        Distributor ID: Ubuntu
        Description: Ubuntu 20.04.4 LTS
        Release: 20.04
        Codename: focal
        Code:
        test@test-iMac:~/Downloads$ dpkg -l | grep libva
        ii libva-drm2:amd64 2.14.0-1~oibaf~f amd64 Video Acceleration (VA) API for Linux -- DRM runtime
        ii libva-drm2:i386 2.14.0-1~oibaf~f i386 Video Acceleration (VA) API for Linux -- DRM runtime
        ii libva-wayland2:amd64 2.14.0-1~oibaf~f amd64 Video Acceleration (VA) API for Linux -- Wayland runtime
        ii libva-x11-2:amd64 2.14.0-1~oibaf~f amd64 Video Acceleration (VA) API for Linux -- X11 runtime
        ii libva-x11-2:i386 2.14.0-1~oibaf~f i386 Video Acceleration (VA) API for Linux -- X11 runtime
        ii libva2:amd64 2.14.0-1~oibaf~f amd64 Video Acceleration (VA) API for Linux -- runtime
        ii libva2:i386 2.14.0-1~oibaf~f i386 Video Acceleration (VA) API for Linux -- runtime
        Code:
        test@test-iMac:~/Downloads$ dpkg -l | grep mesa
        ii libd3dadapter9-mesa:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 state-tracker for Direct3D9
        ii libd3dadapter9-mesa:i386 22.1~git2202250600.f458c7~oibaf~f i386 state-tracker for Direct3D9
        ii libegl-mesa0:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 free implementation of the EGL API -- Mesa vendor library
        ii libgl1-mesa-dri:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 free implementation of the OpenGL API -- DRI modules
        ii libgl1-mesa-dri:i386 22.1~git2202250600.f458c7~oibaf~f i386 free implementation of the OpenGL API -- DRI modules
        ii libglapi-mesa:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 free implementation of the GL API -- shared library
        ii libglapi-mesa:i386 22.1~git2202250600.f458c7~oibaf~f i386 free implementation of the GL API -- shared library
        ii libglu1-mesa:amd64 9.0.1-1build1 amd64 Mesa OpenGL utility library (GLU)
        ii libglu1-mesa:i386 9.0.1-1build1 i386 Mesa OpenGL utility library (GLU)
        ii libglx-mesa0:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 free implementation of the OpenGL API -- GLX vendor library
        ii libglx-mesa0:i386 22.1~git2202250600.f458c7~oibaf~f i386 free implementation of the OpenGL API -- GLX vendor library
        ii libosmesa6:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 Mesa Off-screen rendering extension
        ii libosmesa6:i386 22.1~git2202250600.f458c7~oibaf~f i386 Mesa Off-screen rendering extension
        ii mesa-utils 8.4.0-1build1 amd64 Miscellaneous Mesa GL utilities
        ii mesa-utils-extra 8.4.0-1build1 amd64 Miscellaneous Mesa utilies (opengles, egl)
        ii mesa-va-drivers:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 Mesa VA-API video acceleration drivers
        ii mesa-va-drivers:i386 22.1~git2202250600.f458c7~oibaf~f i386 Mesa VA-API video acceleration drivers
        ii mesa-vdpau-drivers:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 Mesa VDPAU video acceleration drivers
        ii mesa-vdpau-drivers:i386 22.1~git2202250600.f458c7~oibaf~f i386 Mesa VDPAU video acceleration drivers
        ii mesa-vulkan-drivers:amd64 22.1~git2202250600.f458c7~oibaf~f amd64 Mesa Vulkan graphics drivers
        ii mesa-vulkan-drivers:i386 22.1~git2202250600.f458c7~oibaf~f i386 Mesa Vulkan graphics drivers

        Comment


        • Originally posted by lorn10 View Post
          I am now on Mesa 22.1.0-devel (git-f458c7f 2022-02-25 focal-oibaf-ppa) and the issue is still as described. Here are the requested information. Whatever, maybe this is because I am on an dual GPU system.
          Thanks, I'd suggest to open an issue in libva or mesa (then report here the link), I don't think there is anything else to look at...

          Comment


          • Okay, thanks, will do that when I find the time.

            Comment


            • Packages are now available also for Ubuntu kinetic/22.10.
              Packages for focal/20.04 and impish/21.10 are now considered obsolete, make sure to upgrade to jammy/22.04.

              Comment


              • Originally posted by oibaf View Post
                Packages are now available also for Ubuntu kinetic/22.10.
                Thank you. But in new mesa build there no video codecs and must be enabled before compilation
                This allows to turn on/off all hw implementations for a specific video codec across the tree. Patent encumbered codecs can cause problems for distributions due to the nature...


                Please enable it.


                Comment


                • Hi all! It looks that we have a new little building problem, see Mesa bug #6403, that one is effectively caused by !15258. The proposed solution is, I quote developer Mike Lothian:

                  You'll have to get oibaf to pass in -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec to their builds or do it yourself

                  Comment


                  • Having issues since this morning.

                    OBS was suddenly barfing out the following error and won't let me stream via vaapi acceleration:
                    Code:
                    08:26:59.145: [FFMPEG VAAPI encoder: 'streaming_h264'] Failed to open VAAPI codec: Function not implemented
                    After trying a lot of things and failing miserably, I did a vainfo and was terrified at what I found:
                    Code:
                    libva info: VA-API version 1.14.0
                    libva info: User environment variable requested driver 'radeonsi'
                    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
                    libva info: Found init function __vaDriverInit_1_14
                    libva info: va_openDriver() returns 0
                    vainfo: VA-API version: 1.14 (libva 2.14.0)
                    vainfo: Driver version: Mesa Gallium driver 22.2.0-devel for AMD Radeon RX 5600 XT (navi10, LLVM 14.0.0, DRM 3.42, 5.15.0-27-lowlatency)
                    vainfo: Supported profile and entrypoints
                    VAProfileMPEG2Simple : VAEntrypointVLD
                    VAProfileMPEG2Main : VAEntrypointVLD
                    VAProfileJPEGBaseline : VAEntrypointVLD
                    VAProfileVP9Profile0 : VAEntrypointVLD
                    VAProfileVP9Profile2 : VAEntrypointVLD
                    VAProfileNone : VAEntrypointVideoProc
                    The entire block of H264 entries are missing. Aside from that VC1 and HEVC is also missing.

                    For the record here are the entries after I downgraded the driver package to the Ubuntu stock:
                    Code:
                    libva info: VA-API version 1.14.0
                    libva info: User environment variable requested driver 'radeonsi'
                    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
                    libva info: Found init function __vaDriverInit_1_14
                    libva info: va_openDriver() returns 0
                    vainfo: VA-API version: 1.14 (libva 2.14.0)
                    vainfo: Driver version: Mesa Gallium driver 22.0.1 for AMD Radeon RX 5600 XT (navi10, LLVM 13.0.1, DRM 3.42, 5.15.0-27-lowlatency)
                    vainfo: Supported profile and entrypoints
                    VAProfileMPEG2Simple : VAEntrypointVLD
                    VAProfileMPEG2Main : VAEntrypointVLD
                    VAProfileVC1Simple : VAEntrypointVLD
                    VAProfileVC1Main : VAEntrypointVLD
                    VAProfileVC1Advanced : VAEntrypointVLD
                    VAProfileH264ConstrainedBaseline: VAEntrypointVLD
                    VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
                    VAProfileH264Main : VAEntrypointVLD
                    VAProfileH264Main : VAEntrypointEncSlice
                    VAProfileH264High : VAEntrypointVLD
                    VAProfileH264High : VAEntrypointEncSlice
                    VAProfileHEVCMain : VAEntrypointVLD
                    VAProfileHEVCMain : VAEntrypointEncSlice
                    VAProfileHEVCMain10 : VAEntrypointVLD
                    VAProfileHEVCMain10 : VAEntrypointEncSlice
                    VAProfileJPEGBaseline : VAEntrypointVLD
                    VAProfileVP9Profile0 : VAEntrypointVLD
                    VAProfileVP9Profile2 : VAEntrypointVLD
                    VAProfileNone : VAEntrypointVideoProc
                    I googled and got a nasty answer about patent and licensing. Ugh.

                    Any plans to restore H264, VC1 and HEVC support to the VAAPI drivers? This is annoying, I need H264 support for OBS.

                    Comment


                    • Launchpad no longer releases freed space since some days and I cannot upload packages anymore:
                      Repository size:
                      33.1 GiB (100.00%) of 32.0 GiB
                      I also deleted some packages (backports of supertuxkart and warzone2100) but still no change in free space. Hopefully they'll fix it soon.

                      I'd suggest to use free codecs anyway.

                      Comment

                      Working...
                      X