Linux Mint 18 / Intel 540 - Inv. resolution / Shader model 3

Post Reply
ralfk
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Tue Oct 31, 2017 11:28 am

Linux Mint 18 / Intel 540 - Inv. resolution / Shader model 3

Post by ralfk »

Hello,

trying to run Field of Glory II with wine-2.0.3 in linux mint 18 with an Intel Iris graphics card 540 leads to an error:

Invalid resolution, or cannot run without at least shader model 3.0

Does anyone have experience with this problem? Thanks.

Best Regards
Ralf


20171027_111915
VER:10000 BUILD:10009
PLATFORM: WINDOWS
WinVer:5.1.2600.2180
0: Intel(R) Iris(TM) Graphics 540
CPU String: GenuineIntel
Stepping ID = 3
Model = 14
Family = 6
Extended model = 4
CLFLUSH cache line size = 64
APIC Physical ID = 1
CPU Brand String: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz
Cache Size = 256K
Found DirectX Version Number: 4.09.00.0904
Creating Device.....
MonkeyInitStart
MIS: Found DD
MIS: IsHW
MIS: SetCoop
MIS: Setting Disp Mode
Failed HW VP - trying SW
Failed to set display mode

This device does not support the queried technique.
ERROR
Failed to create device for renderiing. Invalid resolution, or cannot run without at least shader model 3.0
(0) : Failed
ERROR
zakblood
Most Active User 2017
Most Active User 2017
Posts: 16647
Joined: Thu Jun 12, 2014 6:44 pm

Re: Linux Mint 18 / Intel 540 - Inv. resolution / Shader mod

Post by zakblood »

what resolution are you using btw?

DirectX: 12.0
OpenGL: 4.4
OpenCL: 2.0
Shader Model: 5.0

Intel Iris Graphics 540 is the spec quoted on the intel site, so something else in the mix is wrong, then again don't know Linux much either, so could be a simple switch or not supported by O/S

Code: Select all

https://community.linuxmint.com/tutorial/view/547
With it you can run the most of Window's Apps but not all, especially games and this is because Wine doesn't support DirectX by default. To make Wine support it, you need to install a script called winetricks.
zakblood
Most Active User 2017
Most Active User 2017
Posts: 16647
Joined: Thu Jun 12, 2014 6:44 pm

Re: Linux Mint 18 / Intel 540 - Inv. resolution / Shader mod

Post by zakblood »

The Installation Proccess


First of all you need to have installed Wine on your computer, if you not, all you have to do is open your Software Manager, search for Wine and install it.
Once you install it, open a Terminal from Menu  Accessories  Terminal and type wget http://winetricks.org/winetricks to get winetricks.
Next, after download is complete type sudo chmod +x winetricks to make the file executable.
After that to install DirectX type sh winetricks directx9.
Finally type sh winetricks vcrun6sp6.
(To avoid error: "Cannot Import dll:C:\users\xxx\Temp\is-00IEG.tmp\isskin.dll")
good luck, hope it works for you
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: Linux Mint 18 / Intel 540 - Inv. resolution / Shader mod

Post by pipfromslitherine »

Try setting the resolution in the OPTIONS.TXT file by hand?

Cheers

Pip
follow me on Twitter here
ralfk
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Tue Oct 31, 2017 11:28 am

Re: Linux Mint 18 / Intel 540 - Inv. resolution / Shader mod

Post by ralfk »

Hi,

the used resolutions are from 2048x1152 down to 800x600 without luck. I used winetricks also and in the end I think it is an issue with the O/S.

The system is an Intel NUC from 2016 and the Intel Iris Graphics 540 should work with FOG II under Windows O/S. By the way Field of Glory (1) works perfectly on the system.

Setting the resolution in the OPTIONS.TXT does not change result.

So here is an output from starting wine:

fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
fixme:ieframe:PersistStreamInit_InitNew (0x1f10808)
fixme:ieframe:handle_navigation_error Navigate to error page
fixme:ieframe:bind_to_object BindToObject failed: 800c0004
fixme:win:EnumDisplayDevicesW ((null),0,0x33ebd4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33f3a4,0x00000000), stub!
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 120000
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 120000
fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 2048x1152x24 @0! (XRandR 1.2)
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 2048x1152x24 @0! (XRandR 1.2)
fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1920x1080x24 @0! (XRandR 1.2)
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1920x1080x24 @0! (XRandR 1.2)
fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1280x720x24 @0! (XRandR 1.2)
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1280x720x24 @0! (XRandR 1.2)
fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x24 @0! (XRandR 1.2)
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1024x768x24 @0! (XRandR 1.2)
fixme:win:EnumDisplayDevicesW ((null),0,0x33f214,0x00000000), stub!
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x24 @0! (XRandR 1.2)
fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x24 @0! (XRandR 1.2)


In the end I will play the game on a Win O/S - or wait a few months if there a some changes on wine / DirectX support in wine.

Thanks all,
Ralf
zakblood
Most Active User 2017
Most Active User 2017
Posts: 16647
Joined: Thu Jun 12, 2014 6:44 pm

Re: Linux Mint 18 / Intel 540 - Inv. resolution / Shader mod

Post by zakblood »

sorry it didn't work for you, must admit i'm not a linux buff, so just copied pasted on what i found online in a search, windows only i'm afraid, so also next to useless on Mac's for what it's worth :oops:
Post Reply

Return to “Field of Glory II: Tech Support”