UNV in Virtual box

Talk about anything related to Unvanquished.
Post Reply
User avatar
PhantomFang
Mantis
Posts: 72
Joined: Thu Nov 03, 2022 5:37 pm UTC
Clan: LBF
Location: at your house, I empty your fridge
Contact:

UNV in Virtual box

Post by PhantomFang »

hello,
I tried to launch UNV in Virtual Box and he didn't answer he started by asking me as an administrator if I wanted to launch it and when I clicked Yes he didn't do anything...
help please!
bye,
alex the win

User avatar
illwieckz
Project Head
Posts: 717
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Re: UNV in Virtual box

Post by illwieckz »

Are you running the updater (UnvanquishedUpdater.exe) or the engine (daemon.exe) directly?

Edit: I removed the duplicate thread.

This comment is licensed under cc ​​by 4 and antecedent.

User avatar
PhantomFang
Mantis
Posts: 72
Joined: Thu Nov 03, 2022 5:37 pm UTC
Clan: LBF
Location: at your house, I empty your fridge
Contact:

Re: UNV in Virtual box

Post by PhantomFang »

hi!
the unvanquishedupdater.exe looks like it won't launch
can i send screenshots?
bye,
alex the Win

User avatar
killing time
Programmer
Posts: 162
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: UNV in Virtual box

Post by killing time »

I believe this is because of the updater's graphics requirements (e.g. https://doc-snapshots.qt.io/qt5-5.15/qt ... ments.html). There are a couple of ways to get it running:
(1) Set up GPU passthrough in VirtualBox (I've never tried this)
(2) Provide a software renderer (this is what I did when developing the updater in VirtualBox a few years ago; I found an llvmpipe gallium DLL somewhere and got it running with that)

If you actually want to play the game, you will need a real hardware graphics implementation.

What are you running in VirtualBox for? We have Windows, Linux, and Mac releases available.

User avatar
PhantomFang
Mantis
Posts: 72
Joined: Thu Nov 03, 2022 5:37 pm UTC
Clan: LBF
Location: at your house, I empty your fridge
Contact:

Re: UNV in Virtual box

Post by PhantomFang »

Hello,
how are you?
so you tell me to enable 3d acceleration in settings?
ha and I use Virtual Box to do tests of uh "stuff" I know it's suspicious... ;)
bye,
alex the win

User avatar
killing time
Programmer
Posts: 162
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: UNV in Virtual box

Post by killing time »

alex the win wrote: Mon Dec 05, 2022 1:55 pm UTC

so you tell me to enable 3d acceleration in settings?

If your tests require running Unvanquished at a decent frame rate, then that's what you should do. But keep in mind,

https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/guestadd-video.html wrote:

Untrusted guest systems should not be allowed to use the 3D acceleration features of Oracle VM VirtualBox, just as untrusted host software should not be allowed to use 3D acceleration. Drivers for 3D hardware are generally too complex to be made properly secure and any software which is allowed to access them may be able to compromise the operating system running them. In addition, enabling 3D acceleration gives the guest direct access to a large body of additional program code in the Oracle VM VirtualBox host process which it might conceivably be able to use to crash the virtual machine.

If you don't need a good frame rate for your tests or you care more about sandboxing, then you can use the software renderer approach.

User avatar
PhantomFang
Mantis
Posts: 72
Joined: Thu Nov 03, 2022 5:37 pm UTC
Clan: LBF
Location: at your house, I empty your fridge
Contact:

Re: UNV in Virtual box

Post by PhantomFang »

hi!
how are you?
now it work thanks you Killing time!
bye,
alex the win

Post Reply