[linux] GPU hang on startup on Ubuntu 14.04

gquigsgquigs Join Date: 2013-12-05 Member: 189802Members
I'm trying to start NS2, and it loads the loading screen, then it starts bouncing between showing the loading screen and a blank screen until finally it quits out / crashes compiz. This is due to the graphics card trying to reset itself.

I'm running Ubuntu 14.04 and have tried it with the latest git mesa/kernel as well as stock.

I've reported it to launchpad and to mesa.

The NS2 specific log file doesn't seem to have anything useful.

[1] https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1289860
[2] https://bugs.freedesktop.org/show_bug.cgi?id=75939


  • gquigsgquigs Join Date: 2013-12-05 Member: 189802Members
    Log file, just in case I overlooked something...
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    Any chance you can get gdb attached and get a trace when it crashes?

    I would also try removing your shader cache (~/.config/Natural Selection 2/cache) and system_options (~/.config/Natural Selection 2/system_options.xml)

    I want to say tuxator has had issues with this for a few days.

  • gquigsgquigs Join Date: 2013-12-05 Member: 189802Members
    When I run "ps -e| grep ns2_linux32" I get two or even three ns2_linux lines.. Which one should I attach gdb too?
  • gquigsgquigs Join Date: 2013-12-05 Member: 189802Members
    Hmm.. seems like either way it can't grab a gdb bt. X is totally crashing ..
  • tuxatortuxator Join Date: 2010-01-07 Member: 69958Members, Reinforced - Gold
    edited March 2014
    could you check if there is something printed to dmesg (just type 'dmesg' in a terminal after the game crashed. Maybe your eyes can spot something related to a crash) or syslog (tail -20 /var/log/syslog should do the trick)? If something crashes it usually leaves something in one of those two logfiles.

    Also you could try and toy around with mesa/gallium -> http://www.mesa3d.org/envvars.html (I'd start with setting MESA_DEBUG and MESA_LOG_FILE and exporting them so that they're known system wide, that way you don't have to start the game from console).

    Just for your information: I've a Radeon HD5870 and I'm using the same driver/operating system (using the Gnome edition) as you do. For me the game works (more or less).
  • gquigsgquigs Join Date: 2013-12-05 Member: 189802Members
    I ended up switching video cards.
Sign In or Register to comment.