[0.17.x] [linux] hang upon loading / starting game

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
User avatar
planetmaker
Fast Inserter
Fast Inserter
Posts: 180
Joined: Mon Jan 21, 2019 9:30 am
Contact:

[0.17.x] [linux] hang upon loading / starting game

Post by planetmaker »

With the 0.17.x versions on linux Factorio does not start a new game anymore or load a map. I get to the main menu, and I can select a file to load or a new map to start - but it does not get beyond that, remaining in the graphics driver forever and freezing the complete GUI system. It used to work with 0.16.51 fine. Factorio on same machine started with windows 10 works like a charm:

System: Fedora 28

Code: Select all

:~$ lsmod | grep nou
nouveau              2297856  29
mxm_wmi                16384  1 nouveau
wmi                    36864  2 mxm_wmi,nouveau
i2c_algo_bit           16384  1 nouveau
drm_kms_helper        208896  1 nouveau
ttm                   118784  1 nouveau
drm                   516096  12 drm_kms_helper,ttm,nouveau
video                  49152  1 nouveau
graphics card is a Nvidia GTS 450 (yes, not new, but should be ok according to your FAQ)

Backtrace obtained during the hang via ssh login from another machine :

Code: Select all

GNU gdb (GDB) Fedora 8.1.1-4.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 5018
[New LWP 5019]
[New LWP 5020]
[New LWP 5021]
[New LWP 5022]
[New LWP 5023]
[New LWP 5024]
[New LWP 5025]
[New LWP 5026]
[New LWP 5027]
[New LWP 5028]
[New LWP 5030]
[New LWP 5033]
[New LWP 5034]
[New LWP 5115]
[New LWP 5141]
[New LWP 5142]
Missing separate debuginfo for /home/planetmaker/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so

(... *snip* ...)

0x00007fecbb493c97 in ioctl () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install alsa-lib-1.1.6-2.fc28.x86_64 alsa-plugins-pulseaudio-1.1.6-3.fc28.x86_64 dbus-libs-1.12.10-1.fc28.x86_64 elfutils-libelf-0.174-5.fc28.x86_64 flac-libs-1.3.2-7.fc28.x86_64 glibc-2.27-37.fc28.x86_64 gsm-1.0.17-5.fc28.x86_64 libXScrnSaver-1.2.2-14.fc28.x86_64 libXtst-1.2.3-5.fc28.x86_64 libXxf86vm-1.1.4-7.fc28.x86_64 libasyncns-0.8-14.fc28.x86_64 libblkid-2.32.1-1.fc28.x86_64 libdrm-2.4.95-1.fc28.x86_64 libedit-3.1-23.20170329cvs.fc28.x86_64 libgcc-8.2.1-6.fc28.x86_64 libgcrypt-1.8.4-1.fc28.x86_64 libglvnd-1.1.0-1.fc28.x86_64 libglvnd-glx-1.1.0-1.fc28.x86_64 libgpg-error-1.33-1.fc28.x86_64 libmount-2.32.1-1.fc28.x86_64 libsndfile-1.0.28-7.fc28.x86_64 libstdc++-8.2.1-6.fc28.x86_64 libuuid-2.32.1-1.fc28.x86_64 libvorbis-1.3.6-3.fc28.x86_64 libxshmfence-1.3-1.fc28.x86_64 llvm-libs-6.0.1-8.fc28.x86_64 mesa-dri-drivers-18.0.5-4.fc28.x86_64 mesa-libGL-18.0.5-4.fc28.x86_64 mesa-libglapi-18.0.5-4.fc28.x86_64 ncurses-libs-6.1-5.20180224.fc28.x86_64 pcre2-10.32-5.fc28.x86_64 pulseaudio-libs-12.2-1.fc28.x86_64 sssd-client-1.16.3-2.fc28.x86_64 systemd-libs-238-11.gita76ee90.fc28.x86_64
(gdb) bt
#0  0x00007fecbb493c97 in ioctl ()
   from /lib64/libc.so.6
#1  0x00007fecafbf14a0 in drmIoctl ()
   from /lib64/libdrm.so.2
#2  0x00007fecafbf4250 in drmCommandWriteRead ()
   from /lib64/libdrm.so.2
#3  0x00007fecae892e1b in pushbuf_submit.isra ()
   from /lib64/libdrm_nouveau.so.2
#4  0x00007fecae8931bf in pushbuf_flush ()
   from /lib64/libdrm_nouveau.so.2
#5  0x00007fecae893dd4 in nouveau_pushbuf_kick ()
   from /lib64/libdrm_nouveau.so.2
#6  0x00007fecaefa2820 in nouveau_fence_kick ()
   from /usr/lib64/dri/nouveau_dri.so
#7  0x00007fecaefa2a48 in nouveau_fence_work ()
   from /usr/lib64/dri/nouveau_dri.so
#8  0x00007fecaefa0683 in nouveau_buffer_transfer_unmap () from /usr/lib64/dri/nouveau_dri.so
#9  0x00007fecaecdfffa in st_bufferobj_unmap ()
   from /usr/lib64/dri/nouveau_dri.so
#10 0x00007fecaeb3639c in validate_and_unmap_buffer
    () from /usr/lib64/dri/nouveau_dri.so
#11 0x0000000000c27fdb in VideoBufferOpenGL::unmapBuffer() ()
    at /tmp/factorio-build-ewbMto/src/Graphics/OpenGL/VideoBufferOpenGL.cpp:62
#12 0x0000000000c37bb7 in StreamedVertexBuffer<VertexLayout::Sprite>::endBatch ()
---Type <return> to continue, or q <return> to quit---q

tehfreek
Filter Inserter
Filter Inserter
Posts: 391
Joined: Thu Mar 17, 2016 7:34 am
Contact:

Re: [0.17.x] [linux] hang upon loading / starting game

Post by tehfreek »

Unfortunately nouveau is still a bit pants. Consider getting the nvidia driver from RPMFusion for now.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.17.x] [linux] hang upon loading / starting game

Post by Oxyd »

Indeed, could you confirm that the game works with the proprietary driver, so we know the problem is specific to Nouveau?

User avatar
planetmaker
Fast Inserter
Fast Inserter
Posts: 180
Joined: Mon Jan 21, 2019 9:30 am
Contact:

Re: [0.17.x] [linux] hang upon loading / starting game

Post by planetmaker »

I can definitely confirm that it works with a more powerful graphics card (but otherwise mostly identical default setup, thus noveau driver).

Testing on my underused windows install showed that factorio often hit 100% GPU usage when the game got slightly busy or especially when trains were nearby. It also were using all of its available texture memory straight from start. This all became a non-issue with the new graphics card - both under linux and windows.

Your fault that I *now* own a new computer :mrgreen: (honestly! But I don't mind at all)

Post Reply

Return to “1 / 0 magic”