Announcement

Collapse
No announcement yet.

Intel's ANV Vulkan Driver Now Supports Tessellation Shaders

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

  • edoantonioco
    replied
    Originally posted by Kayden View Post

    It's really easy actually - you don't need to install anything at all.

    $ git clone git://anongit.freedesktop.org/mesa/mesa
    $ cd mesa
    $ CFLAGS='-g -fno-omit-frame-pointer' CXXFLAGS='-g -fno-omit-frame-pointer' ./autogen.sh --with-egl-platforms=x11,drm,wayland --with-dri-drivers=i965 --with-gallium-drivers="" --enable-debug --with-vulkan-drivers=intel --sysconfdir=/etc
    $ make -j5

    Then:
    $ export VK_ICD_FILENAMES="$HOME/mesa/src/intel/vulkan/dev_icd.json" # or wherever you put yoru mesa checkout...
    $ <run your app>

    If you want to use it for GL as well, then (again, adjusting paths)
    $ export LIBGL_DRIVERS_PATH="$HOME/mesa/lib"
    $ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/mesa/lib"
    Very cool
    Last edited by edoantonioco; 21 January 2017, 02:49 AM.

    Leave a comment:


  • entropy
    replied
    Originally posted by Kayden View Post

    It's really easy actually - you don't need to install anything at all.

    $ git clone git://anongit.freedesktop.org/mesa/mesa
    $ cd mesa
    $ CFLAGS='-g -fno-omit-frame-pointer' CXXFLAGS='-g -fno-omit-frame-pointer' ./autogen.sh --with-egl-platforms=x11,drm,wayland --with-dri-drivers=i965 --with-gallium-drivers="" --enable-debug --with-vulkan-drivers=intel --sysconfdir=/etc
    $ make -j5

    Then:
    $ export VK_ICD_FILENAMES="$HOME/mesa/src/intel/vulkan/dev_icd.json" # or wherever you put yoru mesa checkout...
    $ <run your app>

    If you want to use it for GL as well, then (again, adjusting paths)
    $ export LIBGL_DRIVERS_PATH="$HOME/mesa/lib"
    $ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/mesa/lib"
    Wow, this was more than helpful!

    Didn't know you can run a local Mesa version that way.

    Thanks again!

    And indeed, vkQuake now starts.
    I'll test it tomorrow. For now, all I can see is the menu flickering.
    But hey - this is very promising.

    Edit: It's only the menu flickering. The game seems to work flawless. \o/

    Let's see if Arcane Dimensions runs properly.
    Large-scale single player campaign with many new levels, some of them labeled as "test" maps, featuring a whole line-up of new monsters and items as well as several tweaks and changes to the gameplay. It is also meant to serve as a tool box for level designers. Map and QC sources are included.

    This is version 1.5 which features even more new levels, enemies, items, and level functions. A patch for 1.5 is available here.

    Note: These maps require an engine port with increased limits as well as support for BSP2 and transparent textures. They are mainly designed to be played with QuakeSpasm 0.92.0 or later.

    That new single-player mod is nothing short of awesome
    Last edited by entropy; 11 January 2017, 07:55 PM.

    Leave a comment:


  • Kayden
    replied
    Originally posted by entropy View Post

    I see. Thank you.
    Will be waiting for Mesa 17 then.
    Not sure how difficult it is to compile Mesa from git on Fedora without messing up my system.
    It's really easy actually - you don't need to install anything at all.

    $ git clone git://anongit.freedesktop.org/mesa/mesa
    $ cd mesa
    $ CFLAGS='-g -fno-omit-frame-pointer' CXXFLAGS='-g -fno-omit-frame-pointer' ./autogen.sh --with-egl-platforms=x11,drm,wayland --with-dri-drivers=i965 --with-gallium-drivers="" --enable-debug --with-vulkan-drivers=intel --sysconfdir=/etc
    $ make -j5

    Then:
    $ export VK_ICD_FILENAMES="$HOME/mesa/src/intel/vulkan/dev_icd.json" # or wherever you put yoru mesa checkout...
    $ <run your app>

    If you want to use it for GL as well, then (again, adjusting paths)
    $ export LIBGL_DRIVERS_PATH="$HOME/mesa/lib"
    $ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/mesa/lib"

    Leave a comment:


  • Kayden
    replied
    The SPIR-V stuff should be reusable with a few minor modifications. I suspect it should be pretty easy to hook up.

    Leave a comment:


  • entropy
    replied
    Originally posted by Kayden View Post
    I'm not sure - Jason would be more likely to know. I know that vkQuake uses input attachments, and IIRC those weren't implemented in Mesa 13. They are in master. So it's worth a try...
    I see. Thank you.
    Will be waiting for Mesa 17 then.
    Not sure how difficult it is to compile Mesa from git on Fedora without messing up my system.

    Leave a comment:


  • haagch
    replied
    How far is Tessellation support in radv off now that anv has it? Can anything be reused from the frontend?

    Leave a comment:


  • Kayden
    replied
    I'm not sure - Jason would be more likely to know. I know that vkQuake uses input attachments, and IIRC those weren't implemented in Mesa 13. They are in master. So it's worth a try...

    Leave a comment:


  • entropy
    replied
    Originally posted by Kayden View Post

    Yep, it works great on Haswell. I haven't actually tried Ivybridge, but it should all be there.
    Do you know if vkQuake should now run on Haswell or what is missing?

    Vulkan Quake port based on QuakeSpasm. Contribute to Novum/vkQuake development by creating an account on GitHub.

    (You can run it with the freely available shareware episode if you want to test it)

    With Mesa 13.0.3 on Fedora 25 it always SEGFAULTs:

    Leave a comment:


  • Kayden
    replied
    Originally posted by Michael View Post

    I believe so, didn't see any conditional statements regarding to exposing tesselationShader.
    Yep, it works great on Haswell. I haven't actually tried Ivybridge, but it should all be there.

    Leave a comment:


  • Michael
    replied
    Originally posted by edoantonioco View Post
    does this apply for haswell too?
    I believe so, didn't see any conditional statements regarding to exposing tesselationShader.

    Leave a comment:

Working...
X