Currently Online

Latest Posts

Topic: opengl broken widelands-daily ppa

Denisechip
Avatar
Topic Opener
Joined: 2015-12-08, 21:59
Posts: 7
Ranking
Pry about Widelands
Location: Scotland
Posted at: 2016-01-26, 22:33

I installed the widelands-daily ppa and did the update and installed the game. When I run it in the terminal I get a message opengl is broken. Game does not open. The old version on the software center on Kubuntu 14.04 LTS 32 bit works fine.


Denisechip
(Long Live The Amiga)

Top Quote
QCS

Joined: 2009-12-29, 21:47
Posts: 256
Ranking
Tribe Member
Posted at: 2016-01-27, 06:18

Hi,

that either means your hardware is too old, or probably just no OpenGL is installed or it is configured wrongly.

Let's start troubleshooting first by the output of 'lspci | grep VGA' (as root, please, this should be one or two lines), the output of widelands on the console until you see the main menu (will probably be about 20-30 lines), and the output of 'glxinfo | head -50' (this will be 50 lines in total).

Regards, QCS


CMake is evil.

Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-01-27, 06:38

Please also provide the exact versions of Widelands involved (the one that worked and the one that is no longer) and the full output of stdout.


Top Quote
Denisechip
Avatar
Topic Opener
Joined: 2015-12-08, 21:59
Posts: 7
Ranking
Pry about Widelands
Location: Scotland
Posted at: 2016-01-30, 21:44

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller

Widelands 1:18 2 from the ubuntu software center works.

This version did not work for me:

sudo add-apt-repository ppa:widelands-dev/widelands-daily sudo apt-get update sudo apt-get install widelands


Denisechip
(Long Live The Amiga)

Top Quote
Denisechip
Avatar
Topic Opener
Joined: 2015-12-08, 21:59
Posts: 7
Ranking
Pry about Widelands
Location: Scotland
Posted at: 2016-01-30, 21:47

Yes I am using an old netbook, 5 years old with an intigrated graphics card. I changed the resolution to fit my screen size in the config file.

I am happy enought the old version is working. Just wanted to report the newer version did not work for me.


Denisechip
(Long Live The Amiga)

Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-01-30, 22:19

This is valuable information. 5 years old is not that old. Your netbook should be able to run the PPA too.

Could you run the PPA version from the console and report what it is outputting? Also the output of glxinfo would be useful.


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-01-30, 22:19

I just realized these were your first few posts: Welcome to the forum face-smile.png


Top Quote
QCS

Joined: 2009-12-29, 21:47
Posts: 256
Ranking
Tribe Member
Posted at: 2016-01-31, 18:14

This is a Pineview Atom system with slow but OpenGL2.1 capable GPU. As SirVer said, It should run widelands, although I think it might be a little slow to run large games, but this should be already with b18 which you can play apparently, the ppa version may in fact be faster.

To explain why the ppa version may not run: In b18, widelands had two renderers to play, one called Software Renderer, one is the OpenGL Renderer. The Software Renderer has been removed after b18, so only OpenGL is supported in the ppa version. This also means OpenGL support must be installed on your machine. And that's probably where you just need some help face-wink.png

Please provide at least the information of 'glxinfo | grep OpenGL' and the output of widelands on the console, as already asked.


CMake is evil.

Top Quote
Denisechip
Avatar
Topic Opener
Joined: 2015-12-08, 21:59
Posts: 7
Ranking
Pry about Widelands
Location: Scotland
Posted at: 2016-02-01, 22:07

I cannot get the info under root: su: Authentication failure

xxxxxxxxx:~$ widelands Set home directory: /home/xxxxxx/.widelands Adding directory: /usr/share/games/widelands selected language: (system language) using locale en_US.UTF-8 Graphics: Try to set Videomode 1024x600 glewInit returns 1 Your OpenGL installation must be very broken. Missing GL version

Caught exception (of type '10WException') in outermost handler! The exception said: [/build/widelands-7ccE57/widelands-18-ppa0-bzr7756/src/graphic/gl/initialize.cc:90] glewInit returns 1: Broken OpenGL installation.

This should not happen. Please file a bug report on version bzr7756-201601310946(Release). and remember to specify your operating system.

:~$ glxinfo | grep OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) IGD x86/MMX/SSE2 OpenGL version string: 1.4 Mesa 10.5.9 OpenGL extensions:

Edited: 2016-02-01, 22:08

Denisechip
(Long Live The Amiga)

Top Quote
Denisechip
Avatar
Topic Opener
Joined: 2015-12-08, 21:59
Posts: 7
Ranking
Pry about Widelands
Location: Scotland
Posted at: 2016-02-01, 22:15

Now when I remove this new installation and the ppa and re-install widelands again from the ubuntu software centre it no longer works. So both of these versions are not working now and I get the same messages as shown above for the ubuntu software centre.


Denisechip
(Long Live The Amiga)

Top Quote