[REL] Dummy D3D DLL's that draws nothing in 3D mode
-
Loki: it has to work.
Why are you using LLVM?
First post includes instructions how to use softpipe instead of llvmpipe.
http://wiki.winehq.org/WineD3DOnWindows
You need git mesa of course.
If you use llvmpipe youāre gonna get not just that, but REALLY NASTY AND UNSOLVABLE CRASHES. You have been warned!
-
Copy thanks for the fast reply. Iāll have to dig deeper I guess.
-
You can use generic configure script instead of scons on UNIX. The scons script is only required on Windows. You can even make yourself a Debian package and hold it if you know how to modify debian/rules.
-
Thanks for the fast answer again! Just that I get it right: I need your modified wine running (I think I got that covered) Itās seems to be running because it enables me to get into the main ingame menu of BMS. I can successfully start a campaign and so onā¦ (As I already said it just crashed after the loading screen before the 3D world) The configure parameters donāt have to be special right?
Plus: The git version of mesa. Thatās where I am stuck a bit nowā¦ Am I missing something else? And is there an easy way to tell the mesa autoconf script not to care about outdated libdrm_radeon (which weāre not going to use anyway AFAIK)? Itās surprisingly annoying to convince this thing not to look for thatā¦
In case I make it to āmakeā ^^ do I need special build parameters for mesa?
Did I forget something important? I am really looking forward to a low profile falcon bms host on a linux system!
-
Yes. Thereās an option to build only swrast. Build only swrast for gallium and everything else! Donāt build llvmpipe either!
You only need special stuff for configure, make and make install will work. Just make sure that you delete original mesa.
OR YOU CAN INSTALL libgl1-mesa-swx11 and forget all this busywork.
-
Status Update:
Loaded up an Amazon AWS VM tonight with Windows 2012 running under the AWS hypervisor (Xen). I used a 2 core VM with 7.5 GB RAM. I had used this server to run a 2D server previously. I decided to try Win Server 2012 (rather than 2008 ) as I already had an Image with BMS U4 made and ready to launch.
I connected via RDP, started BMS in Window mode and started a Rolling Fire campaign and put the server in the 3D world with a C-17 Ramp Starting at Kimhae. I disconnected the RDP and connected my client at 512 speed (no other clients). I then flew a SEAD mission out of Kunsan and everything seemed to work flawlessly. No lag or any other significant anomalies observed. It was a long mission so I was airborne for close to an hour. The AWS log said that I was running consistently at ~65% average load on the server while the campaign was running. Unfortunately I didnāt compare that load to leaving the server in 2D which I think would be interesting.
A quick question for sthalik. I turned off all the shaders in the configuration screen as directed. However, I can not get to the Setup screen in BMS to disable AA, AF, etc as I believe it requires DirectDraw which the VM does not have (BMS hangs if you try to enter the screen). So would having AA, AF running be adding overhead or it doesnāt matter? I guess I could disable those on a local machine and possibly upload the appropriate configuration files to the server (I think they are dx9display.dsp and windowconfig.dat).
Anyway, it was a quick test but Iām pretty impressed with the results so far. Iām off to try a different Xen based VM on a better gaming network and Iāll begin testing more clients. But so far what Iām seeing is pretty impressive.
Post any questions/suggestions here.
EDIT: I compared running a campaign in 2D versus 3D and there is very little difference in the amount of CPU and RAM being used.
-
Either add a sound card or delete particlesys.ini
Itās even in first post
-
Ok, Iāll try that (deleting the fileā¦ canāt add a soundcard). Thanks!
EDIT: Renaming particlesys.ini didnāt workā¦ still crashes when accessing the Setup screen.
-
With linux mint x86 I was able to get into pit :woohoo: (I installed libgl1-mesa-swx11 from a debian repo. Good hint sthalik!)
āBadā thing is, I see cockpit and other jets ānā stuff ^^ Looks like the modified dlls are not loaded for some reason
ingame graphics
configure graphics
most sofisticated launch approach
the bms x86-dir
wine dll-settings
wine āversion = wine-1.5.24-241-gff597d8
Any suggestions?
-
Well done comrad Stahlik. Dedicated version for BMS
-
Yes. Thereās a hint:
apt-get purge wine
apt-get build-dep wine
apt-get install libgl1-mesa-swx11
install wine from my repo???
PROFIT!
Oh, you need to āgit checkout wined3d-nullā, donāt build default branch!!!
-
Thanks for the fast answer! I tried that, it didnāt work. Iāll restart from scratch with a debian testing. The libraries of linux mint - i used to compile wine - arenāt the newest, maybe thereās the error.
-
Bet you forgot to āgit checkout wined3d-nullā after cloning.
-
Yes, i just cloned, ./configure āprefix=/usr && make && sudo checkinstall (ā¦)
:mrgreen:
Definitely a good point to change with debian (installing ā¦).
-
So does it work on Linux for you? And yāall need to to read and follow instructions closely or Iāll suffer a nervous breakdown
DO NOT USE DLLāS ON LINUX ITāS ENOUGH TO BUILD WINE!!!
-
DO NOT USE DLLāS ON LINUX ITāS ENOUGH TO BUILD WINE!!!
Interesting Donāt panic if itās not working itās of course my fault so just relax. Due to speed I switched to my laptop. Itās compiling wine-hacks (this time proper) right now.
Update: Looks like itās working! Iāll just check MP!
-
Assume everything worked fine
-
:sad:
SOMEONE forgot to install the swx11. Without it, BMS is quite memory hungry and slow but it works as suspected. As soon as I install mesa-swx11 (which automatically removes some graphic libs like glx) it wonāt run anymoreā¦
Falcon Crashlog (particlesys.ini renamed):
================================== CRASHLOG ===================================== Falcon BMS.exe caused an EXCEPTION_BREAKPOINT in: 0073:048875D1 Falcon BMS.exe, D3DDevice::SetDisplayMode()+625 byte(s), d:\wip\bms\svn\source\4.32-release\graphics\ddstuff\d3ddevice.cpp, line 549 Exception handler called in UnhandledExceptionHandler. Bytes at CS:EIP: CC B8 01 00 00 00 5F 5E 5D 5B 81 C4 5C 04 00 00 Registers: EAX=0x05146178 EBX=0x04D2B2A0 ECX=0x00000000 EDX=0x0000004B ESI=0x00000001 EDI=0x00000000 EBP=0x05145718 ESP=0x0032F0F0 EIP=0x048875D1 FLG=0x00200206 CS=0x0073 DS=0x007B SS=0x007B ES=0x007B FS=0x0033 GS=0x003B Call Stack: 0073:048875D1 Falcon BMS.exe, D3DDevice::SetDisplayMode()+625 byte(s), d:\wip\bms\svn\source\4.32-release\graphics\ddstuff\d3ddevice.cpp, line 549, Parameters(0x00000000 0x00000000 0x00000000 0x00000000) 0073:048875D1 Falcon BMS.exe, D3DDevice::SetDisplayMode()+625 byte(s), d:\wip\bms\svn\source\4.32-release\graphics\ddstuff\d3ddevice.cpp, line 549, Parameters(0x00000000 0x00000000 0x00000000 0x00000000) 0073:048875D1 Falcon BMS.exe, D3DDevice::SetDisplayMode()+625 byte(s), d:\wip\bms\svn\source\4.32-release\graphics\ddstuff\d3ddevice.cpp, line 549, Parameters(0x00000000 0x00000000 0x00000000 0x00000000) (repeats this until I close the programm)
I start everything with xinit :0 to use as little ressources as possible
#~/.xinitrc #WINEPREFIX=~/BMS/wine wine "C:\Falcon BMS 4.32\Config.exe" -nomovie -window WINEPREFIX=~/BMS/wine wine "C:\Falcon BMS 4.32\Bin\x86\Falcon BMS.exe" -nomovie #WINEPREFIX=~/BMS/wine wine ~/BMS/Shared/Falcon\ BMS\ 4.32\ Setup/Setup.exe -nomovie -window
-
You need to run BMS under tightvnc. Verify using the glxinfo command that a visual is present and obviously restart the tightvnc session after changing X11 libraries.
-
I want to say thank you for this post because to understand it, I had to research what Wine is and why its even being used for a headless BMS server. This was illuminating and I believe Linux and Wine poses a threat to MS as people can run Win apps at full speed without running Windows or VMs. Explains in part as to why MSā move to get OEM PC vendors to use a secure boot to lock out any OS other than Win8. Did I get this right? (sorry if a bit OT).