Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Vulkan on Metal


  • Please log in to reply
14 replies to this topic

#1 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 29 January 2018 - 11:43 AM

There seems to be an Apache-licensed project for this now: https://github.com/C...m/VulkanOnMetal

Fingers crossed! D3D11 on Vulkan seems to be making reasonably good progress in Wine, and I hope that this will also go somewhere.

This is not just a thing that might benefit Wine, but maybe also other porting of Vulkan games to Mac. Once they get it working, of course ;)

#2 Brainzyy

Brainzyy

    Professional Member

  • Members
  • PipPipPipPip
  • 167 posts
  • LocationBelgium
  • Graphics Card:AMD Radeon R9 M370X (2GB) / Intel Iris Pro 5200
  • Operating System:macOS 10.12 (Sierra)

Posted 29 January 2018 - 10:59 PM

According to https://moltengl.com...reate-pipeline/
MoltenVK is also going open source (even though their license right now does state that the product is free for end-users).

Let's hope one of these projects gets mature enough to be useful for Wine.

#3 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 26 February 2018 - 02:44 PM

MoltenVK is now public and seems to be doing quite well: https://arstechnica....hanks-to-apple/

#4 Brainzyy

Brainzyy

    Professional Member

  • Members
  • PipPipPipPip
  • 167 posts
  • LocationBelgium
  • Graphics Card:AMD Radeon R9 M370X (2GB) / Intel Iris Pro 5200
  • Operating System:macOS 10.12 (Sierra)

Posted 27 February 2018 - 03:50 PM

Here's another article with some more info: https://www.phoronix...an-on-mac&num=1

#5 Incredible Hulk

Incredible Hulk

    Professional Member

  • Members
  • PipPipPipPip
  • 185 posts
  • Graphics Card:6750M, OSX 10.12.2
  • Operating System:Other OS/Not specified
  • I like to play:PES, COD, Grid, FNV, RO

Posted 27 February 2018 - 07:38 PM

This can be a really game changer

Current state of DXVK
https://m.youtube.co...KqNi_8BVSIKXPDA


#6 Zakk

Zakk

    Regular Member

  • Members
  • Pip
  • 13 posts
  • Graphics Card:Nvidia 650M
  • Operating System:OS X 10.8 (Mountain Lion)

Posted 27 February 2018 - 09:42 PM

About a year ago I hacked up the wine-staging vulkan implementation to use MoltenVK. Doom would launch but due to some missing functionality in MoltenVK it would just render a black screen.

If I can remember what I did to compile the source I have I may give it a try with MoltenVK 1.0

#7 Incredible Hulk

Incredible Hulk

    Professional Member

  • Members
  • PipPipPipPip
  • 185 posts
  • Graphics Card:6750M, OSX 10.12.2
  • Operating System:Other OS/Not specified
  • I like to play:PES, COD, Grid, FNV, RO

Posted 27 February 2018 - 10:58 PM

View PostZakk, on 27 February 2018 - 09:42 PM, said:

About a year ago I hacked up the wine-staging vulkan implementation to use MoltenVK. Doom would launch but due to some missing functionality in MoltenVK it would just render a black screen.

If I can remember what I did to compile the source I have I may give it a try with MoltenVK 1.0


Tessalation is still missing in MoltenVK although it's on the roadmap. Another thing is that Metal doesn't have geometry shaders. There is probably workaround for that as Feral, Aspyr and VP made it.
Also Metal is 64-bit only, but anyway this is huge and open new frontiers for Wine on Mac.

@Zakk It would be great if you give it a try or take a look what's going on here with Wine Vulkan https://github.com/r...vulkan/issues/8

#8 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 01 March 2018 - 07:34 PM

If 32-bit DX9 games can be made to work through WoW, then one presumes 32-bit DX10/11/12 games can be passed through Vulkan in a similar way. There will need to be some casting, but it should be possible.

#9 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 23 April 2018 - 11:10 AM

View PostIncredible Hulk, on 27 February 2018 - 10:58 PM, said:

[/size] Another thing is that Metal doesn't have geometry shaders. There is probably workaround for that as Feral, Aspyr and VP made it.

@Zakk It would be great if you give it a try or take a look what's going on here with Wine Vulkan https://github.com/r...vulkan/issues/8

Agreed, happy to have further thoughts :). As for the geometry shaders, one can imagine that they could be emulated with compute shaders, but that will likely take some work. Or we wait and see what Apple comes up with for WWDC. If we get lucky, they fill in a couple of missing features.

#10 TheTuKays

TheTuKays

    Professional Member

  • Members
  • PipPipPipPip
  • 112 posts
  • Graphics Card:ati
  • Operating System:Other OS/Not specified

Posted 21 July 2018 - 08:13 PM

From Wine 3.13 Release notes:

What's new in this release (see below for details):
  - Vulkan support on macOS using MoltenVK.
  - Initial support for performance data in the registry.
  - Mono engine updated with some bug fixes.
  - Support for fetching BIOS information on Linux.
  - GnuTLS also used on macOS when available.
  - Improvements in the standard Task Dialog.
  - Various bug fixes.

#11 Gcenx

Gcenx

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 377 posts
  • Graphics Card:Intel Iris
  • Operating System:macOS 10.12 (Sierra)

Posted 21 July 2018 - 09:54 PM

View PostTheTuKays, on 21 July 2018 - 08:13 PM, said:

From Wine 3.13 Release notes:

What's new in this release (see below for details):
  - Vulkan support on macOS using MoltenVK.
  - Initial support for performance data in the registry.
  - Mono engine updated with some bug fixes.
  - Support for fetching BIOS information on Linux.
  - GnuTLS also used on macOS when available.
  - Improvements in the standard Task Dialog.
  - Various bug fixes.

Don't get your hopes up.

They didn't build the macOS versions with Vulkan support

0039:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.


#12 NRG

NRG

    Champion Member

  • Members
  • 679 posts
  • Graphics Card:Nvidia 9800m GTS
  • Operating System:OS X 10.10 (Yosemite)

Posted 22 July 2018 - 07:30 AM

https://www.phoronix...Vulkan-MoltenVK

#13 Gcenx

Gcenx

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 377 posts
  • Graphics Card:Intel Iris
  • Operating System:macOS 10.12 (Sierra)

Posted 22 July 2018 - 03:05 PM

View PostNRG, on 22 July 2018 - 07:30 AM, said:


I read it the problem is the current uploaded builds were not built with the vulkan support.
I installed the MoltenVK development kit onto my mac, then install the VulkanSDK using winetricks and the error above is what I got when trying to running cube.exe from \bin, not \bin32 as I assume we wont have 32bit Vulkan since MoltenVK SDK is only 64bit.

#14 ovvldc

ovvldc

    Master Member

  • Members
  • 1255 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 23 July 2018 - 05:44 PM

I would anyway assume that apps using Vulkan on Windows would be 64bit. But maybe that is naive.

#15 Gcenx

Gcenx

    Veteran Member

  • Members
  • PipPipPipPipPip
  • 377 posts
  • Graphics Card:Intel Iris
  • Operating System:macOS 10.12 (Sierra)

Posted 23 July 2018 - 11:18 PM

View Postovvldc, on 23 July 2018 - 05:44 PM, said:

I would anyway assume that apps using Vulkan on Windows would be 64bit. But maybe that is naive.

Same assumption I had, that's why I launched from \bin, \bin32 would be 32bit so the other would be 64bit.

Maybe I can compile it myself with GCC since Clang fails to build 3.13.....




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users