[REL] Dummy D3D DLL's that draws nothing in 3D mode
-
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).
nah, linux as a general user PC desktop is dead already. what M$ want to prevent is people using older OSes like win7 instead of win8. like what happened with vista, where manufacturers were selling win XP instead of vista with machines.
the only guy I know personally who uses linux could probably write a new UEFI code to include custom boot certificates anyway. I like to think of myself as pretty computer savvy, but when he is coding I’m like what even is this… -
Quick Update,
Managed to get it to work, I have no Idea what’s the performance.
next up is to start a campaign and let it run for a while.I have no Idea how it will look performance-wise As I’m running the game in wine on a linux VM (running on a 6 year old ESX 5.0 server)
I’ve also added an init script that will run IVC in the background (still not tested).
-
Quick Update,
Managed to get it to workCould you tell us what you changed to get it working?
I installed
libosmesa6-dev libgl1-mesa-swx11-dev
I also had to change the –enable-opengl parameter:
loki@linux-mint ~/BMS/wine-hacks $ ./configure --prefix=/usr --with-opengl #success loki@linux-mint ~/BMS/wine-hacks $ cat config.log | grep -i opengl $ ./configure --prefix=/usr --with-opengl opengl32_test.res \ OPENGL_LIBS='-lGL'
Problem stays the same
Update:
$ env LIBGL_ALWAYS_SOFTWARE=1 LIBGL_ALWAYS_INDIRECT=true glxgears 2131 frames 5.0 seconds = 426.124 FPS ```I see the gears moving (over vnc), but Falcon is not impressed by these env vars :nosep:
-
Loki did you delete the libs you extracted and are redundant for Linux? Did you winetricks d3dx9_43?
I can fix it for ya, if you give me root access, by means of a debootstrap debian/sid chroot…
-
Loki, It just started to work.
I’m not even sure I’ve got it working properly, or just plain working…
Sthalik, Is the server supposed to render 3d image? I’m getting the game running 5-10 fps (by pure looks of it - haven’t tested it).I’m running it on a VM on an old HW (E5120 Processor) and it handles pretty well.
I’ve so far running the IT-BMS campaign for about 12 hours now and it seems to be working. -
It’s supposed to render blank 3D image.
-
I’m curious what CPU load you guys are getting on Linux. On Windows 2012, if I load a new Rolling Fire Campaign Day One, I’m getting between 50-65% CPU utilization on a 2 Core VM. This produced some jumping around by AI aircraft in a dogfight over the FLOT and some other anomalies. On a 4 core VM, the CPU utilization goes down to 20-30% although I have not had a chance to test in game. I’m also going to try an 8 core VM later as well.
The CPU load stays pretty consistent once the Campaign is started and there is no appreciable difference if I’m in 2D or 3D. In 3D, the screen doesn’t have anything rendered although the window is colored depending on the time of day. At night it is black, dawn/dusk it is light brown, and day is light blue.
-
It’s supposed to render blank 3D image.
So I’m missing something… I’ll go over it again. 10x
-
You’re missing git checkout wined3d-null
Morphine you can enable vsync for great justice
-
Morphine you can enable vsync for great justice
I don’t know what that means but I’ll try it nonetheless!
-
winetricks says d3dx9_43 would be already installed and skips everything.
I’m currently compiling wine on a debian virtualbox with pretty much nothing else installed. My current guess is your wine (even with the proper checkout) finds and uses some pretty fancy hardware acceleration libs on my laptop during compiling without me noticing.
Maybe it would be good idea if you would release a little linux howto with all necessary commands in one place. AFAIK even for uri_bagot it’s not working the way it should (just like for me in the first place)
-
I’m not gonna release howtos for Linux. Either you know your shit, let me do it with root access, or my time is best spent elsewhere… sorry…
Maybe @uri_ba can help you, he’s installing debian sid i386
-
No need to get upset! :sad:
I’m getting the game running 5-10 fps (by pure looks of it - haven’t tested it).
My guess of that is, that he has got a “normal” 3D world. Otherwise he would not be able to guess the framerate, would he? So he is no help for me atm, since what he achieved on his old desktop I achieved on my laptop two days ago. Just facts. I won’t give anybody root access to anything. Nothing personal.
I did not want to bother you! Maybe I’ll just sit and wait a bit until somebody figures it out and is willing to tell what he did to get there.
(And just as info: I tried a linux mint xfce virtualbox, my linux mint laptop and a debian testing virtualbox, approximately I compile your wine branch the sixth or seventh time (and usually this isn’t fast or fun) and I guess at least the last four times of that I double checked the checkout. Not to mention I tested everything over a vncserver. On top of that I - of course - tried various other little tweaks and ways. I am not too lazy or just too stupid to get it work! :?)
-
apt-get install debootstrap
man debootstrap
make a i386 sid chroot
install your shit, along with swx11-dev and build-dep wine
profit
-
No need to fight
If I’ll get it straight this time I’ll create a deb package… and that would be the end of it
it’ll be better when wheeze will be released (it’s RC1 now) - but that’s life -
why use wheeze? sid is the way to go for VMs and falcon
thanks for package
sorry i’m antisocial but my teeth hurt like ****
-
“squeeze” is stable
“wheeze” is “testing” therefor it’s currently still “Sid” - debian naming at it’s best
I just took the weekly testing build.if it’s interests anybody, all debian releases are “toy story” characters. the unstable development version (bleeding edge) is always called “Sid” after the sadistic, toy deforming neighbor
-
http://ananke.laggygamerz.com/wine-hacks-9999.ebuild
ghostrider motorcycle hero
sid is unstable and not testing, so use sid
-
OK, I’ll try wheezy first, as the install is already running and it’s more “stable”.
if that will go down in flames, I’ll dist-upgrade my way to sid.Wheezy build renders 3D, I’m building a package now just to test the water. if it installs properly, I’ll upgrade to sid tomorrow and start with the package… fingers crossed
-
uri_ba could you provide separate packages for wheezy and sid, please? Please also provide your debian/ and update it when i push to github.
This is awesome. Thank you.