New to Vulkan and DXVK - trouble using them with latest Wine

Questions about Wine on Linux
Monsieur_Smith
Level 2
Level 2
Posts: 21
Joined: Sat Oct 17, 2009 7:56 am

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Monsieur_Smith »

vulkaninfo and vulkan-cube seem to give satisfying outputs. Here are the first lines of the vulkaninfo output:

Code: Select all

==========
VULKANINFO
==========

Vulkan Instance Version: 1.1.82





Instance Extensions:
====================
Instance Extensions	count = 16
	VK_EXT_acquire_xlib_display         : extension revision  1
	VK_EXT_debug_report                 : extension revision  9
	VK_EXT_debug_utils                  : extension revision  1
	VK_EXT_direct_mode_display          : extension revision  1
	VK_EXT_display_surface_counter      : extension revision  1
	VK_KHR_device_group_creation        : extension revision  1
	VK_KHR_display                      : extension revision 21
	VK_KHR_external_fence_capabilities  : extension revision  1
	VK_KHR_external_memory_capabilities : extension revision  1
	VK_KHR_external_semaphore_capabilities: extension revision  1
	VK_KHR_get_display_properties2      : extension revision  1
	VK_KHR_get_physical_device_properties2: extension revision  1
	VK_KHR_get_surface_capabilities2    : extension revision  1
	VK_KHR_surface                      : extension revision 25
	VK_KHR_xcb_surface                  : extension revision  6
	VK_KHR_xlib_surface                 : extension revision  6
Layers: count = 3
=======
VK_LAYER_LUNARG_standard_validation (LunarG Standard Validation Layer) Vulkan version 1.0.97, layer version 1
	Layer Extensions	count = 0
	Devices 	count = 2
		GPU id       : 0 (GeForce GTX 960)
		Layer-Device Extensions	count = 0
		GPU id       : 1 (GeForce GTX 960)
		Layer-Device Extensions	count = 0

VK_LAYER_VALVE_steam_overlay_32 (Steam Overlay Layer) Vulkan version 1.1.73, layer version 1
	Layer Extensions	count = 0
	Devices 	count = 2
		GPU id       : 0 (GeForce GTX 960)
		Layer-Device Extensions	count = 0
		GPU id       : 1 (GeForce GTX 960)
		Layer-Device Extensions	count = 0

VK_LAYER_VALVE_steam_overlay_64 (Steam Overlay Layer) Vulkan version 1.1.73, layer version 1
	Layer Extensions	count = 0
	Devices 	count = 2
		GPU id       : 0 (GeForce GTX 960)
		Layer-Device Extensions	count = 0
		GPU id       : 1 (GeForce GTX 960)
		Layer-Device Extensions	count = 0

Presentable Surfaces:
=====================
GPU id       : 0 (GeForce GTX 960)
Surface type : VK_KHR_xcb_surface
Formats:		count = 2
	B8G8R8A8_UNORM
	B8G8R8A8_SRGB
Present Modes:		count = 3
	FIFO_KHR
	FIFO_RELAXED_KHR
	IMMEDIATE_KHR

VkSurfaceCapabilitiesKHR:
=========================
	minImageCount       = 2
	maxImageCount       = 8
	currentExtent:
		width       = 256
		height      = 256
	minImageExtent:
		width       = 256
		height      = 256
	maxImageExtent:
		width       = 256
		height      = 256
	maxImageArrayLayers = 1
	supportedTransform:
		VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
	currentTransform:
		VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
	supportedCompositeAlpha:
		VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
	supportedUsageFlags:
		VK_IMAGE_USAGE_TRANSFER_SRC_BIT
		VK_IMAGE_USAGE_TRANSFER_DST_BIT
		VK_IMAGE_USAGE_SAMPLED_BIT
		VK_IMAGE_USAGE_STORAGE_BIT
		VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
		VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT

VkSurfaceCapabilities2EXT:
==========================
	supportedSurfaceCounters:
		None
GPU id       : 1 (GeForce GTX 960)
Surface type : VK_KHR_xcb_surface
Formats:		count = 2
	B8G8R8A8_UNORM
	B8G8R8A8_SRGB
Present Modes:		count = 3
	FIFO_KHR
	FIFO_RELAXED_KHR
	IMMEDIATE_KHR

