Dota-2-Vulkan icon indicating copy to clipboard operation
Dota-2-Vulkan copied to clipboard

Dota 2 crashes under linux on startup when vulkan support is enable

Open masterxq opened this issue 7 years ago • 25 comments

Using Debian stretch with Nvidia driver 375.39. After todays update Dota 2 crashes while starting. If i disable vulkan support it works fine again. If more informations are needed i will try to provide them.

masterxq avatar May 05 '17 04:05 masterxq

Same with Ubuntu and Mint. Was working yesterday, no OS updates, but today DOTA freezes my whole damn UI requiring a hard power-off

AMD rx480 (67df). Updated to the latest drivers to see if it fixes it, but it still freezes as soon as the main DOTA page loads.

UPDATE: Uninstalled DOTA. Reinstalled. Re-added Vulkan support. Doesn't lock up my machine now. Cranked up detail and still no freeze thus far after restarting.

phormix avatar May 05 '17 06:05 phormix

Hello @masterxq, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

kisak-valve avatar May 05 '17 12:05 kisak-valve

Copying my info from ValveSoftware/steam-for-linux#4944

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected
    
Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
    CPU Family:  0x6
    CPU Model:  0x5e
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  4200 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported
    
Network Information:
    Network Speed:  
    
Operating System Version:
    Ubuntu 16.04.2 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.8.0-49-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11804000
    X Window Manager:  Compiz
    Steam Runtime Version:  steam-runtime-beta-release_2016-12-05
    
Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 1080/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 375.39
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 143 Hz
    VendorID:  0x10de
    DeviceID:  0x1b80
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 20.91" x 11.73"  (23.94" diag)
                                            53.1cm x 29.8cm  (60.8cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 8192 MB
    Supported MSAA Modes:  2x 4x 8x 16x 
    
Sound card:
    Audio device: Realtek ALC1150
    
Memory:
    RAM:  32134 Mb
    
Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Steam Controller Cable and Base:  Not set
    Total Hard Disk Space Available:  240237 Mb
    Largest Free Hard Disk Block:  184302 Mb
    VR Headset: None detected
    
Recent Failure Reports:
    Fri May  5 14:14:42 2017 GMT: file ''/tmp/dumps/crash_20170505071435_1.dmp'', upload yes: ''Discarded=1''

kwyatt avatar May 05 '17 15:05 kwyatt

I have reproduced this crash on NVIDIA 375.39 and am investigating. It seems to be specific to the 375.39 driver. So far I've found:

  • NVIDIA 375.27.14 driver - Vulkan beta, not crashing (https://developer.nvidia.com/vulkan-driver)
  • NVIDIA 375.39 driver - crashing
  • NVIDIA 381.09 driver - latest driver, not crashing (http://www.geforce.com/drivers/results/117741)

I'll debug the crash and see if there is anything I can do to get around it, but you may need to update drivers.

danginsburg avatar May 05 '17 17:05 danginsburg

confirmed to work with 381.09

kwyatt avatar May 05 '17 18:05 kwyatt

This happens on Arch Linux and Manjaro Linux as well.

Crashes when "-vulkan" is enabled. Will only run in OpenGL.

arkhanari avatar May 05 '17 20:05 arkhanari

I can confirm the latest nvidia proprietary driver fixes the problem.

Upgraded from 375.39 to 381.09 and the game works fine again with -Vulkan launch option.

Thanks everyone.

glubsy avatar May 05 '17 21:05 glubsy

@glubsy how did you updated it? I'm looking for http://www.nvidia.com/download/driverResults.aspx/114232/en-us but it says:

Note that many Linux distributions provide their own packages of the NVIDIA Linux Graphics Driver in the distribution's native package management format. This may interact better with the rest of your distribution's framework, and you may want to use this rather than NVIDIA's official package.

Can you send some tutorial ? Thanks.

mateusvahl avatar May 05 '17 22:05 mateusvahl

@mateuspv download the binary blob from here: http://www.geforce.com/drivers/results/117741

then type in terminal:

cd ~/Downloads (or whatever your download directory is)
chmod +x NVIDIA-Linux-x86_64-381.09.run
sudo ./NVIDIA-Linux-x86_64-381.09.run

I'm using Antergos (Arch Linux) but this is how I update my drivers since I'm using dual GPUs. If it doesn't work while you are using X / your display manager (dm), do this:

press ctrl+alt+f2 (or whatever number to get a tty)
log in with your credentials
systemctl stop your-display-manager
sudo /path/to/NVIDIA-Linux-x86_64-381.09.run
systemctl start your-display-manager
exit
press ctrl+alt+f1 (or whatever number you use for graphical interfaces)

If you don't know what your current display manager is, run this: cat /etc/systemd/system/display-manager.service | grep '/usr/[s]bin'

glubsy avatar May 06 '17 01:05 glubsy

Updating to nvidia-beta drivers (381) makes it impossible to start Steam.

I'm on Arch.

arkhanari avatar May 07 '17 21:05 arkhanari

Sorry for late reply, here is the link: https://gist.github.com/masterxq/a84128d9549bdf629c3c03801c949754

masterxq avatar May 07 '17 22:05 masterxq

Same problem on admgpu (not pro) with mesa 17.2 . Whole OS freezes requiring hard reboot.

ppavacic avatar May 10 '17 13:05 ppavacic

Hello @paupav, the issue being tracked in this issue report is driver specific and limited to a subset of the nvidia driver. Please open a new issue report and it might also be a good idea to bring it to the attention of your driver vendor.

kisak-valve avatar May 10 '17 13:05 kisak-valve

It's not a driver specific issue. It was working fine with AMDGPU-PRO 17.10 then after latest updates it stopped working.

feratechinc avatar May 27 '17 09:05 feratechinc

So I thought this was related to using Vulkan, but I went back to non-vulkan and started having similar crashes (generally killing the AMDGPU-pro DRM - direct rendering - module) and causing my entire X session to freeze except for the cursor.

then I uninstalled the Pro drivers, updated to a new kernel, and went with the in-kernel RX480 drivers. I'm happy to say that I've had no freezing issues since (some annoying texture bugs also fixed) and the performance is still great.

3 active monitors at 1080p. Game window in the center monitor. No lock-ups, no freezing, and texture bugs all gone.

If you're using AMD, try dropping pro and going to kernel 4.8.0-52 or higher.

phormix avatar May 31 '17 03:05 phormix

I have hard crash seconds after main menu shows up.

AMD 280 with experimental AMDGPU driver with support for Southern islands. Manjaro linux

Only crashes when using vulkan.

LukaZajaMarceta avatar May 31 '17 23:05 LukaZajaMarceta

Now i have NVIDIA drivers 375.66-1 from Debian Buster and i have same problem again. When vulkan is activated Dota Crashes on startup. Systeminformations: https://gist.github.com/masterxq/82b91195ad6c984eaec88bfdaf502e5a

masterxq avatar Jun 20 '17 22:06 masterxq

You need at least 381

ChrisLauinger77 avatar Sep 19 '17 21:09 ChrisLauinger77

Linux Ubuntu 18.04 - nvidia driver 390.67 and when vuklan is enabled dota crashes on hero select screen. I saw a thread where it was mentioned that this should be resolved with 7.00 update, but obviously it isn't. This is really frustrating and ridiculous!

entwwwicklung avatar Jul 16 '18 14:07 entwwwicklung

Same as @entwwwicklung here

Daaarkling avatar Aug 22 '18 19:08 Daaarkling

Have you tried downgrading your drivers to 381 and checked whether this happens or not?

Also, post your specs people.

glubsy avatar Aug 22 '18 21:08 glubsy

A havent tried that and i have no intention to do so :-), but here are my specs:

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Laptop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz CPU Family: 0x6 CPU Model: 0x8e CPU Stepping: 0xa CPU Type: 0x0 Speed: 1600 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Operating System Version: Ubuntu 18.04.1 LTS (64 bit) Kernel Name: Linux Kernel Version: 4.15.0-33-generic X Server Vendor: The X.Org Foundation X Server Release: 11906000 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime-beta-release_2018-06-14

Video Card: Driver: NVIDIA Corporation GeForce MX150/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 396.54 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x10de DeviceID: 0x1d10 Revision Not Detected Number of Monitors: 2 Number of Logical Video Cards: 1 Primary Display Resolution: 2560 x 1440 Desktop Resolution: 4480 x 1440 Primary Display Size: 23.50" x 13.23" (26.97" diag) 59.7cm x 33.6cm (68.5cm diag) Primary Bus: PCI Express 4x Primary VRAM: 2048 MB Supported MSAA Modes: 2x 4x 8x 16x

Sound card: Audio device: Realtek ALC255

Memory: RAM: 19947 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 231792 Mb Largest Free Hard Disk Block: 99224 Mb VR Headset: None detected

Recent Failure Reports:

Daaarkling avatar Aug 30 '18 18:08 Daaarkling

I've managed to resolve this issue permanently. Bought AMD Radeon RX560 based graphic card - works like a charm. Honestly i've realized it's not a Steam related issue... it has more to do with nvidia and the fact that their proprietary drivers for linux are rubbish.

entwwwicklung avatar Oct 27 '18 06:10 entwwwicklung

AMD radeon RX580 here, newest stable mesa build. issue is back

Please fix it.

Traace avatar Mar 22 '19 16:03 Traace

:(

GiancarlosIO avatar Jul 27 '21 03:07 GiancarlosIO