New to Linux and Wine

Questions about Wine on Linux
Post Reply
neutronstarz
Newbie
Newbie
Posts: 3
Joined: Wed Feb 06, 2019 5:04 pm

New to Linux and Wine

Post by neutronstarz » Wed Feb 06, 2019 5:43 pm

Hello, I have finally decided to make the switch to linux! I am enjoying it very much and find myself vastly interested in all there is to learn from this community. That being said, I had a question in regards to gaming with Wine. I am currently running wine 4.0 and trying to play the remake of resident evil 2 through my steam account and keep getting an error D3D11 create device faild.(HRESULT: 80004005). I have spent a decent amount of time looking for fixes and haven't run into anything so any guidance would be much appreciated! Thanks in advanced for any help.

thatubuntuguy
Level 2
Level 2
Posts: 13
Joined: Wed Feb 06, 2019 11:37 am

Re: New to Linux and Wine

Post by thatubuntuguy » Thu Feb 07, 2019 2:20 pm

Hi!
Welcome to Linux! May I ask if you have a DX11 compatible GPU and if so, what resolution is the game attempting to render in and what resolution display you are using.

Also, please post the output of

Code: Select all

inxi -G
and

Code: Select all

lspci -k | grep -EA3 'VGA|3D|Display'

neutronstarz
Newbie
Newbie
Posts: 3
Joined: Wed Feb 06, 2019 5:04 pm

Re: New to Linux and Wine

Post by neutronstarz » Thu Feb 07, 2019 5:26 pm

Yes I just built a new computer 8700k intel radeon rx580 16gigs ddr4

Code: Select all

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480]
           Display Server: x11 (X.Org 1.19.6 ) driver: amdgpu
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 / DRM 3.23.0 / 4.15.0-45-generic, LLVM 6.0.0)
           version: 4.5 Mesa 18.0.5

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev e7)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Ellesmere [Radeon RX 470/480/570/580]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
as for your question for resolution rending I'm not exactly sure where I would find those values.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: New to Linux and Wine

Post by Bob Wya » Fri Feb 08, 2019 11:27 am

@neutronstarz

You might want to take a look at the DXVK project.
A third party compatibility layer, to translate DirectX 10+11 to Vulkan (which is not officially support on this website).
See: DXVK Wiki
See: Wikipedia: Vulkan_(API)
DXVK this tends to give much better performance, then wined3d - which uses the older Linux OpenGL graphics stack (to translate DirectX calls).
This is only the case for newer DirectX 10+11 titles.
But there is also a separate DXUP project, to translate DirectX 9 calls into DirectX 11 calls, which can run beside DXVK, in order to run DirectX 9 titles.

There has been some success getting Resident Evil 2 to run with DXVK.
See: Github doitsujin/dxvk : Issues "resident evil 2"

Getting Vulkan up-to-date, on Debian / Ubuntu, can be a real pain.
You need to get your whole graphics stack bang up-to-date (and not be using a 6 month old Mesa version, old kernel version, etc.)
I'd recommend looking / asking on Ask Ubuntu, reddit: /r/wine_gaming, etc.

Once you've done this step... You might also want to check out: Steam Support: Steam Play.
This is available, using the standard Linux Steam client.
This uses DXVK, "under the hood"... So again you'd need to ensure your Vulkan graphics stack was up-to-date.

Also... All new users, to Wine, are requested to read the WineHQ FAQ (in case you haven't already done so).

Bob

User avatar
Bob Wya
Level 12
Level 12
Posts: 2759
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: New to Linux and Wine

Post by Bob Wya » Sun Feb 10, 2019 10:10 am

@neutronstarz

I also found this thread on reddit today: ~/linux_gaming : Resident Evil 2 playable with the latest DXVK and Proton and mfplat.dll workaround.

That might be useful to you, as well...

Bob

neutronstarz
Newbie
Newbie
Posts: 3
Joined: Wed Feb 06, 2019 5:04 pm

Re: New to Linux and Wine

Post by neutronstarz » Mon Feb 11, 2019 7:03 pm

Thank you all so much for your help you have given me much homework to work with XD

Post Reply