VkSurfaceCapabilitiesKHR:
=========================
	minImageCount       = 2
	maxImageCount       = 8
	currentExtent:
		width       = 256
		height      = 256
	minImageExtent:
		width       = 256
		height      = 256
	maxImageExtent:
		width       = 256
		height      = 256
	maxImageArrayLayers = 1
	supportedTransform:
		VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
	currentTransform:
		VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
	supportedCompositeAlpha:
		VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR
	supportedUsageFlags:
		VK_IMAGE_USAGE_TRANSFER_SRC_BIT
		VK_IMAGE_USAGE_TRANSFER_DST_BIT
		VK_IMAGE_USAGE_SAMPLED_BIT
		VK_IMAGE_USAGE_STORAGE_BIT
		VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
		VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT

VkSurfaceCapabilities2EXT:
==========================
	supportedSurfaceCounters:
		None


Groups :
========
	Device Group Properties (Group 0) :
		physicalDeviceCount = 1

			GeForce GTX 960 (ID: 0)

		subsetAllocation = 0


	Device Group Properties (Group 1) :
		physicalDeviceCount = 1

			GeForce GTX 960 (ID: 0)

		subsetAllocation = 0



Device Properties and Extensions :
==================================
GPU0
VkPhysicalDeviceProperties:
===========================
	apiVersion     = 0x401054  (1.1.84)
	driverVersion  = 1741078528 (0x67c6c000)
	vendorID       = 0x10de
	deviceID       = 0x1401
	deviceType     = DISCRETE_GPU
	deviceName     = GeForce GTX 960
	VkPhysicalDeviceLimits:
	-----------------------
Monsieur_Smith
Level 2
Level 2
Posts: 21
Joined: Sat Oct 17, 2009 7:56 am

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Monsieur_Smith »

The thing is, my version of vulkaninfo is still 1.1.82, the Cybermax PPA hasn't any updates for it. So I guess that result is not that significant...
LinuXGuy
Level 1
Level 1
Posts: 5
Joined: Fri Jan 25, 2019 6:59 pm

Re: New to Vulkan and DXVK - trouble using them with latest

Post by LinuXGuy »

Hi guys,

i want to use Vulcan and DX12 on my Wine installation, too. Unfortunately i'm a liitle bit lost because it's the first time that i have a linux system with wine 4.0 (i'm already happy that wine in generally works).
My system:

- MX Linux 18 with wine 4.0 (downloaded and installed via apt-get over the winehq download site)
- Geforce GTX 1080 Ti with the proprietary driver from the repo (version 390.87); my graphic cart supports DX12 and Vulcan
- i have the libvulkan1 and libvulcan1:i386 packages installed

I don't have different wineprefixes and no winetricks atm. So i need help which steps i must take to use vulcan/dx12 on my wine installation.
Thanks in advance.
Monsieur_Smith
Level 2
Level 2
Posts: 21
Joined: Sat Oct 17, 2009 7:56 am

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Monsieur_Smith »

Hi LinuXGuy,

Since I'm still struggling with making DXVK work with Wine 4.0, I guess I'm not most entitled to show you that specific way.

That said, I suggest your very first step should be to upgrade your graphics driver to the latest version (415.27). 390.87 is severely outdated in terms of Vulkan support.

Best regards
LinuXGuy
Level 1
Level 1
Posts: 5
Joined: Fri Jan 25, 2019 6:59 pm

Re: New to Vulkan and DXVK - trouble using them with latest

Post by LinuXGuy »

Monsieur_Smith wrote:Hi LinuXGuy,

That said, I suggest your very first step should be to upgrade your graphics driver to the latest version (415.27). 390.87 is severely outdated in terms of Vulkan support.

Best regards

Done that. I'm now on driver 415.23 (installed via a script named sgfxi). I think the driver should be enough up-to-date.
Monsieur_Smith
Level 2
Level 2
Posts: 21
Joined: Sat Oct 17, 2009 7:56 am

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Monsieur_Smith »

Hi,

I wonder: is it safe to upgrade DXVK in a given Wine prefix, without deleting and recreating it?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Bob Wya »

Monsieur_Smith wrote:Hi,

I wonder: is it safe to upgrade DXVK in a given Wine prefix, without deleting and recreating it?
Yes. I do this all the time.

Bob
Monsieur_Smith
Level 2
Level 2
Posts: 21
Joined: Sat Oct 17, 2009 7:56 am

Re: New to Vulkan and DXVK - trouble using them with latest

Post by Monsieur_Smith »

Bob Wya wrote:
Monsieur_Smith wrote:Hi,

I wonder: is it safe to upgrade DXVK in a given Wine prefix, without deleting and recreating it?
Yes. I do this all the time.

Bob
Thanks! :)
Locked