[REL] dedicated server for Windows with no GPU
-
I have now started a test campaign (“Iron Fortress”) on “Recruit” level, and it looks like the CentOS server isn’t even throwing a sweat:
top - 14:29:22 up 10 days, 3:17, 1 user, load average: 0.07, 0.12, 0.15
Tasks: 300 total, 1 running, 299 sleeping, 0 stopped, 0 zombie
Cpu(s): 32.2%us, 6.2%sy, 0.0%ni, 61.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16329948k total, 13661768k used, 2668180k free, 403324k buffers
Swap: 8388604k total, 15912k used, 8372692k free, 7348792k cachedI’m seeing around 35fps when connecting via rdesktop using the “older” DLL version.
Cheers, Uwe
Hi,
Can you summarise everything that you did to get it running on Linux?
thanks in advance
-
I set up a win7 instance using KVM / qemu and use that to run BMS, so it’s not running in Wine if you mean that.
I’ll provide more details if needed.
Question about IVC: The docs claim 2934 / 2935 are sufficient to host BMS incl. IVC, but folks apparently cannot connect to the ivc server…. while the bms server works fine. Weird…
Cheers, Uwe
-
Ivc server runs on 9987-9989 ports by default. You’ll have to open these as well Uwe.
-
I think the docs need to be amended then, quoting from page 81 of the BMS 4.33 manual:
“ BMS needs UDP ports 2934 and 2935 to be opened.
IVC does not need any ports opened anymore.”Cheers, Uwe
-
I think the docs need to be amended then, quoting from page 81 of the BMS 4.33 manual:
“ BMS needs UDP ports 2934 and 2935 to be opened.
IVC does not need any ports opened anymore.”Cheers, Uwe
I does say that. But elsewhere, iirc, it says the HOST needs IVC ports open (9987 - 9989).
Edit:
Port numbers are not specified:
…. The IVC server can now … be configured to use any three adjacent UDP ports.
And,
14.5.4 Using the Voice Server Program
….
If you run the server exe on a system that is behind a NAT router you will have to forward the 3 ports above to the LAN address of the system running the server exe. The code uses only UDP so there is no need to forward TCP. Failure to forward the ports will render the server accessible to LAN clients only. Assuming that you have correctly set up port forwarding, tell your prospective flying partners the WAN IP of your NAT router and tell them to use that as the voice server IP address
… As mentioned above the server uses three UDP IP ports with well-known defaults.
-
Hi folks,
things are looking good and stable (except for the crash when exiting 3d on the server). The campaign ran for over 24h straight with a couple of folks joining, fragging flights and leaving again and an auto-save every 15 minutes.
Cheers, Uwe
-
I refuse to accept that the 3D .dll wrapper causes crash when shutting down an in-binary voice server. There must be something you’re missing, whether a .cfg knob, wrong mod, or some other widget. I’ll investigate if there’s more info.
As for qemu GPU emulation it’s not true passthrough as-is. It’s a Linux driver for the GPU. Porting the driver to Windows would be a separate and a big effort, at that. For true passthrough VT-d is required which is only present on CPUs with locked multipliers.
-
I’m also certain the dll is not the cause. I reported the crash in the Tech Support forum, but so far there hasn’t been a response.
The installation is plain 4.33, no mods, no additional theaters, nothing.
If there’s any other info I can provide to help debug the issue, please let me know.
Cheers, Uwe
-
PS: I just tried disabling IVC on the server, but the “Leaving Aircraft” crash still happens.
All the best, Uwe
-
Hi Uwe,
I had the same problem.
I solved it by adding a virtual audio device. This way the server does not crash on exit. -
Does it help to delete particlesys.ini at all? If not, this is a regression for 4.33. It worked with no audio in 4.32.
If this is the case please link to free virtual audio device software so I can put it into the first post.
-
Removing or renaming (tried both) made sure I could launch BMS. No influence on the 3D exit crash though.
I’ve been using this free (donationware) virtual audio driver with success on Windows Server 2012 R2: VB-CABLE Virtual Audio Device
-
Does it help to delete particlesys.ini at all? If not, this is a regression for 4.33. It worked with no audio in 4.32.
If this is the case please link to free virtual audio device software so I can put it into the first post.
I deleted the .ini file as per the installation instructions before I launched the server for the first time.
KVM offers ac97 and ensoniq I think, would either be ok?
Uwe
-
Thanks for the heads-up w/r to the missing sound device, I can now exit 3d without a crash. Yay!
I installed the ICH6 sound device in my KVM server which is apparently supported out of the box by win7.
Uwe
-
I’ve updated instructions with the requirement for any sound card, whether real or not. Thanks.
Hi,
Can you summarise everything that you did to get it running on Linux?
thanks in advance
How’d you get that low load average? Is it right after starting the server?
Also press “1” in top(1) to see if individual Falcon threads stick nicely to CPUs, rather than jumping around. When running it natively on Linux it works fine, and there’s none of this immense cache waste.
-
CPU usage is never higher than 60% I think (in the HUD), even during an MP campaign we tried yesterday.
I’ll check top & htop the next time around.
Uwe
-
CPU usage is never higher than 60% I think (in the HUD), even during an MP campaign we tried yesterday.
I’ll check top & htop the next time around.
Uwe
Can you compare the second version as per https://www.dropbox.com/s/4ivyryqu1rl34pu/falcon-bms-windows-dedicated-server-20151125.7z ? thanks.
-
Hi sthalik, I have installed your edit to start the bms 4.33 sun one server without video card, I had tested negative, the Simulator crashes, I am attaching the file of the crash waiting for your reply thanks.
Taio
-
-
Do you have a soundcard in that system?
If not, either install a virtual one, or remove the particlesys.ini file as described in the first post.