Orbiter 2016 under Wine

flaugher

New member
Joined
Mar 26, 2009
Messages
33
Reaction score
0
Points
0
Finally Succesful 2016 under Mint - PlayOnLinux (wine)

I have tried to install 2016 on Linux Mint through several tutorials, and failed. Simply put, I didn't know all the "lingo" and "shortcuts" people just assume I know. I'm not a "noob" to Linux, but just don't have the time to devote to knowing all there is to know about it or keep up with all the changes.

So, the install tutorial at http://www.gamersonlinux.com/forum/threads/orbiter-space-flight-simulator-guide.452/ helped me out SO much. It took me by the hand and led me to success :hailprobe:using Mint Cinnamon PlayOnLinux.
It is a dated tutorial, so I had to replace references to "Orbiter100830" with "Orbiter2016", and also pull in the latest version of Wine which is now 1.9.23 rather than 1.7.47. Other than that, I followed the instructions to the letter and it all went fine.

:thumbup:
 

T1234

New member
Joined
Jan 14, 2012
Messages
220
Reaction score
0
Points
0
I would like to report that I have had success using playonlinux and latest wine with Ubuntu 14.04 and mint 19 cinnamon following the orbiter wiki tutorial, I skipped setting up virtual desktop just installing the libraries and setting the video display size to 4096, ATI Radion. The only bug is that some MFD's such as aerobrake, attitude and basesync MFD do not display in 2D panels in xr2+5,DGIV unless I enable GDI compatability but in standard DG it's fine.:thumbup:
 

turtle91

New member
Joined
Nov 1, 2010
Messages
303
Reaction score
0
Points
0
>The only bug is that some MFD's such as aerobrake, attitude and basesync MFD do not display in 2D panels in xr2+5,DGIV unless I enable GDI compatability but in standard DG it's fine

I have the issues,too... using Ubuntu 16.04 (various tested Wine-version (now on 3.2)).
There seems to be an issue with the sketchpad D3D9-implenetation in Orbiter 2016:

Did some tests, all tests in deep-space, so no performance-issue with new 3d-tiles:
-using no anti-aliasing and (any) XR-vessel, MFD refresh-rate to 1 second for testing):
default MFDs, FPS is about 50-60 in standard XR-cockpit
BaseSync-MFD activated in one MFD = FPS dropped to 25-30
BaseSync-MFD activated in second MFD = FPS down to about 14
switching form XR-cockpit to glass-cockpit = 260 FPS+
switching off BaseSync-MFD's ...FPS goes to 400-500+

I don't want to "blame" BaseSyncMFD as a culprit, here another test:
-in deep-space docked to a vessel (to be able to use the FUEL-refuel-screen in XR vessel)
FPS at around 50
-started refuel of fuel and LOX = as soon as the numbers are counting FPS goes down to 14 until refuel has been completed
-switching to external view, while refuel in progress, FPS goes from 14 to 470+....

All tests done without anti aliasing and borderless-window-mode.

