X4 sometimes fails to launch

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
reactormonk
Posts: 6
Joined: Sun, 19. May 24, 09:08

X4 sometimes fails to launch

Post by reactormonk » Sun, 9. Jun 24, 21:51

X4 always displays random screen garbage from other applications on load, right after the black screen. Sometimes, it doesn't get to that stage but instead fails with a SIGBUS.

Code: Select all

Program terminated with signal SIGBUS, Bus error.
#0  0x000072b90eb1ecf9 in write_buffer_descriptor () at ../mesa-24.1.1/src/amd/vulkan/radv_descriptor_set.c:1093
1093       dst[0] = va;                                                                                                          
[Current thread is 1 (Thread 0x72b959c95cc0 (LWP 111984))]
(gdb) bt
#0  0x000072b90eb1ecf9 in write_buffer_descriptor () at ../mesa-24.1.1/src/amd/vulkan/radv_descriptor_set.c:1093
#1  write_buffer_descriptor_impl () at ../mesa-24.1.1/src/amd/vulkan/radv_descriptor_set.c:1117
#2  radv_update_descriptor_sets_impl () at ../mesa-24.1.1/src/amd/vulkan/radv_descriptor_set.c:1311
#3  radv_UpdateDescriptorSets () at ../mesa-24.1.1/src/amd/vulkan/radv_descriptor_set.c:1440
#4  0x00000000023aba51 in ?? ()
#5  0x00000000023abcc9 in ?? ()
#6  0x000000000239224e in ?? ()
#7  0x0000000002393fa3 in ?? ()
#8  0x0000000002348249 in ?? ()
#9  0x0000000001f933ae in ?? ()
#10 0x0000000001f9c551 in ?? ()
#11 0x00000000007a941d in ?? ()
#12 0x000072b9596cbc88 in __libc_start_call_main (main=main@entry=0x7a9220, argc=argc@entry=1, argv=argv@entry=0x7ffde687bdb8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x000072b9596cbd4c in __libc_start_main_impl (main=0x7a9220, argc=1, argv=0x7ffde687bdb8, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde687bda8) at ../csu/libc-start.c:360
#14 0x00000000007c0669 in _start ()
vulkaninfo: https://gist.github.com/reactormonk/6ae ... ab023f3032

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30634
Joined: Fri, 16. Apr 04, 19:21
x4

Re: X4 sometimes fails to launch

Post by Alan Phipps » Mon, 10. Jun 24, 10:23

Hello. The dumpfile indicates a Vulkan issue, and the VulkanInfo says that your AMD driver version (and hence Vulkan version) is 24.1.1 which is a bit outdated - current WHQL AMD driver is 24.5.1. I would do two things to start with and then see; first verify your Steam X4 game installation and then do a clean update of your AMD graphics driver. Good luck.
A dog has a master; a cat has domestic staff.

reactormonk
Posts: 6
Joined: Sun, 19. May 24, 09:08

Re: X4 sometimes fails to launch

Post by reactormonk » Mon, 10. Jun 24, 16:43

24.1.1 is the newest version according to https://www.mesa3d.org/

I tried with amdvlk too, same behavior of previously used video memory being accessed, in this case a twitch stream. This indicates access to uninitialized GPU memory on startup, which sometimes works, and sometimes fails with a SIGBUS because the memory address is fully invalid.

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30634
Joined: Fri, 16. Apr 04, 19:21
x4

Re: X4 sometimes fails to launch

Post by Alan Phipps » Mon, 10. Jun 24, 16:48

See this thread for latest AMD drivers/Vulkan (unless your system is very heavily OEM). Did you verify the game install?
A dog has a master; a cat has domestic staff.

reactormonk
Posts: 6
Joined: Sun, 19. May 24, 09:08

Re: X4 sometimes fails to launch

Post by reactormonk » Tue, 11. Jun 24, 08:02

Oi, should have explicitly mentioned I'm running the Linux version :skull: , the AMD version numbers just happen to look similar.

This is what the loading looks like:
https://i.imgur.com/4tzzDJu.jpeg

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30634
Joined: Fri, 16. Apr 04, 19:21
x4

Re: X4 sometimes fails to launch

Post by Alan Phipps » Tue, 11. Jun 24, 09:00

Thanks. To my inexperienced eye, it looks as if the OS/graphics are using consecutive batches of fragmented graphics memory for the display instead of (or before) the game loading screen being in that memory. I'll see if a Linux-savvy dev can help more.
A dog has a master; a cat has domestic staff.

User avatar
PGeyer-Ego
EGOSOFT
EGOSOFT
Posts: 25
Joined: Thu, 9. Jun 22, 14:37
x4

