Unknown Horizons does not start on Ubuntu 20.04

Unknown Horizons does not start on Ubuntu 20.04

Postby Waldecker » 06 Sep 2021, 09:40

Hi there,

I have problems to start Unknown Horizons on Ubuntu 20.04.

{l Code}: {l Select All Code}
waldecker:~$ unknown-horizons
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 292
Current serial number in output stream: 292

waldecker:~$ lspci -nnk | grep -i VGA -A2
06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP108 [GeForce GT 1030] [10de:1d01] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GP108 [GeForce GT 1030] [1462:8c98]
Kernel driver in use: nvidia

waldecker:~$ glxinfo | grep "OpenGL core profile version string"
OpenGL core profile version string: 4.6.0 NVIDIA 460.80

waldecker:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal


Any idea how to solve it?

Cheers
Waldecker
Waldecker
 
Posts: 1
Joined: 06 Sep 2021, 09:35

Re: Unknown Horizons does not start on Ubuntu 20.04

Postby LinuxDonald » 28 Jan 2022, 02:09

Its broken. And i dont know why. I thing something with the fifengine code.
LinuxDonald
UH Moderator
 
Posts: 8
Joined: 22 Jan 2020, 18:05

Re: Unknown Horizons does not start on Ubuntu 20.04

Postby SandJ » 07 Sep 2022, 10:27

Ditto for Xubuntu 22.04.1

Running it from the command line gives:
{l Code}: {l Select All Code}
$ unknown-horizons
X Error of failed request:  GLXBadDrawable
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  332
  Current serial number in output stream:  332


A clue might be the number of errors that appeared during installation:

{l Code}: {l Select All Code}
...
Setting up python3-fife (0.4.2-3build2) ...
/usr/lib/python3/dist-packages/fife/extensions/fife_settings.py:301: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if module is not "FIFE":
/usr/lib/python3/dist-packages/fife/extensions/fife_settings.py:435: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if module is "FIFE":
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/animationicon.py:193: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if anim is not "":
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/curvegraph.py:164: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if coordinates is None or len(coordinates) is 0:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/linegraph.py:157: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if coordinates is None or len(coordinates) is 0:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/pointgraph.py:157: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if coordinates is None or len(coordinates) is 0:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1038: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(margin) is 4:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1044: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(margin) is 3:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1050: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(margin) is 2:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1056: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(margin) is 1:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1068: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if len(padding) is 4:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1074: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(padding) is 3:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1080: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(padding) is 2:
/usr/lib/python3/dist-packages/fife/extensions/pychan/widgets/widget.py:1086: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif len(padding) is 1:
/usr/lib/python3/dist-packages/fife/extensions/serializers/xmlmap.py:640: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if data['s_ref'] is not -1:
/usr/lib/python3/dist-packages/fife/extensions/serializers/xmlmap.py:663: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if data['s_ref'] is not -1:
/usr/lib/python3/dist-packages/fife/extensions/serializers/xmlmap.py:686: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if data['s_ref'] is not -1:
/usr/lib/python3/dist-packages/fife/extensions/serializers/xmlmapsaver.py:301: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if info.getSubdivisions() is not 32:
Setting up unknown-horizons (2019.1-4) ...
/usr/lib/python3/dist-packages/horizons/extscheduler.py:72: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if obj.loops > 0 or obj.loops is -1:
...
SandJ
 
Posts: 3
Joined: 07 Sep 2022, 10:12

Re: Unknown Horizons does not start on Ubuntu 20.04

Postby SandJ » 07 Sep 2022, 10:31

Over the years, I've seen this before, where FOSS takes on too big a change, such as this move to Godot, and never completes it and so the product dies. It is very sad.
SandJ
 
Posts: 3
Joined: 07 Sep 2022, 10:12

Re: Unknown Horizons does not start on Ubuntu 20.04

Postby freem » 08 Oct 2022, 17:41

Yes, it's sad, especially since this game was quite promising.

FWIW, it still works on debian with debian's packages, so you might try to run those packages instead. It's ugly and dirty, but might work.
As for the error itself, I would try to use software acceleration to check if the problems does not comes from a bug between engine and nvidia.

See here:
https://forums.oculusvr.com/t5/Get-Help ... d-p/242115

> I found you can force indirect mode (thus avoiding the bug with direct mode) by setting the environment variable LIBGL_ALWAYS_INDIRECT=1 before running any programs.
freem
BN Moderator
 
Posts: 106
Joined: 18 May 2015, 19:38

Who is online

Users browsing this forum: No registered users and 1 guest

cron