-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game not starting in Ubuntu 18.04 #2936
Comments
did you fix it? how? compile it? |
UH needs py3 |
This is my log:
|
The log say there is an problem with your gpu driver. |
Gpu driver problem. |
What GPU drivers are supported?
(other games do work) |
Than I don't know what's wrong. There is no active engine dev available. |
So any fix for nvidia drivers 460.39? |
Could you rebuild Fife with lastest changes and lastest changes of UH please? |
@jmdejong have you maybe an idea whats broken? I have tested it now to same error. |
@jakoch could you maybe take an look too please? |
@LinuxDonald what did you do to get the same error? Just starting and playing UH does not give an error for me, but I don't have nvidia graphics. Is this still specific for ubuntu 18.04 or does it affect other distros as well? |
unknown-horizons Setting sdl in settings.xml i get this: Manjaro Nvidia Closed Source Driver. |
I have the same error on Ubuntu 20.04 waldecker:~$ unknown-horizons waldecker:~$ lspci -nnk | grep -i VGA -A2 waldecker:~$ glxinfo | grep "OpenGL core profile version string" waldecker:~$ lsb_release -a Any idea how to solve it? |
Same problem on KDE Neon with proprietary Nvidia driver. |
I think fife engine is broken... |
Could you guys retest it with fifechan 0.1.5 and fife lastest git version and lastest unknown-horizons git version please |
fifechan won't help, its a bug in the fifengine. the root problem is the usage of "SDL_GetWindowSurface". this function should not be used with active "3d accelleration". so if i'm right that would mean that the old code would need some fixing. |
For me it starts under manjaro with nvidia without any problems again. |
(For documentation: This might be in fife, fifengine/fifengine#1079) |
German Debian Forums had thread about it [1], and there is a The workaround is to run the application in a Xephyr environment Example for how to use the workaround:
[1] https://debianforum.de/forum/viewtopic.php?t=183160#p1292067 |
Hmmm... This might be caused by a wrong usage of I think it would be better to make the current window the opengl context and then start swapping, before glew_init. |
@jakoch have you maybe the time to create an fix for it please? |
I haven't worked on fife for years. So i need to (re)setup my dev env with repo(s) and stuff first, before i could tackle this. |
I cannot start the game: Select tutorial, then shows me a sailboat on the screen and in a fraction of a second disappears and the program close! |
This seems to be a differnt issue, as the one I described above does not even open up a window. |
@armandorub Oh, that looks familiar: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014084, or on this repo #2956. |
So, I understand this is an open bug and I just need to wait until is solved. |
Well, it is fixed here and in Debian unstable; |
@jrgryph are sure this is fixed? |
So where is possible to download de fixed game? |
woops |
There are a few options:
You can rebuild the package for Ubuntu in the Debian way: Get the .dsc-file, for the version you want by browsing the source package page On that site, towards the bottom, there is a link pointing to the .dsc-file, for example for the latest version, at the time of me writing this, it is pointing to unknown-horizons_2019.1-5.dsc Copy that link. NOTE: You will need to have "Backports" for Ubuntu 18.04 enable. Otherwise it won't find a recent enough version of "debhelper" and the build will fail. It might be that you need to install "debhelper" from backports (as the package needs version 13 or later) manually. Disclaimer: I did not try to rebuild the package on Ubuntu. The below instructions might or might not work for you.
Downside if of course that you won't get updates automatically , but you can subscribe to https://tracker.debian.org/pkg/unknown-horizons to get notifications if something (like new uploads) happens to the Debian package :) |
Thank you very much! I am keeping your recommendations and I intend to follow them carefully. |
Fixes launch **Note:** Game currently doesn't work with hardware acceleration. One workaround is to launch it in a Xephyr environment. See [here](unknown-horizons/unknown-horizons#2936 (comment)) for details. Signed-off-by: Thomas Staudinger <[email protected]>
Installed with apt.
here's my terminal output...
I have NVIDIA video drivers installed too.
unknown-horizons -d
Logging to /home/jonsmith/.unknown-horizons/log/unknown-horizons-2020-02-22_10-34-39.log and /usr/share/unknown-horizons/fife.log
Python version: sys.version_info(major=2, minor=7, micro=17, releaselevel='final', serial=0)
Platform: Linux-4.15.0-88-generic-x86_64-with-Ubuntu-18.04-bionic
SYS.PATH: ['/usr/games', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/jonsmith/.local/lib/python2.7/site-packages', '/home/jonsmith/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg', '/home/jonsmith/.local/lib/python2.7/site-packages/numpy-1.8.1-py2.7-linux-x86_64.egg', '/home/jonsmith/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/local/lib/python2.7/dist-packages/PyOpenGL-3.1.3b2-py2.7.egg', '/home/jonsmith/Desktop/Games/minecraft/mcedit2-2.0.0-beta14/src', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/wx-3.0-gtk3']
PATHSEP: ":" SEP: "/"
LD_LIBRARY_PATH: :/home/jonsmith/Desktop/panda3d/soci-3.2.3/lib
PATH: /home/jonsmith/.pyenv/shims:/home/jonsmith/.pyenv/bin:/home/jonsmith/bin:/home/jonsmith/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PYTHONPATH
Python version: sys.version_info(major=2, minor=7, micro=17, releaselevel='final', serial=0)
Platform: Linux-4.15.0-88-generic-x86_64-with-Ubuntu-18.04-bionic
Using fife version 0.4.1, at least 0.4.0 required
Controller:LOG:Fifengine v"0.4.1"+
Controller:LOG:================== Engine initialize start =================
Controller:LOG:Time manager created
Controller:LOG:Creating VFS
Controller:LOG:Adding root directory to VFS
VFS:DEBUG:VFSDirectory created with root path ./
VFS:LOG:new provider: OS Directory
Controller:LOG:Adding zip provider to VFS
VFS:LOG:new provider: ZIP
Controller:LOG:Engine pre-init done
Controller:LOG:Creating event manager
Controller:LOG:Creating resource managers
Controller:LOG:Creating render backend
Controller:LOG:OpenGL Render backend created
Controller:LOG:Initializing render backend
Controller:WARN:Selected video driver is not supported for your Operating System! Reverting to default driver.
Controller:LOG:Querying device capabilities
Controller:LOG:Creating main screen
X Error of failed request: GLXBadDrawable
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 266
Current serial number in output stream: 266
The text was updated successfully, but these errors were encountered: