Topic: Error running build7280 in VirtualBox Ubuntu
fuchur Topic Opener |
Posted at: 2014-11-27, 20:13
Yesterday I downloaded the current trunk (build7280), today I managed to compile it (after installing the SDL2 libs). The game starts but crashes when I try to enter certain menus. I tried Single Player -> New Game and Single Player -> Load Game. The options menu is fine, also the advanced options menu. In the console window I get several error mesages:
I guess that has something to do with the graphics driver of the virtual Ubuntu, or maybe OpenGL. When I click on Exit I also get an error in the console:
Some weeks ago it worked with an older build (7181). But I also had an older version of VirtualBox installed then. Any ideas? Maybe it's just that special build number. Edit: Btw. the switch to disable OpenGL in the advanced options is gone. Maybe that's not good for me, or let's say running widelands on my system. Edited: 2014-11-27, 20:18
Top Quote |
Tibor |
Posted at: 2014-11-27, 21:18
I had similar experience in VirtualBox. There used to be also command line swith to toggle opengl on/off, but it seems it is gone Can you try other virtual machine? Top Quote |
GunChleoc |
Posted at: 2014-11-28, 07:47
We decided to get rid of software rendering, because it's outdated, slow, hard to maintain, and limits flexibility when implementing new graphics features. According to our research, graphics drivers from 2006 on or so should usually be able to handle OpenGL (or was that 2008?). Busy indexing nil values Top Quote |
einstein13 |
Posted at: 2014-11-28, 07:47
Hey! I'm running Widelands on VMWare Player. Everything is fine when you install theirs drivers (for Ubuntu are isntalled by default) einstein13 |
fuchur Topic Opener |
Posted at: 2014-12-02, 18:30
Ok, I tried to get it working in VirtualBox, but up to now without success. I found somewhere a statement that VirtualBox doesn't support OpenGL 3. But in the latest development news on the widelands main page is mentioned that it needs OpenGL 2.1. So I'm not sure if that could be a reason. Concerning the VMware Player, I never used that. But I have the feeling that you can't create new virtual machines with it. Are there free appliances with Ubuntu suitable for building and running Widelands? I don't think it will be a good idea to just use an older build to do some programming work... Top Quote |
SirVer |
Posted at: 2014-12-02, 20:33
Widelands needs OpenGL 2.1 since that is the version of OpenGL ES that is well supported on tablets these days. OpenGL 3 support is not needed. Top Quote |
GunChleoc |
Posted at: 2014-12-03, 08:37
I tried installing an Ubuntu in VirtualBox on my Ubuntu to check things out. But I wasn't even able to load a DVD medium or ISO file to install the OS. I sometimes use VMWare Player on Windows 7 and it works just fine. Create as many virtual machines as you want. I have never tried it on Linux though.
Does this sound like a graphics driver issue? Edited: 2014-12-03, 08:44
Busy indexing nil values Top Quote |
Tino |
Posted at: 2014-12-03, 10:50
Please differentiate between Host and Guest operating system ;). I can't really figure out what you want to achive here. I am running Kubuntu 14.04 in Virtualbox 4.3.12 on a Windows 7 64-bit Host operating system. Installing widelands via daily ppa was no problem and it starts fine. Only some weird graphic issues with 7297 Make sure your guest operating system supports OpenGL, you have enabled 3D acceleration for your virtual machine and installed the virtualbox driver package in your guest operating system (Use the menu entry "Devices -> Insert media with guest extensions..." of your vbox task bar) Edited: 2014-12-03, 10:54
Top Quote |
fuchur Topic Opener |
Posted at: 2014-12-04, 21:03
@GunChleoc: Maybe it's graphics driver issue, I'll investigate that. Thanks for trying to check out VirtualBox. To load an ISO is possible in the settings. In the section "Storage" you can add an ISO to the IDE Controller. But as Tino says it works for him you don't need to test that, too. @Tino: Sorry, I didn't think about that. I have a Windows 7 64-bit host, VirtualBox is version 4.3.20, and I tried plain Ubuntu 14.04. Guest additions are installed, 3D acceleration is enabled. But I didn't use the daily ppa. I downloaded the source and compiled it myself. There were some warnings about pointer types, but they were present also when I built an older version of widelands which worked. The manual of VirtualBox states that the 3D acceleration does not emulate the functions but uses the host hardware. So I checked out OpenGL Extensions Viewer which claims that I have OpenGL version 3.1. This should be ok. Thanks for your hints, I'll go deeper into this. Unfortunately my time is limited at the moment Top Quote |
GunChleoc |
Posted at: 2014-12-05, 08:26
Since your host system is Windows, try VMWare Player. It's free - they want you to register though. After that, it handles similarly to VirtualBox. Busy indexing nil values Top Quote |