I noticed, when using AA, BaseSync-MFD or i.e. GlideslopeMFD keeps black (and FPS about 3--...until switching to glass-cockpit and have 50 FPS+ (-...and can see the MFDs).

My understanding so far: There seems to be a (performance)problem, when MFD's are used in down-scaled-form(2D), like in the XR-vessels.

I have this issue on my Win7 notebook, too, but not such high FPS-impact like on WINE.

Using the same WINE-prefix and Orbiter-2010, all is fine, I always get 200+ FPS regardless which AA setting enabled.
 

CafuneAndChill

New member
Joined
Nov 11, 2018
Messages
4
Reaction score
0
Points
0
Linux Mint 19.2 here. Did everything just like in the article, runs kinda smoothly, but with severe FPS drops with intervals about 5-10 seconds. Don't know if it's the same in outer space. The terminal output is the following:

Code:
0009:fixme:win:EnumDisplayDevicesW ((null),0,0xa7e834,0x00000000), stub!
0009:fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
0009:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3
0009:fixme:ddraw:d3d_vertex_buffer7_Optimize iface 0x174c910, device 0x174af18, flags 0 stub!
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:surface_cpu_blt Only plain blits supported on compressed surfaces.
002d:fixme:d3d:wined3d_cs_exec_blt_sub_resource Blit failed.
002d:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
wine version is wine-4.0.

Not sure what to do. Maybe anyone here had something similar and found a fix?
 
Last edited:

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
# install needed applications
sudo pacman -S wine winetricks lib32-mpg123
-----------------------------------------
# for system Windows XP and older (32bit architecture)
cd /Data/Orbiter/
WINEARCH=win32 WINEPREFIX=/Data/Orbiter/wine32 winecfg
WINEPREFIX=/Data/Orbiter/wine32 winetricks vcrun2005 vcrun2008 corefonts
wget https://download.microsoft.com/down...-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
WINEPREFIX=/Data/Orbiter/wine64 wine directx_Jun2010_redist.exe
# added manual d3dx9_43 in winecfg as Native dll
ln -sv -t /Data/Orbiter/Orbiter2016/Modules/Server/ /Data/Orbiter/Orbiter2016/Config/

cd /Data/Games/Orbiter/Orbiter2016/
WINEPREFIX=/Data/Orbiter/wine32 wine orbiter.exe
WINEPREFIX=/Data/Orbiter/wine32 wine Orbiter_ng.exe
-----------------------------------------
# for system Windows vista and newest (64bit architecture)
cd /DataOrbiter/
WINEPREFIX=/DataOrbiter/wine64 winecfg
WINEPREFIX=/Data/Orbiter/wine64 winetricks vcrun2005 vcrun2008 corefonts
wget https://download.microsoft.com/down...-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
WINEPREFIX=/Data/Orbiter/wine64 wine directx_Jun2010_redist.exe
# added manual d3dx9_43 in winecfg as Native dll
ln -sv -t /Data/Games/Orbiter2016/Modules/Server/ /Data/Orbiter/Orbiter2016/Config/

cd /Data/Orbiter/Orbiter2016/
WINEPREFIX=/Data/Orbiter/wine64 wine orbiter.exe
WINEPREFIX=/Data/Orbiter/wine64 wine Orbiter_ng.exe
-------------------------------------------
# Removing no needed records (Optional)
rm -r ~/.wine
rm -r ~/.cache/wine
rm -r ~/.cache/winetricks
rm ~/.local/share/mime/packages/x-wine*
rm ~/.local/share/applications/wine-extension*
rm ~/.local/share/icons/hicolor///application-x-wine-extension*
rm ~/.local/share/mime/application/x-wine-extension*

# Temp directory on tmpfs (Optional)
rm -r /Data/Orbiter/wine64/drive_c/users/$USER/Temp
ln -s /tmp/ /Data/Orbiter/wine64/drive_c/users/$USER/Temp
 
Last edited:

Centurion

New member
Joined
Jan 3, 2020
Messages
2
Reaction score
0
Points
0
Location
Perth
Orbiter 2016 / Debian Linux Buster

Hi All
So good to finally be a part of the Orbiter Community

Thank you in advance to all who provide such large amounts of information and support.
I have had a little confusing time trying to get Orbiter running in linux going by what some generous folk have provided.
I am new to wine, winetrick etc

Simply first I am able to run it fine in Direct 7 mode run a smooth treat really, except for the fact that I am getting strange texture effects on planet earth at KSC, like light blue tiles over the ground textures.
Also the MFDs dont work on the DeltaGlider IV panel
I would love to attach a photo but seems a little hard to do so atm SORRYY
There are alot of question i would like to ask about the install procedure below but I have tried really hard thus far to figure out the meaning of each line before I bother any of you.

If any one in the short term has any quick suggestions that come to mind I would greatly appreciate it.
Speak more soon and thank you again.

Centurion
 

Centurion

New member
Joined
Jan 3, 2020
Messages
2
Reaction score
0
Points
0
Location
Perth
Orbiter under Wine

Hi All

I have managed to get Orbiter working in Wine and it works ok on the stock orbiter directx7
Still need to understand Wine a little better to get the Direct later client functionality even crashes in windows for some reason.

Anyone know why the DGIV MFD will not display.

Thought I would start there and see how things go.

Thanks in advance

Richard
 

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
# Tested on wine version 5.8 and D3D9ClientR4.3-forOrbiter2016

# Install needed applications
pacman -S wine winetricks lib32-mpg123
pamac install dxvk-bin exe-thumbnailer
----------------------------------------------------------
# for system Windows XP and older (32bit architecture)
WINEARCH=win32 WINEPREFIX=/Data/Orbiter/wine32 winecfg ## Install Mono & Gecko packages
WINEPREFIX=/Data/Orbiter/wine32 winetricks vcrun2005 vcrun2008 corefonts d3dx9 d3dcompiler_43 windowscodecs
WINEPREFIX=/Data/Orbiter/wine32 setup_dxvk install
WINEPREFIX=/Data/Orbiter/wine32 winecfg
# Add as D:/Data/ in devices section
ln -sv -t /DataOrbiter/Orbiter2016/Modules/Server/ /Data/Orbiter/Orbiter2016/Config/

# Starting the simulator
cd /Data/Orbiter/Orbiter2016/
WINEPREFIX=/Data/Orbiter/wine32 wine orbiter.exe # for Directx7
WINEPREFIX=/Data/Orbiter/wine32 wine Orbiter_ng.exe # for Directx9
----------------------------------------------------------
# for system Windows vista and newest (64bit architecture)
WINEPREFIX=/Data/Orbiter/wine64 winecfg ## Install Mono & Gecko packages
WINEPREFIX=/Data/Orbiter/wine64 winetricks vcrun2005 vcrun2008 corefonts d3dx9 d3dcompiler_43 windowscodecs
WINEPREFIX=/Data/Orbiter/wine64 setup_dxvk install
WINEPREFIX=/Data/Orbiter/wine64 winecfg
# Add as D:/Data/ in devices section
ln -sv -t /Data/Orbiter/Orbiter2016/Modules/Server/ /Data/Orbiter/Orbiter2016/Config/

# Starting the simulator
cd /Data/Orbiter/Orbiter2016/
WINEPREFIX=/Data/Orbiter/wine64 wine orbiter.exe # for Directx7
WINEPREFIX=/Data/Orbiter/wine64 wine Orbiter_ng.exe # for Directx9
---------------------------------------------------------
# Removing no needed records (Optional)
rm -r ~/.wine
rm -r ~/.cache/wine
rm -r ~/.cache/winetricks
rm ~/.local/share/mime/packages/x-wine*
rm ~/.local/share/applications/wine-extension*
rm ~/.local/share/icons/hicolor///application-x-wine-extension*
rm ~/.local/share/mime/application/x-wine-extension*

# Set temp directory on tmpfs (Optional)
rm -r /Data/Orbiter/wine64/drive_c/users/$USER/Temp
ln -s /tmp/ /Data/Orbiter/wine64/drive_c/users/$USER/Temp
 
Last edited:

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
Explanation components and problems which they fix

lib32-mpg123 (library)
err:module:load_so_dll failed to load .so lib "/usr/lib32/wine/l3codeca.acm.so": libmpg123.so.0: cannot open shared object file: No such file or directory

dxvk-bin (library)
setup_dxvk install
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

winetricks vcrun2005 vcrun2008
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr
fixme:msvcrt:__clean_type_info_names_internal

winetricks d3dcompiler_43
fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported

winetricks d3dx9
fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter

winetricks windowscodecs
fixme:wincodecs:BitmapScaler_Initialize unsupported mode

winetricks corefonts (optional)
TrueType Microsoft fonts for emulate Windows font rendering
 

mrozigor

Donator
Donator
Joined
May 14, 2010
Messages
22
Reaction score
0
Points
1
Location
Wrocław
I've installed Orbiter on Wine 5.9. I've tried above description (without 'setup_dxvk') - installed D3D9 module and ran sim. It looks almost OK - except missing text on HUD/some panels. Did I miss something? I've also tried to install redistributables (instead of built-in) listed on Jarmonik's page.

screen_2020-06-01-14-08-27.jpg
 

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
yes because D3D9 using DirectX9 library which is not 100% compatible and with guide which is mention here is using Vulkan (API) which replace DirectX if you want you can use next manual which i using also

# Install needed applications
pacman -S wine winetricks lib32-mpg123
pamac install dxvk-bin exe-thumbnailer
----------------------------------------------------------
winecfg ## Install Mono & Gecko packages
# And until you are in winecfg add folder where is located Orbiter in devices section
winetricks vcrun2005 vcrun2008 corefonts d9vk windowscodecs

# Starting the simulator
move to folder where is located Orbiter
wine orbiter.exe # for Directx7
wine Orbiter_ng.exe # for Directx9

Screenshot_20200601_181522.jpg
 

mrozigor

Donator
Donator
Joined
May 14, 2010
Messages
22
Reaction score
0
Points
1
Location
Wrocław
Thanks for help. I've installed proper API via "winetricks d9vk" in PlayOnLinux virtual drive's shell. It works :)
 

