Wine Graphics Card not detect

Questions about Wine on Linux
Locked
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Wine Graphics Card not detect

Post by Tufar »

Hi guys
Sorry for my bad english .It´s my first post in this forum.
I´ve use some wine versions but in all versions was not detect correct my graphics card.
Same problem with using playonlinux.
i cant´t use Directx 9 in some games not accept Directx 9 (EOL from Ms)
Must use Directx 10 or higher .
Operaring System was linux mint 18.1 with changed kernel from 4.4 to 4.11 for better Support for AMD Ryzen CPU.

In Terminal Information
Command:

Code: Select all

lspci -nnk | grep "VGA\|'Kern'\|3D\|Display" -A2
gives :

Code: Select all

28:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:67df] (rev c7)
	Subsystem: XFX Pine Group Inc. Device [1682:9480]
	Kernel driver in use: amdgpu
And Open GL Information in Terminal
Command :

Code: Select all

 glxinfo | grep "OpenGL version"
gives :

Code: Select all

OpenGL version string: 3.0 Mesa 17.1.0-rc3
In wine dxddiag gives some Information ,see pics attached here.
But dxdtests all works fine.
For example some error message comes on Game Newerwinter.
Which reg keys must be change to detect my graphics card ?
What for guide (step by step) bust be do for fix this Problem ?
Attachments
screen2a.png
screen1.png
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

So you've got a Radeon RX480? (Why am I having to look up AMD PCIe codes on the net to find this out... I wonder... :roll: )

What's the output from:

Code: Select all

glxinfo | grep OpenGL
sudo lsmod | egrep 'radeon|amdgpu'
Also testing the output from launching the 32-bit Steam client (which requires DirectX acceleration) - installed in a 32-bit WINEPREFIX would be useful:

Code: Select all

cd "${WINEPREFIX}/drive_c/Program Files/Steam"
export WINEDEBUG=-all,+d3d
wine Steam.exe -no-cef-sandbox &>~/wine_steam_d3d_console_log.txt
You'd need a Steam account and actually login to the client... Basically because the useful console output only starts with the main Steam window!!
The console log file (called wine_steam_d3d_console_log.txt) will be created in your users HOME folder...
If you could post that log file in these forums as well - that would be useful! You can attach it to a forum post - but the file size has to be under <200Kbytes.
A bit of xz compression can always help there 8)

Also see WineHQ FAQ: Using Wine ...

Ta
Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

Ok the command in terminal --> glxinfo | grep OpenGL

gives:

Code: Select all

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.10.0 / 4.11.0-041100-generic, LLVM 4.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.0-rc4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.1.0-rc4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.1.0-rc4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
and : sudo lsmod | egrep 'radeon|amdgpu'

gives :

Code: Select all

amdgpu               1572864  3
ttm                    94208  1 amdgpu
drm_kms_helper        155648  1 amdgpu
drm                   352256  6 amdgpu,ttm,drm_kms_helper
i2c_algo_bit           16384  2 igb,amdgpu
Sorry but i have no steam account and not use steam as game client.
Need step by step guide to edit some config (maybe in wine) to detect my Graphics Card for playing some Games in wine. One of my favorite games was Neverwinter.
Before DirectX9 and XP goes EOL in wine was install some components and Direct X9 and the Game works. After EOL XP and Direct X9 graphics card was not detect , why ? i don´t know
In some other Forums have many other Game Player the same Problem with the same Graphics Card (RX 480) .
My Card was the Model XFX RX 480 GTR black edition with 8GB Memory.
This Problem exist in 32 and 64 Bit Wine.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Tufar wrote: ...
Sorry but i have no steam account and not use steam as game client.
Need step by step guide to edit some config (maybe in wine) to detect my Graphics Card for playing some Games in wine. One of my favorite games was Neverwinter.
Before DirectX9 and XP goes EOL in wine was install some components and Direct X9 and the Game works. After EOL XP and Direct X9 graphics card was not detect , why ? i don´t know
In some other Forums have many other Game Player the same Problem with the same Graphics Card (RX 480) .
My Card was the Model XFX RX 480 GTR black edition with 8GB Memory.
This Problem exist in 32 and 64 Bit Wine.
OK the output from glxinfo and lsmod are both as expected.

Don't worry about running the Steam client - that was just an easy test case - which most Wine gamers would have installed..

Are you aware that newer versions of Wine simply default to uysing Windows 7 as the Windows version in a new WINEPREFIX...
This is purely to encourage Wine users to submit bugs against Wine's implementation of the newer Windows APIs introduced with Windows Vista (which is very incomplete).
You can easily set this back to earlier versions of Windows, e.g.:

Code: Select all

winetricks winxp
or set this using winecfg. Only a 32-bit WINEPREFIX will support Windows versions prior to Windows XP...