Re: X4 sometimes fails to launch

Post by PGeyer-Ego » Tue, 11. Jun 24, 10:06

reactormonk wrote:
Tue, 11. Jun 24, 08:02
I'm running the Linux version
Hey there.

I've seen reports of the graphical corruption at boot, but been unable to reproduce it. I've not seen a SIGBUS though. As it's coming from somewhere within vulkan code, my gut feeling is that this is also a driver issue, as it feels odd that this isn't happening more frequently.

Could you please provide more information about your setup (distro etc) so that I can see if I can put together a similar setup to test and hopefully repro.

PG

reactormonk
Posts: 6
Joined: Sun, 19. May 24, 09:08

Re: X4 sometimes fails to launch

Post by reactormonk » Tue, 11. Jun 24, 18:50

Sure, it's an Archlinux, newest everything except for kernel, which is at 6.8.9 for reasons. I'm running the plasma desktop on wayland. I've had the graphical glitch startup screen since I started playing X4 (a month ago), never seen it otherwise.

Code: Select all

H/W path                Device          Class          Description
==================================================================
                                        system         MS-7C56 (To be filled by O.E.M.)
/0                                      bus            MPG B550 GAMING PLUS (MS-7C56)
/0/0                                    memory         64KiB BIOS
/0/10                                   memory         48GiB System Memory
/0/10/0                                 memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/10/1                                 memory         8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/10/2                                 memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/10/3                                 memory         16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/12                                   memory         768KiB L1 cache
/0/13                                   memory         4MiB L2 cache
/0/14                                   memory         16MiB L3 cache
/0/15                                   processor      AMD Ryzen 7 1700X Eight-Core Processor
/0/100                                  bridge         Family 17h (Models 00h-0fh) Root Complex
/0/100/0.2                              generic        Family 17h (Models 00h-0fh) I/O Memory Management Unit
/0/100/1.1                              bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge
/0/100/1.1/0            /dev/nvme1      storage        Samsung SSD 970 EVO Plus 2TB
/0/100/1.1/0/0          hwmon0          disk           NVMe disk
/0/100/1.1/0/2          /dev/ng1n1      disk           NVMe disk
/0/100/1.1/0/1          /dev/nvme1n1    disk           2TB NVMe disk
/0/100/1.1/0/1/1        /dev/nvme1n1p1  volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1.1/0/1/9        /dev/nvme1n1p9  volume         8191KiB reserved partition
/0/100/1.2                              bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge
/0/100/1.2/0                            bus            500 Series Chipset USB 3.1 XHCI Controller
/0/100/1.2/0/0          usb1            bus            xHCI Host Controller
/0/100/1.2/0/0/2                        bus            USB2.0 Hub
/0/100/1.2/0/0/4                        communication  ASUS USB-BT500
/0/100/1.2/0/0/5        input3          input          Lenovo ThinkPad Compact USB Keyboard with TrackPoint
/0/100/1.2/0/0/6        input5          input          Logitech MX Vertical Advanced Ergonomic Mouse Keyboard
/0/100/1.2/0/0/7        input7          input          MSI MYSTIC LIGHT
/0/100/1.2/0/1          usb2            bus            xHCI Host Controller
/0/100/1.2/0.1          scsi0           storage        500 Series Chipset SATA Controller
/0/100/1.2/0.1/0        /dev/sda        disk           128GB Samsung SSD 840
/0/100/1.2/0.1/0/2      /dev/sda2       volume         119GiB EFI partition
/0/100/1.2/0.1/1        /dev/sdb        disk           2TB WDC  WDS200T2B0A
/0/100/1.2/0.1/1/1      /dev/sdb1       volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1.2/0.1/1/9      /dev/sdb9       volume         8191KiB reserved partition
/0/100/1.2/0.1/0.0.0    /dev/sdc        disk           2TB Samsung SSD 860
/0/100/1.2/0.1/0.0.0/1  /dev/sdc1       volume         1863GiB OS X ZFS partition or Solaris /usr partition
/0/100/1.2/0.1/0.0.0/9  /dev/sdc9       volume         8191KiB reserved partition
/0/100/1.2/0.2                          bridge         500 Series Chipset Switch Upstream Port
/0/100/1.2/0.2/0                        bridge         Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/0/0      /dev/nvme0      storage        Samsung SSD 970 EVO Plus 500GB
/0/100/1.2/0.2/0/0/0    hwmon1          disk           NVMe disk
/0/100/1.2/0.2/0/0/2    /dev/ng0n1      disk           NVMe disk
/0/100/1.2/0.2/0/0/1    /dev/nvme0n1    disk           500GB NVMe disk
/0/100/1.2/0.2/0/0/1/1  /dev/nvme0n1p1  volume         1023MiB Windows FAT volume
/0/100/1.2/0.2/0/0/1/2  /dev/nvme0n1p2  volume         364GiB EFI partition
/0/100/1.2/0.2/0/0/1/3  /dev/nvme0n1p3  volume         99GiB EFI partition
/0/100/1.2/0.2/6                        bridge         Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/7                        bridge         Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/8                        bridge         Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/9                        bridge         Advanced Micro Devices, Inc. [AMD]
/0/100/1.2/0.2/9/0      enp42s0         network        RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
/0/100/3.1                              bridge         Family 17h (Models 00h-0fh) PCIe GPP Bridge
/0/100/3.1/0                            bridge         Navi 10 XL Upstream Port of PCI Express Switch
/0/100/3.1/0/0          /dev/fb0        bridge         Navi 10 XL Downstream Port of PCI Express Switch
/0/100/3.1/0/0/0        /dev/fb0        display        Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
/0/100/3.1/0/0/0.1      card0           multimedia     Navi 10 HDMI Audio
/0/100/3.1/0/0/0.1/0    input10         input          HDA ATI HDMI HDMI/DP,pcm=7
/0/100/3.1/0/0/0.1/1    input11         input          HDA ATI HDMI HDMI/DP,pcm=8
/0/100/3.1/0/0/0.1/2    input12         input          HDA ATI HDMI HDMI/DP,pcm=9
/0/100/3.1/0/0/0.1/3    input13         input          HDA ATI HDMI HDMI/DP,pcm=10
/0/100/3.1/0/0/0.1/4    input14         input          HDA ATI HDMI HDMI/DP,pcm=11
/0/100/3.1/0/0/0.1/5    input9          input          HDA ATI HDMI HDMI/DP,pcm=3
/0/100/7.1                              bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
/0/100/7.1/0                            generic        Zeppelin/Raven/Raven2 PCIe Dummy Function
/0/100/7.1/0.2                          generic        Family 17h (Models 00h-0fh) Platform Security Processor (PSP) 3.0 Device
/0/100/7.1/0.3                          bus            Family 17h (Models 00h-0fh) USB 3.0 Host Controller
/0/100/7.1/0.3/0        usb3            bus            xHCI Host Controller
/0/100/7.1/0.3/0/1      card1           multimedia     Blue Microphones Blue Snowball
/0/100/7.1/0.3/1        usb4            bus            xHCI Host Controller
/0/100/7.1/0.3/1/2      card3           multimedia     Logitech StreamCam
/0/100/8.1                              bridge         Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
/0/100/8.1/0                            generic        Zeppelin/Renoir PCIe Dummy Function
/0/100/8.1/0.2                          storage        FCH SATA Controller [AHCI mode]
/0/100/8.1/0.3          card2           multimedia     Family 17h (Models 00h-0fh) HD Audio Controller
/0/100/8.1/0.3/0        input15         input          HD-Audio Generic Front Mic
/0/100/8.1/0.3/1        input16         input          HD-Audio Generic Rear Mic
/0/100/8.1/0.3/2        input17         input          HD-Audio Generic Line
/0/100/8.1/0.3/3        input18         input          HD-Audio Generic Line Out Front
/0/100/8.1/0.3/4        input19         input          HD-Audio Generic Line Out Surround
/0/100/8.1/0.3/5        input20         input          HD-Audio Generic Line Out CLFE
/0/100/8.1/0.3/6        input21         input          HD-Audio Generic Front Headphone
/0/100/14                               bus            FCH SMBus Controller
/0/100/14.3                             bridge         FCH LPC Bridge
/0/100/14.3/0                           system         System Board
/0/100/14.3/1                           system         AT Real-Time Clock
/0/100/14.3/2                           system         Motherboard registers
/0/100/14.3/3                           communication  16550A-compatible COM port
/0/100/14.3/4                           system         Motherboard registers
/0/101                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/102                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/103                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/104                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/105                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/106                                  bridge         Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
/0/107                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
/0/108                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
/0/109                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
/0/10a                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
/0/10b                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
/0/10c                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
/0/10d                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
/0/10e                                  bridge         Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
/1                      input0          input          Power Button
/2                      input1          input          Power Button
/3                      input8          input          PC Speaker

reactormonk
Posts: 6
Joined: Sun, 19. May 24, 09:08

Re: X4 sometimes fails to launch

Post by reactormonk » Fri, 14. Jun 24, 18:58

I have a few coredumps here, but they're 2.6GB each. How should I send the file?

Post Reply

Return to “X4: Foundations - Technical Support”