pionite

New member
Joined
Jun 28, 2011
Messages
10
Reaction score
0
Points
1
I have the same missing text problem as described by MXK, but under Fedora. I previously solved this problem by downgrading to Wine 4.x on Fedora 31, but I can no longer do this for Fedora 32 as WineHQ only offer versions 5.x. Does anyone know the Fedora package(s) I should install for the Vulcan API?
 

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
for AMD video cards

# dnf install vulkan vulkan-info wine-dxvk


for Nvidia cards with proprietary drivers

# dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm


and then, install Vulkan drivers with

# dnf install xorg-x11-drv-nvidia akmod-nvidia vulkan vulkan-tools wine-dxvk


but i am not on fedora and can not tested this commands
 

pionite

New member
Joined
Jun 28, 2011
Messages
10
Reaction score
0
Points
1
Thanks for your help.

I uninstalled wine from the winehq repo (it was causing to many dependency problems when I tried installing other packages) and reinstalled it from the the official Fedora repo. I was then able to install all your suggested packages with the exception of vulkan-info, which doesn't seem to exist in the repo.

Now wine Orbiter_ng.exe crashes within a fraction of a second after the orbiter window appears on screen, with "Failed to enumerate physical devices" :

info: Game: orbiter.exe
info: DXVK: v1.7
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
warn: OpenVR: Failed to locate module
info: Enabled instance extensions:
info: VK_KHR_get_surface_capabilities2
info: VK_KHR_surface
info: VK_KHR_win32_surface
00b8:err:vulkan:wine_vk_instance_load_physical_devices Failed to enumerate physical devices, res=-3
00b8:err:vulkan:wine_vkCreateInstance Failed to load physical devices, res=-3
terminate called after throwing an instance of 'dxvk::DxvkError'

I tried a fresh install of Orbiter. The Orbiter window starts OK, but as soon as I enable the D3DX9 module it crashes as above.

I tried both Xorg and Weyland.

I should have mentioned that I'm running on an i5 (second gen) laptop with integrated Intel graphics. Are there any intel packages that I need to install?
 

pionite

New member
Joined
Jun 28, 2011
Messages
10
Reaction score
0
Points
1
Thanks again.

Sadly that didn't help - still getting the same problem. Any other ideas?

I can run orbiter.exe with built-in graphics client OK (with a few weird artefacts on the ground textures) so can at least get my orbiter fix that way, but it makes my machine run hot. My nuclear option is to downgrade to Fedora 31 and then install wine 4.x from the WineHQ repo, which was working great previously.
 

mxk

New member
Joined
Aug 11, 2010
Messages
17
Reaction score
1
Points
3
okay lets try this first check if you have a file with this
cat /etc/X11/xorg.conf.d/20-intel.conf

and then also check if you have installed flowing packages
vulkan-intel and ib32-vulkan-intel
 
Top