Announcement

Collapse
No announcement yet.

Mesa's New "Crocus" OpenGL Driver Is Performing Well For Old Intel Hardware

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

  • #11
    Originally posted by iskra32 View Post
    Does VAAPI work with this driver or does the intel-media-driver interface with i915 directly?
    crocus doesn't have Gallium-based media support yet, you'll need to keep using the existing vaapi drivers. It's just 3D currently. Media support would certainly be neat.

    Originally posted by zerothruster View Post
    Noob question: Do I have to use the intel video driver to use this ? Asking because on my haswell I dropped back to modesetting maybe a year ago so that I can see video output in parole (rather than horizontal lines). TIA
    No, modesetting is the preferred way to go. I haven't used xf86-video-intel in years.
    Free Software Developer .:. Mesa and Xorg
    Opinions expressed in these forum posts are my own.

    Comment


    • #12
      Originally posted by Kayden View Post

      crocus doesn't have Gallium-based media support yet, you'll need to keep using the existing vaapi drivers. It's just 3D currently. Media support would certainly be neat.



      No, modesetting is the preferred way to go. I haven't used xf86-video-intel in years.
      so there hope to get Media support for 7 gen igpu ? or there hardware limitations?

      intel XDD driver have TearFree and little bit faster than modesetting

      Comment


      • #13
        The 4790K was such a brute of a processor in its time and even now is a good gaming processor. That said, seeing such slow FPS on Tropics is an eyeopener. I just got a 5700g and the GPU on that is so much more capable versus the CPU compared to Haswell. Of course back then GPUs were available unlike now.

        I wouldn't want to be a gamer with a 4790K and a dead GPU right now but it's appreciated that efforts are being made to make the most of the integrated GPU that came with Haswell.

        Comment


        • #14
          I've fixed the tesseract regression in master now, along with a misrendering bug in ET: legacy.

          Michael thanks for the benchmarks!

          Comment


          • #15
            Looks good, does indeed show signs of reduced CPU overhead.
            Thanks everybody.

            Is there even the possibility that this driver will pick up additional OpenGL extensions compared to i965, where hardware allows? I reckon some "AZDO" extensions should be implementable.

            Comment


            • #16
              Originally posted by airlied View Post
              I've fixed the tesseract regression in master now, along with a misrendering bug in ET: legacy.

              Michael thanks for the benchmarks!
              Have you tried firefox-wayland /w WebRender?

              Comment


              • #17
                With OpenArena the peak frame times were lower when using Crocus.
                While that's true, the frame times look much more consistent as minimum frame rate is much higher so I'd rather see that as reduced stuttering.

                Comment


                • #18
                  The million dollar question is, will it help Dolphin-emu on old laptops and rigs!? Does it boost interfacing with vulkan backend somehow?

                  Will it increase performance for Zelda Twilight Princess on a top-line i7 ivy-bridge?

                  Comment


                  • #19
                    Originally posted by DanglingPointer View Post
                    The million dollar question is, will it help Dolphin-emu on old laptops and rigs!? Does it boost interfacing with vulkan backend somehow?

                    Will it increase performance for Zelda Twilight Princess on a top-line i7 ivy-bridge?
                    This is for GL, Vulkan is a separate driver. Anything using GL might get a small boost though (the biggest difference is reduced driver overhead, so hopefully less stuttering).

                    Comment


                    • #20
                      Unfortunately, it looks that not all systems are currently ready to use this amazing new driver. I am here at an Apple iMac12,2 and for whatever reason it's not possible to load the crocus driver. (Yes, I have set the "MESA_LOADER_DRIVER_OVERRIDE=crocus" value in /etc/environment.) Note, this is effectively a (quite exotic) dual GPU system which contains an Intel HD 2000 and AMD Radeon TURKS GPU.

                      Code:
                      [FONT=monospace][email protected][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ glxinfo -B           [/COLOR]
                      name of display: :0
                      libGL error: failed to create dri screen
                      libGL error: failed to load driver: crocus
                      libGL error: failed to create dri screen
                      libGL error: failed to load driver: crocus
                      display: :0  screen: 0
                      direct rendering: Yes
                      Extended renderer info (GLX_MESA_query_renderer):
                         Vendor: Mesa/X.org (0xffffffff)
                         Device: llvmpipe (LLVM 12.0.0, 256 bits) (0xffffffff)
                         Version: 21.2.0
                         Accelerated: no
                         Video memory: 7939MB
                         Unified memory: no
                         Preferred profile: core (0x1)
                         Max core profile version: 4.5
                         Max compat profile version: 3.1
                         Max GLES1 profile version: 1.1
                         Max GLES[23] profile version: 3.2
                      OpenGL vendor string: Mesa/X.org
                      OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits)
                      OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.2.0-devel (git-b4d90b1 2021-06-20 focal-oibaf-ppa)
                      OpenGL core profile shading language version string: 4.50
                      OpenGL core profile context flags: (none)
                      OpenGL core profile profile mask: core profile
                      
                      OpenGL version string: 3.1 Mesa 21.2.0-devel (git-b4d90b1 2021-06-20 focal-oibaf-ppa)
                      OpenGL shading language version string: 1.40
                      OpenGL context flags: (none)
                      
                      OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.0-devel (git-b4d90b1 2021-06-20 focal-oibaf-ppa)
                      OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20[/FONT]
                      Code:
                      [FONT=monospace][email protected][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ LIBGL_DEBUG=verbose glxinfo | grep direct [/COLOR]
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/crocus_dri.so)
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL error: failed to create dri screen
                      libGL error: failed to load driver: crocus
                      libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/crocus_dri.so)
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL error: failed to create dri screen
                      libGL error: failed to load driver: crocus
                      libGL: MESA-LOADER: dlopen(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      libGL: Can't open configuration file /etc/drirc: No such file or directory.
                      libGL: Can't open configuration file /home/test/.drirc: No such file or directory.
                      direct rendering: Yes
                         GL_AMD_multi_draw_indirect, GL_AMD_query_buffer_object,  
                         GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access,  
                         GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,  
                         GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,  
                         GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,  
                         GL_AMD_draw_buffers_blend, GL_AMD_multi_draw_indirect,  
                         GL_ARB_direct_state_access, GL_ARB_draw_buffers,  
                         GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,  
                         GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,  
                         GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,  
                         GL_EXT_direct_state_access, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, [/FONT]
                      Update: This issue is still present also at newer Mesa 21.2 releases, - maybe I should really open a bug report about that, airlied ?
                      Last edited by lorn10; 22 June 2021, 01:43 PM.

                      Comment

                      Working...
                      X