If you want to test Neverwinter and post the Direct3D debug console output from Wine - that would be great, as before:

Code: Select all

export WINEDEBUG=-all,+d3d
cd "${WINEPREFIX:-${HOME%/}/.wine}/drive_c/Program Files/Cryptic Studios/Neverwinter"
wine nwmain.exe.exe -no-cef-sandbox &>~/wine_nw_d3d_console_log.txt
You'd probably have to fix those paths / executable name (I'm just guessing them!!)

Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

Thanks bob for help

I have set in wine from Windows 7 to Win Xp.,but i know Win XP was end of life from Microsoft Support. After starting the Game the error message was seen on Screen (see attachment)
short version on english , this Game doesn’t support Windows XP.
And your solution with export variable.
The file nwmain.exe.exe not exist (see attachment file)
this game was not neverwinter oder neverwinter 2 ,it was neverwinter online.
Befor its Install directly i´ve installed in playonlinux in an bottle .
If finish then install directly in wine without playonlinux.
This Problem i search over 4 weeks an solution for ,but nothing find.
It's to drive you mad.
I hope this this problem can be solved.
Attachments
screen5a.png
Unbenannt.png
screen3a.png
screen3a.png (32.13 KiB) Viewed 18193 times
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Hi,

Okay then... Since you've finally revealed what game you're trying to run!!

Maybe you could test Direct3D support with that game?

So go back to using Windows 7 for your WINEPREFIX:

Code: Select all

winetricks win7
Then something like:

Code: Select all

export WINEDEBUG=-all,+d3d
cd "${WINEPREFIX:-${HOME%/}/.wine}/drive_c/Program Files/Cryptic Studios/Neverwinter"
wine Neverwinter.exe  &>~/wine_nw_d3d_console_log.txt
If you could attach the resulting log file to a forum post (here) - that would be great!

Ta
Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

Hi bob

Sorry for long wait.
After weekend mus be repaired my PC System ( Mainboard Crash)
Save Data ,and new Install.

wine_nw_d3d_console_log.txt
Information it was :
wine: cannot find L"C:\\windows\\system32\\nwmain.exe.exe"

and wine_steam_d3d_console_log.txt
Information ist was:
wine: cannot find L"C:\\windows\\system32\\Steam.exe"

And for more Information the user.reg file can see in this Link

https://workupload.com/file/3xDcx6y

Maybe it helps to find some fix.
Actual set Wine on 64Bit PC as 32 Bit.

tahoma fonts actual can not be Download from Microsoft Sites ( tahoma32.exe not found)
ftp://ftp.microsoft.com/Softlib/MSLFILES/tahoma32.exe
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Tufar wrote:Hi bob

Sorry for long wait.
After weekend mus be repaired my PC System ( Mainboard Crash)
Save Data ,and new Install.

...
I need the output from:

Code: Select all

export WINEDEBUG=-all,+d3d
env | grep WINE
cd "${WINEPREFIX:-${HOME%/}/.wine}/drive_c/Program Files/Cryptic Studios/Neverwinter"
wine Neverwinter.exe  &>~/wine_nw_d3d_console_log.txt
You'll need to make sure that WINEPREFIX is set correctly exported first! Since you are not using the default WINEPREFIX:

Code: Select all

~/.wine
So please also post:

Code: Select all

env | grep WINE
to make sure your shell environment variables are setup correctly - before running the Wine command!

Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

Command : env | grep WINE

Answer: WINEDEBUG=-all,+d3d

From Sarching Log from exe file this code means ?

Code: Select all

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:ver:GetCurrentPackageId (0x32be24 (nil)): stub
fixme:ntdll:EtwEventRegister ({8d4925ab-505a-483b-a7e0-6f824a07a6f0}, 0x88060e, 0x4fc77c0, 0x4fc77d0) stub.
WriteConsole() failed, reverting to CRT printf (expected if writing to a pipe).

Setting default pigset mode...fixme:thread:SetThreadIdealProcessor (0x90): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32db04,0x00000000), stub!
fixme:wbemprox:client_security_SetBlanket 0xf71c07e0, 0x1896a0, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf71c07e0
fixme:win:EnumDisplayDevicesW ((null),0,0x32d614,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
fixme:thread:SetThreadIdealProcessor (0xd8): stub
fixme:iphlpapi:NotifyAddrChange (Handle 0x32cc30, overlapped 0x4fdb4978): stub
fixme:winsock:WSALookupServiceBeginW (0x32cd30 0x00000ff0 0x32cd78) Stub!
[0515/131929:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:imm:ImmReleaseContext (0x30048, 0x1e4360): stub
[0515/131940:INFO:CONSOLE(0)] "Select shard: 0," source: http://launcher.playneverwinter.com/static/all/js/api.js(117)

done (0x00000000)                                                     (0.00)
Connecting to patchserver.crypticstudios.com:7255
PatchClientLib: connecting to patchserver.crypticstudios.com:7255
PatchClientLib: redirecting to 208.95.184.40:7255
PatchClientLib: skipping unneeded autoupdate CrypticLauncher3NW
PatchClientLib: successfully connected
AutopatchDialog thread shutting down
GamePrefsInit: giGamePrefSet now 0

CPUID 0x00000000 reports 13 basic    functions ("AuthenticAMD").
CPUID 0x80000000 reports 31 extended functions.
Displaying status message: Verbindung mit Account-Server wird hergestellt
While finding unique IPs, converted controllertracker.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker0.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker1.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker2.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker3.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker4.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker5.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker6.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker7.crypticstudios.com to 208.95.186.113
While finding unique IPs, converted controllertracker8.crypticstudios.com to 208.95.186.141
While finding unique IPs, converted controllertracker9.crypticstudios.com to 208.95.186.113
Displaying status message: Verbindung mit Controllernachverfolgung wird hergestellt..
requested language id 1 (ChineseTraditional) resources not available!
Displaying status message: Launcher wird geladen
startPatch, new Night:Neverwinter
Connecting with root c:/Users/Public/Games/Cryptic Studios/Neverwinter/Live
PatchClientLib: connecting to patchserver.crypticstudios.com:7255
PatchClientLib: redirecting to 208.95.184.31:7255
PatchClientLib: successfully connected
Setting view by name (attempt 1): NightClientGerman
PatchClientLib: Using HTTP patching: server level3.nwhttppatch.crypticstudios.com port 80 prefix Night
Loading manifest: c:/Users/Public/Games/Cryptic Studios/Neverwinter/Live/.patch/NightClientGerman.manifest...
process db
process db                                                            (0.56)
done

Loading hoggs...
done.                                                                 (0.44)

Deleting old Manifests in .patch ...
done (0 deleted).                                                     (0.00)

Deleting files faster...
done (0 deleted).                                                     (0.00)

Deleting rogue hoggs...
done (0 deleted).                                                     (0.00)

Examining hoggs...fixme:win:EnumDisplayDevicesW ((null),0,0x32d384,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32d474,0x00000000), stub!
fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1.
fixme:dxgi:dxgi_check_feature_level_support Ignoring adapter type.
fixme:dxgi:dxgi_device_init Ignoring adapter type.
fixme:d3d11:device_parent_create_swapchain_texture device_parent 0x1e7d14, container_parent 0x21fc60, wined3d_desc 0x32d4c4, wined3d_texture 0x563e6c60 partial stub!
fixme:d3d11:device_parent_create_swapchain_texture Implement DXGI<->wined3d usage conversion.
fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x4fdb4978): stub

done.                                                                 (0.54)
Total transfer: 2311405 
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Tufar wrote:Command :

Code: Select all

env | grep WINE
Answer:

Code: Select all

WINEDEBUG=-all,+d3d
...
OK so first of all you need to fix this!

You're not using the default WINEPREFIX! How do I know?
Because you've posted File Manager screenshots that start:

Code: Select all

... NW2/drive_c
Therefore you need to set your WINEPREFIX env variable to:

Code: Select all

export WINEPREFIX="... NW2"
replacing the ... (ellipse) with the missing part of the full path that your File Manager truncated (in the screenshots you posted)...
Before you attempt to use any Wine commands with that WINEPREFIX...

Are you secretly using Play On Linux or something like that here?
Because you appear to using a WINEPREFIX - without knowing how to!!

Once again I refer you to actually read the relevant section of the WineHQ FAQ: 6 Using Wine ...
If there is anything you don't understand then please ask here!

Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

The NW2 Folder comes from Playonlinux
The data (Actual) comes from dirctly installed Neverwinter Online.
I´ve written it must new install after Chrash.
For fast solution give Information from directly Installed Neverwinter Online in wine. (without playonlinux)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Tufar wrote:The NW2 Folder comes from Playonlinux
The data (Actual) comes from dirctly installed Neverwinter Online.
I´ve written it must new install after Chrash.
For fast solution give Information from directly Installed Neverwinter Online in wine. (without playonlinux)
Dude, you keep me second guessing what you're doing all the time...
That starts to get old, really fast!! :roll:

So can you detail all the commands you've used to install Neverwinter Online.
I also need to know what commands you use to launch the game and the output from:

Code: Select all

pwd
- so that I know what Linux directory you are launching the game from.

The language barrier is only part of the problem here! :shock:

Is you Wine version up-to-date as well?

The RX 480 GPU information was only added in version 1.8.6...
The currently supported versions of Wine are Wine Stable (2.0.1) and Wine Development (2.8) / Wine Staging (2.7).
See WineHQ Download: Ubuntu ...

Ta
Bob
Tufar
Level 1
Level 1
Posts: 7
Joined: Tue May 09, 2017 1:15 am

Re: Wine Graphics Card not detect

Post by Tufar »

Command : wine --version
Answer : wine-2.0.1

actual stay in Users folder /home/user

the problem was in Neverwinter Online ,the Error Message (see Pics)

in more other Games same Problem exist.

This Problem exist after DirectX9 goes EOL ( Microsoft). Directx10 not works same as DirectX11
Actual not Games can be played with wine (which version also always)
I had hoped to find a solution.
However, unfortunately, there is none .
The problem does not solve even linguistic barriers .
I will avoid wine in future and remove it from my systems,same with playonlinux.
Thread can be closed.
I will also not answer any more here too on it
All information about the problem exists .


END ..............
Takios
Newbie
Newbie
Posts: 2
Joined: Sat Jun 10, 2017 10:58 am

Re: Wine Graphics Card not detect

Post by Takios »

Hello,

maybe I can provide better information to debug this issue. I have got an AMD 480 and also am getting the graphics card is not supported error. The error message always displays when pressing the button to start the game in the launcher after the game downloads.

I originally installed the Steam version of Neverwinter using the Lutris installer and am using Wine 2.10 32bit.

Code: Select all

 5236  export WINEPREFIX=~/.local/share/lutris/runners/winesteam/prefix
 5237  export WINEARCH=win32
 5238  export WINEDEBUG=-all,+d3d
 5239  /home/fabian/.local/share/lutris/runners/wine/2.10-i386/bin/wine Neverwinter.exe
I wanted to attach the log file, but it wouldn't let me (all extensions I tried, including txt, log, xz and no extension at all, are disallowed...). Uploaded it on Github https://gist.githubusercontent.com/Taki ... tfile1.txt .

There is an advise in the appdb https://appdb.winehq.org/objectManager. ... &iId=35257 to manually set the Vendor and Device ID in the registry however this didn't solve my issue.

Greetings,
Fabian
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Takios wrote:...
I wanted to attach the log file, but it wouldn't let me (all extensions I tried, including txt, log, xz and no extension at all, are disallowed...). Uploaded it on Github https://gist.githubusercontent.com/Taki ... tfile1.txt .

There is an advise in the appdb https://appdb.winehq.org/objectManager. ... &iId=35257 to manually set the Vendor and Device ID in the registry however this didn't solve my issue.
@Fabian,

Yeah, the forums have a 200 Kbyte attachment limit - which often falls over for large Wine logs! :lol:

Try setting the MaxVersionGL (DWORD) version value to 30002 (hex)
See: WineHQ Wiki: Useful Registry Keys ...

Your terminal output indicates that Wine is only picking up a Core GL Profile of 3.0.
That's not enough for DirectX 11 support - under Wine.

Re: WineHQ AppDB... If it's Ubuntu users writing test submissions - it usually ends up like "the blind leading the blind"... (No offence intended!!) :roll:

Bob
Takios
Newbie
Newbie
Posts: 2
Joined: Sat Jun 10, 2017 10:58 am

Re: Wine Graphics Card not detect

Post by Takios »

Bob Wya wrote: @Fabian,

Yeah, the forums have a 200 Kbyte attachment limit - which often falls over for large Wine logs! :lol:

Try setting the MaxVersionGL (DWORD) version value to 30002 (hex)
See: WineHQ Wiki: Useful Registry Keys ...

Bob
Hey Bob,

thanks that worked perfectly!

When compressing the log with xz, it's only 17kB btw but it still doesnt allow.

Greetings,
Takios
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine Graphics Card not detect

Post by Bob Wya »

Takios wrote:
Bob Wya wrote: @Fabian,

Yeah, the forums have a 200 Kbyte attachment limit - which often falls over for large Wine logs! :lol:

Try setting the MaxVersionGL (DWORD) version value to 30002 (hex)
See: WineHQ Wiki: Useful Registry Keys ...

Bob
Hey Bob,

thanks that worked perfectly!

When compressing the log with xz, it's only 17kB btw but it still doesnt allow.
...
@Takios,

Yeah the forum attachment option can be a bit flakey at times... :lol:

Does the game render OK - is it "perfectly" (cough, cough) or are still some rendering artefacts?
Just curious to know how Wine's DirectX 11 support is fairing with Neverwinter Nights!!

My only recent DirectX 11 tests have been: Just Cause 2 and Deus Ex - Human Revolution.
Both had quite a lot of rendering glitches and stuttery low frame-rates - in game...

Is it safe to buy AMD graphics cards again?
Following bad experiences with support for the Radeon HD 4650M!!
(Thinking towards AMD Vega now - obviously)

Bob
Locked